Generalize macOS arm64 platform name
This commit is contained in:
parent
9986d10947
commit
e22a08563e
4 changed files with 13 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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)';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue