]> git.sesse.net Git - vlc/commitdiff
macosx: make sure that the options in a module list are displayed in the desired...
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 15 Mar 2012 18:56:40 +0000 (19:56 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 15 Mar 2012 18:56:56 +0000 (19:56 +0100)
modules/gui/macosx/simple_prefs.m

index 9f67bce08e037a063140d30c721a8cbf878a5092..bcf772c9e12dd0a620548207f1afd8b635dfbd9b 100644 (file)
@@ -431,7 +431,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
         p_parser = p_list[i_index];
         if( module_provides( p_parser, p_item->psz_type ) )
         {
-            [object addItemWithTitle: [NSString stringWithUTF8String: module_GetLongName( p_parser ) ?: ""]];
+            [object addItemWithTitle: [NSString stringWithUTF8String: _(module_GetLongName( p_parser )) ?: ""]];
             if( p_item->value.psz && !strcmp( p_item->value.psz, module_get_object( p_parser ) ) )
                 [object selectItem: [object lastItem]];
         }