Commit ad0a2b09 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: l10n fixes

parent a7f2e897
...@@ -230,14 +230,7 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil; ...@@ -230,14 +230,7 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
[super init]; [super init];
if( !b_nib_loaded ) if( !b_nib_loaded )
{
b_nib_loaded = [NSBundle loadNibNamed:@"ErrorPanel" owner:self]; b_nib_loaded = [NSBundle loadNibNamed:@"ErrorPanel" owner:self];
/* init strings */
[o_window setTitle: _NS("Errors and Warnings")];
[o_cleanup_button setTitle: _NS("Clean up")];
[o_messages_btn setTitle: _NS("Show Details")];
}
/* init data sources */ /* init data sources */
o_errors = [[NSMutableArray alloc] init]; o_errors = [[NSMutableArray alloc] init];
...@@ -246,6 +239,14 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil; ...@@ -246,6 +239,14 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
return self; return self;
} }
- (void)awakeFromNib
{
/* init strings */
[o_window setTitle: _NS("Errors and Warnings")];
[o_cleanup_button setTitle: _NS("Clean up")];
[o_messages_btn setTitle: _NS("Show Details")];
}
-(void)dealloc -(void)dealloc
{ {
[o_errors release]; [o_errors release];
......
...@@ -662,6 +662,7 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -662,6 +662,7 @@ static VLCMain *_o_sharedMainInstance = nil;
/* we will need this, so let's load it here so the interface appears to be more responsive */ /* we will need this, so let's load it here so the interface appears to be more responsive */
nib_open_loaded = [NSBundle loadNibNamed:@"Open" owner: NSApp]; nib_open_loaded = [NSBundle loadNibNamed:@"Open" owner: NSApp];
[self initStrings];
} }
- (void)initStrings - (void)initStrings
......
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