From 0a468c6ddf27775230bbebdf3de2995243156602 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Fri, 26 Jan 2018 02:40:25 +0000 Subject: [PATCH] Some refactoring in localization files. --- WEB-INF/resources/cs.lang.php | 16 ++++++++++------ WEB-INF/resources/hu.lang.php | 16 ++++++++++------ WEB-INF/resources/it.lang.php | 16 ++++++++++------ WEB-INF/resources/ja.lang.php | 6 +++++- WEB-INF/resources/ko.lang.php | 8 ++++++-- WEB-INF/resources/no.lang.php | 6 +++++- WEB-INF/resources/pt.lang.php | 26 +++++++++++++++----------- WEB-INF/templates/footer.tpl | 2 +- 8 files changed, 62 insertions(+), 34 deletions(-) diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index ae96a4b0..3e59ffef 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -116,12 +116,16 @@ $i18n_key_words = array( 'button.delete' => 'smazat', 'button.cancel' => 'zrušit', 'button.submit' => 'uložit', -'button.add_user' => 'přidat uživatele', -'button.add_project' => 'přidat projekt', -'button.add_activity' => 'přidat činnost', -'button.add_client' => 'přidat zákazníka', -'button.add' => 'přidat', -'button.generate' => 'vytvořit', +'button.add_user' => 'Přidat uživatele', +'button.add_project' => 'Přidat projekt', +// TODO: translate the following. +// 'button.add_task' => 'Add task', +'button.add_client' => 'Přidat zákazníka', +// TODOL translate the following. +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', +'button.add' => 'Přidat', +'button.generate' => 'Vytvořit', // Note to translators: button.reset_password needs an improved translation. 'button.reset_password' => 'přejít', 'button.send' => 'poslat', diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index d8e9c2ee..64938a8a 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -109,12 +109,16 @@ $i18n_key_words = array( 'button.delete' => 'törlés', 'button.cancel' => 'vissza', 'button.submit' => 'mentés', -'button.add_user' => 'felhasználó felvétele', -'button.add_project' => 'projekt felvétele', -'button.add_activity' => 'tevékenyég felvétele', -'button.add_client' => 'ügyfél hozzáadása', -'button.add' => 'hozzáadás', -'button.generate' => 'generálás', +'button.add_user' => 'Felhasználó felvétele', +'button.add_project' => 'Projekt felvétele', +// TODO: translate the following. +// 'button.add_task' => 'Add task', +'button.add_client' => 'ügyfél hozzáadása', // TODO: capitalize properly. +// TODO: translate the following. +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', +'button.add' => 'Hozzáadás', +'button.generate' => 'Generálás', // Note to translators: button.reset_password needs an improved translation. 'button.reset_password' => 'mehet', 'button.send' => 'küld', diff --git a/WEB-INF/resources/it.lang.php b/WEB-INF/resources/it.lang.php index 7a7b6c1d..01cfcf3f 100644 --- a/WEB-INF/resources/it.lang.php +++ b/WEB-INF/resources/it.lang.php @@ -110,12 +110,16 @@ $i18n_key_words = array( 'button.delete' => 'elimina', 'button.cancel' => 'cancella', 'button.submit' => 'invia', -'button.add_user' => 'aggiungi utente', -'button.add_project' => 'aggiungi progetto', -'button.add_activity' => 'aggiungi attività', -'button.add_client' => 'aggiungi cliente', -'button.add' => 'add', -'button.generate' => 'genera', +'button.add_user' => 'Aggiungi utente', +'button.add_project' => 'Aggiungi progetto', +// TODO: translate the following. +// 'button.add_task' => 'Add task', +'button.add_client' => 'Aggiungi cliente', +// TODO: translate the following. +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', +// 'button.add' => 'Add', +'button.generate' => 'Genera', // Note to translators: button.reset_password needs an improved translation. // 'button.reset_password' => 'reset password', 'button.send' => 'invia', diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index bd9a7d05..7e07f62f 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -115,8 +115,12 @@ $i18n_key_words = array( // TODO: improve translation of all button.add... strings. 'button.add_user' => '新規ユーザーの追加', 'button.add_project' => '新規プロジェクトの追加', -'button.add_activity' => '新規活動内容の追加', +// TODO: translate the following. +// 'button.add_task' => 'Add task', 'button.add_client' => '新規クライアントの追加', +// TODO: translate the following. +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', 'button.add' => '追加', 'button.generate' => '生成', // Note to translators: button.reset_password needs an improved translation. diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index abbd7437..a942fd9e 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -109,11 +109,15 @@ $i18n_key_words = array( 'button.delete' => '삭제', 'button.cancel' => '취소', 'button.submit' => '발송', -// TODO: impprove translation of all button.add strings. +// TODO: improve translation of all button.add strings. 'button.add_user' => '신규 사용자 추가', 'button.add_project' => '신규 프로젝트 추가', -'button.add_activity' => '신규 활동내용 추가', +// TODO: translate the following. +// 'button.add_task' => 'Add task', 'button.add_client' => '신규 클라이언트 추가', +// TODO: translate the following. +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', 'button.add' => '추가', 'button.generate' => '생성', // Note to translators: button.reset_password needs an improved translation. diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index 958c0150..75979992 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -110,8 +110,12 @@ $i18n_key_words = array( // 'button.submit' => 'Registrer', 'button.add_user' => 'Legg til bruker', 'button.add_project' => 'Legg til prosjekt', -'button.add_activity' => 'Legg til aktivitet', +// TODO: translate the following. +// 'button.add_task' => 'Add task', 'button.add_client' => 'Legg til klient', +// TODO: translate the following. +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', 'button.add' => 'Legg til', 'button.generate' => 'Generer', 'button.reset_password' => 'Resett passord', diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index 91519681..fa8b662c 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -101,17 +101,21 @@ $i18n_key_words = array( // 'error.goto_uncompleted' => 'go to uncompleted entry.', // Labels for buttons. -'button.login' => 'login', -'button.now' => 'hoje', -'button.save' => 'salvar', -'button.delete' => 'apagar', -'button.cancel' => 'cancelar', -'button.submit' => 'submeter', -// Note to translators: 'button.add_user' => 'add user', // the string must be translated -'button.add_project' => 'adicionar projeto', -'button.add_activity' => 'adicionar atividade', -// 'button.add_client' => 'add client', // TODO: translate this. -'button.add' => 'adicionar', +'button.login' => 'Login', +'button.now' => 'Hoje', +'button.save' => 'Salvar', +'button.delete' => 'Apagar', +'button.cancel' => 'Cancelar', +'button.submit' => 'Submeter', +// TODO: translate the following. +// 'button.add_user' => 'Add user', +'button.add_project' => 'Adicionar projeto', +// TODO: translate the following. +// 'button.add_task' => 'Add task', +// 'button.add_client' => 'Add client', +// 'button.add_invoice' => 'Add invoice', +// 'button.add_option' => 'Add option', +'button.add' => 'Adicionar', // Note to translators: strings below need to be translated. // 'button.generate' => 'generate', // 'button.reset_password' => 'reset password', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 20f755b5..3d0d6202 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.5.3790 | Copyright © Anuko | +  Anuko Time Tracker 1.17.5.3791 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1