[vlc-commits] Add context to view point messages for translation (fixes #19374)
Theppitak Karoonboonyanan
git at videolan.org
Fri Dec 29 18:36:16 CET 2017
vlc/vlc-3.0 | branch: master | Theppitak Karoonboonyanan <theppitak at gmail.com> | Sat Dec 30 00:22:00 2017 +0700| [5eac9d91a1f23761ca9044d5c2b4e2d8348a816d] | committer: Rémi Denis-Courmont
Add context to view point messages for translation (fixes #19374)
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 751f09f71c188e3121e1bf6d18371a8668aed19f)
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=5eac9d91a1f23761ca9044d5c2b4e2d8348a816d
---
src/input/es_out.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index c4a848d5e9..e95dd49f76 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -3255,14 +3255,15 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
}
info_category_AddInfo( p_cat, _("Projection"), "%s", _(psz_loc_name) );
- info_category_AddInfo( p_cat, _("Yaw"), "%.2f",
- fmt->video.pose.yaw );
- info_category_AddInfo( p_cat, _("Pitch"), "%.2f",
- fmt->video.pose.pitch );
- info_category_AddInfo( p_cat, _("Roll"), "%.2f",
- fmt->video.pose.roll );
- info_category_AddInfo( p_cat, _("Field of view"), "%.2f",
- fmt->video.pose.fov );
+ info_category_AddInfo( p_cat, vlc_pgettext("ViewPoint", "Yaw"),
+ "%.2f", fmt->video.pose.yaw );
+ info_category_AddInfo( p_cat, vlc_pgettext("ViewPoint", "Pitch"),
+ "%.2f", fmt->video.pose.pitch );
+ info_category_AddInfo( p_cat, vlc_pgettext("ViewPoint", "Roll"),
+ "%.2f", fmt->video.pose.roll );
+ info_category_AddInfo( p_cat,
+ vlc_pgettext("ViewPoint", "Field of view"),
+ "%.2f", fmt->video.pose.fov );
}
if ( fmt->video.mastering.max_luminance )
{
More information about the vlc-commits
mailing list