From bd3ae4b0745460b9a8ce1cca5ce32c7906d9bbc0 Mon Sep 17 00:00:00 2001 From: Serena Date: Sun, 23 Apr 2023 15:54:01 +0300 Subject: [PATCH] Escape string stuff, com -> org --- SDL/CocoaBarItems.mm | 2 +- macOS/Info.plist | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SDL/CocoaBarItems.mm b/SDL/CocoaBarItems.mm index 93fe5158e9..39cdc06b97 100644 --- a/SDL/CocoaBarItems.mm +++ b/SDL/CocoaBarItems.mm @@ -249,7 +249,7 @@ void initializeOSXExtras() { -(NSMenu *)makeDebugMenu { std::shared_ptr sysInfoLocalization = GetI18NCategory(I18NCat::SYSINFO); std::shared_ptr desktopUILocalization = GetI18NCategory(I18NCat::DESKTOPUI); -#define DESKTOPUI_LOCALIZED(key) @(desktopUILocalization->T(key)) +#define DESKTOPUI_LOCALIZED(key) @(UnescapeMenuString(desktopUILocalization->T(key), nil).c_str()) NSMenu *parent = [[NSMenu alloc] initWithTitle:@(sysInfoLocalization->T("Debug"))]; diff --git a/macOS/Info.plist b/macOS/Info.plist index 66149ab9e6..e79312293a 100644 --- a/macOS/Info.plist +++ b/macOS/Info.plist @@ -33,7 +33,7 @@ Default LSItemContentTypes - com.ppsspp.csoimg + org.ppsspp.csoimg @@ -49,7 +49,7 @@ Default LSItemContentTypes - com.ppsspp.pbp + org.ppsspp.pbp @@ -103,7 +103,7 @@ PSP CSO Image UTTypeIdentifier - com.ppsspp.csoimg + org.ppsspp.csoimg UTTypeTagSpecification public.filename-extension @@ -121,7 +121,7 @@ PSP PBP Image UTTypeIdentifier - com.ppsspp.pbp + org.ppsspp.pbp UTTypeTagSpecification public.filename-extension