Commit 384feaeb authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: make sure that the options in a module list are displayed in the...

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 54205a27)
parent 9830cc6d
...@@ -430,7 +430,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na ...@@ -430,7 +430,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
p_parser = p_list[i_index]; p_parser = p_list[i_index];
if( module_provides( p_parser, p_item->psz_type ) ) 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 ) ) ) if( p_item->value.psz && !strcmp( p_item->value.psz, module_get_object( p_parser ) ) )
[object selectItem: [object lastItem]]; [object selectItem: [object lastItem]];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment