Skip to content

Commit

Permalink
Align menu items across apps (#1144)
Browse files Browse the repository at this point in the history
* Translation round trip (includes some other minor changes).
  • Loading branch information
microbit-robert authored Feb 21, 2024
1 parent 752b4ce commit 187368b
Show file tree
Hide file tree
Showing 23 changed files with 150 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm install --no-save @microbit-foundation/[email protected].18 @microbit-foundation/[email protected] @microbit-foundation/[email protected] @microbit-foundation/circleci-npm-package-versioner@1
- run: npm install --no-save @microbit-foundation/[email protected].23 @microbit-foundation/[email protected] @microbit-foundation/[email protected] @microbit-foundation/circleci-npm-package-versioner@1
if: github.repository_owner == 'microbit-foundation'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 5 additions & 1 deletion lang/ui.ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"description": "Text displayed when content fails to load"
},
"cookies-action": {
"defaultMessage": "Cookies",
"defaultMessage": "Galetes",
"description": "Action to show dialog to choose website cookie preferences"
},
"copied": {
Expand Down Expand Up @@ -566,6 +566,10 @@
"defaultMessage": "Per executar aquest fitxer hexadecimal a la teva micro:bit <link>segueix aquests passos</link>.",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "Política de privadesa",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "Accions del projecte",
"description": "Aria label for the bar with project actions"
Expand Down
24 changes: 14 additions & 10 deletions lang/ui.de.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"description": "Change made to file"
},
"api-description": {
"defaultMessage": "Für die Verwendung und Beispiele, siehe <link>Referenz</link>",
"defaultMessage": "Für die Verwendung und Beispiele, siehe <link>Referenz</link>.",
"description": "Extended description at the top of the API tab"
},
"api-tab": {
Expand Down Expand Up @@ -72,7 +72,7 @@
"description": "Header for dialog of confirmation of files changed"
},
"choose-main-add-file": {
"defaultMessage": "Datei {name} hinzufügen",
"defaultMessage": "Datei {name} hinzufügen?",
"description": "Shown in load dialog to confirm actions"
},
"choose-main-add-module": {
Expand Down Expand Up @@ -136,7 +136,7 @@
"description": "Confirmation message for the reset action"
},
"confirm-replace-title": {
"defaultMessage": "Projekt-Ersetzen bestätigen",
"defaultMessage": "Zurücksetzen bestätigen",
"description": "Confirmation message title for replacing project dialog"
},
"confirm-replace-with-idea": {
Expand Down Expand Up @@ -212,7 +212,7 @@
"description": "Copy code to clipboard action text"
},
"create-action": {
"defaultMessage": "Erstelle",
"defaultMessage": "Erstellen",
"description": "Create action label (e.g. in create file dialog)"
},
"create-file-action": {
Expand All @@ -232,7 +232,7 @@
"description": "Button text for delete action"
},
"delete-file-action": {
"defaultMessage": "Lösche {name}",
"defaultMessage": "{name} löschen",
"description": "Menu option to delete file"
},
"deleted-file": {
Expand Down Expand Up @@ -360,15 +360,15 @@
"description": "Help translate menu option text"
},
"highlight-code-structure": {
"defaultMessage": "Code-Struktur hervorheben",
"defaultMessage": "Codestruktur hervorheben",
"description": "Code structure setting label"
},
"highlight-code-structure-full": {
"defaultMessage": "Vollständig",
"description": "Highlight code structure option"
},
"highlight-code-structure-none": {
"defaultMessage": "Nichts",
"defaultMessage": "Aus",
"description": "Highlight code structure option"
},
"highlight-code-structure-simple": {
Expand Down Expand Up @@ -523,7 +523,7 @@
"description": "Aria label for file drop target"
},
"open-hover": {
"defaultMessage": "Eine hex- oder Python-Datei öffnen oder andere Dateien hinzufügen",
"defaultMessage": "Eine HEX- oder Python-Datei öffnen oder andere Dateien hinzufügen.",
"description": "Hover text over load button"
},
"options": {
Expand Down Expand Up @@ -566,6 +566,10 @@
"defaultMessage": "Um diese hex-Datei auf deinem micro:bit auszuführen, solltest du <link>folgende Schritte ausführen</link>.",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "Datenschutzerklärung",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "Projekt-Aktionen",
"description": "Aria label for the bar with project actions"
Expand Down Expand Up @@ -655,7 +659,7 @@
"description": "Hover text over save button"
},
"save-python-action": {
"defaultMessage": "Python-Script speichern",
"defaultMessage": "Python-Skript speichern",
"description": "Save button menu option to save the Python script"
},
"search": {
Expand Down Expand Up @@ -691,7 +695,7 @@
"description": "Shown when your program is in sync with the micro:bit"
},
"serial-help-ctrl-c": {
"defaultMessage": "Verwende das Tatstaturkürzel <kbd>Strg</kbd> + <kbd>C</kbd> um das Programm abzuhalten. Danach kannst du Python-Befehle eingeben, die MicroPython ausführen soll. Das ist eine großartige Möglichkeit, mit etwas Neuem zu experimentieren.",
"defaultMessage": "Verwende den Tastenkürzel <kbd>Strg</kbd> + <kbd>C</kbd> um das Programm anzuhalten. Danach kannst du Python-Befehle eingeben, die MicroPython ausführen soll. Das ist eine großartige Möglichkeit, mit etwas Neuem zu experimentieren.",
"description": "Text from the serial hints and tips dialog. kbd tag shows a keyboard key style."
},
"serial-help-ctrl-d": {
Expand Down
4 changes: 4 additions & 0 deletions lang/ui.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,10 @@
"defaultMessage": "To run this hex file on your micro:bit <link>follow these steps</link>.",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "Privacy policy",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "Project actions",
"description": "Aria label for the bar with project actions"
Expand Down
10 changes: 7 additions & 3 deletions lang/ui.es-es.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"description": "Confirm and save action label"
},
"confirm-save-hint": {
"defaultMessage": "Cancela y pulsa Guardar para guardar una copia de tu proyecto.",
"defaultMessage": "Cancela y utiliza Guardar para conservar una copia de tu proyecto.",
"description": "Hint shown when the user has unsaved changes that they might lose if they continue with an action"
},
"connect-action": {
Expand Down Expand Up @@ -566,6 +566,10 @@
"defaultMessage": "Para ejecutar este archivo HEX en tu micro:bit <link>sigue estos pasos</link>.",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "Política de privacidad",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "Acciones del proyecto",
"description": "Aria label for the bar with project actions"
Expand Down Expand Up @@ -863,7 +867,7 @@
"description": "Simulator gesture option"
},
"simulator-gesture-down": {
"defaultMessage": "logo abajo",
"defaultMessage": "abajo",
"description": "Simulator gesture option"
},
"simulator-gesture-face-down": {
Expand Down Expand Up @@ -899,7 +903,7 @@
"description": "Simulator gesture option"
},
"simulator-gesture-up": {
"defaultMessage": "logo arriba",
"defaultMessage": "arriba",
"description": "Simulator gesture option"
},
"simulator-hide": {
Expand Down
4 changes: 4 additions & 0 deletions lang/ui.fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@
"defaultMessage": "Pour exécuter ce fichier hex sur votre micro:bit <link>suivez ces étapes</link>.",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "Politique de confidentialité",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "Actions du projet",
"description": "Aria label for the bar with project actions"
Expand Down
6 changes: 5 additions & 1 deletion lang/ui.ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"description": "Text displayed when content fails to load"
},
"cookies-action": {
"defaultMessage": "Cookies",
"defaultMessage": "Cookieについて",
"description": "Action to show dialog to choose website cookie preferences"
},
"copied": {
Expand Down Expand Up @@ -566,6 +566,10 @@
"defaultMessage": "micro:bit上のhex ファイルを実行するには<link>この手順に従います</link>。",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "プライバシーポリシー",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "プロジェクトアクション",
"description": "Aria label for the bar with project actions"
Expand Down
4 changes: 4 additions & 0 deletions lang/ui.ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@
"defaultMessage": "micro:bit에서 이 hex 파일을 실행하려면 <link>다음 단계를 따르세요</link>.",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "개인정보 보호 정책",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "프로젝트 동작",
"description": "Aria label for the bar with project actions"
Expand Down
4 changes: 4 additions & 0 deletions lang/ui.nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@
"defaultMessage": "Om dit hexadecimale bestand uit te voeren op je micro:bit <link>volg deze stappen</link>.",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "Privacybeleid",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "Project acties",
"description": "Aria label for the bar with project actions"
Expand Down
4 changes: 4 additions & 0 deletions lang/ui.zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@
"defaultMessage": "要在您的 micro:bit 上运行此 hex 文件,<link>follow these steps</link>。",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "隐私政策",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "项目行动",
"description": "Aria label for the bar with project actions"
Expand Down
4 changes: 4 additions & 0 deletions lang/ui.zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@
"defaultMessage": "若要在您的 micro:bit 執行這個 HEX 檔案,請<link>遵循這些步驟</link>。",
"description": "Message in dialog shown after the user saves the project as a hex file."
},
"privacy-policy": {
"defaultMessage": "隱私權政策",
"description": "Privacy policy menu option text"
},
"project-actions": {
"defaultMessage": "專案動作",
"description": "Aria label for the bar with project actions"
Expand Down
1 change: 1 addition & 0 deletions src/deployment/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export interface DeploymentConfig {
supportLink?: string;
guideLink?: string;
termsOfUseLink?: string;
privacyPolicyLink?: string;
translationLink?: string;

logging: Logging;
Expand Down
8 changes: 7 additions & 1 deletion src/messages/ui.ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
"cookies-action": [
{
"type": 0,
"value": "Cookies"
"value": "Galetes"
}
],
"copied": [
Expand Down Expand Up @@ -1283,6 +1283,12 @@
"value": "."
}
],
"privacy-policy": [
{
"type": 0,
"value": "Política de privadesa"
}
],
"project-actions": [
{
"type": 0,
Expand Down
Loading

0 comments on commit 187368b

Please sign in to comment.