From ac5910ad80d3c43adfbc86be76da949a2379c643 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 10 Jul 2015 22:03:48 +1200 Subject: Add Polish UI translation --- web/app.js | 3 ++- web/l10n/en.js | 2 +- web/l10n/pl.js | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 web/l10n/pl.js (limited to 'web') diff --git a/web/app.js b/web/app.js index 7b007a982..e87404421 100644 --- a/web/app.js +++ b/web/app.js @@ -21,7 +21,8 @@ Ext.Loader.setConfig({ { var available = { 'en': true, - 'ru': true + 'ru': true, + 'pl': true }; var language = Ext.Object.fromQueryString(window.location.search.substring(1)).locale; diff --git a/web/l10n/en.js b/web/l10n/en.js index 881eb9fc3..d4fa820c8 100644 --- a/web/l10n/en.js +++ b/web/l10n/en.js @@ -1,4 +1,4 @@ -var strings = { +var strings = { shared_loading: 'Loading...', shared_save: 'Save', shared_cancel: 'Cancel', diff --git a/web/l10n/pl.js b/web/l10n/pl.js new file mode 100644 index 000000000..bd14f75ef --- /dev/null +++ b/web/l10n/pl.js @@ -0,0 +1,61 @@ +var strings = { + shared_loading: 'Wczytywanie...', + shared_save: 'Zapisz', + shared_cancel: 'Anuluj', + shared_add: 'Dodaj', + shared_edit: 'Edytuj', + shared_remove: 'Usunąć', + shared_remove_confirm: 'Usuń obiekt?', + + error_title: 'Bląd', + error_unknown: 'Nieznany błąd', + + user_name: 'Nazwa', + user_email: 'Email', + user_password: 'Hasło', + user_admin: 'Admin', + + login_title: 'Zaloguj', + login_register: 'Rejestracja', + login_login: 'Login', + login_failed: 'Nieprawidłowy adres e-mail lub hasło', + login_created: 'Nowy użytkownik został zarejestrowany', + login_logout: 'Wyloguj', + + device_dialog: 'Urządzenie', + device_title: 'Urządzenia', + device_name: 'Nazwa', + device_identifier: 'Identyfikator', + + settings_title: 'Ustawienia', + settings_user: 'Konto', + settings_server: 'Serwer', + settings_users: 'Użytkownicy', + + report_title: 'Raporty', + report_device: 'Urządzenie', + report_from: 'Z', + report_to: 'Do', + report_show: 'Wczytaj', + report_clear: 'Wyczyść', + + position_time: 'Czas', + position_valid: 'Aktywny', + position_latitude: 'Szerokość', + position_longitude: 'Długość', + position_altitude: 'Wysokość', + position_speed: 'Prędkość', + position_course: 'Kurs', + position_address: 'Adres', + position_protocol: 'Protokół', + + server_title: 'Ustawienia serwera', + server_zoom: 'Powiększ', + server_registration: 'Rejestracja', + + map_title: 'Mapa', + + state_title: 'Państwo', + state_name: 'Parametr', + state_value: 'Wartość' +}; -- cgit v1.2.3