Combining add button labels into one.
[timetracker.git] / WEB-INF / resources / zh-cn.lang.php
index 43074f6..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' => '编辑客户',
@@ -314,9 +312,8 @@ $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.
-// TODO: translate the following.
-// 'dropdown.all' => '--- all ---',
-// 'dropdown.no' => '--- no ---',
+'dropdown.all' => '--- 全部 ---',
+'dropdown.no' => '--- 无 ---',
 'dropdown.current_day' => '今天',
 'dropdown.previous_day' => '昨天',
 'dropdown.selected_day' => '天',
@@ -340,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.
@@ -360,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.
@@ -406,9 +401,10 @@ $i18n_key_words = array(
 
 // Invoice form. See example at https://timetracker.anuko.com/invoice.php
 // (you can get to this form after generating a report).
-// TODO: translate the following.
-// 'form.invoice.number' => 'Invoice number',
-// 'form.invoice.person' => 'Person',
+'form.invoice.number' => '发票号码',
+'form.invoice.person' => '人', // TODO: is this correct?
+
+// Deleting Invoice form. See example at https://timetracker.anuko.com/invoice_delete.php
 // 'form.invoice.invoice_to_delete' => 'Invoice to delete',
 // 'form.invoice.invoice_entries' => 'Invoice entries',
 // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.',
@@ -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.
@@ -450,111 +452,52 @@ $i18n_key_words = array(
 // 'form.client.client_entries' => 'Client entries',
 
 // 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',
+'form.export.hint' => '您可以将所有团队数据导出到xml文件。如果您要将数据转移到您自己的服务器,这项操作很有用。',
+'form.export.compression' => '压缩',
+'form.export.compression_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.',
+'form.import.hint' => '从xml文件导入团队数据。',
+'form.import.file' => '选择档',
+'form.import.success' => '成功完成导入。',
 
 // Teams form. See example at https://timetracker.anuko.com/admin_teams.php (login as admin first).
-// TODO: translate the following.
-// 'form.teams.hint' =>  'Create a new team by creating a new team manager account.<br>You can also import team data from an xml file from another Anuko Time Tracker server (no login collisions are allowed).',
-
-
-
-// TODO: refactoring ongoing down from here.
-
-// administrator form
-"form.admin.duty_text" => '通过创建新的团队经理账号来创建新团队。<br>您也可以从其它的Anuko时间追踪器服务器的xml文件导入团队数据(登录信息不能发生冲突)。',
-
-"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" => '总计时间',
-
-// mail form attributes
-"form.mail.from" => '从',
-"form.mail.to" => '到',
-"form.mail.above" => '通过电子邮件发送该报告',
-// Note to translators: this string needs to be translated.
-"form.mail.footer_str" => 'anuko时间跟踪器是一种简单、易用、开放源码的时间跟踪系统。 看<a href ="https://www.anuko.com"> www.anuko网</a>更多信息。',
-"form.mail.sending_str" => '<b>消息已发送</b>',
-
-// invoice attributes
-"form.invoice.title" => '发票',
-"form.invoice.caption" => '发票',
-"form.invoice.above" => '发票附加信息',
-"form.invoice.select_cust" => '选择客户',
-"form.invoice.fillform" => '填写该栏目',
-"form.invoice.number" => '发票号码',
-"form.invoice.th.username" => '收费人',
-"form.invoice.th.time" => '小时数',
-"form.invoice.th.rate" => '费率',
-"form.invoice.th.summ" => '账号',
-"form.invoice.subtotal" => '共计',
-"form.invoice.customer" => '客户',
-"form.invoice.mailinv_above" => '通过电子邮件发送此发票',
-"form.invoice.sending_str" => '<b>发票已送出</b>',
-
-"form.migration.zip" => '压缩',
-"form.migration.file" => '选择档',
-"form.migration.import.title" => '导入数据',
-"form.migration.import.success" => '成功完成导入',
-"form.migration.import.text" => '从xml文件导入团队数据',
-"form.migration.export.title" => '导出数据',
-"form.migration.export.success" => '导出成功',
-"form.migration.export.text" => '您可以将所有团队数据导出到xml文件。如果您要将数据转移到您自己的服务器,这项操作很有用。',
-"form.migration.compression.none" => '不压缩',
-"form.migration.compression.gzip" => 'gzip格式',
-"form.migration.compression.bzip" => 'bzip格式',
-
-// miscellaneous strings
-"forward.tocsvfile" => '将数据导出到.csv文件',
-"forward.toxmlfile" => '将数据导出到.xml文件',
-"forward.geninvoice" => '生成发票',
-
-"controls.project_bind" => '--- 全部 ---',
-"controls.all" => '--- 全部 ---',
-"controls.notbind" => '--- 无 ---',
+'form.teams.hint' => '通过创建新的团队经理账号来创建新团队。<br>您也可以从其它的Anuko时间追踪器服务器的xml文件导入团队数据(登录信息不能发生冲突)。',
+
+// Profile form. See example at https://timetracker.anuko.com/profile_edit.php.
+// 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',
+// 'form.profile.mode_projects_and_tasks' => 'projects and tasks',
+// 'form.profile.record_type' => 'Record type',
+// '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.plugins' => 'Plugins',
+
+// Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report.
+'form.mail.from' => '从',
+'form.mail.to' => '到',
+// TODO: translate the following.
+// 'form.mail.report_subject' => 'Time Tracker Report',
+// 'form.mail.footer' => 'Anuko Time Tracker is a simple, easy to use, open source<br>time tracking system. Visit <a href="https://www.anuko.com">www.anuko.com</a> for more information.',
+// 'form.mail.report_sent' => 'Report sent.',
+'form.mail.invoice_sent' => '发票已送出。',
+
+// Quotas configuration form.
+// TODO: translate the following.
+// 'form.quota.year' => 'Year',
+// 'form.quota.month' => 'Month',
+// '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.',
 );