Some more recycling in translation files.
[timetracker.git] / WEB-INF / resources / zh-cn.lang.php
index 365b352..0f9b858 100644 (file)
@@ -156,8 +156,7 @@ $i18n_key_words = array(
 'label.client' => '客户',
 'label.clients' => '客户',
 'label.option' => '选项',
-// TODO: translate the following.
-// 'label.invoice' => 'Invoice',
+'label.invoice' => '发票',
 'label.project' => '项目',
 'label.projects' => '项目',
 // TODO: translate the following.
@@ -185,8 +184,9 @@ $i18n_key_words = array(
 'label.delete' => '删除',
 // TODO: translate the following.
 // 'label.configure' => 'Configure',
-// 'label.select_all' => 'Select all',
-// 'label.select_none' => 'Deselect all',
+'label.select_all' => '全部选择',
+'label.select_none' => '全部不选',
+// TODO: translate the following.
 // 'label.day_view' => 'Day view',
 // 'label.week_view' => 'Week view',
 // 'label.id' => 'ID',
@@ -262,7 +262,8 @@ $i18n_key_words = array(
 // 'title.reports' => 'Reports',
 // 'title.report' => 'Report',
 // 'title.send_report' => 'Sending Report',
-// 'title.invoice' => 'Invoice',
+'title.invoice' => '发票',
+// TODO: translate the following.
 // 'title.send_invoice' => 'Sending Invoice',
 // 'title.charts' => 'Charts',
 'title.projects' => '项目',
@@ -283,7 +284,8 @@ $i18n_key_words = array(
 'title.add_client' => '添加客户',
 'title.edit_client' => '编辑客户',
 'title.delete_client' => '删除客户',
-// 'title.invoices' => 'Invoices',
+'title.invoices' => '发票',
+// TODO: translate the following.
 // 'title.add_invoice' => 'Adding Invoice',
 // 'title.view_invoice' => 'Viewing Invoice',
 // 'title.delete_invoice' => 'Deleting Invoice',
@@ -312,22 +314,22 @@ $i18n_key_words = array(
 
 // 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.
+'dropdown.all' => '--- 全部 ---',
+'dropdown.no' => '--- 无 ---',
+'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.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.all_time' => '全部时间',
 'dropdown.projects' => '项目',
 // TODO: translate the following.
 // 'dropdown.tasks' => 'tasks',
@@ -347,10 +349,10 @@ $i18n_key_words = array(
 'form.login.about' =>'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> 是一种简单、易用、开放源代码的实时跟踪系统。',
 
 // 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",
+'form.reset_password.message' => '密码重设请求已经发送。', // TODO: Add "by email" to match the English string.
+'form.reset_password.email_subject' => 'Anuko时间追踪器密码重设请求',
+// TODO: translate the ending of the following.
+'form.reset_password.email_body' => "亲爱的用户,\n\n有人,也可能是您自己,请求重新设置您的Anuko时间追踪器密码。如果您希望重设您的密码,请访问下面的连结:\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.
@@ -425,21 +427,48 @@ $i18n_key_words = array(
 // 'form.tasks.active_tasks' => 'Active Tasks',
 // 'form.tasks.inactive_tasks' => 'Inactive Tasks',
 
+// Users form. See example at https://timetracker.anuko.com/users.php
+// TODO: translate the following.
+// 'form.users.active_users' => 'Active Users',
+// 'form.users.inactive_users' => 'Inactive Users',
+// 'form.users.uncompleted_entry' => 'User has an uncompleted time entry',
+// 'form.users.role' => 'Role',
+// 'form.users.manager' => 'Manager',
+// 'form.users.comanager' => 'Co-manager',
+// 'form.users.rate' => 'Rate',
+// 'form.users.default_rate' => 'Default hourly rate',
 
+// Clients form. See example at https://timetracker.anuko.com/clients.php
+// TODO: translate the following.
+// 'form.clients.active_clients' => 'Active Clients',
+// 'form.clients.inactive_clients' => 'Inactive Clients',
 
-// TODO: refactoring ongoing down from here.
+// Deleting Client form. See example at https://timetracker.anuko.com/client_delete.php
+// TODO: translate the following.
+// 'form.client.client_to_delete' => 'Client to delete',
+// 'form.client.client_entries' => 'Client entries',
 
-// password reminder form attributes
-"form.fpass.send_pass_str" => '密码重设请求已经发送',
-"form.fpass.send_pass_subj" => 'Anuko时间追踪器密码重设请求',
-// Note to translators: the ending of this string below needs to be translated.
-"form.fpass.send_pass_body" => "亲爱的用户,\n\n有人,也可能是您自己,请求重新设置您的Anuko时间追踪器密码。如果您希望重设您的密码,请访问下面的连结:\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",
-"form.fpass.reset_comment" => "要重设密码,请输入新密码并点击保存按钮",
+// Exporting Team Data form. See example at https://timetracker.anuko.com/export.php
+// TODO: translate the following.
+// 'form.export.hint' => 'You can export all team data into an xml file. It could be useful if you are migrating data to your own server.',
+// 'form.export.compression' => 'Compression',
+// 'form.export.compression_none' => 'none',
+// 'form.export.compression_bzip' => 'bzip',
+
+// Importing Team Data form. See example at https://timetracker.anuko.com/imort.php (login as admin first).
+// TODO: translate the following.
+// 'form.import.hint' => 'Import team data from an xml file.',
+// 'form.import.file' => 'Select file',
+// 'form.import.success' => 'Import completed successfully.',
+
+// Teams form. See example at https://timetracker.anuko.com/admin_teams.php (login as admin first).
+'form.teams.hint' => '通过创建新的团队经理账号来创建新团队。<br>您也可以从其它的Anuko时间追踪器服务器的xml文件导入团队数据(登录信息不能发生冲突)。',
 
-// administrator form
-"form.admin.title" => '管理员',
-"form.admin.duty_text" => '通过创建新的团队经理账号来创建新团队。<br>您也可以从其它的Anuko时间追踪器服务器的xml文件导入团队数据(登录信息不能发生冲突)。',
 
+
+// TODO: refactoring ongoing down from here.
+
+// administrator form
 "form.admin.profile.title" => '团队',
 "form.admin.profile.noprofiles" => '您的数据库没有任何记录。请以管理员身份登录并创建一个新团队。',
 "form.admin.profile.comment" => '删除团队',
@@ -519,23 +548,4 @@ $i18n_key_words = array(
 // miscellaneous strings
 "forward.tocsvfile" => '将数据导出到.csv文件',
 "forward.toxmlfile" => '将数据导出到.xml文件',
-"forward.geninvoice" => '生成发票',
-
-"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" => '今年',
-
-"label.inv_str" => '发票',
-"label.set_empl" => '选择用户',
-"label.sel_all" => '全部选择',
-"label.sel_none" => '全部不选',
-"label.disable" => '禁用',
-"label.enable" => '启用',
 );