From f46cb80c3c72a75920be5ddda1d9bf7a973b552c Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 21 Jul 2019 15:14:12 +0200 Subject: [PATCH] updating translations --- .../settings/map/map.settings.component.html | 4 +- frontend/translate/messages.en.xlf | 100 ++++++++++++----- frontend/translate/messages.fr.xlf | 102 ++++++++++++------ frontend/translate/messages.hu.xlf | 98 ++++++++++++----- frontend/translate/messages.ru.xlf | 102 ++++++++++++------ gulpfile.ts | 11 ++ package-lock.json | 68 ++++++------ package.json | 6 +- 8 files changed, 337 insertions(+), 154 deletions(-) diff --git a/frontend/app/ui/settings/map/map.settings.component.html b/frontend/app/ui/settings/map/map.settings.component.html index a5b73527..1c6ea8dd 100644 --- a/frontend/app/ui/settings/map/map.settings.component.html +++ b/frontend/app/ui/settings/map/map.settings.component.html @@ -36,8 +36,8 @@ [switch-label-width]="20" [(ngModel)]="settings.useImageMarkers"> - Map will use thumbnail images as markers instead of the default - pin. + + Map will use thumbnail images as markers instead of the default pin. diff --git a/frontend/translate/messages.en.xlf b/frontend/translate/messages.en.xlf index 973f361e..d2b07de1 100644 --- a/frontend/translate/messages.en.xlf +++ b/frontend/translate/messages.en.xlf @@ -104,7 +104,7 @@ download app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 9 + 11 download @@ -112,7 +112,7 @@ info key: i app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 13 + 15 info key: i @@ -120,19 +120,19 @@ toggle fullscreen, key: f app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 20 + 22 app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 29 + 31 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 62 + 86 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 67 + 91 toggle fullscreen, key: f @@ -140,11 +140,11 @@ close, key: Escape app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 36 + 38 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 70 + 94 close, key: Escape @@ -152,7 +152,7 @@ key: left arrow app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 54 + 76 key: left arrow @@ -160,7 +160,7 @@ key: right arrow app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 58 + 80 key: right arrow @@ -168,7 +168,7 @@ Zoom out, key: '-' app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 64 + 86 Zoom out, key: '-' @@ -176,7 +176,7 @@ Zoom in, key: '+' app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 71 + 93 Zoom in, key: '+' @@ -359,11 +359,19 @@ To dismiss these notifications, restart the server. + + App version: + + app/ui/admin/admin.component.html + 26 + + App version: + Mode app/ui/admin/admin.component.html - 25 + 30 Mode @@ -477,6 +485,10 @@ app/ui/settings/usermanager/usermanager.settings.component.html 27 + + app/ui/settings/map/map.settings.component.html + 62 + Name @@ -620,43 +632,73 @@ Map settings - - Map provider + + Use image markers app/ui/settings/map/map.settings.component.html 25 + Use image markers + + + + Map will use thumbnail images as markers instead of the default pin. + + + app/ui/settings/map/map.settings.component.html + 39 + + + Map will use thumbnail images as markers instead of the default pin. + + + + Map provider + + app/ui/settings/map/map.settings.component.html + 47 + Map provider - - Map tile url + + Tile Url* app/ui/settings/map/map.settings.component.html - 37 + 63 - Map tile url + Tile Url* - - The map module will use this url to fetch the map tiles. + + *The map module will use these urls to fetch the map tiles. app/ui/settings/map/map.settings.component.html - 43 + 88 - The map module will use this url to fetch the map tiles. + *The map module will use these urls to fetch the map tiles. + + + + Add Layer + + + app/ui/settings/map/map.settings.component.html + 93 + + + Add Layer + Mapbox access token app/ui/settings/map/map.settings.component.html - 49 + 99 Mapbox access token - - MapBox needs an access token to work, create one at + + MapBox needs an access token to work, create one at app/ui/settings/map/map.settings.component.html - 55 + 105 MapBox needs an access token to work, create one at @@ -665,7 +707,7 @@ app/ui/settings/map/map.settings.component.html - 63 + 114 app/ui/settings/thumbnail/thumbanil.settings.component.html @@ -706,7 +748,7 @@ app/ui/settings/map/map.settings.component.html - 66 + 117 app/ui/settings/thumbnail/thumbanil.settings.component.html diff --git a/frontend/translate/messages.fr.xlf b/frontend/translate/messages.fr.xlf index eed3ec1e..f2e9904a 100644 --- a/frontend/translate/messages.fr.xlf +++ b/frontend/translate/messages.fr.xlf @@ -104,7 +104,7 @@ download app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 9 + 11 télécharger @@ -112,7 +112,7 @@ info key: i app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 13 + 15 touche info : i @@ -120,19 +120,19 @@ toggle fullscreen, key: f app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 20 + 22 app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 29 + 31 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 62 + 86 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 67 + 91 basculer en plein écran, touche : f @@ -140,11 +140,11 @@ close, key: Escape app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 36 + 38 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 70 + 94 fermer, touche : Echap @@ -152,7 +152,7 @@ key: left arrow app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 54 + 76 touche : flèche gauche @@ -160,7 +160,7 @@ key: right arrow app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 58 + 80 touche : flèche droite @@ -168,7 +168,7 @@ Zoom out, key: '-' app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 64 + 86 Zoom arrière, touche : '-' @@ -176,7 +176,7 @@ Zoom in, key: '+' app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 71 + 93 Zoom avant, touche : '+' @@ -359,11 +359,19 @@ Pour supprimer ces notifications, redémarrez le serveur. + + App version: + + app/ui/admin/admin.component.html + 26 + + App version: + Mode app/ui/admin/admin.component.html - 25 + 30 Mode @@ -477,6 +485,10 @@ app/ui/settings/usermanager/usermanager.settings.component.html 27 + + app/ui/settings/map/map.settings.component.html + 62 + Nom @@ -620,43 +632,73 @@ Paramètres de la carte - - Map provider + + Use image markers app/ui/settings/map/map.settings.component.html 25 + Use image markers + + + + Map will use thumbnail images as markers instead of the default pin. + + + app/ui/settings/map/map.settings.component.html + 39 + + + Map will use thumbnail images as markers instead of the default pin. + + + + Map provider + + app/ui/settings/map/map.settings.component.html + 47 + Fournisseur de carte - - Map tile url + + Tile Url* app/ui/settings/map/map.settings.component.html - 37 + 63 - Url de tuile de la carte + Tile Url* - - The map module will use this url to fetch the map tiles. + + *The map module will use these urls to fetch the map tiles. app/ui/settings/map/map.settings.component.html - 43 + 88 - Le module de carte utilisera cette url pour récupérer les tuiles de la carte. + *The map module will use these urls to fetch the map tiles. + + + + Add Layer + + + app/ui/settings/map/map.settings.component.html + 93 + + + Add Layer + Mapbox access token app/ui/settings/map/map.settings.component.html - 49 + 99 Jeton d'accès Mapbox - - MapBox needs an access token to work, create one at + + MapBox needs an access token to work, create one at app/ui/settings/map/map.settings.component.html - 55 + 105 MapBox a besoin d’un jeton d’accès pour pouvoir fonctionner, créez-en un à @@ -665,7 +707,7 @@ app/ui/settings/map/map.settings.component.html - 63 + 114 app/ui/settings/thumbnail/thumbanil.settings.component.html @@ -706,7 +748,7 @@ app/ui/settings/map/map.settings.component.html - 66 + 117 app/ui/settings/thumbnail/thumbanil.settings.component.html @@ -1942,4 +1984,4 @@ - + \ No newline at end of file diff --git a/frontend/translate/messages.hu.xlf b/frontend/translate/messages.hu.xlf index 0c88bd4d..9dba5bc8 100644 --- a/frontend/translate/messages.hu.xlf +++ b/frontend/translate/messages.hu.xlf @@ -104,7 +104,7 @@ download app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 9 + 11 letöltés @@ -112,7 +112,7 @@ info key: i app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 13 + 15 info gyorsgomb: i @@ -120,19 +120,19 @@ toggle fullscreen, key: f app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 20 + 22 app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 29 + 31 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 62 + 86 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 67 + 91 teljes képernyős váltás, gyorsgomb: f @@ -140,11 +140,11 @@ close, key: Escape app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 36 + 38 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 70 + 94 bezárás, gyorsgomb: escape @@ -152,7 +152,7 @@ key: left arrow app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 54 + 76 gyorsgomb: balra nyíl @@ -160,7 +160,7 @@ key: right arrow app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 58 + 80 gyorsgomb: jobbra nyíl @@ -168,7 +168,7 @@ Zoom out, key: '-' app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 64 + 86 Kicsinyítés, gyorsgomb: '-' @@ -176,7 +176,7 @@ Zoom in, key: '+' app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 71 + 93 Nagyítás, gyorsgomb: '+' @@ -359,11 +359,19 @@ Az ilyen értesítések elutasításához indítsa újra a kiszolgálót. + + App version: + + app/ui/admin/admin.component.html + 26 + + Verzió: + Mode app/ui/admin/admin.component.html - 25 + 30 Mód @@ -477,6 +485,10 @@ app/ui/settings/usermanager/usermanager.settings.component.html 27 + + app/ui/settings/map/map.settings.component.html + 62 + Név @@ -620,43 +632,71 @@ Térképbeállítások - - Map provider + + Use image markers app/ui/settings/map/map.settings.component.html 25 + Use image markers + + + + Map will use thumbnail images as markers instead of the default pin. + + + app/ui/settings/map/map.settings.component.html + 39 + + A térkép ikonokat fog használni az alap jelölő pin helyett + + + Map provider + + app/ui/settings/map/map.settings.component.html + 47 + Térképszolgáltató - - Map tile url + + Tile Url* app/ui/settings/map/map.settings.component.html - 37 + 63 - Térképes csempe url + Tile Url* - - The map module will use this url to fetch the map tiles. + + *The map module will use these urls to fetch the map tiles. app/ui/settings/map/map.settings.component.html - 43 + 88 - A térkép modul ezt az URL-t fogja használni a térkép letöltéséhez. + *A térkép ezeket a url-eket fogja használni a térkép csempék betöltéséhez. + + + + Add Layer + + + app/ui/settings/map/map.settings.component.html + 93 + + + Új Térkép + Mapbox access token app/ui/settings/map/map.settings.component.html - 49 + 99 Mapbox access token - - MapBox needs an access token to work, create one at + + MapBox needs an access token to work, create one at app/ui/settings/map/map.settings.component.html - 55 + 105 A MapBox-hoz access token szükséges, amit itt lehet létrehozni: @@ -665,7 +705,7 @@ app/ui/settings/map/map.settings.component.html - 63 + 114 app/ui/settings/thumbnail/thumbanil.settings.component.html @@ -706,7 +746,7 @@ app/ui/settings/map/map.settings.component.html - 66 + 117 app/ui/settings/thumbnail/thumbanil.settings.component.html diff --git a/frontend/translate/messages.ru.xlf b/frontend/translate/messages.ru.xlf index 582a513e..a861da2f 100644 --- a/frontend/translate/messages.ru.xlf +++ b/frontend/translate/messages.ru.xlf @@ -104,7 +104,7 @@ download app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 9 + 11 Скачать @@ -112,7 +112,7 @@ info key: i app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 13 + 15 Информация, клавиша: i @@ -120,19 +120,19 @@ toggle fullscreen, key: f app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 20 + 22 app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 29 + 31 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 62 + 86 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 67 + 91 Полноэкранный режим, клавиша: f @@ -140,11 +140,11 @@ close, key: Escape app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 36 + 38 app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html - 70 + 94 закрыть, клавиша: пробел @@ -152,7 +152,7 @@ key: left arrow app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 54 + 76 клавиша: стрелка влево @@ -160,7 +160,7 @@ key: right arrow app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 58 + 80 клавиша: стрелка вправо @@ -168,7 +168,7 @@ Zoom out, key: '-' app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 64 + 86 Уменьшить, клавиша: '-' @@ -176,7 +176,7 @@ Zoom in, key: '+' app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html - 71 + 93 Увеличить, клавиша: '+' @@ -359,11 +359,19 @@ Чтобы отключить эти уведомления, перезапустите сервер. + + App version: + + app/ui/admin/admin.component.html + 26 + + App version: + Mode app/ui/admin/admin.component.html - 25 + 30 Режим @@ -477,6 +485,10 @@ app/ui/settings/usermanager/usermanager.settings.component.html 27 + + app/ui/settings/map/map.settings.component.html + 62 + Имя @@ -620,43 +632,73 @@ Настройки карты - - Map provider + + Use image markers app/ui/settings/map/map.settings.component.html 25 + Use image markers + + + + Map will use thumbnail images as markers instead of the default pin. + + + app/ui/settings/map/map.settings.component.html + 39 + + + Map will use thumbnail images as markers instead of the default pin. + + + + Map provider + + app/ui/settings/map/map.settings.component.html + 47 + Провайдер онлайн карт - - Map tile url + + Tile Url* app/ui/settings/map/map.settings.component.html - 37 + 63 - URL фрагмента карты + Tile Url* - - The map module will use this url to fetch the map tiles. + + *The map module will use these urls to fetch the map tiles. app/ui/settings/map/map.settings.component.html - 43 + 88 - Модуль карты будет использовать URL для извлечения фрагментов карты + *The map module will use these urls to fetch the map tiles. + + + + Add Layer + + + app/ui/settings/map/map.settings.component.html + 93 + + + Add Layer + Mapbox access token app/ui/settings/map/map.settings.component.html - 49 + 99 Токен доступа Mapbox - - MapBox needs an access token to work, create one at + + MapBox needs an access token to work, create one at app/ui/settings/map/map.settings.component.html - 55 + 105 Для работы MapBox нужен токен, создайте его на @@ -665,7 +707,7 @@ app/ui/settings/map/map.settings.component.html - 63 + 114 app/ui/settings/thumbnail/thumbanil.settings.component.html @@ -706,7 +748,7 @@ app/ui/settings/map/map.settings.component.html - 66 + 117 app/ui/settings/thumbnail/thumbanil.settings.component.html @@ -1942,4 +1984,4 @@ - + \ No newline at end of file diff --git a/gulpfile.ts b/gulpfile.ts index 26398bf9..8d86f0af 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -146,13 +146,24 @@ const translate = (list: any[], cb: (err: any) => void) => { translationFolder + ' --destination-languages=' + localsStr, handleError(cb)); }; +const merge = (list: any[], cb: (err: any) => void) => { + const localsStr = '"[\\"' + list.join('\\",\\"') + '\\"]"'; + exec('xlf-google-translate --method="extend-only" --source-lang="en" --source-file="./locale.source.xlf" --destination-folder="./frontend/"' + + translationFolder + ' --destination-languages=' + localsStr, + handleError(cb)); +}; gulp.task('update-translation-only', function (cb) { translate(getLanguages(), cb); }); +gulp.task('merge-translation-only', function (cb) { + merge(getLanguages(), cb); +}); gulp.task('update-translation', gulp.series('extract-locale', 'update-translation-only')); +gulp.task('merge-new-translation', gulp.series('extract-locale', 'merge-translation-only')); + gulp.task('add-translation-only', (cb) => { const languages = getLanguages(); diff --git a/package-lock.json b/package-lock.json index 4ccfc367..91820f7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "pigallery2", - "version": "1.5.9", + "version": "1.6.5", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2083,9 +2083,9 @@ } }, "@k3rn31p4nic/google-translate-api": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@k3rn31p4nic/google-translate-api/-/google-translate-api-1.0.5.tgz", - "integrity": "sha512-JoAb2xazEXqyRBsb/DP9+kLqM7RV2axsOcGCMTcDoFazS9P2eg0lrZZtKRXQjP2yQdBpM4Ak//Pk8DrKy09lJQ==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@k3rn31p4nic/google-translate-api/-/google-translate-api-1.0.6.tgz", + "integrity": "sha512-84tHqaQsfHvBR8jejRCv/xEedoYs6Evxrl/KFRiI4ikrYus0+pq8g1d6j16UCHXaT5c+MjTAlPz++TwX+tEarQ==", "dev": true, "requires": { "got": "^9.2.2" @@ -2268,9 +2268,9 @@ "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" }, "@szmarczak/http-timer": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.1.tgz", - "integrity": "sha512-WljfOGkmSJe8SUkl+4TPvN2ec0dpUGVyfTBQLoXJUiILs+wBSc4Kvp2N3aAWE4VwwDSLGdmD3/bufS5BgZpVSQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", + "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", "dev": true, "requires": { "defer-to-connect": "^1.0.1" @@ -4894,33 +4894,39 @@ } }, "cacheable-request": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-5.2.1.tgz", - "integrity": "sha512-+dLut9zvvuIM/MrtdHBVSh/QYJ9+uCKYoqww9cOYrndQH4O4rD/qH0IAwFhD5WJKfmWE6WgCOrLQPd/H5YJRVQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", + "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", "dev": true, "requires": { "clone-response": "^1.0.2", - "get-stream": "^4.0.0", + "get-stream": "^5.1.0", "http-cache-semantics": "^4.0.0", "keyv": "^3.0.0", - "lowercase-keys": "^1.0.1", - "normalize-url": "^3.1.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", "responselike": "^1.0.2" }, "dependencies": { "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", + "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", "dev": true, "requires": { "pump": "^3.0.0" } }, "http-cache-semantics": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz", - "integrity": "sha512-OO/9K7uFN30qwAKvslzmCTbimZ/uRjtdN5S50vvWLwUKqFuZj0n96XyCzF5tHRHEO/Q4JYC01hv41gkX06gmHA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz", + "integrity": "sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew==", + "dev": true + }, + "lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", "dev": true }, "pump": { @@ -8487,14 +8493,14 @@ } }, "got": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/got/-/got-9.5.0.tgz", - "integrity": "sha512-N+4kb6i9t1lauJ4NwLVVoFVLxZNa6i+iivtNzCSVw7+bVbTXoq0qXctdd8i9rj3lrI0zDk5NGzcO4bfpEP6Uuw==", + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", + "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", "dev": true, "requires": { "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.0", - "cacheable-request": "^5.1.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", "decompress-response": "^3.3.0", "duplexer3": "^0.1.4", "get-stream": "^4.1.0", @@ -12474,9 +12480,9 @@ "dev": true }, "normalize-url": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz", - "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.3.0.tgz", + "integrity": "sha512-0NLtR71o4k6GLP+mr6Ty34c5GA6CMoEsncKJxvQd8NzPxaHRJNnb5gZE8R1XF4CPIS7QPHLJ74IFszwtNVAHVQ==", "dev": true }, "now-and-later": { @@ -19276,12 +19282,12 @@ } }, "xlf-google-translate": { - "version": "1.0.0-beta.13", - "resolved": "https://registry.npmjs.org/xlf-google-translate/-/xlf-google-translate-1.0.0-beta.13.tgz", - "integrity": "sha512-gEG7Qo3BoMdvej4ka+iNwjsl62HStlXV+YgIomN2oV1wDs1VZmkgVErIcXQ2r263It3coiyUy4lPlN4nTOfu6A==", + "version": "1.0.0-beta.15", + "resolved": "https://registry.npmjs.org/xlf-google-translate/-/xlf-google-translate-1.0.0-beta.15.tgz", + "integrity": "sha512-2JbIyS6rjBU5aJ7hhlWSLxNk8JC9BCwjjVhZu5Sm66c0NMukgn4RRnu9Z8d41NnDfPFrrkONYxkJm57lzRysUw==", "dev": true, "requires": { - "@k3rn31p4nic/google-translate-api": "1.0.5", + "@k3rn31p4nic/google-translate-api": "1.0.6", "typeconfig": "1.0.7", "xml2js": "0.4.19" } diff --git a/package.json b/package.json index b030fd07..614b3eb7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "main": "./backend/index.js", "bin": "./backend/index.js", "scripts": { - "install": "tsc && gulp build-prod", + "installx": "tsc && gulp build-prod", "build-release": "gulp build-release", "build-backend": "tsc", "pretest": "tsc", @@ -16,7 +16,7 @@ "start": "node ./backend/index", "run-dev": "ng build --aot --watch --output-path=./dist --i18n-locale en --i18n-file frontend/translate/messages.en.xlf --i18n-missing-translation warning", "build-stats": "ng build --aot --prod --stats-json --output-path=./dist --i18n-locale en --i18n-file frontend/translate/messages.en.xlf --i18n-missing-translation warning", - "update-translation": "gulp update-translation", + "merge-new-translation": "gulp merge-new-translation", "add-translation": "gulp add-translation" }, "repository": { @@ -122,7 +122,7 @@ "ts-node": "8.3.0", "tslint": "5.18.0", "typescript": "3.4.5", - "xlf-google-translate": "1.0.0-beta.13", + "xlf-google-translate": "1.0.0-beta.15", "zone.js": "0.9.1" }, "//": [