Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed mistypes (double 'used' x2)

  • Loading branch information...
commit dfdcd5655ebbb1ffdf1fb25060fd2e89eb4b4cc2 1 parent 0266a4c
Pedro Vieira pedrovieira7 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 MASShortcut.m
4 MASShortcut.m
View
@@ -300,7 +300,7 @@ - (BOOL)isKeyEquivalent:(NSString *)keyEquivalent flags:(NSUInteger)flags takenI
if (equalFlags && equalHotkeyLowercase) {
if (outError) {
- NSString *format = NSLocalizedString(@"This shortcut cannot be used used because it is already used by the menu item ‘%@’.",
+ NSString *format = NSLocalizedString(@"This shortcut cannot be used because it is already used by the menu item ‘%@’.",
@"Message for alert when shortcut is already used");
NSDictionary *info = [NSDictionary dictionaryWithObject:[NSString stringWithFormat:format, menuItem.title]
forKey:NSLocalizedDescriptionKey];
@@ -327,7 +327,7 @@ - (BOOL)isTakenError:(NSError **)outError
([(__bridge NSNumber *)flags unsignedIntegerValue] == self.carbonFlags)) {
if (outError) {
- NSString *description = NSLocalizedString(@"This combination cannot be used used because it is already used by a system-wide "
+ NSString *description = NSLocalizedString(@"This combination cannot be used because it is already used by a system-wide "
@"keyboard shortcut.\nIf you really want to use this key combination, most shortcuts "
@"can be changed in the Keyboard & Mouse panel in System Preferences.",
@"Message for alert when shortcut is already used by the system");
Please sign in to comment.
Something went wrong with that request. Please try again.