summaryrefslogtreecommitdiff
path: root/src/macos.m
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-23 10:29:14 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-23 10:29:14 +0200
commit6c6f7a0303405536f634d0f694288c79f076edda (patch)
treea75d795ea4d09099ec8adc418ddc20ef83fd720a /src/macos.m
parent244599398b8fa457a160077513456b4b274d386d (diff)
Lang: Applied string IDs everywhere
More or less everywhere? IssueID #192
Diffstat (limited to 'src/macos.m')
-rw-r--r--src/macos.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macos.m b/src/macos.m
index 12575dd5..019533bd 100644
--- a/src/macos.m
+++ b/src/macos.m
@@ -369,6 +369,7 @@ void setupApplication_MacOS(void) {
369} 369}
370 370
371void enableMenu_MacOS(const char *menuLabel, iBool enable) { 371void enableMenu_MacOS(const char *menuLabel, iBool enable) {
372 menuLabel = translateCStr_Lang(menuLabel);
372 NSApplication *app = [NSApplication sharedApplication]; 373 NSApplication *app = [NSApplication sharedApplication];
373 NSMenu *appMenu = [app mainMenu]; 374 NSMenu *appMenu = [app mainMenu];
374 NSString *label = [NSString stringWithUTF8String:menuLabel]; 375 NSString *label = [NSString stringWithUTF8String:menuLabel];