]> git.p6c8.net - jirafeau.git/commitdiff
[TASK] Add translation item for plural
authorJerome Jutteau <j.jutteau@gmail.com>
Fri, 9 Feb 2018 12:18:52 +0000 (13:18 +0100)
committerJerome Jutteau <j.jutteau@gmail.com>
Fri, 16 Feb 2018 17:18:59 +0000 (18:18 +0100)
Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
47 files changed:
lib/functions.js.php
lib/locales/ar.json
lib/locales/be.json
lib/locales/bn_IN.json
lib/locales/bo.json
lib/locales/ca.json
lib/locales/cs.json
lib/locales/da.json
lib/locales/de.json
lib/locales/el.json
lib/locales/en.json
lib/locales/es.json
lib/locales/et.json
lib/locales/fi.json
lib/locales/fr.json
lib/locales/he.json
lib/locales/hi.json
lib/locales/hr.json
lib/locales/hu.json
lib/locales/id.json
lib/locales/it.json
lib/locales/ja.json
lib/locales/ko.json
lib/locales/ku.json
lib/locales/la.json
lib/locales/mfe.json
lib/locales/ms.json
lib/locales/nb_NO.json
lib/locales/nl.json
lib/locales/pl.json
lib/locales/ps.json
lib/locales/pt.json
lib/locales/pt_BR.json
lib/locales/ro.json
lib/locales/ru.json
lib/locales/sh.json
lib/locales/sk.json
lib/locales/sl.json
lib/locales/sq.json
lib/locales/sr.json
lib/locales/sv.json
lib/locales/ta.json
lib/locales/template.json
lib/locales/th.json
lib/locales/tr.json
lib/locales/vi.json
lib/locales/zh.json

index 5455d78c975451960cd5483776756f75537093d9..983736f12a9eb14665ab7c1b92bf02161071bc7f 100644 (file)
@@ -641,14 +641,7 @@ function upload_time_estimation_speed_string()
 function milliseconds_to_time_string (milliseconds)
 {
     function numberEnding (number) {
-      var currentLanguage = '<?php echo $cfg['lang']; ?>';
-
-      if(currentLanguage == 'de') {
-        return (number > 1) ? 'n' : '';
-      }
-      else {
-        return (number > 1) ? 's' : '';
-      }
+        return (number > 1) ? translate ('PLURAL_ENDING') : '';
     }
 
     var temp = Math.floor(milliseconds / 1000);
index 52addae381aed3859298a4a0f66395c44605fb05..7d411a9a4cca8efea619b84c1b67e1fcfd410d8b 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "الدخول محظور",
     "ACTION": "الأمر",
     "ACTIONS": "الأوامر",
index ae23e5290874be3cd6b7c0a014d3bb3404ac896d..f95d62596b8a9fd68e89742b8fcb437c8f2744bd 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "Jirafeau — ваша вэб-сховішча файлаў",
     "SEL_FILE": "Абраць файл",
     "SEND": "Адправіць",
index 2019c39d695d058fbddbdf9e77b969d66b470851..f278a52ee9e054530ead2347832cdc7338929f86 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "",
     "ACTION": "",
     "ACTIONS": "",
index 7cf3020a580bdbadc667d3f200da635a6ffa66cc..86dc0f9bdc9f0b8ea0bed87006082cb55da0df5b 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index c5e78b770aafeb0e8450f72356dc2465815c4d4d..251068a143ccb25a2dbdc06da952589e5aadaa6c 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 2fd98d43345b7ee5eadcdead2af9137a6c1ccea5..7ea429995eff475a5ab171148f86c6b0e32b1a0f 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Přístup zamítnut",
     "ACTION": "Akce",
     "ACTIONS": "Akce",
index 356f19b46fb189ce4cabf564147797bf7b8ff27d..9c99fb2052515e235d5a21756411d47c3bedfe0d 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 63a2d5fd7546747d30b36aea68065ff1ef73225b..c7bcf03d1125f522d6d580c7924baa0ceb1a3473 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "n",
     "ACCESS_KO": "Zugriff verweigert",
     "ACTION": "Aktion",
     "ACTIONS": "Aktionen",
index ed8dfe8ea803b8252efef773200d3414c53f9e1b..e1a76c3557bcc922e618eef2625d61533459fec7 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "Χώρος αποθήκευσης των διαδικτυακών σας αρχείων",
     "SEL_FILE": "Επιλέξτε ένα Αρχείο",
     "SEND": "Αποστολή",
index 87062300085eec8d8ef9ec07883f5aa3893735eb..9dfe59c0476a9e312f691f9e31d674cdc26dc461 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "s",
     "JI_WEB_RE":  "Jirafeau, your web file repository",
     "SEL_FILE": "Select a file",
     "SEND": "Send",
index b2e0a982698496c7cb60b9095c4cfe4b19b9c673..96244f8043dd5c8fe7119de1994e8af36ebb5bd9 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Acceso denegado",
     "ACTION": "Acción",
     "ACTIONS": "Acciones",
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index f9951af5b0189b086fc4d98e0d4fd511b8681cd5..1feaf85890d148aad844a97a78e30b8bbe8ba646 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Pääsy estetty",
     "ACTION": "Toiminto",
     "ACTIONS": "Toiminnot",
index a0de9ed14cc0cbb9cc71795e62c0c40b15e08851..94c2ae5281813cb0655e9278db3d2f5a51843898 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "s",
     "ACCESS_KO": "Accès interdit",
     "ACTION": "Action",
     "ACTIONS": "Actions",
     "HOUR": "heure",
     "SECOND": "seconde",
     "LESS_1_SEC": "moins d'une seconde"
-
 }
