From e22a08563e2f09d657fa26508a38fda3e384f55c Mon Sep 17 00:00:00 2001 From: mooons <10822203+mooons@users.noreply.github.com> Date: Tue, 19 Jul 2022 07:26:41 -0700 Subject: [PATCH] Generalize macOS arm64 platform name --- _locales/de/messages.json | 4 ++++ _locales/en/messages.json | 4 ++++ _locales/ja/messages.json | 4 ++++ ts/windows/about/preload.ts | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/_locales/de/messages.json b/_locales/de/messages.json index 76c7c4e774c..ddc69ad8245 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -7,6 +7,10 @@ "message": "Bedingungen & Datenschutzerklärung", "description": "Shown in the about box for the link to https://signal.org/legal" }, + "appleSilicon": { + "message": "Apple Prozessoren", + "description": "Shown in the about box for Apple silicon product name" + }, "copyErrorAndQuit": { "message": "Fehler kopieren und beenden", "description": "Shown in the top-level error popup, allowing user to copy the error text and close the app" diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 54875dd835a..31b7d83d4ba 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -7,6 +7,10 @@ "message": "Terms & Privacy Policy", "description": "Shown in the about box for the link to https://signal.org/legal" }, + "appleSilicon": { + "message": "Apple silicon", + "description": "Shown in the about box for Apple silicon product name" + }, "copyErrorAndQuit": { "message": "Copy error and quit", "description": "Shown in the top-level error popup, allowing user to copy the error text and close the app" diff --git a/_locales/ja/messages.json b/_locales/ja/messages.json index edf62ec9cfc..9f8a472c72d 100644 --- a/_locales/ja/messages.json +++ b/_locales/ja/messages.json @@ -7,6 +7,10 @@ "message": "使用条件とプライバシーポリシー", "description": "Shown in the about box for the link to https://signal.org/legal" }, + "appleSilicon": { + "message": "Appleシリコン", + "description": "Shown in the about box for Apple silicon product name" + }, "copyErrorAndQuit": { "message": "エラーメッセージをコピーして終了します", "description": "Shown in the top-level error popup, allowing user to copy the error text and close the app" diff --git a/ts/windows/about/preload.ts b/ts/windows/about/preload.ts index 41b2fdbb327..fb83d1e3e59 100644 --- a/ts/windows/about/preload.ts +++ b/ts/windows/about/preload.ts @@ -24,7 +24,7 @@ contextBridge.exposeInMainWorld('SignalContext', { let platform = ''; if (process.platform === 'darwin') { if (process.arch === 'arm64') { - platform = ' (M1)'; + platform = ` (${SignalContext.i18n('appleSilicon')})`; } else { platform = ' (Intel)'; }