diff --git a/gulp/tasks/translations-extract.js b/gulp/tasks/translations-extract.js new file mode 100644 index 0000000000..7fc3f09dcc --- /dev/null +++ b/gulp/tasks/translations-extract.js @@ -0,0 +1,15 @@ +const gulp = require('gulp'); +const minify = require('gulp-jsonminify'); +const rename = require('gulp-rename'); +const streamify = require('gulp-streamify'); +const zip = require('gulp-vinyl-zip'); + +function translationsExtract() { + return zip.src('build-temp/Home_Assistant_-_Polymer_frontend-locale.zip') + .pipe(rename({ + dirname: '', + })) + .pipe(streamify(minify())) + .pipe(gulp.dest('translations')); +} +gulp.task('translations-extract', translationsExtract.bind(null)); diff --git a/package.json b/package.json index 93ae14dcf7..b98d0d2549 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,10 @@ "gulp-merge-json": "^1.0.0", "gulp-rename": "^1.2.2", "gulp-rollup-each": "^2.0.0", + "gulp-streamify": "^1.0.2", "gulp-uglify": "^3.0.0", "gulp-util": "^3.0.8", + "gulp-vinyl-zip": "^2.1.0", "home-assistant-js-websocket": "^1.1.2", "html-minifier": "^3.5.6", "merge-stream": "^1.0.1", diff --git a/script/translations_download b/script/translations_download index cfca3fefed..53e742e0c7 100755 --- a/script/translations_download +++ b/script/translations_download @@ -21,11 +21,9 @@ fi [ -z "${LOKALISE_TOKEN-}" ] && LOKALISE_TOKEN="$(<.lokalise_token)" PROJECT_ID="3420425759f6d6d241f598.13594006" -LOCAL_DIR="$(pwd)/translations" -DOWNLOAD_FILE="${LOCAL_DIR}/Home_Assistant_-_Polymer_frontend-locale.zip" +LOCAL_DIR="$(pwd)/build-temp" FILE_FORMAT=json -rm -f ${LOCAL_DIR}/*.json mkdir -p ${LOCAL_DIR} docker run \ @@ -37,6 +35,5 @@ docker run \ --type json \ --dest /opt/dest -# Extract and delete downloaded zip bundle -unzip -j "${DOWNLOAD_FILE}" locale/* -d "${LOCAL_DIR}" -rm -f "${DOWNLOAD_FILE}" +# Extract and and minify the downloaded translations +./node_modules/.bin/gulp translations-extract diff --git a/translations/ar.json b/translations/ar.json new file mode 100644 index 0000000000..e1b718991d --- /dev/null +++ b/translations/ar.json @@ -0,0 +1 @@ +{"panel":{"config":"الإعدادات","states":"نظرة عامة","map":"خريطة","logbook":"سجل","history":"التاريخ","log_out":"تسجيل الخروج","mailbox":"علبة البريد","shopping_list":"قائمة التسوق"}} \ No newline at end of file diff --git a/translations/bg.json b/translations/bg.json index 39d6abac82..0f77bdd541 100644 --- a/translations/bg.json +++ b/translations/bg.json @@ -1,9 +1 @@ -{ - "panel": { - "states": "Състояние", - "map": "Карта", - "logbook": "Дневник", - "history": "История", - "log_out": "Излез" - } -} \ No newline at end of file +{"panel":{"config":"Конфигурация","states":"Състояние","map":"Карта","logbook":"Дневник","history":"История","log_out":"Излез","mailbox":"Пощенска кутия","shopping_list":"Списък за пазаруване"}} \ No newline at end of file diff --git a/translations/ca.json b/translations/ca.json new file mode 100644 index 0000000000..f991b4a301 --- /dev/null +++ b/translations/ca.json @@ -0,0 +1 @@ +{"panel":{"config":"Configuració","states":"Visió general","map":"Mapa","logbook":"Diari de registre","history":"Historial","log_out":"Desconnectar","mailbox":"Bústia","shopping_list":"Llista de compres"}} \ No newline at end of file diff --git a/translations/cs.json b/translations/cs.json index afd21787cf..7370f8197b 100644 --- a/translations/cs.json +++ b/translations/cs.json @@ -1,10 +1 @@ -{ - "panel": { - "config": "Nastavení", - "states": "Stavy", - "map": "Mapa", - "logbook": "Deník", - "history": "Historie", - "log_out": "Odhlásit se" - } -} \ No newline at end of file +{"panel":{"config":"Nastavení","states":"Přehled","map":"Mapa","logbook":"Záznamy","history":"Historie","log_out":"Odhlásit se","mailbox":"Schránka","shopping_list":"Nákupní seznam"}} \ No newline at end of file diff --git a/translations/da.json b/translations/da.json index 21a1abbdf1..330c4ea0fb 100644 --- a/translations/da.json +++ b/translations/da.json @@ -1,11 +1 @@ -{ - "panel": { - "config": "Indstillinger", - "states": "Oversigt", - "map": "Kort", - "logbook": "Logbog", - "history": "Historik", - "log_out": "Log af", - "shopping_list": "Indkøbsliste" - } -} \ No newline at end of file +{"panel":{"config":"Indstillinger","states":"Oversigt","map":"Kort","logbook":"Logbog","history":"Historik","log_out":"Log af","mailbox":"Postkasse","shopping_list":"Indkøbsliste"}} \ No newline at end of file diff --git a/translations/de.json b/translations/de.json index 7dc65e673e..40a38eda6b 100644 --- a/translations/de.json +++ b/translations/de.json @@ -1,12 +1 @@ -{ - "panel": { - "config": "Konfiguration", - "states": "Übersicht", - "map": "Karte", - "logbook": "Logbuch", - "history": "Verlauf", - "log_out": "Abmelden", - "mailbox": "Posteingang", - "shopping_list": "Einkaufsliste" - } -} \ No newline at end of file +{"panel":{"config":"Einstellungen","states":"Übersicht","map":"Karte","logbook":"Logbuch","history":"Verlauf","log_out":"Abmelden","mailbox":"Posteingang","shopping_list":"Einkaufsliste"}} \ No newline at end of file diff --git a/translations/el.json b/translations/el.json index 735a350d4a..d772873bb4 100644 --- a/translations/el.json +++ b/translations/el.json @@ -1,10 +1 @@ -{ - "panel": { - "config": "Ρυθμίσεις", - "states": "Επισκόπηση", - "map": "Χάρτης", - "logbook": "Αρχείο Συμβάντων", - "history": "Ιστορικό", - "log_out": "Αποσύνδεση" - } -} \ No newline at end of file +{"panel":{"config":"Ρυθμίσεις","states":"Επισκόπηση","map":"Χάρτης","logbook":"Αρχείο Συμβάντων","history":"Ιστορικό","log_out":"Αποσύνδεση","mailbox":"Γραμματοκιβώτιο","shopping_list":"Λίστα αγορών"}} \ No newline at end of file diff --git a/translations/en.json b/translations/en.json index f17853d1b2..229799ca4d 100644 --- a/translations/en.json +++ b/translations/en.json @@ -1,12 +1 @@ -{ - "panel": { - "config": "Configuration", - "states": "Overview", - "map": "Map", - "logbook": "Logbook", - "history": "History", - "log_out": "Log Out", - "mailbox": "Mailbox", - "shopping_list": "Shopping List" - } -} \ No newline at end of file +{"panel":{"config":"Configuration","states":"Overview","map":"Map","logbook":"Logbook","history":"History","log_out":"Log out","mailbox":"Mailbox","shopping_list":"Shopping list"}} \ No newline at end of file diff --git a/translations/es-419.json b/translations/es-419.json new file mode 100644 index 0000000000..94d6647063 --- /dev/null +++ b/translations/es-419.json @@ -0,0 +1 @@ +{"panel":{"config":"Configuración","states":"Resumen","map":"Mapa","logbook":"Registro","history":"Historial","log_out":"Cerrar sesión","mailbox":"Buzón","shopping_list":"Lista de compras"}} \ No newline at end of file diff --git a/translations/es.json b/translations/es.json new file mode 100644 index 0000000000..fb7970703a --- /dev/null +++ b/translations/es.json @@ -0,0 +1 @@ +{"panel":{"config":"Configuración","states":"Resumen","map":"Mapa","logbook":"Registro","history":"Historial","log_out":"Cerrar sesión","mailbox":"Buzón","shopping_list":"Lista de la compra"}} \ No newline at end of file diff --git a/translations/et.json b/translations/et.json new file mode 100644 index 0000000000..13e7249453 --- /dev/null +++ b/translations/et.json @@ -0,0 +1 @@ +{"panel":{"config":"Seaded","states":"Ülevaade","map":"Kaart","logbook":"Logi","history":"Ajalugu","log_out":"Logi välja","mailbox":"Postkast","shopping_list":"Ostunimekiri"}} \ No newline at end of file diff --git a/translations/fa.json b/translations/fa.json index 365c7267fd..8b1107d7d1 100644 --- a/translations/fa.json +++ b/translations/fa.json @@ -1,9 +1 @@ -{ - "panel": { - "states": "وضعیت", - "map": "نقشه", - "logbook": "گزارش روزانه", - "history": "تاریخچه", - "log_out": "خروج" - } -} \ No newline at end of file +{"panel":{"config":"پیکربندی","states":"وضعیت","map":"نقشه","logbook":"گزارش روزانه","history":"تاریخچه","log_out":"خروج","mailbox":"صندوق پستی","shopping_list":"لیست خرید"}} \ No newline at end of file diff --git a/translations/fi.json b/translations/fi.json index fc23aaa8ec..24bc97a7bf 100644 --- a/translations/fi.json +++ b/translations/fi.json @@ -1,11 +1 @@ -{ - "panel": { - "config": "Asetukset", - "states": "Yleisnäkymä", - "map": "Kartta", - "logbook": "Lokikirja", - "history": "Historia", - "log_out": "Kirjaudu ulos", - "shopping_list": "Ostoslista" - } -} \ No newline at end of file +{"panel":{"config":"Asetukset","states":"Yleisnäkymä","map":"Kartta","logbook":"Lokikirja","history":"Historia","log_out":"Kirjaudu ulos","mailbox":"Postilaatikko","shopping_list":"Ostoslista"}} \ No newline at end of file diff --git a/translations/fr.json b/translations/fr.json index 97f5c2cb7c..b5730504d6 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -1,11 +1 @@ -{ - "panel": { - "config": "Configuration", - "states": "États", - "map": "Carte", - "logbook": "Journal", - "history": "Historique", - "log_out": "Déconnexion", - "shopping_list": "Liste de courses" - } -} \ No newline at end of file +{"panel":{"config":"Configuration","states":"Aperçu","map":"Carte","logbook":"Journal","history":"Historique","log_out":"Déconnexion","mailbox":"Boîtes aux lettres","shopping_list":"Liste de courses"}} \ No newline at end of file diff --git a/translations/gsw.json b/translations/gsw.json new file mode 100644 index 0000000000..7e617112d3 --- /dev/null +++ b/translations/gsw.json @@ -0,0 +1 @@ +{"panel":{"config":"Istellige","states":"Übersicht","map":"Charte","logbook":"Logbuech","history":"Vrlouf","log_out":"Uslogge","mailbox":"Postigang","shopping_list":"Ichoufsliste"}} \ No newline at end of file diff --git a/translations/he.json b/translations/he.json new file mode 100644 index 0000000000..7e279ad2c2 --- /dev/null +++ b/translations/he.json @@ -0,0 +1 @@ +{"panel":{"config":"הגדרות","states":"סקירה כללית","map":"מפה","logbook":"יומן אירועים","history":"היסטוריה","log_out":"התנתק","mailbox":"תיבת דואר","shopping_list":"רשימת קניות"}} \ No newline at end of file diff --git a/translations/hi.json b/translations/hi.json new file mode 100644 index 0000000000..75bdf8ae9d --- /dev/null +++ b/translations/hi.json @@ -0,0 +1 @@ +{"panel":{"config":"कॉंफ़िगरेशन","states":"स्थिति","map":"नक्शा","logbook":"रिपोर्ट","history":"इतिहास","log_out":"लॉग आउट","mailbox":"मेलबॉक्स","shopping_list":"खरीदारी की सूची"}} \ No newline at end of file diff --git a/translations/hr.json b/translations/hr.json new file mode 100644 index 0000000000..22eac3acef --- /dev/null +++ b/translations/hr.json @@ -0,0 +1 @@ +{"panel":{"config":"Konfiguracija","states":"Pregled","map":"Karta","logbook":"Dnenik","history":"Povijest","log_out":"Odjava","mailbox":"Pošta","shopping_list":"Popis za kupovinu"}} \ No newline at end of file diff --git a/translations/hu.json b/translations/hu.json index 8dd89270b2..fd32d6c14d 100644 --- a/translations/hu.json +++ b/translations/hu.json @@ -1,10 +1 @@ -{ - "panel": { - "config": "Konfiguráció", - "states": "Áttekintés", - "map": "Térkép", - "logbook": "Napló", - "history": "Előzmények", - "log_out": "Kilépés" - } -} \ No newline at end of file +{"panel":{"config":"Konfiguráció","states":"Áttekintés","map":"Térkép","logbook":"Napló","history":"Előzmények","log_out":"Kilépés","mailbox":"Postafiók","shopping_list":"Bevásárló lista"}} \ No newline at end of file diff --git a/translations/it.json b/translations/it.json index 7cd96ba9c9..f04d6078a6 100644 --- a/translations/it.json +++ b/translations/it.json @@ -1,12 +1 @@ -{ - "panel": { - "config": "Configurazione", - "states": "Stati", - "map": "Mappa", - "logbook": "Registro", - "history": "Storico", - "log_out": "Esci", - "mailbox": "Messaggi", - "shopping_list": "Lista della spesa" - } -} \ No newline at end of file +{"panel":{"config":"Impostazioni","states":"Stato","map":"Mappa","logbook":"Registro","history":"Storico","log_out":"Esci","mailbox":"Posta","shopping_list":"Lista della spesa"}} \ No newline at end of file diff --git a/translations/ja.json b/translations/ja.json index 259e057486..5f4779887e 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -1,9 +1 @@ -{ - "panel": { - "states": "状態", - "map": "地図", - "logbook": "ログブック", - "history": "履歴", - "log_out": "ログアウト" - } -} \ No newline at end of file +{"panel":{"config":"設定","states":"状態","map":"地図","logbook":"ログブック","history":"履歴","log_out":"ログアウト","mailbox":"メールボックス","shopping_list":"買い物リスト"}} \ No newline at end of file diff --git a/translations/lb.json b/translations/lb.json new file mode 100644 index 0000000000..2089b54220 --- /dev/null +++ b/translations/lb.json @@ -0,0 +1 @@ +{"panel":{"config":"Astellungen","states":"Iwwersiicht","map":"Kaart","logbook":"Journal","history":"Verlaf","log_out":"Ausloggen","mailbox":"Bréifkëscht","shopping_list":"Akafslëscht"}} \ No newline at end of file diff --git a/translations/lt.json b/translations/lt.json index 10f99a8c22..a61c6fc307 100644 --- a/translations/lt.json +++ b/translations/lt.json @@ -1,9 +1 @@ -{ - "panel": { - "states": "Valdymas", - "map": "Žemėlapis", - "logbook": "Veiksmų žurnalas", - "history": "Istorija", - "log_out": "Atsijungti" - } -} \ No newline at end of file +{"panel":{"config":"Konfigūracija","states":"Valdymas","map":"Žemėlapis","logbook":"Veiksmų žurnalas","history":"Istorija","log_out":"Atsijungti","mailbox":"Pašto dėžutė","shopping_list":"Pirkinių sąrašas"}} \ No newline at end of file diff --git a/translations/nl.json b/translations/nl.json index 21df671778..583a36b3bf 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -1,10 +1 @@ -{ - "panel": { - "config": "Instellingen", - "states": "Overzicht", - "map": "Kaart", - "logbook": "Logboek", - "history": "Geschiedenis", - "log_out": "Uitloggen" - } -} \ No newline at end of file +{"panel":{"config":"Instellingen","states":"Overzicht","map":"Kaart","logbook":"Logboek","history":"Geschiedenis","log_out":"Uitloggen","mailbox":"Postvak","shopping_list":"Boodschappenlijst"}} \ No newline at end of file diff --git a/translations/no.json b/translations/no.json index 0d986cb348..51b15def7a 100644 --- a/translations/no.json +++ b/translations/no.json @@ -1,12 +1 @@ -{ - "panel": { - "config": "Innstillinger", - "states": "Oversikt", - "map": "Kart", - "logbook": "Loggbok", - "history": "Historie", - "log_out": "Logg av", - "mailbox": "Postboks", - "shopping_list": "Handleliste" - } -} \ No newline at end of file +{"panel":{"config":"Konfigurasjon","states":"Oversikt","map":"Kart","logbook":"Loggbok","history":"Historie","log_out":"Logg ut","mailbox":"Postkasse","shopping_list":"Handleliste"}} \ No newline at end of file diff --git a/translations/pl.json b/translations/pl.json index 2a503ee22c..01f37f5137 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -1,9 +1 @@ -{ - "panel": { - "states": "Stany", - "map": "Mapa", - "logbook": "Dziennik", - "history": "Historia", - "log_out": "Wyloguj" - } -} \ No newline at end of file +{"panel":{"config":"Ustawienia","states":"Przegląd","map":"Mapa","logbook":"Dziennik","history":"Historia","log_out":"Wyloguj","mailbox":"Poczta","shopping_list":"Lista zakupów"}} \ No newline at end of file diff --git a/translations/pt.json b/translations/pt.json index d5e3f36d2f..080d79261e 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -1,9 +1 @@ -{ - "panel": { - "states": "Estados", - "map": "Mapa", - "logbook": "Eventos", - "history": "Histórico", - "log_out": "Desconectar" - } -} \ No newline at end of file +{"panel":{"config":"Configuração","states":"Visão Geral","map":"Mapa","logbook":"Eventos","history":"Histórico","log_out":"Sair","mailbox":"Correio","shopping_list":"Lista de compras"}} \ No newline at end of file diff --git a/translations/ro.json b/translations/ro.json new file mode 100644 index 0000000000..85a3e57432 --- /dev/null +++ b/translations/ro.json @@ -0,0 +1 @@ +{"panel":{"config":"Configurare","states":"Prezentare generală","map":"Hartă","logbook":"Jurnal","history":"Istoric","log_out":"Deconectați-vă","mailbox":"Cutie poștală","shopping_list":"Listă de cumpărături"}} \ No newline at end of file diff --git a/translations/ru.json b/translations/ru.json index 8c245347ee..c30612adff 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -1,10 +1 @@ -{ - "panel": { - "config": "Настройки", - "states": "Обзор", - "map": "Карта", - "logbook": "Журнал", - "history": "История", - "log_out": "Выход" - } -} \ No newline at end of file +{"panel":{"config":"Настройки","states":"Обзор","map":"Карта","logbook":"Журнал","history":"История","log_out":"Выход","mailbox":"Почтовый ящик","shopping_list":"Список покупок"}} \ No newline at end of file diff --git a/translations/sl.json b/translations/sl.json new file mode 100644 index 0000000000..2374bcc81e --- /dev/null +++ b/translations/sl.json @@ -0,0 +1 @@ +{"panel":{"config":"Konfiguracija","states":"Pregled","map":"Zemljevid","logbook":"Dnevnik","history":"Zgodovina","log_out":"Odjava","mailbox":"Nabiralnik","shopping_list":"Nakupovalni seznam"}} \ No newline at end of file diff --git a/translations/sr-Latn.json b/translations/sr-Latn.json new file mode 100644 index 0000000000..14383c410f --- /dev/null +++ b/translations/sr-Latn.json @@ -0,0 +1 @@ +{"panel":{"config":"Konfiguracija","states":"Pregled","map":"Mapa","logbook":"Dnevnik","history":"Istorija","log_out":"Odjaviti se","mailbox":"Poštansko sanduče","shopping_list":"Lista za kupovinu"}} \ No newline at end of file diff --git a/translations/sr.json b/translations/sr.json new file mode 100644 index 0000000000..ca2e550009 --- /dev/null +++ b/translations/sr.json @@ -0,0 +1 @@ +{"panel":{"config":"Конфигурација","states":"Преглед","map":"Мапа","logbook":"Дневник","history":"Историја","log_out":"Одјавити се","mailbox":"Поштанско сандуче","shopping_list":"Листа за куповину"}} \ No newline at end of file diff --git a/translations/sv.json b/translations/sv.json index c6fbbbc454..87b4919975 100644 --- a/translations/sv.json +++ b/translations/sv.json @@ -1,9 +1 @@ -{ - "panel": { - "states": "Översikt", - "map": "Karta", - "logbook": "Loggbok", - "history": "Historik", - "log_out": "Logga Ut" - } -} \ No newline at end of file +{"panel":{"config":"Konfiguration","states":"Översikt","map":"Karta","logbook":"Loggbok","history":"Historik","log_out":"Logga ut","mailbox":"Brevlåda","shopping_list":"Inköpslista"}} \ No newline at end of file diff --git a/translations/ta.json b/translations/ta.json new file mode 100644 index 0000000000..b019d9c2f5 --- /dev/null +++ b/translations/ta.json @@ -0,0 +1 @@ +{"panel":{"config":"அமைப்புகள்","states":"கண்ணோட்டம்","map":"வரைபடம்","logbook":"பதிவேடுகள்","history":"வரலாறு","log_out":"வெளியேறு","mailbox":"அஞ்சல் பெட்டி","shopping_list":"ஷாப்பிங் பட்டியல்"}} \ No newline at end of file diff --git a/translations/te.json b/translations/te.json new file mode 100644 index 0000000000..12ff8c117c --- /dev/null +++ b/translations/te.json @@ -0,0 +1 @@ +{"panel":{"config":"అమరిక","states":"టూకీగా","map":"మ్యాప్","logbook":"చిట్టా","history":"చరిత్ర","log_out":"లాగ్ అవుట్","mailbox":"మెయిల్ బాక్స్","shopping_list":"షాపింగ్ జాబితా"}} \ No newline at end of file diff --git a/translations/th.json b/translations/th.json index e4e69ea76d..cb80a1600f 100644 --- a/translations/th.json +++ b/translations/th.json @@ -1,9 +1 @@ -{ - "panel": { - "states": "ภาพรวม", - "map": "แผนที่", - "logbook": "สมุดบันทึก", - "history": "ประวัติ", - "log_out": "ลงชื่อออก" - } -} \ No newline at end of file +{"panel":{"states":"ภาพรวม","map":"แผนที่","logbook":"สมุดบันทึก","history":"ประวัติ","log_out":"ลงชื่อออก"}} \ No newline at end of file diff --git a/translations/tr.json b/translations/tr.json index e2d1b8d913..e733d63368 100644 --- a/translations/tr.json +++ b/translations/tr.json @@ -1,10 +1 @@ -{ - "panel": { - "config": "Ayarlar", - "states": "Durum", - "map": "Harita", - "logbook": "Kayıt Defteri", - "history": "Geçmiş", - "log_out": "Çıkış Yap" - } -} \ No newline at end of file +{"panel":{"config":"Ayarlar","states":"Genel durum","map":"Harita","logbook":"Kayıt defteri","history":"Geçmiş","log_out":"Çıkış yap","mailbox":"Posta kutusu","shopping_list":"Alışveriş listesi"}} \ No newline at end of file diff --git a/translations/vi.json b/translations/vi.json index 0095fa992e..d6e8060079 100644 --- a/translations/vi.json +++ b/translations/vi.json @@ -1,10 +1 @@ -{ - "panel": { - "config": "Cấu hình", - "states": "Tổng quan", - "map": "Bản đồ", - "logbook": "Nhật ký", - "history": "Lịch sử", - "log_out": "Đăng xuất" - } -} \ No newline at end of file +{"panel":{"config":"Cấu hình","states":"Tổng quan","map":"Bản đồ","logbook":"Nhật ký","history":"Lịch sử","log_out":"Đăng xuất","mailbox":"Hộp thư","shopping_list":"Danh sách mua sắm"}} \ No newline at end of file diff --git a/translations/zh-Hans.json b/translations/zh-Hans.json index db325e319f..439ffe16fe 100644 --- a/translations/zh-Hans.json +++ b/translations/zh-Hans.json @@ -1,10 +1 @@ -{ - "panel": { - "config": "配置", - "states": "概览", - "map": "地图", - "logbook": "日志", - "history": "历史", - "log_out": "退出" - } -} \ No newline at end of file +{"panel":{"config":"配置","states":"概览","map":"地图","logbook":"日志","history":"历史","log_out":"退出","mailbox":"邮箱","shopping_list":"购物清单"}} \ No newline at end of file diff --git a/translations/zh-Hant.json b/translations/zh-Hant.json index 7493a5312e..cc7c4617b0 100644 --- a/translations/zh-Hant.json +++ b/translations/zh-Hant.json @@ -1,10 +1 @@ -{ - "panel": { - "config": "設定", - "states": "概覽", - "map": "地圖", - "logbook": "日誌", - "history": "歷史", - "log_out": "登出" - } -} \ No newline at end of file +{"panel":{"config":"設定","states":"概覽","map":"地圖","logbook":"日誌","history":"歷史","log_out":"登出","mailbox":"郵箱","shopping_list":"購物清單"}} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 0ccb75f917..2e0ac4e4af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2874,7 +2874,7 @@ etag@~1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" -event-stream@^3.0.20: +event-stream@^3.0.20, event-stream@^3.3.1: version "3.3.4" resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571" dependencies: @@ -3767,6 +3767,12 @@ gulp-sourcemaps@1.6.0: through2 "^2.0.0" vinyl "^1.0.0" +gulp-streamify@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/gulp-streamify/-/gulp-streamify-1.0.2.tgz#00d6b3814d486c088f78738ed0766abc16389e4d" + dependencies: + plexer "1.0.1" + gulp-uglify@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/gulp-uglify/-/gulp-uglify-3.0.0.tgz#0df0331d72a0d302e3e37e109485dddf33c6d1ca" @@ -3815,6 +3821,18 @@ gulp-util@^3.0.0, gulp-util@^3.0.6, gulp-util@^3.0.8, gulp-util@~3.0.4: through2 "^2.0.0" vinyl "^0.5.0" +gulp-vinyl-zip@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/gulp-vinyl-zip/-/gulp-vinyl-zip-2.1.0.tgz#24e40685dc05b7149995245099e0590263be8dad" + dependencies: + event-stream "^3.3.1" + queue "^4.2.1" + through2 "^2.0.3" + vinyl "^2.0.2" + vinyl-fs "^2.0.0" + yauzl "^2.2.1" + yazl "^2.2.1" + gulp@^3.9.1: version "3.9.1" resolved "https://registry.yarnpkg.com/gulp/-/gulp-3.9.1.tgz#571ce45928dd40af6514fc4011866016c13845b4" @@ -4516,7 +4534,7 @@ isomorphic-fetch@^2.1.1: node-fetch "^1.0.1" whatwg-fetch ">=0.10.0" -isstream@0.1.x, isstream@~0.1.2: +isstream@0.1.x, isstream@^0.1.2, isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" @@ -5940,6 +5958,13 @@ pkg-dir@^1.0.0: dependencies: find-up "^1.0.0" +plexer@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/plexer/-/plexer-1.0.1.tgz#a801b652bf8145739795ea4d3bf0af946c30c0dd" + dependencies: + isstream "^0.1.2" + readable-stream "^2.0.2" + plist@^2.0.1: version "2.1.0" resolved "https://registry.yarnpkg.com/plist/-/plist-2.1.0.tgz#57ccdb7a0821df21831217a3cad54e3e146a1025" @@ -6298,6 +6323,12 @@ qs@~6.4.0: version "6.4.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" +queue@^4.2.1: + version "4.4.2" + resolved "https://registry.yarnpkg.com/queue/-/queue-4.4.2.tgz#5a9733d9a8b8bd1b36e934bc9c55ab89b28e29c7" + dependencies: + inherits "~2.0.0" + randomatic@^1.1.3: version "1.1.7" resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c" @@ -7979,7 +8010,7 @@ vinyl-fs@^0.3.0: through2 "^0.6.1" vinyl "^0.4.0" -vinyl-fs@^2.4.3, vinyl-fs@^2.4.4: +vinyl-fs@^2.0.0, vinyl-fs@^2.4.3, vinyl-fs@^2.4.4: version "2.4.4" resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-2.4.4.tgz#be6ff3270cb55dfd7d3063640de81f25d7532239" dependencies: @@ -8036,7 +8067,7 @@ vinyl@^1.0.0, vinyl@^1.1.0, vinyl@^1.1.1, vinyl@^1.2.0: clone-stats "^0.0.1" replace-ext "0.0.1" -vinyl@^2.0.1: +vinyl@^2.0.1, vinyl@^2.0.2: version "2.1.0" resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.1.0.tgz#021f9c2cf951d6b939943c89eb5ee5add4fd924c" dependencies: @@ -8344,6 +8375,13 @@ yargs@~3.10.0: decamelize "^1.0.0" window-size "0.1.0" +yauzl@^2.2.1: + version "2.9.1" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.9.1.tgz#a81981ea70a57946133883f029c5821a89359a7f" + dependencies: + buffer-crc32 "~0.2.3" + fd-slicer "~1.0.1" + yauzl@^2.5.0: version "2.8.0" resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.8.0.tgz#79450aff22b2a9c5a41ef54e02db907ccfbf9ee2" @@ -8351,6 +8389,12 @@ yauzl@^2.5.0: buffer-crc32 "~0.2.3" fd-slicer "~1.0.1" +yazl@^2.2.1: + version "2.4.3" + resolved "https://registry.yarnpkg.com/yazl/-/yazl-2.4.3.tgz#ec26e5cc87d5601b9df8432dbdd3cd2e5173a071" + dependencies: + buffer-crc32 "~0.2.3" + yeast@0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"