From 7fe1254bf2adce9f7c17f236f8acf2bddab01758 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Wed, 7 Feb 2018 03:14:04 +0000 Subject: [PATCH] A bit more of recycling in translation files. --- WEB-INF/resources/cs.lang.php | 3 --- WEB-INF/resources/ja.lang.php | 1 - WEB-INF/resources/ko.lang.php | 1 - WEB-INF/resources/no.lang.php | 7 +------ WEB-INF/resources/ro.lang.php | 33 +++++++++++++++----------------- WEB-INF/resources/tr.lang.php | 2 -- WEB-INF/resources/zh-cn.lang.php | 8 +------- WEB-INF/resources/zh-tw.lang.php | 28 +++++++++++++-------------- WEB-INF/templates/footer.tpl | 2 +- 9 files changed, 31 insertions(+), 54 deletions(-) diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index 72c2a190..7d5ecd69 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -537,13 +537,10 @@ $i18n_key_words = array( "controls.per_at" => 'od počátku', "controls.per_ty" => 'letos', -"label.fields" => 'zobrazit pole', -"label.group_title" => 'seskupit podle', "label.inv_str" => 'faktura', "label.set_empl" => 'výběr uživatelů', "label.sel_all" => 'vybrat všechno', "label.sel_none" => 'zrušit výběr', "label.disable" => 'zakázat', "label.enable" => 'povolit', -"label.hrs" => 'hodin', ); diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 6384565a..6406bc28 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -553,5 +553,4 @@ $i18n_key_words = array( "label.sel_none" => 'すべて解除', "label.disable" => '使用中止', "label.enable" => '使用可能', -"label.hrs" => '時間', ); diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index b650bdd6..63e51e53 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -553,5 +553,4 @@ $i18n_key_words = array( "label.sel_none" => '모두 해제', "label.disable" => '무력화', "label.enable" => '가능화', -"label.hrs" => '시간', ); diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index 47f827ab..1e96b457 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -351,8 +351,7 @@ $i18n_key_words = array( // Login form. See example at https://timetracker.anuko.com/login.php. 'form.login.forgot_password' => 'Glemt passordet?', -// TODO: translate the following. -// 'form.login.about' =>'Anuko Time Tracker is a simple, easy to use, open source time tracking system.', +'form.login.about' =>'Anuko Time Tracker er et enkelt, brukervennlig tidsregistreringssystem basert på åpen kildekode.', // Resetting Password form. See example at https://timetracker.anuko.com/password_reset.php. // TODO: translate the following. @@ -559,8 +558,4 @@ $i18n_key_words = array( // "label.sel_none" => 'velg ingen', // "label.disable" => 'slå av', // "label.enable" => 'slå på', -// "label.hrs" => 'timer', - -// login hello text -// "login.hello.text" => "Anuko Time Tracker er et enkelt, brukervennlig tidsregistreringssystem basert på åpen kildekode.", ); diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 5363dc14..b5eb1661 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -172,7 +172,7 @@ $i18n_key_words = array( // 'label.client' => 'Client', // 'label.clients' => 'Clients', // 'label.option' => 'Option', -// 'label.invoice' => 'Invoice', +'label.invoice' => 'Factura', 'label.project' => 'Proiect', 'label.projects' => 'Proiecte', // TODO: translate the following. @@ -198,9 +198,9 @@ $i18n_key_words = array( 'label.edit' => 'Editează', 'label.delete' => 'Șterge', 'label.configure' => 'Configureaza', +'label.select_all' => 'Selecteaza tot', +'label.select_none' => 'Deselecteaza tot', // TODO: translate the following. -// 'label.select_all' => 'Select all', -// 'label.select_none' => 'Deselect all', // 'label.day_view' => 'Day view', // 'label.week_view' => 'Week view', // 'label.id' => 'ID', @@ -275,7 +275,8 @@ $i18n_key_words = array( // 'title.reports' => 'Reports', // 'title.report' => 'Report', // 'title.send_report' => 'Sending Report', -// 'title.invoice' => 'Invoice', +'title.invoice' => 'Factura', +// TODO: translate the following. // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', 'title.projects' => 'Proiecte', @@ -287,15 +288,16 @@ $i18n_key_words = array( // 'title.add_task' => 'Adding Task', // 'title.edit_task' => 'Editing Task', // 'title.delete_task' => 'Deleting Task', -// 'title.users' => 'Users', -// 'title.add_user' => 'Adding User', -// 'title.edit_user' => 'Editing User', -// 'title.delete_user' => 'Deleting User', +'title.users' => 'Utilizatori', +'title.add_user' => 'Adaugare utilizator', // TODO: is this correct? +'title.edit_user' => 'Editare utilizator', // TODO: is this correct? +'title.delete_user' => 'Stergere utilizator', // TODO: is this correct? // 'title.clients' => 'Clients', // 'title.add_client' => 'Adding Client', // 'title.edit_client' => 'Editing Client', // 'title.delete_client' => 'Deleting Client', -// 'title.invoices' => 'Invoices', +'title.invoices' => 'Facturi', +// TODO: translate the following. // 'title.add_invoice' => 'Adding Invoice', // 'title.view_invoice' => 'Viewing Invoice', // 'title.delete_invoice' => 'Deleting Invoice', @@ -341,12 +343,14 @@ $i18n_key_words = array( // 'dropdown.selected_year' => 'year', // 'dropdown.all_time' => 'all time', 'dropdown.projects' => 'proiecte', +// TODO: translate the following. // 'dropdown.tasks' => 'tasks', // 'dropdown.clients' => 'clients', // 'dropdown.select' => '--- select ---', // 'dropdown.select_invoice' => '--- select invoice ---', -// 'dropdown.status_active' => 'active', -// 'dropdown.status_inactive' => 'inactive', +'dropdown.status_active' => 'activ', +'dropdown.status_inactive' => 'inactiv', +// TODO: translate the following. // 'dropdown.delete'=>'delete', // 'dropdown.do_not_delete'=>'do not delete', // 'dropdown.paid' => 'paid', @@ -541,11 +545,4 @@ $i18n_key_words = array( "controls.per_lm" => 'luna trecuta', "controls.per_tw" => 'saptamana curenta', "controls.per_lw" => 'saptamana trecuta', - -"label.inv_str" => 'factura', -"label.set_empl" => 'alege utilizatori', -"label.sel_all" => 'selecteaza tot', -"label.sel_none" => 'deselecteaza tot', -"label.disable" => 'inactiv', -"label.enable" => 'activ', ); diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 328ca55b..4d0eed36 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -552,8 +552,6 @@ $i18n_key_words = array( "controls.per_td" => 'bugün', "controls.per_at" => 'tüm zamanlar', -"label.group_title" => 'gruplandırma kıstası', - "label.set_empl" => 'kullanıcıları seç', "label.sel_all" => 'tümünü seç', "label.sel_none" => 'hiçbirini seçme', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 29e8fd53..365b3527 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -344,8 +344,7 @@ $i18n_key_words = array( // Login form. See example at https://timetracker.anuko.com/login.php. 'form.login.forgot_password' => '忘记密码?', -// TODO: translate the following. -// 'form.login.about' =>'Anuko Time Tracker is a simple, easy to use, open source time tracking system.', +'form.login.about' =>'Anuko Time Tracker 是一种简单、易用、开放源代码的实时跟踪系统。', // Resetting Password form. See example at https://timetracker.anuko.com/password_reset.php. // TODO: translate the following. @@ -532,7 +531,6 @@ $i18n_key_words = array( "controls.per_td" => '今天', "controls.per_at" => '全部时间', "controls.per_ty" => '今年', -"controls.sel_period" => '--- 选择时间段 ---', "label.inv_str" => '发票', "label.set_empl" => '选择用户', @@ -540,8 +538,4 @@ $i18n_key_words = array( "label.sel_none" => '全部不选', "label.disable" => '禁用', "label.enable" => '启用', -"label.hrs" => '小时', - -// login hello text - "login.hello.text" => "anuko时间跟踪器是一种简单、易用、开放源代码的实时跟踪系统。", ); diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index 953c7bcf..0798ff23 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -71,39 +71,38 @@ $i18n_key_words = array( // This is a link to a webpage that describes how to contribute to the project. // Error messages. -// TODO: All error messages should be complete sentences with a period (full stop) in the end. Put them there. // TODO: translate the following. // 'error.access_denied' => 'Access denied.', // 'error.sys' => 'System error.', -'error.db' => '資料庫錯誤', -'error.field' => '不正確的"{0}"資料', -'error.empty' => '欄目"{0}"為空', -'error.not_equal' => '欄目"{0}"不等於欄目"{1}"', +'error.db' => '資料庫錯誤。', +'error.field' => '不正確的"{0}"資料。', +'error.empty' => '欄目"{0}"為空。', +'error.not_equal' => '欄目"{0}"不等於欄目"{1}"。', // TODO: translate the following. // 'error.interval' => 'Field "{0}" must be greater than "{1}".', -'error.project' => '選擇項目', +'error.project' => '選擇項目。', // TODO: translate the following. // 'error.task' => 'Select task.', -'error.client' => '選擇客戶', +'error.client' => '選擇客戶。', // TODO: translate the following. // 'error.report' => 'Select report.', // 'error.record' => 'Select record.', -'error.auth' => '不正確的用戶名或密碼', -'error.user_exists' => '該使用者登錄資訊已經存在', -'error.project_exists' => '該專案名稱已經存在', +'error.auth' => '不正確的用戶名或密碼。', +'error.user_exists' => '該使用者登錄資訊已經存在。', +'error.project_exists' => '該專案名稱已經存在。', // TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', // 'error.client_exists' => 'Client with this name already exists.', // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', -'error.no_login' => '沒有該登錄資訊的使用者', +'error.no_login' => '沒有該登錄資訊的使用者。', // TODO: translate the following. // 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.', -'error.upload' => '上傳文件出錯', +'error.upload' => '上傳文件出錯。', // TODO: translate the following. // 'error.range_locked' => 'Date range is locked.', -'error.mail_send' => '發送郵件時出錯', -'error.no_email' => '沒有電子郵件與該用戶名關聯', +'error.mail_send' => '發送郵件時出錯。', +'error.no_email' => '沒有電子郵件與該用戶名關聯。', // TODO: translate the following. // 'error.uncompleted_exists' => 'Uncompleted entry already exists. Close or delete it.', // 'error.goto_uncompleted' => 'Go to uncompleted entry.', @@ -548,5 +547,4 @@ $i18n_key_words = array( "label.sel_none" => '全部不選', "label.disable" => '禁用', "label.enable" => '啟用', -"label.hrs" => '小時', ); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 77afab26..e69e8e9a 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.12.3924 | Copyright © Anuko | +  Anuko Time Tracker 1.17.12.3925 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1