Skip to content

Commit 7cb3eb0

Browse files
Update translations. (#1029)
No pyright changes this time around. Script updated to move some of the logic into the stubs repo.
1 parent f025c0c commit 7cb3eb0

File tree

9 files changed

+26
-32
lines changed

9 files changed

+26
-32
lines changed

bin/update-translations.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,7 @@ npm run i18n:compile
3030

3131
(
3232
cd ../micropython-microbit-stubs
33-
for language in $languages; do
34-
lower="${language,,}"
35-
rm -rf "lang/${lower}"
36-
cp -r lang/en "lang/${lower}"
37-
done
38-
npm run i18n:typeshed-to-crowdin
39-
npm run i18n:crowdin-to-typeshed
33+
./scripts/build-translations.sh
4034
)
4135
./bin/update-pyright.sh
4236
./bin/update-typeshed.sh

lang/ui.fr.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@
827827
"description": "Shown below the simulator Data logging table to warn that the log is full"
828828
},
829829
"simulator-data-logging-rows": {
830-
"defaultMessage": "{count, plural, =0 {aucune ligne enregistrée} one {# ligne enregistrée} other {# lignes enregistrées}}",
830+
"defaultMessage": "{count, plural, =0 {Aucune ligne enregistrée} one {# ligne enregistrée} other {# lignes enregistrées}}",
831831
"description": "Indicator of the number of rows logged in the simulator Data logging table. Uses ICU syntax for pluralisation: https://formatjs.io/docs/core-concepts/icu-syntax/#plural-format."
832832
},
833833
"simulator-data-logging-save-log": {
@@ -859,15 +859,15 @@
859859
"description": "Simulator gesture option"
860860
},
861861
"simulator-gesture-down": {
862-
"defaultMessage": "logo en bas",
862+
"defaultMessage": "bas",
863863
"description": "Simulator gesture option"
864864
},
865865
"simulator-gesture-face-down": {
866-
"defaultMessage": "face orientée vers le bas",
866+
"defaultMessage": "visage vers le bas",
867867
"description": "Simulator gesture option"
868868
},
869869
"simulator-gesture-face-up": {
870-
"defaultMessage": "face orientée vers le haut",
870+
"defaultMessage": "visage vers le haut",
871871
"description": "Simulator gesture option"
872872
},
873873
"simulator-gesture-freefall": {
@@ -895,7 +895,7 @@
895895
"description": "Simulator gesture option"
896896
},
897897
"simulator-gesture-up": {
898-
"defaultMessage": "logo en haut",
898+
"defaultMessage": "haut",
899899
"description": "Simulator gesture option"
900900
},
901901
"simulator-hide": {

src/messages/ui.fr.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@
18571857
"value": [
18581858
{
18591859
"type": 0,
1860-
"value": "aucune ligne enregistrée"
1860+
"value": "Aucune ligne enregistrée"
18611861
}
18621862
]
18631863
},
@@ -1938,19 +1938,19 @@
19381938
"simulator-gesture-down": [
19391939
{
19401940
"type": 0,
1941-
"value": "logo en bas"
1941+
"value": "bas"
19421942
}
19431943
],
19441944
"simulator-gesture-face-down": [
19451945
{
19461946
"type": 0,
1947-
"value": "face orientée vers le bas"
1947+
"value": "visage vers le bas"
19481948
}
19491949
],
19501950
"simulator-gesture-face-up": [
19511951
{
19521952
"type": 0,
1953-
"value": "face orientée vers le haut"
1953+
"value": "visage vers le haut"
19541954
}
19551955
],
19561956
"simulator-gesture-freefall": [
@@ -1992,7 +1992,7 @@
19921992
"simulator-gesture-up": [
19931993
{
19941994
"type": 0,
1995-
"value": "logo en haut"
1995+
"value": "haut"
19961996
}
19971997
],
19981998
"simulator-hide": [

src/micropython/main/typeshed.es-es.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/micropython/main/typeshed.fr.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/micropython/main/typeshed.ja.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/micropython/main/typeshed.ko.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/micropython/main/typeshed.zh-cn.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/micropython/main/typeshed.zh-tw.json

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)