This commit is contained in:
Josh Perez 2022-08-18 10:37:48 -04:00
commit 3436283165
4 changed files with 13 additions and 1 deletions

View file

@ -7,6 +7,10 @@
"message": "Bedingungen & Datenschutzerklärung", "message": "Bedingungen & Datenschutzerklärung",
"description": "Shown in the about box for the link to https://signal.org/legal" "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": { "copyErrorAndQuit": {
"message": "Fehler kopieren und beenden", "message": "Fehler kopieren und beenden",
"description": "Shown in the top-level error popup, allowing user to copy the error text and close the app" "description": "Shown in the top-level error popup, allowing user to copy the error text and close the app"

View file

@ -7,6 +7,10 @@
"message": "Terms & Privacy Policy", "message": "Terms & Privacy Policy",
"description": "Shown in the about box for the link to https://signal.org/legal" "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": { "copyErrorAndQuit": {
"message": "Copy error and quit", "message": "Copy error and quit",
"description": "Shown in the top-level error popup, allowing user to copy the error text and close the app" "description": "Shown in the top-level error popup, allowing user to copy the error text and close the app"

View file

@ -7,6 +7,10 @@
"message": "使用条件とプライバシーポリシー", "message": "使用条件とプライバシーポリシー",
"description": "Shown in the about box for the link to https://signal.org/legal" "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": { "copyErrorAndQuit": {
"message": "エラーメッセージをコピーして終了します", "message": "エラーメッセージをコピーして終了します",
"description": "Shown in the top-level error popup, allowing user to copy the error text and close the app" "description": "Shown in the top-level error popup, allowing user to copy the error text and close the app"

View file

@ -24,7 +24,7 @@ contextBridge.exposeInMainWorld('SignalContext', {
let platform = ''; let platform = '';
if (process.platform === 'darwin') { if (process.platform === 'darwin') {
if (process.arch === 'arm64') { if (process.arch === 'arm64') {
platform = ' (M1)'; platform = ` (${SignalContext.i18n('appleSilicon')})`;
} else { } else {
platform = ' (Intel)'; platform = ' (Intel)';
} }