X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJMappingMenuController.m;h=03ce31d278dd03dca154b0fccab326b399c00e0e;hp=882a984405b2fc5865de6ee2cc45d067a05e2fb5;hb=235c087385a6e959ba7edefe4a3cbbbc00b2a534;hpb=1ddf0ccce8bbc789483ae087390c2e93abdbd7ea diff --git a/Classes/NJMappingMenuController.m b/Classes/NJMappingMenuController.m index 882a984..03ce31d 100644 --- a/Classes/NJMappingMenuController.m +++ b/Classes/NJMappingMenuController.m @@ -76,7 +76,8 @@ [self.menu insertItem:item atIndex:index++]; if (added == MAXIMUM_MAPPINGS_IN_MENU && mappings.count > MAXIMUM_MAPPINGS_IN_MENU + 1) { - NSString *msg = [NSString stringWithFormat:@"(and %lu more…)", + NSString *msg = [NSString stringWithFormat:NSLocalizedString(@"mapping overflow %lu", + @"menu item when mappings list overflows"), mappings.count - MAXIMUM_MAPPINGS_IN_MENU]; NSMenuItem *end = [[NSMenuItem alloc] initWithTitle:msg action:@selector(_mappingListWasChosen:) @@ -99,13 +100,13 @@ } - (void)eventTranslationActivated:(NSNotification *)note { - self.eventTranslationToggle.title = @"Disable"; + self.eventTranslationToggle.title = NSLocalizedString(@"Disable", + @"menu item text to disable event translation"); } - (void)eventTranslationDeactivated:(NSNotification *)note { - self.eventTranslationToggle.title = @"Enable"; + self.eventTranslationToggle.title = NSLocalizedString(@"Enable", + @"menu item text to enable event translation"); } - - @end