From e6a5318c80b00b6337dd935fcb1e292ce3bf3bcb Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Tue, 6 Feb 2018 15:08:18 +0000 Subject: [PATCH] More recycling in translations. --- WEB-INF/resources/ja.lang.php | 26 +++---------------------- WEB-INF/resources/ko.lang.php | 33 ++++++++++---------------------- WEB-INF/resources/no.lang.php | 36 ++++++++++------------------------- WEB-INF/resources/pt.lang.php | 31 ++++++++++-------------------- WEB-INF/resources/ro.lang.php | 32 +++++++++---------------------- WEB-INF/templates/footer.tpl | 2 +- 6 files changed, 43 insertions(+), 117 deletions(-) diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 6e276005..c880e3c0 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -279,10 +279,10 @@ $i18n_key_words = array( // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', 'title.projects' => 'プロジェクト', +'title.add_project' => 'プロジェクトの追加', +'title.edit_project' => 'プロジェクトの編集', +'title.delete_project' => 'プロジェクトの削除', // TODO: translate the following. -// 'title.add_project' => 'Adding Project', -// 'title.edit_project' => 'Editing Project', -// 'title.delete_project' => 'Deleting Project', // 'title.tasks' => 'Tasks', // 'title.add_task' => 'Adding Task', // 'title.edit_task' => 'Editing Task', @@ -440,13 +440,11 @@ $i18n_key_words = array( "form.mytime.del_str" => '時間レコードの削除', "form.mytime.time_form" => ' (hh:mm)', "form.mytime.date" => '日付', -"form.mytime.project" => 'プロジェクト', "form.mytime.start" => '開始', "form.mytime.finish" => '終了', "form.mytime.duration" => '期間', "form.mytime.daily" => '日課', "form.mytime.total" => '合計時間: ', -"form.mytime.th.project" => 'プロジェクト', "form.mytime.th.start" => '開始', "form.mytime.th.finish" => '終了', "form.mytime.th.duration" => '期間', @@ -475,7 +473,6 @@ $i18n_key_words = array( "form.people.del_str" => 'ユーザーの削除', "form.people.th.login" => 'ログインID', "form.people.th.role" => 'ルール', -"form.people.th.project" => 'プロジェクト', "form.people.th.rate" => '給料', "form.people.manager" => '管理者', "form.people.comanager" => '共同管理者', @@ -484,21 +481,6 @@ $i18n_key_words = array( "form.people.rate" => 'デフォルト時間当り給料', "form.people.comanager" => '共同管理者', -"form.people.projects" => 'プロジェクト', - -// projects form attributes -"form.project.proj_title" => 'プロジェクト', -"form.project.edit_str" => 'プロジェクトの編集', -"form.project.add_str" => '新規プロジェクトの追加', -"form.project.del_str" => 'プロジェクトの削除', - -// activities form attributes -"form.activity.act_title" => '活動内容', -"form.activity.add_title" => '新規活動内容の追加', -"form.activity.edit_str" => '活動内容の編集', -"form.activity.del_str" => '活動内容の削除', -"form.activity.project" => 'プロジェクト', -"form.activity.th.project" => 'プロジェクト', // report attributes "form.report.title" => 'レポート', @@ -509,12 +491,10 @@ $i18n_key_words = array( "form.report.duration" => '期間', "form.report.start" => '開始', "form.report.finish" => '終了', -"form.report.project" => 'プロジェクト', "form.report.totals_only" => '全体だけ', "form.report.total" => '合計時間', "form.report.th.empllist" => 'ユーザー', "form.report.th.date" => '日付', -"form.report.th.project" => 'プロジェクト', "form.report.th.start" => '開始', "form.report.th.finish" => '終了', "form.report.th.duration" => '期間', diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index 483e4572..de56e6d8 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -170,8 +170,9 @@ $i18n_key_words = array( // 'label.clients' => 'Clients', // 'label.option' => 'Option', // 'label.invoice' => 'Invoice', -// 'label.project' => 'Project', -// 'label.projects' => 'Projects', +'label.project' => '프로젝트', +'label.projects' => '프로젝트', +// TODO: translate the following. // 'label.task' => 'Task', // 'label.tasks' => 'Tasks', // 'label.description' => 'Description', @@ -278,10 +279,11 @@ $i18n_key_words = array( // 'title.invoice' => 'Invoice', // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', -// 'title.projects' => 'Projects', -// 'title.add_project' => 'Adding Project', -// 'title.edit_project' => 'Editing Project', -// 'title.delete_project' => 'Deleting Project', +'title.projects' => '프로젝트', +'title.add_project' => '프로젝트를 추가하기', +'title.edit_project' => '프로젝트를 편집하기', +'title.delete_project' => '프로젝트를 편집하기', +// TODO: translate the following. // 'title.tasks' => 'Tasks', // 'title.add_task' => 'Adding Task', // 'title.edit_task' => 'Editing Task', @@ -338,7 +340,8 @@ $i18n_key_words = array( // 'dropdown.previous_year' => 'previous year', // 'dropdown.selected_year' => 'year', // 'dropdown.all_time' => 'all time', -// 'dropdown.projects' => 'projects', +'dropdown.projects' => '프로젝트', +// TODO: translate the following. // 'dropdown.tasks' => 'tasks', // 'dropdown.clients' => 'clients', // 'dropdown.select' => '--- select ---', @@ -408,7 +411,6 @@ $i18n_key_words = array( // TODO: refactoring ongoing down from here. -"form.filter.project" => '프로젝트', "form.filter.filter" => '좋아하는 보고서', "form.filter.filter_new" => '좋아하는 것으로 저장', @@ -441,13 +443,11 @@ $i18n_key_words = array( "form.mytime.del_str" => '시간기록을 삭제하기', "form.mytime.time_form" => ' (hh:mm)', "form.mytime.date" => '날짜', -"form.mytime.project" => '프로젝트', "form.mytime.start" => '시작', "form.mytime.finish" => '마감', "form.mytime.duration" => '기간', "form.mytime.daily" => '하루일과', "form.mytime.total" => '전체 시간: ', -"form.mytime.th.project" => '프로젝트', "form.mytime.th.start" => '시작', "form.mytime.th.finish" => '마감', "form.mytime.th.duration" => '기간', @@ -475,7 +475,6 @@ $i18n_key_words = array( "form.people.del_str" => '사용자를 삭제하기', "form.people.th.login" => '로그인ID', "form.people.th.role" => '직위', -"form.people.th.project" => '프로젝트', "form.people.th.rate" => '급여', "form.people.manager" => '관리자', "form.people.comanager" => '공동관리자', @@ -484,16 +483,6 @@ $i18n_key_words = array( "form.people.rate" => '디폴트 시간당 급여', "form.people.comanager" => '공동관리자', -"form.people.projects" => '프로젝트', - -// projects form attributes -"form.project.proj_title" => '프로젝트', -"form.project.edit_str" => '프로젝트를 편집하기', -"form.project.add_str" => '신규 프로젝트를 추가하기', -"form.project.del_str" => '프로젝트를 삭제하기', - -// activities form attributes -"form.activity.project" => '프로젝트', // report attributes "form.report.title" => '보고서', @@ -504,12 +493,10 @@ $i18n_key_words = array( "form.report.duration" => '기간', "form.report.start" => '시작', "form.report.finish" => '마감', -"form.report.project" => '프로젝트', "form.report.totals_only" => '오직 전체만', "form.report.total" => '시간 총합', "form.report.th.empllist" => '사용자', "form.report.th.date" => '날짜', -"form.report.th.project" => '프로젝트', "form.report.th.start" => '시작', "form.report.th.finish" => '마감', "form.report.th.duration" => '기간', diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index 9c7e68b2..22e40361 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -169,8 +169,9 @@ $i18n_key_words = array( // 'label.clients' => 'Clients', // 'label.option' => 'Option', // 'label.invoice' => 'Invoice', -// 'label.project' => 'Project', -// 'label.projects' => 'Projects', +'label.project' => 'Prosjekt', +'label.projects' => 'Prosjekter', +// TODO: translate the following. // 'label.task' => 'Task', // 'label.tasks' => 'Tasks', // 'label.description' => 'Description', @@ -271,10 +272,11 @@ $i18n_key_words = array( // 'title.invoice' => 'Invoice', // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', -// 'title.projects' => 'Projects', -// 'title.add_project' => 'Adding Project', -// 'title.edit_project' => 'Editing Project', -// 'title.delete_project' => 'Deleting Project', +'title.projects' => 'Prosjekter', +'title.add_project' => 'Legg til prosjekt', +'title.edit_project' => 'Endre prosjekt', +'title.delete_project' => 'Slett prosjekt', +// TODO: translate the following. // 'title.tasks' => 'Tasks', // 'title.add_task' => 'Adding Task', // 'title.edit_task' => 'Editing Task', @@ -331,7 +333,8 @@ $i18n_key_words = array( // 'dropdown.previous_year' => 'previous year', // 'dropdown.selected_year' => 'year', // 'dropdown.all_time' => 'all time', -// 'dropdown.projects' => 'projects', +'dropdown.projects' => 'prosjekter', +// TODO: translate the following. // 'dropdown.tasks' => 'tasks', // 'dropdown.clients' => 'clients', // 'dropdown.select' => '--- select ---', @@ -402,7 +405,6 @@ $i18n_key_words = array( // TODO: Please check the translation against the current English file as many things are being refactored. For example, many labels have been added after label.email. -// "form.filter.project" => 'prosjekt', // "form.filter.filter" => 'favorittrapport', // "form.filter.filter_new" => 'lagre som favoritt', @@ -437,13 +439,11 @@ $i18n_key_words = array( "form.mytime.del_str" => 'slett tids oppføringen', "form.mytime.time_form" => ' (tt:mm)', // Note to translators: "form.mytime.date" => 'dato', // the string must be translated -"form.mytime.project" => 'prosjekt', "form.mytime.start" => 'starttid', "form.mytime.finish" => 'ferdig', "form.mytime.duration" => 'varighet', "form.mytime.daily" => 'daglig arbeide', "form.mytime.total" => 'totalt antall timer: ', -"form.mytime.th.project" => 'prosjekt', "form.mytime.th.start" => 'starttid', "form.mytime.th.finish" => 'ferdig', "form.mytime.th.duration" => 'varighet', @@ -475,27 +475,13 @@ $i18n_key_words = array( "form.people.th.login" => 'innlogging', "form.people.th.role" => 'rolle', // Note to translators: the 2 strings below are missing and must be added and translated -// "form.people.th.project" => 'prosjekt', // "form.people.th.rate" => 'timesats', // Note to translators: the strings below must be correctly translated // "form.people.manager" => 'admin', // "form.people.comanager" => 'co-manager', "form.people.empl" => 'bruker', "form.people.login" => 'innlogging', - "form.people.rate" => 'timesats', -// Note to translators: the strings below are missing and must be added and translated -// "form.people.comanager" => 'co-manager', -// "form.people.projects" => 'prosjekter', - -// projects form attributes -"form.project.proj_title" => 'prosjekter', -"form.project.edit_str" => 'endre prosjekt', -"form.project.add_str" => 'legg til nytt prosjekt', -"form.project.del_str" => 'slett prosjekt', - -// activities form attributes -"form.activity.project" => 'prosjekt', // report attributes "form.report.title" => 'rapporter', @@ -506,13 +492,11 @@ $i18n_key_words = array( "form.report.duration" => 'varighet', "form.report.start" => 'starttid', "form.report.finish" => 'ferdig', -"form.report.project" => 'prosjekt', // Note to translators: the strings below must be translated // "form.report.totals_only" => 'kun summer', "form.report.total" => 'totalt antall timer', "form.report.th.empllist" => 'bruker', "form.report.th.date" => 'dato', -"form.report.th.project" => 'prosjekt', "form.report.th.start" => 'starttid', "form.report.th.finish" => 'ferdig', "form.report.th.duration" => 'varighet', diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index 647ac8ed..1a3c5e56 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -163,8 +163,9 @@ $i18n_key_words = array( // 'label.clients' => 'Clients', // 'label.option' => 'Option', // 'label.invoice' => 'Invoice', -// 'label.project' => 'Project', -// 'label.projects' => 'Projects', +'label.project' => 'Projeto', +'label.projects' => 'Projetos', +// TODO: translate the following. // 'label.task' => 'Task', // 'label.tasks' => 'Tasks', // 'label.description' => 'Description', @@ -265,10 +266,11 @@ $i18n_key_words = array( // 'title.invoice' => 'Invoice', // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', -// 'title.projects' => 'Projects', -// 'title.add_project' => 'Adding Project', -// 'title.edit_project' => 'Editing Project', -// 'title.delete_project' => 'Deleting Project', +'title.projects' => 'Projetos', +'title.add_project' => 'Adicionando projeto', +'title.edit_project' => 'Editando projeto', +'title.delete_project' => 'Apagando projeto', +// TODO: translate the following. // 'title.tasks' => 'Tasks', // 'title.add_task' => 'Adding Task', // 'title.edit_task' => 'Editing Task', @@ -325,7 +327,8 @@ $i18n_key_words = array( // 'dropdown.previous_year' => 'previous year', // 'dropdown.selected_year' => 'year', // 'dropdown.all_time' => 'all time', -// 'dropdown.projects' => 'projects', +'dropdown.projects' => 'projetos', +// TODO: translate the following. // 'dropdown.tasks' => 'tasks', // 'dropdown.clients' => 'clients', // 'dropdown.select' => '--- select ---', @@ -402,12 +405,10 @@ $i18n_key_words = array( // my time form attributes "form.mytime.title" => 'adicionar período', "form.mytime.date" => 'data', -"form.mytime.project" => 'projeto', "form.mytime.start" => 'início', "form.mytime.finish" => 'fim', "form.mytime.daily" => 'trabalho diário', "form.mytime.total" => 'horas totais: ', -"form.mytime.th.project" => 'projeto', "form.mytime.th.start" => 'início', "form.mytime.th.finish" => 'finish', "form.mytime.th.duration" => 'duração', @@ -428,15 +429,6 @@ $i18n_key_words = array( "form.people.manager" => 'gerente', "form.people.empl" => 'usuário', -// projects form attributes -"form.project.proj_title" => 'projetos', -"form.project.edit_str" => 'editando projeto', -"form.project.add_str" => 'adicionando novo projeto', -"form.project.del_str" => 'apagando projeto', - -// activities form attributes -"form.activity.project" => 'project', - // report attributes "form.report.title" => 'relatórios', "form.report.from" => 'data inicial', @@ -444,9 +436,6 @@ $i18n_key_words = array( "form.report.duration" => 'duração', "form.report.start" => 'início', "form.report.finish" => 'fim', -"form.report.project" => 'projeto', -// Note to translators: the string below is missing and must be added and translated -// "form.report.totals_only" => 'totals only', "form.report.total" => 'horas totais', "form.report.th.empllist" => 'usuário', // Note to translators: the strings below must be translated diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 9d4feff4..6d35e12b 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -173,8 +173,9 @@ $i18n_key_words = array( // 'label.clients' => 'Clients', // 'label.option' => 'Option', // 'label.invoice' => 'Invoice', -// 'label.project' => 'Project', -// 'label.projects' => 'Projects', +'label.project' => 'Proiect', +'label.projects' => 'Proiecte', +// TODO: translate the following. // 'label.task' => 'Task', // 'label.tasks' => 'Tasks', // 'label.description' => 'Description', @@ -276,10 +277,11 @@ $i18n_key_words = array( // 'title.invoice' => 'Invoice', // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', -// 'title.projects' => 'Projects', -// 'title.add_project' => 'Adding Project', -// 'title.edit_project' => 'Editing Project', -// 'title.delete_project' => 'Deleting Project', +'title.projects' => 'Proiecte', +'title.add_project' => 'Adaugare proiect', +'title.edit_project' => 'Editare proiect', +'title.delete_project' => 'Stergere proiect', +// TODO: translate the following. // 'title.tasks' => 'Tasks', // 'title.add_task' => 'Adding Task', // 'title.edit_task' => 'Editing Task', @@ -336,7 +338,7 @@ $i18n_key_words = array( // 'dropdown.previous_year' => 'previous year', // 'dropdown.selected_year' => 'year', // 'dropdown.all_time' => 'all time', -// 'dropdown.projects' => 'projects', +'dropdown.projects' => 'proiecte', // 'dropdown.tasks' => 'tasks', // 'dropdown.clients' => 'clients', // 'dropdown.select' => '--- select ---', @@ -404,7 +406,6 @@ $i18n_key_words = array( // TODO: refactoring ongoing down from here. -"form.filter.project" => 'proiect', "form.filter.filter" => 'rapoarte favorite', "form.filter.filter_new" => 'salveaza ca favorit', @@ -438,13 +439,11 @@ $i18n_key_words = array( "form.mytime.del_str" => 'stergerea inregistrarii timpului', "form.mytime.time_form" => ' (hh:mm)', "form.mytime.date" => 'data', -"form.mytime.project" => 'proiect', "form.mytime.start" => 'inceput', "form.mytime.finish" => 'sfarsit', "form.mytime.duration" => 'durata', "form.mytime.daily" => 'activitatea zilnica', "form.mytime.total" => 'ore total: ', -"form.mytime.th.project" => 'proiect', "form.mytime.th.start" => 'inceput', "form.mytime.th.finish" => 'sfarsit', "form.mytime.th.duration" => 'durata', @@ -462,7 +461,6 @@ $i18n_key_words = array( "form.people.edit_str" => 'editare utilizator', "form.people.del_str" => 'stergee utilizator', "form.people.th.role" => 'functie', -"form.people.th.project" => 'proiect', "form.people.th.rate" => 'rata', "form.people.manager" => 'manager', "form.people.comanager" => 'comanager', @@ -470,16 +468,6 @@ $i18n_key_words = array( "form.people.rate" => 'pret pe ora implicit', "form.people.comanager" => 'co-manager', -"form.people.projects" => 'proiecte', - -// projects form attributes -"form.project.proj_title" => 'proiecte', -"form.project.edit_str" => 'editare proiect', -"form.project.add_str" => 'adauagre proiect nou', -"form.project.del_str" => 'stergere proiect', - -// activities form attributes -"form.activity.project" => 'proiect', // report attributes "form.report.title" => 'rapoarte', @@ -490,12 +478,10 @@ $i18n_key_words = array( "form.report.duration" => 'durata', "form.report.start" => 'inceput', "form.report.finish" => 'sfarsit', -"form.report.project" => 'proiect', "form.report.totals_only" => 'numai totaluri', "form.report.total" => 'ore total', "form.report.th.empllist" => 'utilizator', "form.report.th.date" => 'data', -"form.report.th.project" => 'proiect', "form.report.th.start" => 'inceput', "form.report.th.finish" => 'sfarsit', "form.report.th.duration" => 'durata', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 0018fffb..cbefd28a 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.12.3908 | Copyright © Anuko | +  Anuko Time Tracker 1.17.12.3909 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1