Some cleanup and recycling.
[timetracker.git] / WEB-INF / resources / zh-cn.lang.php
index 8d52257..a0b9cd9 100644 (file)
@@ -172,7 +172,8 @@ $i18n_key_words = array(
 // 'label.day_total' => 'Day total',
 // 'label.week_total' => 'Week total',
 // 'label.month_total' => 'Month total',
-// 'label.today' => 'Today',
+'label.today' => '今天',
+// TODO: translate the following.
 // 'label.total_hours' => 'Total hours',
 // 'label.total_cost' => 'Total cost',
 // 'label.view' => 'View',
@@ -202,10 +203,10 @@ $i18n_key_words = array(
 // 'label.error' => 'Error',
 // 'label.ldap_hint' => 'Type your <b>Windows login</b> and <b>password</b> in the fields below.',
 // 'label.required_fields' => '* - required fields',
-// 'label.on_behalf' => 'on behalf of',
-// 'label.role_manager' => '(manager)',
-// 'label.role_comanager' => '(co-manager)',
-// 'label.role_admin' => '(administrator)',
+'label.on_behalf' => '代表',
+'label.role_manager' => '(经理)',
+'label.role_comanager' => '(合作经理人)',
+'label.role_admin' => '(管理员)',
 'label.page' => '页码',
 // TODO: translate the following.
 // 'label.condition' => 'Condition',
@@ -227,21 +228,18 @@ $i18n_key_words = array(
 // 'label.paid_status' => 'Paid status',
 // 'label.paid' => 'Paid',
 // 'label.mark_paid' => 'Mark paid',
+// 'label.week_note' => 'Week note',
+// 'label.week_list' => 'Week list',
 
 // Form titles.
-// 'title.login' => 'Login',
 // TODO: translate the following.
+// 'title.login' => 'Login',
 // 'title.teams' => 'Teams',
 // 'title.create_team' => 'Creating Team',
 // 'title.edit_team' => 'Editing Team',
 // 'title.delete_team' => 'Deleting Team',
-
-
-
-// TODO: refactoring ongoing down from here.
-
-// Form titles.
-// 'title.reset_password' => 'Resetting Password',
+'title.reset_password' => '重设密码',
+// TODO: translate the following.
 // 'title.change_password' => 'Changing Password',
 // 'title.time' => 'Time',
 // 'title.edit_time_record' => 'Editing Time Record',
@@ -283,7 +281,7 @@ $i18n_key_words = array(
 // 'title.add_notification' => 'Adding Notification',
 // 'title.edit_notification' => 'Editing Notification',
 // 'title.delete_notification' => 'Deleting Notification',
-//  'title.monthly_quotas' => 'Monthly Quotas',
+// 'title.monthly_quotas' => 'Monthly Quotas',
 // 'title.export' => 'Exporting Team Data',
 // 'title.import' => 'Importing Team Data',
 // 'title.options' => 'Options',
@@ -296,12 +294,97 @@ $i18n_key_words = array(
 // 'title.cf_add_dropdown_option' => 'Adding Option',
 // 'title.cf_edit_dropdown_option' => 'Editing Option',
 // 'title.cf_delete_dropdown_option' => 'Deleting Option',
-// // NOTE TO TRANSLATORS: Locking is a feature to lock records from modifications (ex: weekly on Mondays we lock all previous weeks).
-// // It is also a name for the Locking plugin on the Team profile page.
+// NOTE TO TRANSLATORS: Locking is a feature to lock records from modifications (ex: weekly on Mondays we lock all previous weeks).
+// It is also a name for the Locking plugin on the Team profile page.
 // 'title.locking' => 'Locking',
+// 'title.week_view' => 'Week View',
+
+// Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
+// Strings that are used in a single form must go to the specific form section.
+// 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.previous_year' => 'previous year',
+// 'dropdown.selected_year' => 'year',
+// 'dropdown.all_time' => 'all time',
+// 'dropdown.projects' => 'projects',
+// 'dropdown.tasks' => 'tasks',
+// 'dropdown.clients' => 'clients',
+// 'dropdown.select' => '--- select ---',
+// 'dropdown.select_invoice' => '--- select invoice ---',
+// 'dropdown.status_active' => 'active',
+// 'dropdown.status_inactive' => 'inactive',
+// 'dropdown.delete'=>'delete',
+// 'dropdown.do_not_delete'=>'do not delete',
+// 'dropdown.paid' => 'paid',
+// 'dropdown.not_paid' => 'not paid',
+
+// Login form. See example at https://timetracker.anuko.com/login.php.
+// TODO: translate the following.
+// 'form.login.forgot_password' => 'Forgot password?',
+// 'form.login.about' =>'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> is a simple, easy to use, open source time tracking system.',
+
+// Resetting Password form. See example at https://timetracker.anuko.com/password_reset.php.
+// TODO: translate the following.
+// 'form.reset_password.message' => 'Password reset request sent by email.',
+// 'form.reset_password.email_subject' => 'Anuko Time Tracker password reset request',
+// 'form.reset_password.email_body' => "Dear User,\n\nSomeone, possibly you, requested your Anuko Time Tracker password reset. Please visit this link if you want to reset your password.\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
+
+// Changing Password form. See example at https://timetracker.anuko.com/password_change.php?ref=1.
+// TODO: translate the following.
+// 'form.change_password.tip' => 'Type new password and click on Save.',
+
+// Time form. See example at https://timetracker.anuko.com/time.php.
+// TODO: translate the following.
+// 'form.time.duration_format' => '(hh:mm or 0.0h)',
+// 'form.time.billable' => 'Billable',
+// 'form.time.uncompleted' => 'Uncompleted',
+// 'form.time.remaining_quota' => 'Remaining quota',
+// 'form.time.over_quota' => 'Over quota',
+
+// Editing Time Record form. See example at https://timetracker.anuko.com/time_edit.php (get there by editing an uncompleted time record).
+// TODO: translate the following.
+// 'form.time_edit.uncompleted' => 'This record was saved with only start time. It is not an error.',
 
+// Week view form. See example at https://timetracker.anuko.com/week.php.
+// TODO: translate the following.
+// '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.confirm_delete' => '您确认要删除收藏的这个报告吗?',
+// TODO: translate the following.
+// 'form.reports.include_billable' => 'billable',
+// 'form.reports.include_not_billable' => 'not billable',
+// 'form.reports.include_invoiced' => 'invoiced',
+// 'form.reports.include_not_invoiced' => 'not invoiced',
+// 'form.reports.select_period' => 'Select time period',
+// 'form.reports.set_period' => 'or set dates',
+// 'form.reports.show_fields' => 'Show fields',
+// 'form.reports.group_by' => 'Group by',
+// 'form.reports.group_by_no' => '--- no grouping ---',
+// '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_task' => 'task',
+// 'form.reports.totals_only' => 'Totals only',
 
 
+
+// TODO: refactoring ongoing down from here.
+
 // TODO: everything below needs serious work and be synchronized with the master English file.
 // For example, form.filter.project property no longer exists, and so on.
 
@@ -309,7 +392,6 @@ $i18n_key_words = array(
 "form.filter.project" => '项目',
 "form.filter.filter" => '收藏的报告',
 "form.filter.filter_new" => '保存到我的收藏夹',
-"form.filter.filter_confirm_delete" => '您确认要删除收藏的这个报告吗?',
 
 // login form attributes
 "form.login.title" => '登录',
@@ -349,16 +431,13 @@ $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" => '持续时间',
 "form.mytime.note" => '备注',
-"form.mytime.behalf" => '每日工作,人员:',
 "form.mytime.daily" => '每日工作',
 "form.mytime.total" => '总小时数: ',
 "form.mytime.th.project" => '项目',
-"form.mytime.th.activity" => '活动',
 "form.mytime.th.start" => '开始',
 "form.mytime.th.finish" => '结束',
 "form.mytime.th.duration" => '持续时间',
@@ -436,11 +515,8 @@ $i18n_key_words = array(
 "form.report.to" => '结束日期',
 "form.report.groupby_user" => '用户',
 "form.report.groupby_project" => '项目',
-"form.report.groupby_activity" => '活动',
 "form.report.duration" => '持续时间',
 "form.report.start" => '开始',
-"form.report.activity" => '活动',
-"form.report.show_idle" => '显示空闲',
 "form.report.finish" => '结束',
 "form.report.note" => '备注',
 "form.report.project" => '项目',
@@ -449,7 +525,6 @@ $i18n_key_words = array(
 "form.report.th.empllist" => '用户',
 "form.report.th.date" => '日期',
 "form.report.th.project" => '项目',
-"form.report.th.activity" => '活动',
 "form.report.th.start" => '开始',
 "form.report.th.finish" => '结束',
 "form.report.th.duration" => '持续时间',
@@ -540,14 +615,6 @@ $i18n_key_words = array(
 "label.chart.title2" => '项目用户',
 "label.chart.period" => '图表期限',
 
-"label.pinfo" => '%s, %s',
-"label.pinfo2" => '%s',
-"label.pbehalf_info" => '%s %s <b>代表%s</b>',
-"label.pminfo" => ' (经理)',
-"label.pcminfo" => ' (合作经理人)',
-"label.painfo" => ' (管理员)',
-"label.time_noentry" => '没有条目',
-"label.today" => '今天',
 "label.req_fields" => '* 必填栏目',
 "label.sel_project" => '选择项目',
 "label.sel_activity" => '选择活动',
@@ -563,7 +630,6 @@ $i18n_key_words = array(
 "label.or" => '或',
 "label.disable" => '禁用',
 "label.enable" => '启用',
-"label.filter" => '过滤器',
 "label.timeweek" => '一周总计',
 "label.hrs" => '小时',
 "label.errors" => '错误',