Added Open URL panel error messages to localizable strings.
parent
6f023124b4
commit
321aa5782b
|
@ -17,3 +17,6 @@
|
|||
"ShuffleButtonTooltip" = "Shuffle mode";
|
||||
"RepeatButtonTooltip" = "Repeat mode";
|
||||
"FileButtonTooltip" = "File drawer";
|
||||
|
||||
"InvalidURLShort" = "Invalid URL"
|
||||
"InvalidURLLong" = "The URL is not valid."
|
||||
|
|
|
@ -17,3 +17,6 @@
|
|||
"ShuffleButtonTooltip" = "Shuffle mode";
|
||||
"RepeatButtonTooltip" = "Repeat mode";
|
||||
"FileButtonTooltip" = "File drawer";
|
||||
|
||||
"InvalidURLShort" = "Invalid URL"
|
||||
"InvalidURLLong" = "The URL is not valid."
|
||||
|
|
|
@ -204,9 +204,9 @@ static OpenURLPanel *openURLPanel = nil;
|
|||
else
|
||||
{
|
||||
if (mIsSheet)
|
||||
NSRunAlertPanel(@"Invalid URL", @"The URL is not valid.", nil, nil, nil);
|
||||
NSRunAlertPanel(NSLocalizedString(@"InvalidURLShort", @""), NSLocalizedString(@"InvalidURLLong", @""), nil, nil, nil);
|
||||
else
|
||||
NSBeginAlertSheet(@"Invalid URL", nil, nil, nil, mPanel, nil, nil, nil, nil, @"The URL is not valid.");
|
||||
NSBeginAlertSheet(NSLocalizedString(@"InvalidURLShort", @""), nil, nil, nil, mPanel, nil, nil, nil, nil, NSLocalizedString(@"InvalidURLLong", @""));
|
||||
|
||||
informDelegate = NO;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue