From c3223ecf6185a58ea2630e0656aa5d136ebbe2f2 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 12 Nov 2015 22:21:44 +1300 Subject: Add Arabic and Brazil Portuguese --- web/l10n/ar.json | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++ web/l10n/pt_BR.json | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++ web/locale.js | 2 ++ 3 files changed, 160 insertions(+) create mode 100644 web/l10n/ar.json create mode 100644 web/l10n/pt_BR.json diff --git a/web/l10n/ar.json b/web/l10n/ar.json new file mode 100644 index 000000000..0d88e6a15 --- /dev/null +++ b/web/l10n/ar.json @@ -0,0 +1,79 @@ +{ + "sharedLoading": "جاري التحميل", + "sharedSave": "حفظ", + "sharedCancel": "إلغاء", + "sharedAdd": "إضافة", + "sharedEdit": "تعديل", + "sharedRemove": "حذف", + "sharedRemoveConfirm": "حذف العنصر", + "sharedKm": "كم", + "sharedMi": "ميل", + "sharedKmh": "كم/ساعه", + "sharedMph": "mph", + "sharedHour": "ساعه", + "sharedMinute": "دقيقة", + "sharedSecond": "ثانية", + "errorTitle": "خطأ", + "errorUnknown": "خطأ غير معروف", + "errorConnection": "خطأ في الاتصال", + "userName": "الاسم", + "userEmail": "بريد الكتروني", + "userPassword": "كلمة المرور", + "userAdmin": "مدير النظام", + "loginTitle": "دخول", + "loginLanguage": "اللغة", + "loginRegister": "تسجيل", + "loginLogin": "تسجيل دخول", + "loginFailed": "كلمة مرور او بريد خطأ", + "loginCreated": "تم تسجيل مستخدم جديد", + "loginLogout": "خروج", + "deviceDialog": "جهاز", + "deviceTitle": "أجهزة", + "deviceName": "الاسم ", + "deviceIdentifier": "المعرف", + "deviceCommand": "أمر ", + "settingsTitle": "إعدادات", + "settingsUser": "حساب", + "settingsServer": "خادم", + "settingsUsers": "مستخدم", + "settingsDistanceUnit": "مسافة", + "settingsSpeedUnit": "سرعة", + "reportTitle": "تقارير", + "reportDevice": "جهاز", + "reportFrom": "من", + "reportTo": "الي", + "reportShow": "اظهار", + "reportClear": "تفريغ الحقول", + "positionFixTime": "وقت", + "positionValid": "صحيح", + "positionLatitude": "خط العرض", + "positionLongitude": "خط الطول", + "positionAltitude": "ارتفاع عن سطح البحر", + "positionSpeed": "السرعة", + "positionCourse": "Course", + "positionAddress": "العنوان", + "positionProtocol": "بروتوكول", + "serverTitle": "اعدادت الخادم", + "serverZoom": "تقريب", + "serverRegistration": "تسجيل", + "mapTitle": "خريطة", + "mapLayer": "طبقة الخريطة", + "mapCustom": "خريطة محددة", + "mapOsm": "Open Street Map", + "mapBingKey": "Bing Maps Key", + "mapBingRoad": "Bing Maps Road", + "mapBingAerial": "Bing Maps Aerial", + "stateTitle": "حالة", + "stateName": "عنصر", + "stateValue": "قيمة", + "commandTitle": "أمر", + "commandSend": "ارسال", + "commandType": "النوع", + "commandSent": "تم ارسال الأمر", + "commandPositionPeriodic": "تقارير دورية", + "commandPositionStop": "ايقاف الارسال", + "commandEngineStop": "ايقاف المحرك", + "commandEngineResume": "تشغيل المحرك", + "commandFrequency": "معدل", + "commandUnit": "وحدة" +} \ No newline at end of file diff --git a/web/l10n/pt_BR.json b/web/l10n/pt_BR.json new file mode 100644 index 000000000..612c93176 --- /dev/null +++ b/web/l10n/pt_BR.json @@ -0,0 +1,79 @@ +{ + "sharedLoading": "Carregando...", + "sharedSave": "Gravar", + "sharedCancel": "Cancelar", + "sharedAdd": "Adicionar", + "sharedEdit": "Editar", + "sharedRemove": "Remover", + "sharedRemoveConfirm": "Remover item?", + "sharedKm": "km", + "sharedMi": "mi", + "sharedKmh": "km/h", + "sharedMph": "mph", + "sharedHour": "Hora", + "sharedMinute": "Minuto", + "sharedSecond": "Segundo", + "errorTitle": "Erro", + "errorUnknown": "Erro desconhecido", + "errorConnection": "Erro de conexão", + "userName": "Nome", + "userEmail": "Email", + "userPassword": "Senha", + "userAdmin": "Admin", + "loginTitle": "Entrar", + "loginLanguage": "Idioma", + "loginRegister": "Registrar", + "loginLogin": "Entrar", + "loginFailed": "Endereço de email ou senha incorretos", + "loginCreated": "O novo usuário foi registrado", + "loginLogout": "Sair", + "deviceDialog": "Dispositivo", + "deviceTitle": "Dispositivos", + "deviceName": "Nome", + "deviceIdentifier": "Identificador", + "deviceCommand": "Comando", + "settingsTitle": "Configurações", + "settingsUser": "Conta", + "settingsServer": "Servidor", + "settingsUsers": "Usuários", + "settingsDistanceUnit": "Distância", + "settingsSpeedUnit": "Velocidade", + "reportTitle": "Relatórios", + "reportDevice": "Dispositivo", + "reportFrom": "De", + "reportTo": "Para", + "reportShow": "Mostrar", + "reportClear": "Limpar", + "positionFixTime": "Tempo", + "positionValid": "Válido", + "positionLatitude": "Latitude", + "positionLongitude": "Longitude", + "positionAltitude": "Altitude", + "positionSpeed": "Velocidade", + "positionCourse": "Curso", + "positionAddress": "Endereço", + "positionProtocol": "Protocolo", + "serverTitle": "Configurações do Servidor", + "serverZoom": "Zoom", + "serverRegistration": "Registro", + "mapTitle": "Mapa", + "mapLayer": "Camada de Mapa", + "mapCustom": "Mapa Personalizado", + "mapOsm": "Open Street Map", + "mapBingKey": "Bing Maps Key", + "mapBingRoad": "Bing Maps Estradas", + "mapBingAerial": "Bing Maps Aéreo", + "stateTitle": "Estado", + "stateName": "Atributo", + "stateValue": "Valor", + "commandTitle": "Comando", + "commandSend": "Enviar", + "commandType": "Tipo", + "commandSent": "Comando foi enviado", + "commandPositionPeriodic": "Atualização Periódica", + "commandPositionStop": "Parar Atualizaçao", + "commandEngineStop": "Parar Motor", + "commandEngineResume": "Religar Motor", + "commandFrequency": "Frequencia", + "commandUnit": "Unidade" +} \ No newline at end of file diff --git a/web/locale.js b/web/locale.js index c1b5f53eb..ab288d2b4 100644 --- a/web/locale.js +++ b/web/locale.js @@ -21,6 +21,7 @@ Ext.Loader.setConfig({ }); Locale.languages = { + 'ar': { name: 'العربية', code: 'en' } 'bg': { name: 'Български', code: 'bg' }, 'cs': { name: 'Čeština', code: 'cs' }, 'de': { name: 'Deutsch', code: 'de' }, @@ -34,6 +35,7 @@ Locale.languages = { 'nl': { name: 'Nederlands', code: 'nl' }, 'pl': { name: 'Polski', code: 'pl' }, 'pt': { name: 'Português', code: 'pt' }, + 'pt_BR': { name: 'Português (Brasil)', code: 'pt_BR' }, 'ru': { name: 'Русский', code: 'ru' }, 'si': { name: 'සිංහල', code: 'en' }, 'sk': { name: 'Slovenčina', code: 'sk' }, -- cgit v1.2.3