diff options
author | Damiano Galassi <[email protected]> | 2018-06-09 10:06:52 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-06-09 10:06:52 +0200 |
commit | 041d228b23f622ee86a528f8c667e048503c226e (patch) | |
tree | 31e2a6e0422acd1765c68f78a2209d6014bb186f /macosx/HBAddPresetController.m | |
parent | 047c78c7946aeba026a259c1a9cad8937975115b (diff) |
MacGui: improve NSLocalizedString comments.
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r-- | macosx/HBAddPresetController.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/HBAddPresetController.m b/macosx/HBAddPresetController.m index d100a330e..ab011155b 100644 --- a/macosx/HBAddPresetController.m +++ b/macosx/HBAddPresetController.m @@ -89,17 +89,17 @@ typedef NS_ENUM(NSUInteger, HBAddPresetControllerMode) { // Default to Source Maximum HBAddPresetControllerMode mode = HBAddPresetControllerModeSourceMaximum; - [self.picSettingsPopUp addItemWithTitle:NSLocalizedString(@"None", nil)]; + [self.picSettingsPopUp addItemWithTitle:NSLocalizedString(@"None", @"Add preset window -> picture setting")]; [[self.picSettingsPopUp lastItem] setTag:HBAddPresetControllerModeNone]; - [self.picSettingsPopUp addItemWithTitle:NSLocalizedString(@"Custom", nil)]; + [self.picSettingsPopUp addItemWithTitle:NSLocalizedString(@"Custom", @"Add preset window -> picture setting")]; [[self.picSettingsPopUp lastItem] setTag:HBAddPresetControllerModeCustom]; if (self.defaultToCustom) { mode = HBAddPresetControllerModeCustom; } - [self.picSettingsPopUp addItemWithTitle:NSLocalizedString(@"Source Maximum", nil)]; + [self.picSettingsPopUp addItemWithTitle:NSLocalizedString(@"Source Maximum", @"Add preset window -> picture setting")]; [[self.picSettingsPopUp lastItem] setTag:HBAddPresetControllerModeSourceMaximum]; @@ -208,8 +208,8 @@ typedef NS_ENUM(NSUInteger, HBAddPresetControllerMode) { if (self.name.stringValue.length == 0) { NSAlert *alert = [[NSAlert alloc] init]; - [alert setMessageText:NSLocalizedString(@"The preset name cannot be empty.", @"")]; - [alert setInformativeText:NSLocalizedString(@"Please enter a name.", @"")]; + [alert setMessageText:NSLocalizedString(@"The preset name cannot be empty.", @"Add preset window -> name alert message")]; + [alert setInformativeText:NSLocalizedString(@"Please enter a name.", @"Add preset window -> name alert informative text")]; [alert runModal]; } else |