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;
[super init];
if( !b_nib_loaded )
{
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 */
o_errors = [[NSMutableArray alloc] init];
......@@ -246,6 +239,14 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
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
{
[o_errors release];
......
......@@ -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 */
nib_open_loaded = [NSBundle loadNibNamed:@"Open" owner: NSApp];
[self 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