Skip to content

Commit

Permalink
Add accelerometer gestures to UI strings (#993)
Browse files Browse the repository at this point in the history
* Add simulator gestures to UI strings.
* Only show translation if different from English.

We'll add translations to Crowdin based on existing translations over the next few days.
  • Loading branch information
microbit-robert authored Sep 26, 2022
1 parent 5b16ce9 commit 352a97f
Show file tree
Hide file tree
Showing 15 changed files with 781 additions and 1 deletion.
44 changes: 44 additions & 0 deletions lang/ui.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,42 @@
"defaultMessage": "Expand {title} module",
"description": "Aria label for expand simulator module button"
},
"simulator-gesture-3g": {
"defaultMessage": "3g",
"description": "Simulator gesture option"
},
"simulator-gesture-6g": {
"defaultMessage": "6g",
"description": "Simulator gesture option"
},
"simulator-gesture-8g": {
"defaultMessage": "8g",
"description": "Simulator gesture option"
},
"simulator-gesture-down": {
"defaultMessage": "down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-down": {
"defaultMessage": "face down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-up": {
"defaultMessage": "face up",
"description": "Simulator gesture option"
},
"simulator-gesture-freefall": {
"defaultMessage": "freefall",
"description": "Simulator gesture option"
},
"simulator-gesture-left": {
"defaultMessage": "left",
"description": "Simulator gesture option"
},
"simulator-gesture-right": {
"defaultMessage": "right",
"description": "Simulator gesture option"
},
"simulator-gesture-select": {
"defaultMessage": "Select gesture",
"description": "Aria label for the simulator gesture select input"
Expand All @@ -855,6 +891,14 @@
"defaultMessage": "Send gesture",
"description": "Aria label for the simulator gesture send button"
},
"simulator-gesture-shake": {
"defaultMessage": "shake",
"description": "Simulator gesture option"
},
"simulator-gesture-up": {
"defaultMessage": "up",
"description": "Simulator gesture option"
},
"simulator-hide": {
"defaultMessage": "Hide simulator",
"description": "Hide simulator action"
Expand Down
44 changes: 44 additions & 0 deletions lang/ui.es-es.json
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,42 @@
"defaultMessage": "Expandir módulo {title}",
"description": "Aria label for expand simulator module button"
},
"simulator-gesture-3g": {
"defaultMessage": "3g",
"description": "Simulator gesture option"
},
"simulator-gesture-6g": {
"defaultMessage": "6g",
"description": "Simulator gesture option"
},
"simulator-gesture-8g": {
"defaultMessage": "8g",
"description": "Simulator gesture option"
},
"simulator-gesture-down": {
"defaultMessage": "down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-down": {
"defaultMessage": "face down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-up": {
"defaultMessage": "face up",
"description": "Simulator gesture option"
},
"simulator-gesture-freefall": {
"defaultMessage": "freefall",
"description": "Simulator gesture option"
},
"simulator-gesture-left": {
"defaultMessage": "left",
"description": "Simulator gesture option"
},
"simulator-gesture-right": {
"defaultMessage": "right",
"description": "Simulator gesture option"
},
"simulator-gesture-select": {
"defaultMessage": "Seleccionar gesto",
"description": "Aria label for the simulator gesture select input"
Expand All @@ -854,6 +890,14 @@
"defaultMessage": "Enviar gesto",
"description": "Aria label for the simulator gesture send button"
},
"simulator-gesture-shake": {
"defaultMessage": "shake",
"description": "Simulator gesture option"
},
"simulator-gesture-up": {
"defaultMessage": "up",
"description": "Simulator gesture option"
},
"simulator-hide": {
"defaultMessage": "Ocultar simulador",
"description": "Hide simulator action"
Expand Down
44 changes: 44 additions & 0 deletions lang/ui.fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,42 @@
"defaultMessage": "Développer le module {title}",
"description": "Aria label for expand simulator module button"
},
"simulator-gesture-3g": {
"defaultMessage": "3g",
"description": "Simulator gesture option"
},
"simulator-gesture-6g": {
"defaultMessage": "6g",
"description": "Simulator gesture option"
},
"simulator-gesture-8g": {
"defaultMessage": "8g",
"description": "Simulator gesture option"
},
"simulator-gesture-down": {
"defaultMessage": "down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-down": {
"defaultMessage": "face down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-up": {
"defaultMessage": "face up",
"description": "Simulator gesture option"
},
"simulator-gesture-freefall": {
"defaultMessage": "freefall",
"description": "Simulator gesture option"
},
"simulator-gesture-left": {
"defaultMessage": "left",
"description": "Simulator gesture option"
},
"simulator-gesture-right": {
"defaultMessage": "right",
"description": "Simulator gesture option"
},
"simulator-gesture-select": {
"defaultMessage": "Sélectionner un geste",
"description": "Aria label for the simulator gesture select input"
Expand All @@ -854,6 +890,14 @@
"defaultMessage": "Envoyer un geste",
"description": "Aria label for the simulator gesture send button"
},
"simulator-gesture-shake": {
"defaultMessage": "shake",
"description": "Simulator gesture option"
},
"simulator-gesture-up": {
"defaultMessage": "up",
"description": "Simulator gesture option"
},
"simulator-hide": {
"defaultMessage": "Cacher le simulateur ",
"description": "Hide simulator action"
Expand Down
44 changes: 44 additions & 0 deletions lang/ui.ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,42 @@
"defaultMessage": "{title} モジュールを展開",
"description": "Aria label for expand simulator module button"
},
"simulator-gesture-3g": {
"defaultMessage": "3g",
"description": "Simulator gesture option"
},
"simulator-gesture-6g": {
"defaultMessage": "6g",
"description": "Simulator gesture option"
},
"simulator-gesture-8g": {
"defaultMessage": "8g",
"description": "Simulator gesture option"
},
"simulator-gesture-down": {
"defaultMessage": "down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-down": {
"defaultMessage": "face down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-up": {
"defaultMessage": "face up",
"description": "Simulator gesture option"
},
"simulator-gesture-freefall": {
"defaultMessage": "freefall",
"description": "Simulator gesture option"
},
"simulator-gesture-left": {
"defaultMessage": "left",
"description": "Simulator gesture option"
},
"simulator-gesture-right": {
"defaultMessage": "right",
"description": "Simulator gesture option"
},
"simulator-gesture-select": {
"defaultMessage": "ジェスチャーを選択",
"description": "Aria label for the simulator gesture select input"
Expand All @@ -854,6 +890,14 @@
"defaultMessage": "ジェスチャーを送信",
"description": "Aria label for the simulator gesture send button"
},
"simulator-gesture-shake": {
"defaultMessage": "shake",
"description": "Simulator gesture option"
},
"simulator-gesture-up": {
"defaultMessage": "up",
"description": "Simulator gesture option"
},
"simulator-hide": {
"defaultMessage": "シミュレーターを隠す",
"description": "Hide simulator action"
Expand Down
44 changes: 44 additions & 0 deletions lang/ui.ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,42 @@
"defaultMessage": "{title} 모듈 펼치기",
"description": "Aria label for expand simulator module button"
},
"simulator-gesture-3g": {
"defaultMessage": "3g",
"description": "Simulator gesture option"
},
"simulator-gesture-6g": {
"defaultMessage": "6g",
"description": "Simulator gesture option"
},
"simulator-gesture-8g": {
"defaultMessage": "8g",
"description": "Simulator gesture option"
},
"simulator-gesture-down": {
"defaultMessage": "down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-down": {
"defaultMessage": "face down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-up": {
"defaultMessage": "face up",
"description": "Simulator gesture option"
},
"simulator-gesture-freefall": {
"defaultMessage": "freefall",
"description": "Simulator gesture option"
},
"simulator-gesture-left": {
"defaultMessage": "left",
"description": "Simulator gesture option"
},
"simulator-gesture-right": {
"defaultMessage": "right",
"description": "Simulator gesture option"
},
"simulator-gesture-select": {
"defaultMessage": "제스처 선택",
"description": "Aria label for the simulator gesture select input"
Expand All @@ -854,6 +890,14 @@
"defaultMessage": "제스처 전송",
"description": "Aria label for the simulator gesture send button"
},
"simulator-gesture-shake": {
"defaultMessage": "shake",
"description": "Simulator gesture option"
},
"simulator-gesture-up": {
"defaultMessage": "up",
"description": "Simulator gesture option"
},
"simulator-hide": {
"defaultMessage": "시뮬레이터 숨기기",
"description": "Hide simulator action"
Expand Down
44 changes: 44 additions & 0 deletions lang/ui.zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,42 @@
"defaultMessage": "展开 {title} 模块",
"description": "Aria label for expand simulator module button"
},
"simulator-gesture-3g": {
"defaultMessage": "3g",
"description": "Simulator gesture option"
},
"simulator-gesture-6g": {
"defaultMessage": "6g",
"description": "Simulator gesture option"
},
"simulator-gesture-8g": {
"defaultMessage": "8g",
"description": "Simulator gesture option"
},
"simulator-gesture-down": {
"defaultMessage": "down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-down": {
"defaultMessage": "face down",
"description": "Simulator gesture option"
},
"simulator-gesture-face-up": {
"defaultMessage": "face up",
"description": "Simulator gesture option"
},
"simulator-gesture-freefall": {
"defaultMessage": "freefall",
"description": "Simulator gesture option"
},
"simulator-gesture-left": {
"defaultMessage": "left",
"description": "Simulator gesture option"
},
"simulator-gesture-right": {
"defaultMessage": "right",
"description": "Simulator gesture option"
},
"simulator-gesture-select": {
"defaultMessage": "选择手势",
"description": "Aria label for the simulator gesture select input"
Expand All @@ -854,6 +890,14 @@
"defaultMessage": "发送手势",
"description": "Aria label for the simulator gesture send button"
},
"simulator-gesture-shake": {
"defaultMessage": "shake",
"description": "Simulator gesture option"
},
"simulator-gesture-up": {
"defaultMessage": "up",
"description": "Simulator gesture option"
},
"simulator-hide": {
"defaultMessage": "隐藏模拟器",
"description": "Hide simulator action"
Expand Down
Loading

0 comments on commit 352a97f

Please sign in to comment.