From 1e71780b0115c63c6c09b6ad8aef03727bf00d89 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 3 Mar 2016 15:11:56 +1300 Subject: Add support for new languages --- web/l10n/fa.json | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ web/l10n/fi.json | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ web/l10n/ml.json | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ web/l10n/ms.json | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ web/l10n/tr.json | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ web/locale.js | 5 ++++ 6 files changed, 420 insertions(+) create mode 100644 web/l10n/fa.json create mode 100644 web/l10n/fi.json create mode 100644 web/l10n/ml.json create mode 100644 web/l10n/ms.json create mode 100644 web/l10n/tr.json diff --git a/web/l10n/fa.json b/web/l10n/fa.json new file mode 100644 index 000000000..3497dff23 --- /dev/null +++ b/web/l10n/fa.json @@ -0,0 +1,83 @@ +{ + "sharedLoading": "در حال بارگزارى ...", + "sharedSave": "ذخيره", + "sharedCancel": "Cancel", + "sharedAdd": "اضافه كردن", + "sharedEdit": "Edit", + "sharedRemove": "Remove", + "sharedRemoveConfirm": "Remove item?", + "sharedKm": "km", + "sharedMi": "mi", + "sharedKmh": "km/h", + "sharedMph": "mph", + "sharedHour": "Hour", + "sharedMinute": "دقيقه", + "sharedSecond": "ثانيه", + "errorTitle": "Error", + "errorUnknown": "Unknown error", + "errorConnection": "Connection error", + "userName": "نام", + "userEmail": "نام كاربرى ( ايميل )", + "userPassword": "گذرواژه", + "userAdmin": "Admin", + "loginTitle": "ورود", + "loginLanguage": "انتخاب زبان", + "loginRegister": "ثبت نام", + "loginLogin": "ورود", + "loginFailed": "نام كاربرى ( ايميل ) يا گذرواژه اشتباه است", + "loginCreated": "ثبت نام با موفقيت انجام شد", + "loginLogout": "خروج", + "devicesAndState": "Devices and State", + "deviceDialog": "دستگاه", + "deviceTitle": "دستگاه ها", + "deviceName": "نام خودرو", + "deviceIdentifier": "سريال دستگاه", + "deviceLastUpdate": "آخرين بروزرسانى", + "deviceCommand": "Command", + "deviceFollow": "Follow", + "settingsTitle": "تنظيمات", + "settingsUser": "حساب كاربرى", + "settingsServer": "Server", + "settingsUsers": "Users", + "settingsDistanceUnit": "Distance", + "settingsSpeedUnit": "سرعت", + "reportTitle": "گزارشات ", + "reportDevice": "دستگاه", + "reportFrom": "از", + "reportTo": "To", + "reportShow": "Show", + "reportClear": "Clear", + "positionFixTime": "Time", + "positionValid": "Valid", + "positionLatitude": "عرض جغرافيايى", + "positionLongitude": "طول جغرافيايى", + "positionAltitude": "Altitude", + "positionSpeed": "سرعت", + "positionCourse": "Course", + "positionAddress": "Address", + "positionProtocol": "Protocol", + "serverTitle": "Server Settings", + "serverZoom": "Zoom", + "serverRegistration": "Registration", + "serverReadonly": "Readonly", + "mapTitle": "Map", + "mapLayer": "Map Layer", + "mapCustom": "Custom Map", + "mapOsm": "Open Street Map", + "mapBingKey": "Bing Maps Key", + "mapBingRoad": "Bing Maps Road", + "mapBingAerial": "Bing Maps Aerial", + "stateTitle": "State", + "stateName": "Attribute", + "stateValue": "Value", + "commandTitle": "Command", + "commandSend": "ارسال", + "commandType": "Type", + "commandSent": "Command has been sent", + "commandPositionPeriodic": "Periodic Reporting", + "commandPositionStop": "Stop Reporting", + "commandEngineStop": "Engine Stop", + "commandEngineResume": "Engine Resume", + "commandFrequency": "Frequency", + "commandUnit": "Unit" +} \ No newline at end of file diff --git a/web/l10n/fi.json b/web/l10n/fi.json new file mode 100644 index 000000000..dc44cb03a --- /dev/null +++ b/web/l10n/fi.json @@ -0,0 +1,83 @@ +{ + "sharedLoading": "Ladataan...", + "sharedSave": "Tallenna", + "sharedCancel": "Peruuta", + "sharedAdd": "Lisää", + "sharedEdit": "Muokkaa", + "sharedRemove": "Poista", + "sharedRemoveConfirm": "Poista kohde?", + "sharedKm": "km", + "sharedMi": "mi", + "sharedKmh": "km/h", + "sharedMph": "mph", + "sharedHour": "Tunti", + "sharedMinute": "Minuutti", + "sharedSecond": "Sekunti", + "errorTitle": "Virhe", + "errorUnknown": "Tuntematon virhe", + "errorConnection": "Yhteysvirhe", + "userName": "Nimi", + "userEmail": "Email", + "userPassword": "Salasana", + "userAdmin": "Ylläpito", + "loginTitle": "Kirjaudu", + "loginLanguage": "Kieli", + "loginRegister": "Rekisteröidy", + "loginLogin": "Kirjaudu", + "loginFailed": "Virheellinen email tai salasana", + "loginCreated": "Uusi käyttäjä on rekisteröitynyt", + "loginLogout": "Kirjaudu ulos", + "devicesAndState": "Laitteet ja Tilat", + "deviceDialog": "Laite", + "deviceTitle": "Laitteet", + "deviceName": "Nimi", + "deviceIdentifier": "Tunniste", + "deviceLastUpdate": "Viimeisin päivitys", + "deviceCommand": "Komento", + "deviceFollow": "Seuraa", + "settingsTitle": "Asetukset", + "settingsUser": "Tili", + "settingsServer": "Palvelin", + "settingsUsers": "Käyttäjät", + "settingsDistanceUnit": "Etäisyys", + "settingsSpeedUnit": "Nopeus", + "reportTitle": "Raportit", + "reportDevice": "Laite", + "reportFrom": "Mistä", + "reportTo": "Mihin", + "reportShow": "Näytä", + "reportClear": "Tyhjennä", + "positionFixTime": "Aika", + "positionValid": "Kelvollinen", + "positionLatitude": "Latitude", + "positionLongitude": "Longitude", + "positionAltitude": "Korkeus", + "positionSpeed": "Nopeus", + "positionCourse": "Suunta", + "positionAddress": "Osoite", + "positionProtocol": "Protokolla", + "serverTitle": "Palvelinasetukset", + "serverZoom": "Lähennä", + "serverRegistration": "Rekisteröinti", + "serverReadonly": "Vain luku", + "mapTitle": "Kartta", + "mapLayer": "Karttataso", + "mapCustom": "Oma kartta", + "mapOsm": "Open Street Map", + "mapBingKey": "Bing Maps avain", + "mapBingRoad": "Bign Maps tiet", + "mapBingAerial": "Bing Maps ilmakuva", + "stateTitle": "Tila", + "stateName": "Ominaisuus", + "stateValue": "Arvo", + "commandTitle": "Komento", + "commandSend": "Lähetä", + "commandType": "Tyyppi", + "commandSent": "Komento on lähetetty", + "commandPositionPeriodic": "Määräaikaisraportointi", + "commandPositionStop": "Lopeta raportointi", + "commandEngineStop": "Sammuta moottori", + "commandEngineResume": "Palauta moottori", + "commandFrequency": "Taajuus", + "commandUnit": "Yksikkö" +} \ No newline at end of file diff --git a/web/l10n/ml.json b/web/l10n/ml.json new file mode 100644 index 000000000..02bd39b00 --- /dev/null +++ b/web/l10n/ml.json @@ -0,0 +1,83 @@ +{ + "sharedLoading": "ലോഡുചെയ്യുന്നു ..", + "sharedSave": "Save", + "sharedCancel": "റദ്ദാക്കുക", + "sharedAdd": "ചേര്‍ക്കുക", + "sharedEdit": "തിരുത്തുക", + "sharedRemove": "നീക്കം ചെയ്യുക", + "sharedRemoveConfirm": "വിഷയം നീക്കം ചെയ്യുക", + "sharedKm": "കിലോമീറ്റർ", + "sharedMi": "mi", + "sharedKmh": "കിലോമീറ്റർ / മണിക്കൂർ", + "sharedMph": "mph", + "sharedHour": "മണിക്കൂര്", + "sharedMinute": "മിനിറ്റ്", + "sharedSecond": "സെക്കന്റ്", + "errorTitle": "പിശക്‌", + "errorUnknown": "അജ്ഞാത പിശക്", + "errorConnection": "കണക്ഷൻ പിശക്", + "userName": "പേര്", + "userEmail": "ഇമെയിൽ", + "userPassword": "രഹസ്യ കോഡ്‌", + "userAdmin": "Admin", + "loginTitle": "അകത്തു പ്രവേശിക്കുക", + "loginLanguage": "ഭാഷ", + "loginRegister": "Register", + "loginLogin": "അകത്തു പ്രവേശിക്കുക", + "loginFailed": "തെറ്റായ ഇമെയിൽ വിലാസവും പാസ്വേഡും", + "loginCreated": "പുതിയ ഉപയോക്താവ് രജിസ്റ്റർ ചെയ്തു", + "loginLogout": "പുറത്തുകടക്കുക", + "devicesAndState": "Devices and State", + "deviceDialog": "ഉപകരണം", + "deviceTitle": "Devices", + "deviceName": "പേര്", + "deviceIdentifier": "Identifier", + "deviceLastUpdate": "Last Update", + "deviceCommand": "Command", + "deviceFollow": "Follow", + "settingsTitle": "Settings", + "settingsUser": "Account", + "settingsServer": "Server", + "settingsUsers": "Users", + "settingsDistanceUnit": "Distance", + "settingsSpeedUnit": "വേഗം", + "reportTitle": "Reports", + "reportDevice": "ഉപകരണം", + "reportFrom": "From", + "reportTo": "To", + "reportShow": "Show", + "reportClear": "Clear", + "positionFixTime": "സമയം", + "positionValid": "Valid", + "positionLatitude": "അക്ഷാംശം", + "positionLongitude": "രേഖാംശം", + "positionAltitude": "Altitude", + "positionSpeed": "വേഗം", + "positionCourse": "Course", + "positionAddress": "Address", + "positionProtocol": "Protocol", + "serverTitle": "Server Settings", + "serverZoom": "വലുതാക്കിയോ ചെറുതാക്കിയോ കാണിക്കുക", + "serverRegistration": "രജിസ്ട്രേഷൻ", + "serverReadonly": "Readonly", + "mapTitle": "ഭൂപടം", + "mapLayer": "Map Layer", + "mapCustom": "Custom Map", + "mapOsm": "Open Street Map", + "mapBingKey": "Bing Maps Key", + "mapBingRoad": "Bing Maps Road", + "mapBingAerial": "Bing Maps Aerial", + "stateTitle": "State", + "stateName": "Attribute", + "stateValue": "Value", + "commandTitle": "Command", + "commandSend": "Send", + "commandType": "Type", + "commandSent": "Command has been sent", + "commandPositionPeriodic": "Periodic Reporting", + "commandPositionStop": "Stop Reporting", + "commandEngineStop": "Engine Stop", + "commandEngineResume": "Engine Resume", + "commandFrequency": "Frequency", + "commandUnit": "Unit" +} \ No newline at end of file diff --git a/web/l10n/ms.json b/web/l10n/ms.json new file mode 100644 index 000000000..ff5f02f01 --- /dev/null +++ b/web/l10n/ms.json @@ -0,0 +1,83 @@ +{ + "sharedLoading": "Memuatkan...", + "sharedSave": "Simpan", + "sharedCancel": "Batal", + "sharedAdd": "Tambah", + "sharedEdit": "Ubah", + "sharedRemove": "Hapus", + "sharedRemoveConfirm": "Hapuskan item?", + "sharedKm": "km", + "sharedMi": "mi", + "sharedKmh": "km/h", + "sharedMph": "mph", + "sharedHour": "Jam", + "sharedMinute": "Minit", + "sharedSecond": "Saat", + "errorTitle": "Ralat", + "errorUnknown": "Ralat tidak diketahui", + "errorConnection": "Ralat penyambungan", + "userName": "Nama", + "userEmail": "Emel", + "userPassword": "Katalaluan", + "userAdmin": "Admin", + "loginTitle": "Log masuk", + "loginLanguage": "Bahasa", + "loginRegister": "Daftar", + "loginLogin": "Log masuk", + "loginFailed": "Kesalahan emel atau katalaluan", + "loginCreated": "Pengguna baru telah didaftarkan", + "loginLogout": "Keluar", + "devicesAndState": "Peranti dan State", + "deviceDialog": "Peranti", + "deviceTitle": "Peranti", + "deviceName": "Nama", + "deviceIdentifier": "IMEI/ID", + "deviceLastUpdate": "Kemaskini Terakhir", + "deviceCommand": "Arahan", + "deviceFollow": "Ikut", + "settingsTitle": "Tetapan", + "settingsUser": "Akaun", + "settingsServer": "Server", + "settingsUsers": "Pengguna", + "settingsDistanceUnit": "Jarak", + "settingsSpeedUnit": "Kelajuan", + "reportTitle": "Laporan", + "reportDevice": "Peranti", + "reportFrom": "Daripada", + "reportTo": "Ke", + "reportShow": "Papar", + "reportClear": "Kosongkan", + "positionFixTime": "Masa", + "positionValid": "Sah", + "positionLatitude": "Latitud", + "positionLongitude": "Longitud", + "positionAltitude": "Altitud", + "positionSpeed": "Kelajuan", + "positionCourse": "Course", + "positionAddress": "Alamat", + "positionProtocol": "Protokol", + "serverTitle": "Tetapan Server", + "serverZoom": "Besarkan", + "serverRegistration": "Pendaftaran", + "serverReadonly": "Baca Sahaja", + "mapTitle": "Peta", + "mapLayer": "Map Layer", + "mapCustom": "Peta Lain", + "mapOsm": "Open Street Map", + "mapBingKey": "Bing Maps Key", + "mapBingRoad": "Bing Maps Road", + "mapBingAerial": "Bing Maps Aerial", + "stateTitle": "Negeri", + "stateName": "Atribut", + "stateValue": "Nilai", + "commandTitle": "Arahan", + "commandSend": "Hantar", + "commandType": "Jenis", + "commandSent": "Arahan telah dihantar", + "commandPositionPeriodic": "Laporan Berkala", + "commandPositionStop": "Hentikan Laporan", + "commandEngineStop": "Matikan Enjin", + "commandEngineResume": "Hidupkan Enjin", + "commandFrequency": "Frekuensi", + "commandUnit": "Unit" +} \ No newline at end of file diff --git a/web/l10n/tr.json b/web/l10n/tr.json new file mode 100644 index 000000000..6eacb12d0 --- /dev/null +++ b/web/l10n/tr.json @@ -0,0 +1,83 @@ +{ + "sharedLoading": "Yükleniyor...", + "sharedSave": "Kaydet", + "sharedCancel": "İptal", + "sharedAdd": "Ekle", + "sharedEdit": "Düzenle", + "sharedRemove": "Kaldır", + "sharedRemoveConfirm": "Öğeyi kaldır", + "sharedKm": "km", + "sharedMi": "mil", + "sharedKmh": "km/s", + "sharedMph": "mil/s", + "sharedHour": "Saat", + "sharedMinute": "Dakika", + "sharedSecond": "Saniye", + "errorTitle": "Hata", + "errorUnknown": "Bilinmeyen hata ", + "errorConnection": "Bağlantı Hatası", + "userName": "Ad", + "userEmail": "Eposta", + "userPassword": "Şifre", + "userAdmin": "Yönetici", + "loginTitle": "Oturum aç", + "loginLanguage": "Lisan", + "loginRegister": "Kayıt", + "loginLogin": "Oturumu aç", + "loginFailed": "Geçersiz eposta veya şifre", + "loginCreated": "Yeni kullanıcı kaydedildi", + "loginLogout": "Oturumu sonlandır", + "devicesAndState": "Cihazlar ve Bölge", + "deviceDialog": "Cihaz", + "deviceTitle": "Cihazlar", + "deviceName": "İsim", + "deviceIdentifier": "Kimlik", + "deviceLastUpdate": "Son Güncelleme", + "deviceCommand": "Komut", + "deviceFollow": "Takip", + "settingsTitle": "Ayarlar", + "settingsUser": "Hesap", + "settingsServer": "Sunucu", + "settingsUsers": "Kullanıcı", + "settingsDistanceUnit": "Mesafe", + "settingsSpeedUnit": "Hız", + "reportTitle": "Raporlar", + "reportDevice": "Aygıt", + "reportFrom": "Başlangıç", + "reportTo": "Varış", + "reportShow": "Göster", + "reportClear": "Temizle", + "positionFixTime": "Süre", + "positionValid": "Geçerli", + "positionLatitude": "Enlem", + "positionLongitude": "Boylam", + "positionAltitude": "Rakım", + "positionSpeed": "Sürat", + "positionCourse": "Yön", + "positionAddress": "Adres", + "positionProtocol": "Protokol", + "serverTitle": "Sunucu Ayarları", + "serverZoom": "Yakınlaştırma", + "serverRegistration": "Kayıt", + "serverReadonly": "Saltokunur", + "mapTitle": "Harita", + "mapLayer": "Harita Katmanı", + "mapCustom": "Özelleştirilmiş Harita", + "mapOsm": "Open Street Map", + "mapBingKey": "Bing Maps Key", + "mapBingRoad": "Bing Maps Road", + "mapBingAerial": "Bing Maps Aerial", + "stateTitle": "Bölge", + "stateName": "Özellik", + "stateValue": "Değer", + "commandTitle": "Komut", + "commandSend": "Gönder", + "commandType": "Tip", + "commandSent": "Komut gönderildi", + "commandPositionPeriodic": "Periyodik Rapor", + "commandPositionStop": "Raporlamayı Durdur", + "commandEngineStop": "Motoru Durdur", + "commandEngineResume": "Motoru Çalıştır", + "commandFrequency": "Frekans", + "commandUnit": "Ünite" +} \ No newline at end of file diff --git a/web/locale.js b/web/locale.js index 30749f0f7..c0b3af90b 100644 --- a/web/locale.js +++ b/web/locale.js @@ -25,12 +25,16 @@ Locale.languages = { 'el': { name: 'Ελληνικά', code: 'el' }, 'en': { name: 'English', code: 'en' }, 'es': { name: 'Español', code: 'es' }, + 'fa': { name: 'فارسی', code: 'fa' }, + 'fi': { name: 'Suomi', code: 'fi' }, 'fr': { name: 'Français', code: 'fr' }, 'hu': { name: 'Magyar', code: 'hu' }, 'id': { name: 'Bahasa Indonesia', code: 'id' }, 'it': { name: 'Italiano', code: 'it' }, 'ka': { name: 'ქართული', code: 'en' }, 'lt': { name: 'Lietuvių', code: 'lt' }, + 'ml': { name: 'മലയാളം', code: 'en' }, + 'ms': { name: 'بهاس ملايو', code: 'en' }, 'nl': { name: 'Nederlands', code: 'nl' }, 'no': { name: 'Norsk', code: 'no_NB' }, 'pl': { name: 'Polski', code: 'pl' }, @@ -44,6 +48,7 @@ Locale.languages = { 'sr': { name: 'Srpski', code: 'sr' }, 'ta': { name: 'தமிழ்', code: 'en' }, 'th': { name: 'ไทย', code: 'th' }, + 'tr': { name: 'Türkçe', code: 'tr' }, 'uk': { name: 'Українська', code: 'ukr' }, 'vi': { name: 'Tiếng Việt', code: 'en' }, 'zh': { name: '中文', code: 'zh_CN' } -- cgit v1.2.3