From e519afce092be6ee6d08516ca5d6b5e31de88006 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Wed, 7 Feb 2018 18:45:48 +0000 Subject: [PATCH] More recycling in Chinese files. --- WEB-INF/resources/zh-cn.lang.php | 30 ++++++++++++------------------ WEB-INF/resources/zh-tw.lang.php | 32 +++++++++++++------------------- WEB-INF/templates/footer.tpl | 2 +- 3 files changed, 26 insertions(+), 38 deletions(-) diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index d419097f..43074f6f 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -317,19 +317,20 @@ $i18n_key_words = array( // TODO: translate the following. // 'dropdown.all' => '--- all ---', // 'dropdown.no' => '--- no ---', -// 'dropdown.current_day' => 'today', -// 'dropdown.previous_day' => 'yesterday', -// 'dropdown.selected_day' => 'day', -// 'dropdown.current_week' => 'this week', -// 'dropdown.previous_week' => 'previous week', -// 'dropdown.selected_week' => 'week', -// 'dropdown.current_month' => 'this month', -// 'dropdown.previous_month' => 'previous month', -// 'dropdown.selected_month' => 'month', -// 'dropdown.current_year' => 'this year', +'dropdown.current_day' => '今天', +'dropdown.previous_day' => '昨天', +'dropdown.selected_day' => '天', +'dropdown.current_week' => '本周', +'dropdown.previous_week' => '上周', +'dropdown.selected_week' => '周', +'dropdown.current_month' => '本月', +'dropdown.previous_month' => '上个月', // TODO: is this correct? Not 上月? +'dropdown.selected_month' => '月', +'dropdown.current_year' => '今年', +// TODO: translate the following. // 'dropdown.previous_year' => 'previous year', // 'dropdown.selected_year' => 'year', -// 'dropdown.all_time' => 'all time', +'dropdown.all_time' => '全部时间', 'dropdown.projects' => '项目', // TODO: translate the following. // 'dropdown.tasks' => 'tasks', @@ -556,11 +557,4 @@ $i18n_key_words = array( "controls.project_bind" => '--- 全部 ---', "controls.all" => '--- 全部 ---', "controls.notbind" => '--- 无 ---', -"controls.per_tm" => '本月', -"controls.per_lm" => '上个月', -"controls.per_tw" => '本周', -"controls.per_lw" => '上周', -"controls.per_td" => '今天', -"controls.per_at" => '全部时间', -"controls.per_ty" => '今年', ); diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index 8d21eb2e..0cf020d7 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -326,19 +326,20 @@ $i18n_key_words = array( // TODO: translate the following. // 'dropdown.all' => '--- all ---', // 'dropdown.no' => '--- no ---', -// 'dropdown.current_day' => 'today', -// 'dropdown.previous_day' => 'yesterday', -// 'dropdown.selected_day' => 'day', -// 'dropdown.current_week' => 'this week', -// 'dropdown.previous_week' => 'previous week', -// 'dropdown.selected_week' => 'week', -// 'dropdown.current_month' => 'this month', -// 'dropdown.previous_month' => 'previous month', -// 'dropdown.selected_month' => 'month', -// 'dropdown.current_year' => 'this year', +'dropdown.current_day' => '今天', +'dropdown.previous_day' => '昨天', +'dropdown.selected_day' => '天', +'dropdown.current_week' => '本周', +'dropdown.previous_week' => '上周', +'dropdown.selected_week' => '周', +'dropdown.current_month' => '本月', +'dropdown.previous_month' => '上個月', // TODO: is this corrtect? Not 上月? +'dropdown.selected_month' => '月', +'dropdown.current_year' => '今年', +// TODO: translate the following. // 'dropdown.previous_year' => 'previous year', -// 'dropdown.selected_year' => 'year', -// 'dropdown.all_time' => 'all time', +'dropdown.selected_year' => '年', +'dropdown.all_time' => '全部時間', 'dropdown.projects' => '項目', // TODO: translate the following. // 'dropdown.tasks' => 'tasks', @@ -566,11 +567,4 @@ $i18n_key_words = array( "controls.project_bind" => '--- 全部 ---', "controls.all" => '--- 全部 ---', "controls.notbind" => '--- 無 ---', -"controls.per_tm" => '本月', -"controls.per_lm" => '上個月', -"controls.per_tw" => '本周', -"controls.per_lw" => '上周', -"controls.per_td" => '今天', -"controls.per_at" => '全部時間', -"controls.per_ty" => '今年', ); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index fb74544d..1009cc7f 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.12.3937 | Copyright © Anuko | +  Anuko Time Tracker 1.17.12.3938 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1