[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:58:48 CET 2012
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Mar 15 19:56:40 2012 +0100| [384feaeb8968a6ecc8bf4e5162fd5647d440ffea] | 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)
(cherry picked from commit 54205a270031f83867599a45201e4f2da2c46652)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=384feaeb8968a6ecc8bf4e5162fd5647d440ffea
---
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 758c078..fd2a783 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -430,7 +430,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