Skip to content

Commit

Permalink
translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamlinerm committed Oct 9, 2024
1 parent 27a2e25 commit 1a2f885
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 13 deletions.
28 changes: 15 additions & 13 deletions deepl.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
#!/usr/bin/env node
require("dotenv").config();
const { exec } = require("child_process");
if (process.argv.length === 2) {
require("dotenv").config();
const { exec } = require("child_process");

exec("jsontt Publish/deepl.EN.json -m deepl -n deepl -fb yes -cl 3 -f EN -t DE ES FR IT JA KO PL PT SV TR ZH", (error, stdout, stderr) => {
if (error) {
console.error(`Error: ${error.message}`);
return;
}
if (stderr) {
console.error(`Stderr: ${stderr}`);
return;
}
console.log(`Output: ${stdout}`);
});
exec("jsontt Publish/deepl.EN.json -m deepl -n deepl -fb yes -cl 3 -f EN -t DE ES FR IT JA KO PL PT SV TR ZH", (error, stdout, stderr) => {
if (error) {
console.error(`Error: ${error.message}`);
return;
}
if (stderr) {
console.error(`Stderr: ${stderr}`);
return;
}
console.log(`Output: ${stdout}`);
});
}

if (process.argv.length === 3) {
// read the deepl.Lang.json files and copy the new keys into the language files in the folder firefox _locales
Expand Down
3 changes: 3 additions & 0 deletions firefox/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Wenn Sie auf dem Tonsymbol nach oben oder unten scrollen, wird die Lautstärke geändert."
},
"DisneyAdDescription": {
"message": "Zeit der übersprungenen Disney-Werbung."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Scrolling up or down on the Sound Icon will change the volume."
},
"DisneyAdDescription": {
"message": "Time of skipped Disney Ads."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Si se desplaza hacia arriba o hacia abajo en el icono de sonido, cambiará el volumen."
},
"DisneyAdDescription": {
"message": "Tiempo de anuncios Disney saltados."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Le défilement vers le haut ou vers le bas de l'icône du son modifie le volume."
},
"DisneyAdDescription": {
"message": "Durée des publicités Disney sautées."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Lo scorrimento verso l'alto o verso il basso dell'icona del suono modifica il volume."
},
"DisneyAdDescription": {
"message": "Tempo di salto degli annunci Disney."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "サウンドアイコンを上下にスクロールすると音量が変わります。"
},
"DisneyAdDescription": {
"message": "ディズニーの広告をスキップした時間。"
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "사운드 아이콘을 위아래로 스크롤하면 볼륨이 변경됩니다."
},
"DisneyAdDescription": {
"message": "디즈니 광고를 건너뛴 시간."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/pl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Przewijanie ikony dźwięku w górę lub w dół powoduje zmianę głośności."
},
"DisneyAdDescription": {
"message": "Czas pominiętych reklam Disneya."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/pt/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Deslocar-se para cima ou para baixo no ícone de som altera o volume."
},
"DisneyAdDescription": {
"message": "Tempo de saltar anúncios da Disney."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/pt_BR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Deslocar-se para cima ou para baixo no ícone de som altera o volume."
},
"DisneyAdDescription": {
"message": "Tempo de saltar anúncios da Disney."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/sv/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Om du bläddrar upp eller ner på ljudikonen ändras volymen."
},
"DisneyAdDescription": {
"message": "Tid för överhoppade Disney-annonser."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/tr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "Ses Simgesi üzerinde yukarı veya aşağı kaydırma yapmak ses seviyesini değiştirecektir."
},
"DisneyAdDescription": {
"message": "Disney reklamlarını atlama zamanı."
}
}
3 changes: 3 additions & 0 deletions firefox/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
},
"scrollVolumeDescription": {
"message": "上下滚动声音图标可改变音量。"
},
"DisneyAdDescription": {
"message": "跳过迪斯尼广告的时间"
}
}

0 comments on commit 1a2f885

Please sign in to comment.