[vlc-commits] macosx: make sure that the options in a module list are displayed in the desired locale when displaying the simple prefs (close #6385)

Felix Paul Kühne git at videolan.org
Thu Mar 15 19:56:57 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Mar 15 19:56:40 2012 +0100| [54205a270031f83867599a45201e4f2da2c46652] | committer: Felix Paul Kühne

macosx: make sure that the options in a module list are displayed in the desired locale when displaying the simple prefs (close #6385)

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

 modules/gui/macosx/simple_prefs.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index 9f67bce..bcf772c 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -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]];
         }



More information about the vlc-commits mailing list