index 61690a7158d86b87e2c2b8bf558c68dd1fd7ba2d..8b4fc4b46e5cd739689b3c2037a27c93f7adff95 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "Jirafeau , אתר הקבצים שלך",
     "SEL_FILE": "בחר קובץ לשתף",
     "SEND": "שלח",
index 573f5864fd4ba88e4667e6193b7512e5b6ed0f51..46fba12795af126aee1040ea1b003486bb17015d 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "", 
     "ACTION": "", 
     "ACTIONS": "", 
index a89f10bf980e2206e224f9c4ab1990b48971efa1..3badb3931c0f60649479ab5ba8e95b352337277e 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "Jirafeau, Vaše mrežno skladište datoteka",
     "SEL_FILE": "Odaberite datoteku",
     "SEND": "Pošalji",
index 9ce98daa7033cde5c2596f9ae5154ee14354e6eb..3ff26d08e6016f1cea0714543d089f0a0d6d03b2 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Hozzáférés megtagadva",
     "ACTION": "Akció",
     "ACTIONS": "Akciók",
index 7cf3020a580bdbadc667d3f200da635a6ffa66cc..86dc0f9bdc9f0b8ea0bed87006082cb55da0df5b 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 42af95b6e95bf0921fe08030dc8fa5d592617d83..b4aa02df281fae38e2d03200054978e5779a8226 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Accesso negato",
     "ACTION": "Azione",
     "ACTIONS": "Azioni",
index 95fc380d8c8b976271fccb9c8caff4c05a676312..7afae82b3d241bb70d4ed75f6779219b24c5d006 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "", 
     "ACTION": "", 
     "ACTIONS": "", 
index 573f5864fd4ba88e4667e6193b7512e5b6ed0f51..46fba12795af126aee1040ea1b003486bb17015d 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "", 
     "ACTION": "", 
     "ACTIONS": "", 
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 68dc548bd88f68a49eed1be4e2ac259a01f125e9..ecaf2e2481a7186aaeb913940d4b560804096d9a 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "Jirafeau, web filibus depositum tuum",
     "SEL_FILE": "Selegi filum",
     "SEND": "Mittere",
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 7cf3020a580bdbadc667d3f200da635a6ffa66cc..86dc0f9bdc9f0b8ea0bed87006082cb55da0df5b 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index af9fef9ad021e01409279deaa706656f92064256..d76f626cdcd01f48a6b312bfdc793ab4aef00edc 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "Jirafeau, din vevfilpakkebrønn",
     "SEL_FILE": "Velg ei fil",
     "SEND": "Send",
index 9882bcc31f73971b9dc6be26936b59a652cf0a18..51b173ddb87961b2edeff8cd4153e171fdecd6a5 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Toegang geweigerd",
     "ACTION": "Actie",
     "ACTIONS": "Acties",
index a634d326f94bd526a71a1e5731aa5be2750b7f2c..7086c79bffa72f44c22506654923292cca6c04e8 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "Jirafeau, twoje internetowe repozytorium plików",
     "SEL_FILE": "Wybierz plik",
     "SEND": "Wyślij",
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index ec8c7dd82a33aae803b044f6600c85adbd002fa8..047b991b48b4f539962a876049ee49d9e115f2b9 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Acesso negado",
     "ACTION": "Acção",
     "ACTIONS": "Acções",
index a85785590026a77908159652519fa15b5e73a313..9664420d7fc92d18d210c6d25b34f7cf8c3f2e79 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "Jirafeau, o seu repositório web de arquivos",
     "SEL_FILE": "Selecione um arquivo",
     "SEND": "Enviar",
index 58d36651aa1b408e3d3d732a6492ca954292f619..4ac8997ecc7f7db9ad060daf8fb5db98d3e9c736 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Acces refuzat", 
     "ACTION": "Acţiune", 
     "ACTIONS": "Acţiuni", 
index 1128be3cf10215d41b2cdc14d9d54924d991d3bb..0756839091c1388a0adba5a6d9560b3429382c56 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Доступ запрещён",
     "ACTION": "Действие",
     "ACTIONS": "Действия",
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 83b104c08016200bdeb14c70ec956ac16a018813..99d5a6bd99767a893b06f0806e1984848271eea6 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Prístup odoprený",
     "ACTION": "Akcia",
     "ACTIONS": "Akcie",
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index bcec6d4b74c290deb89d01429663f9f370218bd2..6652d4092ea5e08e4b66539f6e3bc498e49fcb2a 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "Приступ одбијен", 
     "ACTION": "", 
     "ACTIONS": "", 
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 7b6c0ae95ab0912d3f979b33922298312c1c929b..3b2a7cf0d669cdcbcde358fa1a0def8ba7f1ff9b 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 52af30efb0348c5e5ca8519633bb6468b136a8de..f245fa8b32d06b8b9842148dbb5eb780d4cd1204 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "",
     "SEL_FILE": "",
     "SEND": "",
index 5e0c8eb5234129cf8a00e02609f6eef09b2831b9..30ae8661cf0a37bb9dd9573be3e56ade9bf4b9dc 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "JI_WEB_RE": "Jirafeau, web dosya deponuz",
     "SEL_FILE": "Lütfen bir dosya seçiniz",
     "SEND": "Gönder",
index 95fc380d8c8b976271fccb9c8caff4c05a676312..7afae82b3d241bb70d4ed75f6779219b24c5d006 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "", 
     "ACTION": "", 
     "ACTIONS": "", 
index 265fc59856730cc7effb9d0aacd7d1d5b966ca0a..9c211d91690bcb90f61a117e308a785fa6331ee8 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "PLURAL_ENDING": "",
     "ACCESS_KO": "拒绝访问",
     "ACTION": "操作",
     "ACTIONS": "操作",

patrick-canterino.de