diff --git a/frontend/translate/messages.en.xlf b/frontend/translate/messages.en.xlf index b9b158b..baea8f5 100644 --- a/frontend/translate/messages.en.xlf +++ b/frontend/translate/messages.en.xlf @@ -48,11 +48,11 @@ app/gallery/share/share.gallery.component.ts - 74 + 68 app/gallery/share/share.gallery.component.ts - 85 + 79 app/settings/usermanager/usermanager.settings.component.ts @@ -210,16 +210,16 @@ app/gallery/share/share.gallery.component.ts - 16 + 10 Share - + Copy - + app/gallery/share/share.gallery.component.ts - 35 + 29 Copy @@ -227,7 +227,7 @@ Sharing: app/gallery/share/share.gallery.component.ts - 42 + 36 Sharing: @@ -235,7 +235,7 @@ Include subfolders: app/gallery/share/share.gallery.component.ts - 53 + 47 Include subfolders: @@ -243,7 +243,7 @@ Valid: app/gallery/share/share.gallery.component.ts - 91 + 85 Valid: @@ -251,7 +251,7 @@ Minutes app/gallery/share/share.gallery.component.ts - 101 + 95 Minutes @@ -259,7 +259,7 @@ Hours app/gallery/share/share.gallery.component.ts - 102 + 96 Hours @@ -267,7 +267,7 @@ Days app/gallery/share/share.gallery.component.ts - 103 + 97 Days @@ -275,7 +275,7 @@ Months app/gallery/share/share.gallery.component.ts - 104 + 98 Months @@ -577,8 +577,7 @@ app/settings/thumbnail/thumbanil.settings.component.ts 10 - It is highly recommended to use hardware accelerated (sharp or gm) lib for thumbnail - generation + It is highly recommended to use hardware accelerated (sharp or gm) lib for thumbnail generation Thumbnail generation library @@ -828,8 +827,7 @@ app/settings/basic/basic.settings.component.ts 52 - If you access the page form local network its good to know the public - url for creating sharing link + If you access the page form local network its good to know the public url for creating sharing link Url Base @@ -848,9 +846,7 @@ app/settings/basic/basic.settings.component.ts 66 - If you access the gallery under a sub url (like: - http://mydomain.com/myGallery), set it here. If not working you might miss the '/' from the beginning of the - url. + If you access the gallery under a sub url (like: http://mydomain.com/myGallery), set it here. If not working you might miss the '/' from the beginning of the url. @@ -878,7 +874,7 @@ app/settings/other/other.settings.component.ts 7 - Error: + Error: Threading @@ -896,8 +892,7 @@ app/settings/other/other.settings.component.ts 25 - Runs directory scanning and thumbnail generation (only for Jimp) in a - different thread + Runs directory scanning and thumbnail generation (only for Jimp) in a different thread Scroll based thumbnail @@ -906,8 +901,7 @@ app/settings/other/other.settings.component.ts 32 - Scroll based thumbnail - generation + Scroll based thumbnail generation Those thumbnails get higher priority that are visible on the screen @@ -934,8 +928,7 @@ app/settings/other/other.settings.component.ts 67 - Shows only the required amount of photos at once. Renders more if - page bottom is reached + Shows only the required amount of photos at once. Renders more if page bottom is reached Cache @@ -972,16 +965,16 @@ Index cache timeout [ms] - + If there was no indexing in this time, it reindexes. (skipped if - indexen in DB and sensitivity is low) + indexes are in DB and sensitivity is low) app/settings/indexing/indexing.settings.component.ts 19 If there was no indexing in this time, it reindexes. (skipped if - indexen in DB and sensitivity is low) + indexes are in DB and sensitivity is low) Sub folder preview size @@ -1223,7 +1216,7 @@ frontend/app/settings/_abstract/abstract.settings.component.ts 1 - settings saved + settings saved Success diff --git a/frontend/translate/messages.hu.xlf b/frontend/translate/messages.hu.xlf index aa98452..eb373e7 100644 --- a/frontend/translate/messages.hu.xlf +++ b/frontend/translate/messages.hu.xlf @@ -48,11 +48,11 @@ app/gallery/share/share.gallery.component.ts - 74 + 68 app/gallery/share/share.gallery.component.ts - 85 + 79 app/settings/usermanager/usermanager.settings.component.ts @@ -210,16 +210,16 @@ app/gallery/share/share.gallery.component.ts - 16 + 10 Megosztás - + Copy - + app/gallery/share/share.gallery.component.ts - 35 + 29 Másolat @@ -227,7 +227,7 @@ Sharing: app/gallery/share/share.gallery.component.ts - 42 + 36 megosztás: @@ -235,7 +235,7 @@ Include subfolders: app/gallery/share/share.gallery.component.ts - 53 + 47 Alkönyvtárak beillesztése: @@ -243,7 +243,7 @@ Valid: app/gallery/share/share.gallery.component.ts - 91 + 85 Érvényes: @@ -251,7 +251,7 @@ Minutes app/gallery/share/share.gallery.component.ts - 101 + 95 Percek @@ -259,7 +259,7 @@ Hours app/gallery/share/share.gallery.component.ts - 102 + 96 Órák @@ -267,7 +267,7 @@ Days app/gallery/share/share.gallery.component.ts - 103 + 97 Napok @@ -275,7 +275,7 @@ Months app/gallery/share/share.gallery.component.ts - 104 + 98 hónapok @@ -321,7 +321,7 @@ app/settings/usermanager/usermanager.settings.component.ts 3 - Jelszó védelem + Jelszavas védelem Name @@ -567,7 +567,7 @@ app/settings/thumbnail/thumbanil.settings.component.ts 3 - Miniatűr beállítások + Thumbnail beállítások It is highly recommended to use hardware accelerated (sharp or gm) lib for thumbnail @@ -577,8 +577,7 @@ app/settings/thumbnail/thumbanil.settings.component.ts 10 - Nagyon ajánlott hardveres gyorsított (éles vagy gm) lib használata a miniatűrökhöz -        generáció + Nagyon ajánlott hardveres gyorsított (sharp vagy gm) modul használata a thumbnail-ek generálásához Thumbnail generation library @@ -828,8 +827,7 @@ app/settings/basic/basic.settings.component.ts 52 - Ha az oldalt a helyi hálózaton keresztül éred el, jó tudni a nyilvánosságot -            URL-t megosztási link létrehozásához + Ha az oldalt a helyi hálózaton keresztül éred el, jó tudni a nyilvánosságot URL-t megosztási link létrehozásához Url Base @@ -848,9 +846,7 @@ app/settings/basic/basic.settings.component.ts 66 - Ha a galériát egy al-url alatt érheti el (például: -            http://mydomain.com/myGallery), állítsa be itt. Ha nem működik, akkor hiányozhat a "/" a kezdetétől -            url. + Ha a galériát egy al-url alatt érheti el (például: http://mydomain.com/myGallery), állítsa be itt. Ha nem működik, akkor hiányozhat a "/" a kezdetétől url. @@ -905,8 +901,7 @@ app/settings/other/other.settings.component.ts 32 - Görgetés alapú thumbnail -          generáció + Görgetés alapú thumbnail generálás Those thumbnails get higher priority that are visible on the screen @@ -933,8 +928,7 @@ app/settings/other/other.settings.component.ts 67 - Csak a szükséges mennyiségű fotót jeleníti meg egyszerre. Újabb fotókat jelenít meg, ha -            elérte az oldal alját + Csak a szükséges mennyiségű fotót jeleníti meg egyszerre. Újabb fotókat jelenít meg, ha elérte az oldal alját Cache @@ -971,9 +965,9 @@ Index cache időtúllépése [ms] - + If there was no indexing in this time, it reindexes. (skipped if - indexen in DB and sensitivity is low) + indexes are in DB and sensitivity is low) app/settings/indexing/indexing.settings.component.ts @@ -1222,7 +1216,7 @@ frontend/app/settings/_abstract/abstract.settings.component.ts 1 - beállítások elmentve + beállítások elmentve Success diff --git a/gulpfile.js b/gulpfile.js index d5aaaa5..3ab75e4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -128,7 +128,7 @@ var simpleBuild = function (isProd) { gulp.task("extract-locale", function (cb) { console.log("creating source translation file: locale.source.xlf"); - exec('ng xi18n -of ./../locale.source.xlf -f xlf --i18n-locale en', function (err, stdout, stderr) { + exec('ng xi18n --out-file=./../locale.source.xlf --i18n-format=xlf --i18n-locale=en', {maxBuffer: 1024 * 1024}, function (err, stdout, stderr) { console.log(stdout); console.log(stderr); if (err) { diff --git a/package.json b/package.json index 327fa26..a887a9f 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "ts-node": "6.0.5", "tslint": "5.10.0", "typescript": "2.7.2", - "xlf-google-translate": "1.0.0-beta.8", + "xlf-google-translate": "1.0.0-beta.11", "zone.js": "0.8.26" }, "optionalDependencies": {