Combining add button labels into one.
[timetracker.git] / WEB-INF / resources / zh-cn.lang.php
index 7adc407..32d126d 100644 (file)
@@ -91,8 +91,7 @@ $i18n_key_words = array(
 // 'error.invoice_exists' => 'Invoice with this number already exists.',
 // 'error.no_invoiceable_items' => 'There are no invoiceable items.',
 'error.no_login' => '没有该登录信息的用户。',
-// TODO: translate the following.
-// 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.',
+'error.no_teams' => '您的数据库没有任何记录。请以管理员身份登录并创建一个新团队。',
 'error.upload' => '上传文件出错。',
 'error.range_locked' => '日期范围锁定。',
 'error.mail_send' => '发送邮件时出错。',
@@ -116,8 +115,6 @@ $i18n_key_words = array(
 // 'button.add_project' => 'Add project',
 // 'button.add_task' => 'Add task',
 // 'button.add_client' => 'Add client',
-// 'button.add_invoice' => 'Add invoice',
-// 'button.add_option' => 'Add option',
 'button.add' => '添加',
 'button.generate' => '创建',
 'button.reset_password' => '重置密码',
@@ -153,6 +150,8 @@ $i18n_key_words = array(
 'label.end_date' => '结束日期',
 'label.user' => '用户',
 'label.users' => '用户',
+// TODO: translate the following.
+// 'label.roles' => 'Roles',
 'label.client' => '客户',
 'label.clients' => '客户',
 'label.option' => '选项',
@@ -177,8 +176,6 @@ $i18n_key_words = array(
 // 'label.month_total' => 'Month total',
 'label.today' => '今天',
 // TODO: translate the following.
-// 'label.total_hours' => 'Total hours',
-// 'label.total_cost' => 'Total cost',
 // 'label.view' => 'View',
 'label.edit' => '编辑',
 'label.delete' => '删除',
@@ -189,7 +186,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.day_view' => 'Day view',
 // 'label.week_view' => 'Week view',
-// 'label.id' => 'ID',
+'label.id' => 'ID号',
 'label.language' => '语言',
 // TODO: translate the following.
 // 'label.decimal_mark' => 'Decimal mark',
@@ -241,17 +238,18 @@ $i18n_key_words = array(
 
 // Form titles.
 'title.login' => '登录',
+'title.teams' => '团队',
 // TODO: translate the following.
-// 'title.teams' => 'Teams',
 // 'title.create_team' => 'Creating Team',
 // 'title.edit_team' => 'Editing Team',
-// 'title.delete_team' => 'Deleting Team',
+'title.delete_team' => '删除团队',
 'title.reset_password' => '重设密码',
 // TODO: translate the following.
 // 'title.change_password' => 'Changing Password',
 // 'title.time' => 'Time',
-// 'title.edit_time_record' => 'Editing Time Record',
-// 'title.delete_time_record' => 'Deleting Time Record',
+'title.edit_time_record' => '编辑时间记录',
+'title.delete_time_record' => '删除时间记录',
+// TODO: translate the following.
 // 'title.expenses' => 'Expenses',
 // 'title.edit_expense' => 'Editing Expense Item',
 // 'title.delete_expense' => 'Deleting Expense Item',
@@ -259,8 +257,9 @@ $i18n_key_words = array(
 // 'title.add_predefined_expense' => 'Adding Predefined Expense',
 // 'title.edit_predefined_expense' => 'Editing Predefined Expense',
 // 'title.delete_predefined_expense' => 'Deleting Predefined Expense',
-// 'title.reports' => 'Reports',
-// 'title.report' => 'Report',
+'title.reports' => '报告',
+'title.report' => '报告',
+// TODO: translate the following.
 // 'title.send_report' => 'Sending Report',
 'title.invoice' => '发票',
 // TODO: translate the following.
@@ -276,10 +275,9 @@ $i18n_key_words = array(
 // 'title.edit_task' => 'Editing Task',
 // 'title.delete_task' => 'Deleting Task',
 'title.users' => '用户',
-// TODO: translate the following.
-// 'title.add_user' => 'Adding User',
-// 'title.edit_user' => 'Editing User',
-// 'title.delete_user' => 'Deleting User',
+'title.add_user' => '添加用户', // TODO: is this correct?
+'title.edit_user' => '编辑用户',
+'title.delete_user' => '删除用户',
 'title.clients' => '客户',
 'title.add_client' => '添加客户',
 'title.edit_client' => '编辑客户',
@@ -339,14 +337,14 @@ $i18n_key_words = array(
 // 'dropdown.select_invoice' => '--- select invoice ---',
 // 'dropdown.status_active' => 'active',
 // 'dropdown.status_inactive' => 'inactive',
-// 'dropdown.delete'=>'delete',
-// 'dropdown.do_not_delete'=>'do not delete',
+// '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.
 'form.login.forgot_password' => '忘记密码?',
-'form.login.about' =>'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> 是一种简单、易用、开放源代码的实时跟踪系统。',
+'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.
 'form.reset_password.message' => '密码重设请求已经发送。', // TODO: Add "by email" to match the English string.
@@ -359,17 +357,15 @@ $i18n_key_words = array(
 // '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.duration_format' => '(时:分 或 0.0h)',
 'form.time.billable' => '计费时间',
+'form.time.uncompleted' => '未完成',
 // TODO: translate the following.
-// '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.',
+'form.time_edit.uncompleted' => '该记录只保存了开始时间。这不是错误。',
 
 // Week view form. See example at https://timetracker.anuko.com/week.php.
 // TODO: translate the following.
@@ -433,11 +429,17 @@ $i18n_key_words = array(
 // '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',
+'form.users.role' => '角色',
+'form.users.manager' => '经理',
+'form.users.comanager' => '合作经理人',
+'form.users.rate' => '费率',
+'form.users.default_rate' => '默认小时收费',
+
+// Roles form. See example at https://timetracker.anuko.com/roles.php
+// TODO: translate the following.
+// 'form.roles.active_roles' => 'Active Roles',
+// 'form.roles.inactive_roles' => 'Inactive Roles',
+// 'form.roles.rights' => 'Rights',
 
 // Clients form. See example at https://timetracker.anuko.com/clients.php
 // TODO: translate the following.
@@ -467,6 +469,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.profile.12_hours' => '12 hours',
 // 'form.profile.24_hours' => '24 hours',
+// 'form.profile.show_holidays' => 'Show holidays',
 // 'form.profile.tracking_mode' => 'Tracking mode',
 // 'form.profile.mode_time' => 'time',
 // 'form.profile.mode_projects' => 'projects',
@@ -475,9 +478,10 @@ $i18n_key_words = array(
 // 'form.profile.type_all' => 'all',
 // 'form.profile.type_start_finish' => 'start and finish',
 // 'form.profile.type_duration' => 'duration',
+// 'form.profile.punch_mode' => 'Punch mode',
+// 'form.profile.allow_overlap' => 'Allow overlap',
+// 'form.profile.future_entries' => 'Future entries',
 // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators',
-// 'form.profile.uncompleted_indicators_none' => 'do not show',
-// 'form.profile.uncompleted_indicators_show' => 'show',
 // 'form.profile.plugins' => 'Plugins',
 
 // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report.
@@ -496,49 +500,4 @@ $i18n_key_words = array(
 // 'form.quota.quota' => 'Quota',
 // 'form.quota.workday_hours' => 'Hours in work day',
 // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.',
-
-
-
-// TODO: refactoring ongoing down from here.
-
-// administrator form
-"form.admin.profile.title" => '团队',
-"form.admin.profile.noprofiles" => '您的数据库没有任何记录。请以管理员身份登录并创建一个新团队。',
-"form.admin.profile.comment" => '删除团队',
-"form.admin.profile.th.id" => 'ID号',
-"form.admin.profile.th.active" => '启用',
-
-// my time form attributes
-"form.mytime.title" => '我的时间记录',
-"form.mytime.edit_title" => '编辑时间记录',
-"form.mytime.del_str" => '删除时间记录',
-"form.mytime.time_form" => ' (时:分)',
-"form.mytime.total" => '总小时数: ',
-"form.mytime.del_yes" => '成功删除时间记录',
-"form.mytime.no_finished_rec" => '该记录只保存了开始时间。这不是错误。如果需要,请注销。',
-"form.mytime.warn_tozero_rec" => '由于这段时间是锁定的,该时间记录必须删除',
-"form.mytime.uncompleted" => '未完成',
-
-// profile form attributes
-// Note to translators: we need a more accurate translation of form.profile.create_title
-"form.profile.create_title" => '新建管理账号',
-"form.profile.edit_title" => '编辑简介',
-"form.profile.showchart" => '显示饼状图',
-
-// people form attributes
-"form.people.ppl_str" => '人员',
-"form.people.createu_str" => '新建用户',
-"form.people.edit_str" => '编辑用户',
-"form.people.del_str" => '删除用户',
-"form.people.th.role" => '角色',
-"form.people.th.rate" => '费率',
-"form.people.manager" => '经理',
-"form.people.comanager" => '合作经理人',
-
-"form.people.rate" => '默认小时收费',
-"form.people.comanager" => '合作经理人',
-
-// report attributes
-"form.report.title" => '报告',
-"form.report.total" => '总计时间',
 );