[vlc-devel] [PATCH] core: fix missing translation of option label

Lyndon Brown jnqnfe at gmail.com
Thu Sep 24 02:36:41 CEST 2020


patch attached. preview:

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 33328447a9..f7bdeda364 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1200,6 +1200,8 @@ static const char *const psz_recursive_list_text[] = {
 #define SHOW_HIDDENFILES_LONGTEXT N_( \
         "Ignore files starting with '.'" )
 
+#define EXTRACTOR_FLATTEN N_("Flatten files listed by extractors (archive)")
+
 #define SD_TEXT N_( "Services discovery modules")
 #define SD_LONGTEXT N_( \
      "Specifies the services discovery modules to preload, separated by " \
@@ -2209,7 +2211,7 @@ vlc_module_begin ()
     add_bool( "show-hiddenfiles", false,
               SHOW_HIDDENFILES_TEXT, SHOW_HIDDENFILES_LONGTEXT, false )
     add_bool( "extractor-flatten", false,
-              "Flatten files listed by extractors (archive)", NULL, true )
+              EXTRACTOR_FLATTEN, NULL, true )
         change_volatile()
 
     set_subcategory( SUBCAT_PLAYLIST_SD )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extractor.patch
Type: text/x-patch
Size: 1137 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200924/793c7db4/attachment.bin>


More information about the vlc-devel mailing list