summaryrefslogtreecommitdiffstats
path: root/macosx/HBAppDelegate.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2018-06-09 10:06:52 +0200
committerDamiano Galassi <[email protected]>2018-06-09 10:06:52 +0200
commit041d228b23f622ee86a528f8c667e048503c226e (patch)
tree31e2a6e0422acd1765c68f78a2209d6014bb186f /macosx/HBAppDelegate.m
parent047c78c7946aeba026a259c1a9cad8937975115b (diff)
MacGui: improve NSLocalizedString comments.
Diffstat (limited to 'macosx/HBAppDelegate.m')
-rw-r--r--macosx/HBAppDelegate.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/macosx/HBAppDelegate.m b/macosx/HBAppDelegate.m
index b8072ca78..10a8cc0ca 100644
--- a/macosx/HBAppDelegate.m
+++ b/macosx/HBAppDelegate.m
@@ -98,8 +98,8 @@
if (instances > 1)
{
NSAlert *alert = [[NSAlert alloc] init];
- [alert setMessageText:NSLocalizedString(@"There is already an instance of HandBrake running.", nil)];
- [alert setInformativeText:NSLocalizedString(@"The queue will be shared between the instances.", nil)];
+ [alert setMessageText:NSLocalizedString(@"There is already an instance of HandBrake running.", @"Queue -> Multiple instances alert message")];
+ [alert setInformativeText:NSLocalizedString(@"The queue will be shared between the instances.", @"Queue -> Multiple instances alert informative text")];
[alert runModal];
}
else
@@ -149,10 +149,10 @@
if (self.queueController.core.state != HBStateIdle)
{
NSAlert *alert = [[NSAlert alloc] init];
- [alert setMessageText:NSLocalizedString(@"Are you sure you want to quit HandBrake?", nil)];
- [alert setInformativeText:NSLocalizedString(@"If you quit HandBrake your current encode will be reloaded into your queue at next launch. Do you want to quit anyway?", nil)];
- [alert addButtonWithTitle:NSLocalizedString(@"Quit", nil)];
- [alert addButtonWithTitle:NSLocalizedString(@"Don't Quit", nil)];
+ [alert setMessageText:NSLocalizedString(@"Are you sure you want to quit HandBrake?", @"Quit Alert -> message")];
+ [alert setInformativeText:NSLocalizedString(@"If you quit HandBrake your current encode will be reloaded into your queue at next launch. Do you want to quit anyway?", @"Quit Alert -> informative text")];
+ [alert addButtonWithTitle:NSLocalizedString(@"Quit", @"Quit Alert -> first button")];
+ [alert addButtonWithTitle:NSLocalizedString(@"Don't Quit", @"Quit Alert -> second button")];
[alert.buttons[1] setKeyEquivalent:@"\E"];
[alert setAlertStyle:NSCriticalAlertStyle];