From 7d955163ec01fc748d8618224ff777b1b7866593 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sat, 3 Feb 2018 23:34:28 +0000 Subject: [PATCH] Some cleanup and recycling. --- WEB-INF/resources/ca.lang.php | 1 - WEB-INF/resources/cs.lang.php | 1 - WEB-INF/resources/et.lang.php | 1 - WEB-INF/resources/hu.lang.php | 21 ++++++++++----------- WEB-INF/resources/ja.lang.php | 25 ++++++++++++------------- WEB-INF/resources/ro.lang.php | 1 - WEB-INF/resources/tr.lang.php | 1 - WEB-INF/resources/zh-cn.lang.php | 1 - WEB-INF/resources/zh-tw.lang.php | 1 - WEB-INF/templates/footer.tpl | 2 +- 10 files changed, 23 insertions(+), 32 deletions(-) diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index 4510e407..21654562 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -412,7 +412,6 @@ $i18n_key_words = array( "form.mytime.time_form" => ' (hh:mm)', "form.mytime.date" => 'Data', "form.mytime.project" => 'Projecte', -"form.mytime.activity" => 'Activitat', "form.mytime.start" => 'Inici', "form.mytime.finish" => 'Fi', "form.mytime.duration" => 'Durada', diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index 882c0883..560bfbeb 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -435,7 +435,6 @@ $i18n_key_words = array( // Note to translators: "form.mytime.time_form" => ' (hh:mm)', // the string must be translated "form.mytime.date" => 'datum', "form.mytime.project" => 'projekt', -"form.mytime.activity" => 'činnost', "form.mytime.start" => 'začátek', "form.mytime.finish" => 'konec', "form.mytime.duration" => 'trvání', diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index 63b388fd..5889aa99 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -436,7 +436,6 @@ $i18n_key_words = array( // "form.mytime.time_form" => ' (hh:mm)', "form.mytime.date" => 'kuupäev', "form.mytime.project" => 'projekt', -"form.mytime.activity" => 'tegevus', "form.mytime.start" => 'algus', "form.mytime.finish" => 'lõpp', "form.mytime.duration" => 'kestus', diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 5b7ff8d4..e3936e9b 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -171,8 +171,8 @@ $i18n_key_words = array( // 'label.option' => 'Option', // 'label.invoice' => 'Invoice', 'label.project' => 'Projekt', +'label.projects' => 'Projektek', // TODO: translate the following. -// 'label.projects' => 'Projects', // 'label.task' => 'Task', // 'label.tasks' => 'Tasks', // 'label.description' => 'Description', @@ -234,7 +234,8 @@ $i18n_key_words = array( // 'label.type_dropdown' => 'dropdown', // 'label.type_text' => 'text', // 'label.required' => 'Required', -// 'label.fav_report' => 'Favorite report', +'label.fav_report' => 'Előre definiált riport formátum', +// TODO: translate the following. // 'label.cron_schedule' => 'Cron schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', @@ -271,7 +272,8 @@ $i18n_key_words = array( // 'title.invoice' => 'Invoice', // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', -// 'title.projects' => 'Projects', +'title.projects' => 'Projektek', +// TODO: translate the following. // 'title.add_project' => 'Adding Project', // 'title.edit_project' => 'Editing Project', // 'title.delete_project' => 'Deleting Project', @@ -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' => 'projektek', +// TODO: translate the following. // 'dropdown.tasks' => 'tasks', // 'dropdown.clients' => 'clients', // 'dropdown.select' => '--- select ---', @@ -375,8 +378,8 @@ $i18n_key_words = array( // 'form.week.new_entry' => 'New entry', // Reports form. See example at https://timetracker.anuko.com/reports.php +'form.reports.save_as_favorite' => 'Mentsük el ezt a riport formátumot', // TODO: translate the following. -// 'form.reports.save_as_favorite' => 'Save as favorite', // 'form.reports.confirm_delete' => 'Are you sure you want to delete this favorite report?', // 'form.reports.include_billable' => 'billable', // 'form.reports.include_not_billable' => 'not billable', @@ -390,7 +393,8 @@ $i18n_key_words = array( // 'form.reports.group_by_date' => 'date', // 'form.reports.group_by_user' => 'user', // 'form.reports.group_by_client' => 'client', -// 'form.reports.group_by_project' => 'project', +'form.reports.group_by_project' => 'projekt', +// TODO: translate the following. // 'form.reports.group_by_task' => 'task', // 'form.reports.totals_only' => 'Totals only', @@ -398,10 +402,6 @@ $i18n_key_words = array( // TODO: refactoring ongoing down from here. -"form.filter.project" => 'projekt', -"form.filter.filter" => 'előre definiált riport formátum', -"form.filter.filter_new" => 'mentsük el ezt a riport formátumot', - // password reminder form attributes "form.fpass.send_pass_str" => 'jelszó alap állapotra állítása megkezdve', "form.fpass.send_pass_subj" => 'A jelszó alap állapotra állítása a Anuko TimeTracker-ben', @@ -426,7 +426,6 @@ $i18n_key_words = array( "form.mytime.time_form" => ' (óó:pp)', "form.mytime.date" => 'dátum', "form.mytime.project" => 'projekt', -"form.mytime.activity" => 'tevékenység', "form.mytime.start" => 'kezdete', "form.mytime.finish" => 'vége', "form.mytime.duration" => 'hossz', diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 921de273..51c1d33f 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.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' => 'プロジェクト', +'label.projects' => 'プロジェクト', +// TODO: translate the following. // 'label.task' => 'Task', // 'label.tasks' => 'Tasks', // 'label.description' => 'Description', @@ -234,7 +235,8 @@ $i18n_key_words = array( // 'label.type_dropdown' => 'dropdown', // 'label.type_text' => 'text', // 'label.required' => 'Required', -// 'label.fav_report' => 'Favorite report', +'label.fav_report' => 'お気に入りレポート', +// TODO: translate the following. // 'label.cron_schedule' => 'Cron schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', @@ -271,7 +273,8 @@ $i18n_key_words = array( // 'title.invoice' => 'Invoice', // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', -// 'title.projects' => 'Projects', +'title.projects' => 'プロジェクト', +// TODO: translate the following. // 'title.add_project' => 'Adding Project', // 'title.edit_project' => 'Editing Project', // 'title.delete_project' => 'Deleting Project', @@ -331,7 +334,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 ---', @@ -375,8 +379,7 @@ $i18n_key_words = array( // 'form.week.new_entry' => 'New entry', // Reports form. See example at https://timetracker.anuko.com/reports.php -// TODO: translate the following. -// 'form.reports.save_as_favorite' => 'Save as favorite', +'form.reports.save_as_favorite' => 'お気に入りに保存', 'form.reports.confirm_delete' => 'このお気に入りレポートを削除しますか?', // TODO: translate the following. // 'form.reports.include_billable' => 'billable', @@ -391,7 +394,8 @@ $i18n_key_words = array( // 'form.reports.group_by_date' => 'date', // 'form.reports.group_by_user' => 'user', // 'form.reports.group_by_client' => 'client', -// 'form.reports.group_by_project' => 'project', +'form.reports.group_by_project' => 'プロジェクト', +// TODO: translate the following. // 'form.reports.group_by_task' => 'task', // 'form.reports.totals_only' => 'Totals only', @@ -399,10 +403,6 @@ $i18n_key_words = array( // TODO: refactoring ongoing down from here. -"form.filter.project" => 'プロジェクト', -"form.filter.filter" => 'お気に入りレポート', -"form.filter.filter_new" => 'お気に入りに保存', - // password reminder form attributes "form.fpass.login" => 'ログイン', "form.fpass.send_pass_str" => '送信したパスワードの初期化の要求', @@ -433,7 +433,6 @@ $i18n_key_words = array( "form.mytime.time_form" => ' (hh:mm)', "form.mytime.date" => '日付', "form.mytime.project" => 'プロジェクト', -"form.mytime.activity" => '活動内容', "form.mytime.start" => '開始', "form.mytime.finish" => '終了', "form.mytime.duration" => '期間', diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 469ff52b..3dda8f32 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -434,7 +434,6 @@ $i18n_key_words = array( "form.mytime.time_form" => ' (hh:mm)', "form.mytime.date" => 'data', "form.mytime.project" => 'proiect', -"form.mytime.activity" => 'activitate', "form.mytime.start" => 'inceput', "form.mytime.finish" => 'sfarsit', "form.mytime.duration" => 'durata', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 97c75455..6c146d29 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -439,7 +439,6 @@ $i18n_key_words = array( "form.mytime.time_form" => ' (ss:dd)', "form.mytime.date" => 'tarih', "form.mytime.project" => 'proje', -"form.mytime.activity" => 'faaliyet', "form.mytime.start" => 'başlat', "form.mytime.finish" => 'tamamla', "form.mytime.duration" => 'süre', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 73f4b709..a0b9cd99 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -431,7 +431,6 @@ $i18n_key_words = array( "form.mytime.time_form" => ' (时:分)', "form.mytime.date" => '日期', "form.mytime.project" => '项目', -"form.mytime.activity" => '活动', "form.mytime.start" => '开始', "form.mytime.finish" => '结束', "form.mytime.duration" => '持续时间', diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index 5c53632f..cc92672f 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -430,7 +430,6 @@ $i18n_key_words = array( "form.mytime.time_form" => ' (時:分)', "form.mytime.date" => '日期', "form.mytime.project" => '項目', -"form.mytime.activity" => '活動', "form.mytime.start" => '開始', "form.mytime.finish" => '結束', "form.mytime.duration" => '持續時間', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 7d8c2a71..5750a92d 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.12.3880 | Copyright © Anuko | +  Anuko Time Tracker 1.17.12.3881 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1