Commit e27cd648 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

po: do not translate ""

For the umpteenth time, this does NOT work. "" is special in gettext.
Furthermore, use of conditionals is not allowed within gettext macros.
parent f385064f
...@@ -487,7 +487,7 @@ static VLCPrefs *_o_sharedMainInstance = nil; ...@@ -487,7 +487,7 @@ static VLCPrefs *_o_sharedMainInstance = nil;
@implementation VLCTreePluginItem @implementation VLCTreePluginItem
- (id)initWithPlugin:(module_t *)plugin - (id)initWithPlugin:(module_t *)plugin
{ {
NSString * name = _NS( module_get_name( plugin, false )?:"" ); NSString * name = _NS( module_get_name( plugin, false ) );
if(self = [super initWithName:name]) if(self = [super initWithName:name])
{ {
_configItems = module_config_get( plugin, &_configSize ); _configItems = module_config_get( plugin, &_configSize );
......
...@@ -448,7 +448,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na ...@@ -448,7 +448,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
- (void)setupButton: (NSButton *)object forBoolValue: (const char *)name - (void)setupButton: (NSButton *)object forBoolValue: (const char *)name
{ {
[object setState: config_GetInt( p_intf, name )]; [object setState: config_GetInt( p_intf, name )];
[object setToolTip: _NS(config_GetLabel( p_intf, name ) ?: "")]; [object setToolTip: _NS(config_GetLabel( p_intf, name ))];
} }
- (void)setupField:(NSTextField *)o_object forOption:(const char *)psz_option - (void)setupField:(NSTextField *)o_object forOption:(const char *)psz_option
......
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