From 945c9b4504c7a653f7a363e8293a91d5a27cbedf Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Mon, 29 Jan 2018 15:53:49 +0000 Subject: [PATCH 1/1] Work on progress on button label translations. --- WEB-INF/resources/pt.lang.php | 10 +++++----- WEB-INF/resources/ro.lang.php | 16 ++++++++++------ WEB-INF/resources/sl.lang.php | 16 ++++++++++------ WEB-INF/resources/tr.lang.php | 16 ++++++++++------ WEB-INF/resources/zh-cn.lang.php | 21 ++++++++------------- WEB-INF/resources/zh-tw.lang.php | 16 +++++++++------- WEB-INF/templates/footer.tpl | 2 +- 7 files changed, 53 insertions(+), 44 deletions(-) diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index 8daaa378..7fc9e338 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -112,11 +112,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'button.copy' => 'Copy', 'button.cancel' => 'Cancelar', - - - -// TODO: refactoring ongoing down from here. - 'button.submit' => 'Submeter', // TODO: translate the following. // 'button.add_user' => 'Add user', @@ -127,6 +122,11 @@ $i18n_key_words = array( // 'button.add_invoice' => 'Add invoice', // 'button.add_option' => 'Add option', 'button.add' => 'Adicionar', + + + +// TODO: refactoring ongoing down from here. + // Note to translators: strings below need to be translated. // 'button.generate' => 'generate', // 'button.reset_password' => 'reset password', diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index bcb744ee..f7cd283f 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -120,17 +120,21 @@ $i18n_key_words = array( // TODO: translate the following. // 'button.copy' => 'Copy', 'button.cancel' => 'Renunta', +'button.submit' => 'Trimite', +'button.add_user' => 'Adauga utilizator', +'button.add_project' => 'Adauga proiect', +// TODO: translate the following. +// 'button.add_task' => 'Add task', +'button.add_client' => 'Adauga client', +// TODO: translate the following. +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', +'button.add' => 'Adauga', // TODO: refactoring ongoing down from here. -'button.submit' => 'trimite', -'button.add_user' => 'adauga utilizator', -'button.add_project' => 'adauga proiect', -'button.add_activity' => 'adauga activitate', -'button.add_client' => 'adauga client', -'button.add' => 'adauga', 'button.generate' => 'genereaza', // Note to translators: button.reset_password needs an improved translation. // 'button.reset_password' => 'reset password', diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index a541040a..7d8d957d 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -113,17 +113,21 @@ $i18n_key_words = array( // TODO: translate the following. // 'button.copy' => 'Copy', 'button.cancel' => 'Prekliči', +'button.submit' => 'Potrdi', +'button.add_user' => 'Dodaj uporabnika', +'button.add_project' => 'Dodaj projekt', +// TODO: translate the following. +// 'button.add_task' => 'Add task', +'button.add_client' => 'Dodaj stranko', +// TODO: translate the following. +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', +'button.add' => 'Dodaj', // TODO: refactoring ongoing down from here. -'button.submit' => 'potrdi', -'button.add_user' => 'dodaj uporabnika', -'button.add_project' => 'dodaj projekt', -'button.add_activity' => 'dodaj aktivnost', -'button.add_client' => 'dodaj stranko', -'button.add' => 'dodaj', 'button.generate' => 'ustvari', // Note to translators: button.reset_password needs an improved translation. 'button.reset_password' => 'pojdi', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 2a5d247d..fe92180b 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -123,17 +123,21 @@ $i18n_key_words = array( // TODO: translate the following. // 'button.copy' => 'Copy', 'button.cancel' => 'Iptal', +'button.submit' => 'Gönder', +'button.add_user' => 'Kullanıcı ekle', +'button.add_project' => 'Proje ekle', +// TODO: translate the following. +// 'button.add_task' => 'Add task', +'button.add_client' => 'Müşteri ekle', +// TODO: translate the following. +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', +'button.add' => 'Ekle', // TODO: refactoring ongoing down from here. -'button.submit' => 'gönder', -'button.add_user' => 'kullanıcı ekle', -'button.add_project' => 'proje ekle', -'button.add_activity' => 'faaliyet ekle', -'button.add_client' => 'müşteri ekle', -'button.add' => 'ekle', 'button.generate' => 'yarat', // Note to translators: button.reset_password needs an improved translation. 'button.reset_password' => 'git', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index a39358bb..f7b84c08 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -108,25 +108,20 @@ $i18n_key_words = array( // TODO: translate the following. // 'button.copy' => 'Copy', 'button.cancel' => '取消', - - - -// TODO: refactoring ongoing down from here. - -// Labels for buttons. 'button.submit' => '提交', - -// TODO: check / improve translation of all button.add... strings. -// Concern is that it used to be "add new something", now just "add something". -'button.add_user' => '添加新用户', -'button.add_project' => '添加新项目', // TODO: translate the following. +// 'button.add_user' => 'Add user', +// 'button.add_project' => 'Add project', // 'button.add_task' => 'Add task', -'button.add_client' => '添加新客户', -// TODO: translate the following. +// 'button.add_client' => 'Add client', // 'button.add_invoice' => 'Add invoice', // 'button.add_option' => 'Add option', 'button.add' => '添加', + + + +// TODO: refactoring ongoing down from here. + 'button.generate' => '创建', 'button.reset_password' => '重置密码', 'button.send' => '发送', diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index d9b6240d..9872591f 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -115,18 +115,20 @@ $i18n_key_words = array( // TODO: translate the following. // 'button.copy' => 'Copy', 'button.cancel' => '取消', +'button.submit' => '提交', +// TODO: translate the following. +// 'button.add_user' => 'Add user', +// 'button.add_project' => 'Add project', +// 'button.add_task' => 'Add task', +// 'button.add_client' => 'Add client', +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', +'button.add' => '添加', // TODO: refactoring ongoing down from here. -'button.submit' => '提交', -// TODO: check / improve translation of all button.add... strings. -'button.add_user' => '添加新用戶', -'button.add_project' => '添加新項目', -'button.add_activity' => '添加新活動', -'button.add_client' => '添加新客戶', -'button.add' => '添加', 'button.generate' => '創建', // Note to translators: button.reset_password needs to be translated. // 'button.reset_password' => 'reset password', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 6005815a..dbf9f736 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.9.3828 | Copyright © Anuko | +  Anuko Time Tracker 1.17.9.3829 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1