[vlc-commits] i18n: add missing strings

Alexander Law git at videolan.org
Wed Nov 29 16:55:31 CET 2017


vlc | branch: master | Alexander Law <exclusion at gmail.com> | Wed Nov 29 16:53:34 2017 +0100| [e9e5fe7ad510f03dd52c7bd9e0f6804ae29d48d6] | committer: Jean-Baptiste Kempf

i18n: add missing strings

mp4, dcp/kdm, avcodec and decklink modules

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9e5fe7ad510f03dd52c7bd9e0f6804ae29d48d6
---

 modules/access/dcp/dcp.cpp        | 4 ++--
 modules/codec/avcodec/avcommon.h  | 4 ++--
 modules/demux/mp4/mp4.c           | 4 ++--
 modules/video_output/decklink.cpp | 9 ++++-----
 4 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/modules/access/dcp/dcp.cpp b/modules/access/dcp/dcp.cpp
index 0495ce56f4..b7773d3c2c 100644
--- a/modules/access/dcp/dcp.cpp
+++ b/modules/access/dcp/dcp.cpp
@@ -40,8 +40,8 @@
 # include "config.h"
 #endif
 
-#define KDM_HELP_TEXT          "KDM file"
-#define KDM_HELP_LONG_TEXT     "Path to Key Delivery Message XML file"
+#define KDM_HELP_TEXT          N_("KDM file")
+#define KDM_HELP_LONG_TEXT     N_("Path to Key Delivery Message XML file")
 
 /* VLC core API headers */
 #include <vlc_common.h>
diff --git a/modules/codec/avcodec/avcommon.h b/modules/codec/avcodec/avcommon.h
index d5ccdbc32d..65ad35f4ad 100644
--- a/modules/codec/avcodec/avcommon.h
+++ b/modules/codec/avcodec/avcommon.h
@@ -43,8 +43,8 @@
 # include <libavutil/cpu.h>
 # include <libavutil/log.h>
 
-#define AV_OPTIONS_TEXT     "Advanced options"
-#define AV_OPTIONS_LONGTEXT "Advanced options, in the form {opt=val,opt2=val2}."
+#define AV_OPTIONS_TEXT     N_("Advanced options")
+#define AV_OPTIONS_LONGTEXT N_("Advanced options, in the form {opt=val,opt2=val2}.")
 
 static inline void vlc_av_get_options(const char *psz_opts, AVDictionary** pp_dict)
 {
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index c183cb4973..173c70d400 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -46,8 +46,8 @@ static void Close( vlc_object_t * );
 
 #define CFG_PREFIX "mp4-"
 
-#define MP4_M4A_TEXT     "M4A audio only"
-#define MP4_M4A_LONGTEXT "Ignore non audio tracks from iTunes audio files"
+#define MP4_M4A_TEXT     N_("M4A audio only")
+#define MP4_M4A_LONGTEXT N_("Ignore non audio tracks from iTunes audio files")
 
 vlc_module_begin ()
     set_category( CAT_INPUT )
diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 7992b344c3..81af047aaf 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -70,11 +70,10 @@ static const int pi_channels_maps[CHANNELS_MAX+1] =
     "After this delay we black out the video."\
     )
 
-#define AFD_INDEX_TEXT "Active Format Descriptor"
-#define AFD_INDEX_LONGTEXT AFD_INDEX_TEXT " value"
+#define AFD_INDEX_TEXT N_("Active Format Descriptor value")
 
-#define AR_INDEX_TEXT "Aspect Ratio"
-#define AR_INDEX_LONGTEXT AR_INDEX_TEXT " of the source picture"
+#define AR_INDEX_TEXT N_("Aspect Ratio")
+#define AR_INDEX_LONGTEXT N_("Aspect Ratio of the source picture")
 
 #define AFDLINE_INDEX_TEXT N_("Active Format Descriptor line.")
 #define AFDLINE_INDEX_LONGTEXT N_("VBI line on which to output Active Format Descriptor.")
@@ -257,7 +256,7 @@ vlc_module_begin()
     add_integer(VIDEO_CFG_PREFIX "afd-line", 16,
                 AFDLINE_INDEX_TEXT, AFDLINE_INDEX_LONGTEXT, true)
     add_integer_with_range(VIDEO_CFG_PREFIX "afd", 8, 0, 16,
-                AFD_INDEX_TEXT, AFD_INDEX_LONGTEXT, true)
+                AFD_INDEX_TEXT, AFD_INDEX_TEXT, true)
                 change_integer_list(rgi_afd_values, rgsz_afd_text)
     add_integer_with_range(VIDEO_CFG_PREFIX "ar", 1, 0, 1,
                 AR_INDEX_TEXT, AR_INDEX_LONGTEXT, true)



More information about the vlc-commits mailing list