From fbfbcd0439c3d62ebed656ada4e5c40a64e78aef Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sun, 12 Aug 2012 14:52:27 +0200 Subject: [PATCH] Separates translations. --- src/_h5ai/config.js | 364 +++------------------------------ src/_h5ai/js/inc/core/langs.js | 32 +-- src/_h5ai/js/inc/ext/l10n.js | 64 +++++- src/_h5ai/l10n/bg.json | 12 ++ src/_h5ai/l10n/cs.json | 16 ++ src/_h5ai/l10n/de.json | 17 ++ src/_h5ai/l10n/el.json | 16 ++ src/_h5ai/l10n/en.json | 18 ++ src/_h5ai/l10n/es.json | 13 ++ src/_h5ai/l10n/fr.json | 15 ++ src/_h5ai/l10n/hu.json | 15 ++ src/_h5ai/l10n/it.json | 12 ++ src/_h5ai/l10n/ja.json | 14 ++ src/_h5ai/l10n/lv.json | 15 ++ src/_h5ai/l10n/nb.json | 14 ++ src/_h5ai/l10n/nl.json | 10 + src/_h5ai/l10n/pl.json | 12 ++ src/_h5ai/l10n/pt.json | 12 ++ src/_h5ai/l10n/ro.json | 14 ++ src/_h5ai/l10n/ru.json | 12 ++ src/_h5ai/l10n/sk.json | 12 ++ src/_h5ai/l10n/sr.json | 14 ++ src/_h5ai/l10n/sv.json | 10 + src/_h5ai/l10n/tr.json | 13 ++ src/_h5ai/l10n/zh-cn.json | 13 ++ src/_h5ai/l10n/zh-tw.json | 13 ++ 26 files changed, 398 insertions(+), 374 deletions(-) create mode 100644 src/_h5ai/l10n/bg.json create mode 100644 src/_h5ai/l10n/cs.json create mode 100644 src/_h5ai/l10n/de.json create mode 100644 src/_h5ai/l10n/el.json create mode 100644 src/_h5ai/l10n/en.json create mode 100644 src/_h5ai/l10n/es.json create mode 100644 src/_h5ai/l10n/fr.json create mode 100644 src/_h5ai/l10n/hu.json create mode 100644 src/_h5ai/l10n/it.json create mode 100644 src/_h5ai/l10n/ja.json create mode 100644 src/_h5ai/l10n/lv.json create mode 100644 src/_h5ai/l10n/nb.json create mode 100644 src/_h5ai/l10n/nl.json create mode 100644 src/_h5ai/l10n/pl.json create mode 100644 src/_h5ai/l10n/pt.json create mode 100644 src/_h5ai/l10n/ro.json create mode 100644 src/_h5ai/l10n/ru.json create mode 100644 src/_h5ai/l10n/sk.json create mode 100644 src/_h5ai/l10n/sr.json create mode 100644 src/_h5ai/l10n/sv.json create mode 100644 src/_h5ai/l10n/tr.json create mode 100644 src/_h5ai/l10n/zh-cn.json create mode 100644 src/_h5ai/l10n/zh-tw.json diff --git a/src/_h5ai/config.js b/src/_h5ai/config.js index 6c012efe..2fc253f2 100644 --- a/src/_h5ai/config.js +++ b/src/_h5ai/config.js @@ -248,7 +248,7 @@ var H5AI_CONFIG = { }, /* - Make entries selectable. At the moment only needed for packaged download. + Make entries selectable. At the moment only needed for packaged download and delete. */ "select": { "enabled": true @@ -312,7 +312,7 @@ var H5AI_CONFIG = { - /*** File types mapped to file extensions. In alphabetical order. ***/ + /*** File types mapped to file extensions ***/ "types": { "archive": [".tar.bz2", ".tar.gz", ".tgz"], @@ -384,343 +384,33 @@ var H5AI_CONFIG = { - /*** Available translations. ***/ + /*** Available translations ***/ "langs": { + /* defaults */ + "en": "english", - /* "en" in first place as a reference, otherwise in alphabetical order. */ - "en": { - "lang": "english", - "details": "details", - "icons": "icons", - "name": "Name", - "lastModified": "Last modified", - "size": "Size", - "parentDirectory": "Parent Directory", - "empty": "empty", - "folders": "folders", - "files": "files", - "download": "download", - "noMatch": "no match", - "dateFormat": "YYYY-MM-DD HH:mm", /* syntax as specified on http://momentjs.com */ - "filter": "filter", - "delete": "delete" - }, - - "bg": { - "lang": "български", - "details": "детайли", - "icons": "икони", - "name": "Име", - "lastModified": "Последна промяна", - "size": "Размер", - "parentDirectory": "Предходна директория", - "empty": "празно", - "folders": "папки", - "files": "файлове" - }, - - "cs": { - "lang": "čeština", - "details": "podrobnosti", - "icons": "ikony", - "name": "Název", - "lastModified": "Upraveno", - "size": "Velikost", - "parentDirectory": "Nadřazený adresář", - "empty": "prázdný", - "folders": "složek", - "files": "souborů", - "download": "stáhnout", - "noMatch": "žádná shoda", - "dateFormat": "DD.MM.YYYY HH:mm", - "filter": "filtr" - }, - - "de": { - "lang": "deutsch", - "details": "Details", - "icons": "Icons", - "name": "Name", - "lastModified": "Geändert", - "size": "Größe", - "parentDirectory": "Übergeordnetes Verzeichnis", - "empty": "leer", - "folders": "Ordner", - "files": "Dateien", - "download": "Download", - "noMatch": "keine Treffer", - "dateFormat": "DD.MM.YYYY HH:mm", - "filter": "Filter", - "delete": "Löschen" - }, - - "el": { - "lang": "ελληνικά", - "details": "λεπτομέρειες", - "icons": "εικονίδια", - "name": "Όνομα", - "lastModified": "Τελευταία τροποποίηση", - "size": "Μέγεθος", - "parentDirectory": "Προηγούμενος Κατάλογος", - "empty": "κενό", - "folders": "φάκελοι", - "files": "αρχεία", - "download": "μεταμόρφωση", - "noMatch": "κανένα αποτέλεσμα", - "dateFormat": "DD/MM/YYYY HH:mm", - "filter": "φίλτρο" - }, - - "es": { - "lang": "español", - "details": "Detalles", - "icons": "Íconos", - "name": "Nombre", - "lastModified": "Última modificación", - "size": "Tamaño", - "parentDirectory": "Directorio superior", - "empty": "vacío", - "folders": "Directorios", - "files": "Archivos", - "download": "Descargar" - }, - - "fr": { - "lang": "français", - "details": "détails", - "icons": "icônes", - "name": "Nom", - "lastModified": "Dernière modification", - "size": "Taille", - "parentDirectory": "Dossier parent", - "empty": "vide", - "folders": "Répertoires", - "files": "Fichiers", - "download": "télécharger", - "noMatch": "rien trouvé", - "dateFormat": "DD/MM/YYYY HH:mm" - }, - - "hu": { - "lang": "magyar", - "details": "részletek", - "icons": "ikonok", - "name": "Név", - "lastModified": "Utoljára módosítva", - "size": "Méret", - "parentDirectory": "Szülő könyvtár", - "empty": "üres", - "folders": "mappák", - "files": "fájlok", - "download": "letöltés", - "noMatch": "nincs találat", - "dateFormat": "YYYY-MM-DD HH:mm" - }, - - "it": { - "lang": "italiano", - "details": "dettagli", - "icons": "icone", - "name": "Nome", - "lastModified": "Ultima modifica", - "size": "Dimensione", - "parentDirectory": "Cartella Superiore", - "empty": "vuota", - "folders": "cartelle", - "files": "file" - }, - - "ja": { - "lang": "日本語", - "details": "詳細", - "icons": "アイコン", - "name": "名前", - "lastModified": "変更日", - "size": "サイズ", - "parentDirectory": "親フォルダ", - "empty": "項目なし", - "folders": "フォルダ", - "files": "ファイル", - "download": "ダウンロード", - "noMatch": "一致なし" - }, - - "lv": { - "lang": "latviešu", - "details": "detaļas", - "icons": "ikonas", - "name": "Nosaukums", - "lastModified": "Pēdējoreiz modificēts", - "size": "Izmērs", - "parentDirectory": "Vecākdirektorijs", - "empty": "tukšs", - "folders": "mapes", - "files": "faili", - "download": "lejupielādēt", - "noMatch": "nav sakritības", - "dateFormat": "YYYY-MM-DD HH:mm" - }, - - "nb": { - "lang": "norwegian", - "details": "detaljer", - "icons": "ikoner", - "name": "Navn", - "lastModified": "Sist endret", - "size": "Størrelse", - "parentDirectory": "Overordnet mappe", - "empty": "tom", - "folders": "mapper", - "files": "filer", - "download": "last ned", - "noMatch": "ingen treff" - }, - - "nl": { - "lang": "nederlands", - "details": "details", - "icons": "iconen", - "name": "Naam", - "lastModified": "Laatste wijziging", - "size": "Grootte", - "parentDirectory": "Bovenliggende map", - "empty": "lege" - }, - - "pl": { - "lang": "polski", - "details": "szczegóły", - "icons": "ikony", - "name": "Nazwa", - "lastModified": "Ostatnia modyfikacja", - "size": "Rozmiar", - "parentDirectory": "Katalog nadrzędny", - "empty": "pusty", - "folders": "foldery", - "files": "pliki" - }, - - "pt": { - "lang": "português", - "details": "detalhes", - "icons": "ícones", - "name": "Nome", - "lastModified": "Última modificação", - "size": "Tamanho", - "parentDirectory": "Diretório superior", - "empty": "vazio", - "folders": "pastas", - "files": "arquivos" - }, - - "ro": { - "lang": "română", - "details": "detalii", - "icons": "pictograme", - "name": "nume", - "lastModified": "ultima modificare", - "size": "mărime", - "parentDirectory": "dosar părinte", - "empty": "gol", - "folders": "dosar", - "files": "fişiere", - "download": "descarcă", - "noMatch": "0 rezultate" - }, - - "ru": { - "lang": "русский", - "details": "детали", - "icons": "иконки", - "name": "Имя", - "lastModified": "Последние изменения", - "size": "Размер", - "parentDirectory": "Главная директория", - "empty": "пусто", - "folders": "папки", - "files": "файлы" - }, - - "sk": { - "lang": "slovenčina", - "details": "podrobnosti", - "icons": "ikony", - "name": "Názov", - "lastModified": "Upravené", - "size": "Velkosť", - "parentDirectory": "Nadriadený priečinok", - "empty": "prázdny", - "folders": "priečinkov", - "files": "súborov" - }, - - "sr": { - "lang": "srpski", - "details": "detalji", - "icons": "ikone", - "name": "Ime", - "lastModified": "Poslednja modifikacija", - "size": "Veličina", - "parentDirectory": "Roditeljski direktorijum", - "empty": "prazno", - "folders": "direktorijum", - "files": "fajlovi", - "download": "download", - "noMatch": "bez poklapanja" - }, - - "sv": { - "lang": "svenska", - "details": "detaljerad", - "icons": "ikoner", - "name": "Filnamn", - "lastModified": "Senast ändrad", - "size": "Filstorlek", - "parentDirectory": "Till överordnad mapp", - "empty": "tom" - }, - - "tr": { - "lang": "türkçe", - "details": "detaylar", - "icons": "ikonlar", - "name": "İsim", - "lastModified": "Son Düzenleme", - "size": "Boyut", - "parentDirectory": "Üst Dizin", - "empty": "boş", - "folders": "klasörler", - "files": "dosyalar", - "download": "indir" - }, - - "zh-cn": { - "lang": "简体中文", - "details": "详情", - "icons": "图标", - "name": "文件名", - "lastModified": "上次修改", - "size": "大小", - "parentDirectory": "上层文件夹", - "empty": "空文件夹", - "folders": "文件夹", - "files": "文件", - "download": "下载" - }, - - "zh-tw": { - "lang": "正體中文", - "details": "詳細資料", - "icons": "圖示", - "name": "檔名", - "lastModified": "上次修改", - "size": "大小", - "parentDirectory": "上層目錄", - "empty": "空資料夾", - "folders": "資料夾", - "files": "檔案", - "download": "下載" - } + "bg": "български", + "cs": "čeština", + "de": "deutsch", + "el": "ελληνικά", + "es": "español", + "fr": "français", + "hu": "magyar", + "it": "italiano", + "ja": "日本語", + "lv": "latviešu", + "nb": "norwegian", + "nl": "nederlands", + "pl": "polski", + "pt": "português", + "ro": "română", + "ru": "русский", + "sk": "slovenčina", + "sr": "srpski", + "sv": "svenska", + "tr": "türkçe", + "zh-cn": "简体中文", + "zh-tw": "正體中文" } }; diff --git a/src/_h5ai/js/inc/core/langs.js b/src/_h5ai/js/inc/core/langs.js index 1c851f55..30b802cc 100644 --- a/src/_h5ai/js/inc/core/langs.js +++ b/src/_h5ai/js/inc/core/langs.js @@ -1,34 +1,12 @@ modulejs.define('core/langs', ['config', '_'], function (config, _) { - var defaults = { - lang: 'unknown', - details: 'details', - icons: 'icons', - name: 'Name', - lastModified: 'Last modified', - size: 'Size', - parentDirectory: 'Parent Directory', - empty: 'empty', - folders: 'folders', - files: 'files', - download: 'download', - noMatch: 'no match', - dateFormat: 'YYYY-MM-DD HH:mm', - filter: 'filter' - }, + var langs = {}; - translations = {}, + _.each(_.extend({}, config.langs), function (trans, lang) { - parse = function (langs) { + langs[lang] = trans; + }); - _.each(langs, function (trans, lang) { - - translations[lang] = _.extend({}, defaults, trans); - }); - }; - - parse(_.extend({}, config.langs)); - - return translations; + return langs; }); diff --git a/src/_h5ai/js/inc/ext/l10n.js b/src/_h5ai/js/inc/ext/l10n.js index c16e2b77..cbc92122 100644 --- a/src/_h5ai/js/inc/ext/l10n.js +++ b/src/_h5ai/js/inc/ext/l10n.js @@ -7,6 +7,23 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form useBrowserLang: true }, + defaultTranslations = { + lang: 'english', + details: 'details', + icons: 'icons', + name: 'Name', + lastModified: 'Last modified', + size: 'Size', + parentDirectory: 'Parent Directory', + empty: 'empty', + folders: 'folders', + files: 'files', + download: 'download', + noMatch: 'no match', + dateFormat: 'YYYY-MM-DD HH:mm', + filter: 'filter' + }, + settings = _.extend({}, defaults, allsettings.l10n), template = '' + @@ -17,8 +34,35 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form storekey = 'h5ai.language', + loaded = { + en: _.extend({}, defaultTranslations) + }, currentLang = null, + loadLanguage = function (lang, callback) { + + if (loaded[lang]) { + + callback(loaded[lang]); + } else { + + $.ajax({ + url: allsettings.h5aiAbsHref + 'l10n/' + lang + '.json', + dataType: 'json', + success: function (json) { + + loaded[lang] = _.extend({}, defaultTranslations, json); + callback(loaded[lang]); + }, + error: function () { + + loaded[lang] = _.extend({}, defaultTranslations); + callback(loaded[lang]); + } + }); + } + }, + localize = function (langs, lang, useBrowserLang) { var storedLang = store.get(storekey); @@ -40,26 +84,26 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form lang = 'en'; } - currentLang = langs[lang]; - if (currentLang) { + loadLanguage(lang, function (currentLang) { + $.each(currentLang, function (key, value) { $('.l10n-' + key).text(value); }); $('.lang').text(lang); $('.langOption').removeClass('current'); $('.langOption.' + lang).addClass('current'); - } - format.setDefaultDateFormat(currentLang.dateFormat); + format.setDefaultDateFormat(currentLang.dateFormat); - $('#extended .entry .date').each(function () { + $('#extended .entry .date').each(function () { - var $this = $(this); + var $this = $(this); - $this.text(format.formatDate($this.data('time'))); + $this.text(format.formatDate($this.data('time'))); + }); + + $('#filter input').attr('placeholder', currentLang.filter); }); - - $('#filter input').attr('placeholder', currentLang.filter); }, initLangSelector = function (langs) { @@ -77,7 +121,7 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form $.each(sortedLangsKeys, function (idx, lang) { $(langOptionTemplate) .addClass(lang) - .text(lang + ' - ' + langs[lang].lang) + .text(lang + ' - ' + (_.isString(langs[lang]) ? langs[lang] : langs[lang].lang)) .appendTo($ul) .click(function () { store.put(storekey, lang); diff --git a/src/_h5ai/l10n/bg.json b/src/_h5ai/l10n/bg.json new file mode 100644 index 00000000..58cf98ae --- /dev/null +++ b/src/_h5ai/l10n/bg.json @@ -0,0 +1,12 @@ +{ + "lang": "български", + "details": "детайли", + "icons": "икони", + "name": "Име", + "lastModified": "Последна промяна", + "size": "Размер", + "parentDirectory": "Предходна директория", + "empty": "празно", + "folders": "папки", + "files": "файлове" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/cs.json b/src/_h5ai/l10n/cs.json new file mode 100644 index 00000000..6162436c --- /dev/null +++ b/src/_h5ai/l10n/cs.json @@ -0,0 +1,16 @@ +{ + "lang": "čeština", + "details": "podrobnosti", + "icons": "ikony", + "name": "Název", + "lastModified": "Upraveno", + "size": "Velikost", + "parentDirectory": "Nadřazený adresář", + "empty": "prázdný", + "folders": "složek", + "files": "souborů", + "download": "stáhnout", + "noMatch": "žádná shoda", + "dateFormat": "DD.MM.YYYY HH:mm", + "filter": "filtr" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/de.json b/src/_h5ai/l10n/de.json new file mode 100644 index 00000000..bf157c20 --- /dev/null +++ b/src/_h5ai/l10n/de.json @@ -0,0 +1,17 @@ +{ + "lang": "deutsch", + "details": "Details", + "icons": "Icons", + "name": "Name", + "lastModified": "Geändert", + "size": "Größe", + "parentDirectory": "Übergeordnetes Verzeichnis", + "empty": "leer", + "folders": "Ordner", + "files": "Dateien", + "download": "Download", + "noMatch": "keine Treffer", + "dateFormat": "DD.MM.YYYY HH:mm", + "filter": "Filter", + "delete": "Löschen" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/el.json b/src/_h5ai/l10n/el.json new file mode 100644 index 00000000..ac98d91a --- /dev/null +++ b/src/_h5ai/l10n/el.json @@ -0,0 +1,16 @@ +{ + "lang": "ελληνικά", + "details": "λεπτομέρειες", + "icons": "εικονίδια", + "name": "Όνομα", + "lastModified": "Τελευταία τροποποίηση", + "size": "Μέγεθος", + "parentDirectory": "Προηγούμενος Κατάλογος", + "empty": "κενό", + "folders": "φάκελοι", + "files": "αρχεία", + "download": "μεταμόρφωση", + "noMatch": "κανένα αποτέλεσμα", + "dateFormat": "DD/MM/YYYY HH:mm", + "filter": "φίλτρο" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/en.json b/src/_h5ai/l10n/en.json new file mode 100644 index 00000000..8272f498 --- /dev/null +++ b/src/_h5ai/l10n/en.json @@ -0,0 +1,18 @@ +/* only here as a reference, these values are the hardcoded defaults */ +{ + "lang": "english", + "details": "details", + "icons": "icons", + "name": "Name", + "lastModified": "Last modified", + "size": "Size", + "parentDirectory": "Parent Directory", + "empty": "empty", + "folders": "folders", + "files": "files", + "download": "download", + "noMatch": "no match", + "dateFormat": "YYYY-MM-DD HH:mm", /* syntax as specified on http://momentjs.com */ + "filter": "filter", + "delete": "delete" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/es.json b/src/_h5ai/l10n/es.json new file mode 100644 index 00000000..69aba445 --- /dev/null +++ b/src/_h5ai/l10n/es.json @@ -0,0 +1,13 @@ +{ + "lang": "español", + "details": "Detalles", + "icons": "Íconos", + "name": "Nombre", + "lastModified": "Última modificación", + "size": "Tamaño", + "parentDirectory": "Directorio superior", + "empty": "vacío", + "folders": "Directorios", + "files": "Archivos", + "download": "Descargar" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/fr.json b/src/_h5ai/l10n/fr.json new file mode 100644 index 00000000..0e8f2e2a --- /dev/null +++ b/src/_h5ai/l10n/fr.json @@ -0,0 +1,15 @@ +{ + "lang": "français", + "details": "détails", + "icons": "icônes", + "name": "Nom", + "lastModified": "Dernière modification", + "size": "Taille", + "parentDirectory": "Dossier parent", + "empty": "vide", + "folders": "Répertoires", + "files": "Fichiers", + "download": "télécharger", + "noMatch": "rien trouvé", + "dateFormat": "DD/MM/YYYY HH:mm" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/hu.json b/src/_h5ai/l10n/hu.json new file mode 100644 index 00000000..926b60f4 --- /dev/null +++ b/src/_h5ai/l10n/hu.json @@ -0,0 +1,15 @@ +{ + "lang": "magyar", + "details": "részletek", + "icons": "ikonok", + "name": "Név", + "lastModified": "Utoljára módosítva", + "size": "Méret", + "parentDirectory": "Szülő könyvtár", + "empty": "üres", + "folders": "mappák", + "files": "fájlok", + "download": "letöltés", + "noMatch": "nincs találat", + "dateFormat": "YYYY-MM-DD HH:mm" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/it.json b/src/_h5ai/l10n/it.json new file mode 100644 index 00000000..4e733887 --- /dev/null +++ b/src/_h5ai/l10n/it.json @@ -0,0 +1,12 @@ +{ + "lang": "italiano", + "details": "dettagli", + "icons": "icone", + "name": "Nome", + "lastModified": "Ultima modifica", + "size": "Dimensione", + "parentDirectory": "Cartella Superiore", + "empty": "vuota", + "folders": "cartelle", + "files": "file" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/ja.json b/src/_h5ai/l10n/ja.json new file mode 100644 index 00000000..a3900f30 --- /dev/null +++ b/src/_h5ai/l10n/ja.json @@ -0,0 +1,14 @@ +{ + "lang": "日本語", + "details": "詳細", + "icons": "アイコン", + "name": "名前", + "lastModified": "変更日", + "size": "サイズ", + "parentDirectory": "親フォルダ", + "empty": "項目なし", + "folders": "フォルダ", + "files": "ファイル", + "download": "ダウンロード", + "noMatch": "一致なし" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/lv.json b/src/_h5ai/l10n/lv.json new file mode 100644 index 00000000..909e5427 --- /dev/null +++ b/src/_h5ai/l10n/lv.json @@ -0,0 +1,15 @@ +{ + "lang": "latviešu", + "details": "detaļas", + "icons": "ikonas", + "name": "Nosaukums", + "lastModified": "Pēdējoreiz modificēts", + "size": "Izmērs", + "parentDirectory": "Vecākdirektorijs", + "empty": "tukšs", + "folders": "mapes", + "files": "faili", + "download": "lejupielādēt", + "noMatch": "nav sakritības", + "dateFormat": "YYYY-MM-DD HH:mm" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/nb.json b/src/_h5ai/l10n/nb.json new file mode 100644 index 00000000..3e7f6c9b --- /dev/null +++ b/src/_h5ai/l10n/nb.json @@ -0,0 +1,14 @@ +{ + "lang": "norwegian", + "details": "detaljer", + "icons": "ikoner", + "name": "Navn", + "lastModified": "Sist endret", + "size": "Størrelse", + "parentDirectory": "Overordnet mappe", + "empty": "tom", + "folders": "mapper", + "files": "filer", + "download": "last ned", + "noMatch": "ingen treff" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/nl.json b/src/_h5ai/l10n/nl.json new file mode 100644 index 00000000..d9acc7e1 --- /dev/null +++ b/src/_h5ai/l10n/nl.json @@ -0,0 +1,10 @@ +{ + "lang": "nederlands", + "details": "details", + "icons": "iconen", + "name": "Naam", + "lastModified": "Laatste wijziging", + "size": "Grootte", + "parentDirectory": "Bovenliggende map", + "empty": "lege" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/pl.json b/src/_h5ai/l10n/pl.json new file mode 100644 index 00000000..963add81 --- /dev/null +++ b/src/_h5ai/l10n/pl.json @@ -0,0 +1,12 @@ +{ + "lang": "polski", + "details": "szczegóły", + "icons": "ikony", + "name": "Nazwa", + "lastModified": "Ostatnia modyfikacja", + "size": "Rozmiar", + "parentDirectory": "Katalog nadrzędny", + "empty": "pusty", + "folders": "foldery", + "files": "pliki" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/pt.json b/src/_h5ai/l10n/pt.json new file mode 100644 index 00000000..5e238ce0 --- /dev/null +++ b/src/_h5ai/l10n/pt.json @@ -0,0 +1,12 @@ +{ + "lang": "português", + "details": "detalhes", + "icons": "ícones", + "name": "Nome", + "lastModified": "Última modificação", + "size": "Tamanho", + "parentDirectory": "Diretório superior", + "empty": "vazio", + "folders": "pastas", + "files": "arquivos" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/ro.json b/src/_h5ai/l10n/ro.json new file mode 100644 index 00000000..87c3f2da --- /dev/null +++ b/src/_h5ai/l10n/ro.json @@ -0,0 +1,14 @@ +{ + "lang": "română", + "details": "detalii", + "icons": "pictograme", + "name": "nume", + "lastModified": "ultima modificare", + "size": "mărime", + "parentDirectory": "dosar părinte", + "empty": "gol", + "folders": "dosar", + "files": "fişiere", + "download": "descarcă", + "noMatch": "0 rezultate" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/ru.json b/src/_h5ai/l10n/ru.json new file mode 100644 index 00000000..e9486958 --- /dev/null +++ b/src/_h5ai/l10n/ru.json @@ -0,0 +1,12 @@ +{ + "lang": "русский", + "details": "детали", + "icons": "иконки", + "name": "Имя", + "lastModified": "Последние изменения", + "size": "Размер", + "parentDirectory": "Главная директория", + "empty": "пусто", + "folders": "папки", + "files": "файлы" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/sk.json b/src/_h5ai/l10n/sk.json new file mode 100644 index 00000000..58569d5e --- /dev/null +++ b/src/_h5ai/l10n/sk.json @@ -0,0 +1,12 @@ +{ + "lang": "slovenčina", + "details": "podrobnosti", + "icons": "ikony", + "name": "Názov", + "lastModified": "Upravené", + "size": "Velkosť", + "parentDirectory": "Nadriadený priečinok", + "empty": "prázdny", + "folders": "priečinkov", + "files": "súborov" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/sr.json b/src/_h5ai/l10n/sr.json new file mode 100644 index 00000000..899ab20f --- /dev/null +++ b/src/_h5ai/l10n/sr.json @@ -0,0 +1,14 @@ +{ + "lang": "srpski", + "details": "detalji", + "icons": "ikone", + "name": "Ime", + "lastModified": "Poslednja modifikacija", + "size": "Veličina", + "parentDirectory": "Roditeljski direktorijum", + "empty": "prazno", + "folders": "direktorijum", + "files": "fajlovi", + "download": "download", + "noMatch": "bez poklapanja" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/sv.json b/src/_h5ai/l10n/sv.json new file mode 100644 index 00000000..a39589bf --- /dev/null +++ b/src/_h5ai/l10n/sv.json @@ -0,0 +1,10 @@ +{ + "lang": "svenska", + "details": "detaljerad", + "icons": "ikoner", + "name": "Filnamn", + "lastModified": "Senast ändrad", + "size": "Filstorlek", + "parentDirectory": "Till överordnad mapp", + "empty": "tom" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/tr.json b/src/_h5ai/l10n/tr.json new file mode 100644 index 00000000..7595d8b7 --- /dev/null +++ b/src/_h5ai/l10n/tr.json @@ -0,0 +1,13 @@ +{ + "lang": "türkçe", + "details": "detaylar", + "icons": "ikonlar", + "name": "İsim", + "lastModified": "Son Düzenleme", + "size": "Boyut", + "parentDirectory": "Üst Dizin", + "empty": "boş", + "folders": "klasörler", + "files": "dosyalar", + "download": "indir" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/zh-cn.json b/src/_h5ai/l10n/zh-cn.json new file mode 100644 index 00000000..1f8e0c23 --- /dev/null +++ b/src/_h5ai/l10n/zh-cn.json @@ -0,0 +1,13 @@ +{ + "lang": "简体中文", + "details": "详情", + "icons": "图标", + "name": "文件名", + "lastModified": "上次修改", + "size": "大小", + "parentDirectory": "上层文件夹", + "empty": "空文件夹", + "folders": "文件夹", + "files": "文件", + "download": "下载" +} \ No newline at end of file diff --git a/src/_h5ai/l10n/zh-tw.json b/src/_h5ai/l10n/zh-tw.json new file mode 100644 index 00000000..2ff1ab01 --- /dev/null +++ b/src/_h5ai/l10n/zh-tw.json @@ -0,0 +1,13 @@ +{ + "lang": "正體中文", + "details": "詳細資料", + "icons": "圖示", + "name": "檔名", + "lastModified": "上次修改", + "size": "大小", + "parentDirectory": "上層目錄", + "empty": "空資料夾", + "folders": "資料夾", + "files": "檔案", + "download": "下載" +} \ No newline at end of file