Some more recycling in translation files.
[timetracker.git] / WEB-INF / resources / zh-cn.lang.php
index 6967f85..0f9b858 100644 (file)
@@ -140,7 +140,7 @@ $i18n_key_words = array(
 'label.manager_login' => '管理员登录',
 'label.person_name' => '姓名',
 'label.thing_name' => '名称',
-// 'label.login' => 'Login',
+'label.login' => '登录',
 'label.password' => '密码',
 'label.confirm_password' => '确认密码',
 'label.email' => '电子邮件',
@@ -148,24 +148,24 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.bcc' => 'Bcc',
 'label.subject' => '主题',
+'label.date' => '日期',
+'label.start_date' => '开始日期',
+'label.end_date' => '结束日期',
+'label.user' => '用户',
+'label.users' => '用户',
+'label.client' => '客户',
+'label.clients' => '客户',
+'label.option' => '选项',
+'label.invoice' => '发票',
+'label.project' => '项目',
+'label.projects' => '项目',
 // TODO: translate the following.
-// 'label.date' => 'Date',
-// 'label.start_date' => 'Start date',
-// 'label.end_date' => 'End date',
-// 'label.user' => 'User',
-// 'label.users' => 'Users',
-// 'label.client' => 'Client',
-// 'label.clients' => 'Clients',
-// 'label.option' => 'Option',
-// 'label.invoice' => 'Invoice',
-// 'label.project' => 'Project',
-// 'label.projects' => 'Projects',
 // 'label.task' => 'Task',
 // 'label.tasks' => 'Tasks',
 // 'label.description' => 'Description',
-// 'label.start' => 'Start',
-// 'label.finish' => 'Finish',
-// 'label.duration' => 'Duration',
+'label.start' => '开始',
+'label.finish' => '结束',
+'label.duration' => '持续时间',
 'label.note' => '备注',
 'label.notes' => '备注',
 // TODO: translate the following.
@@ -184,16 +184,18 @@ $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',
-// 'label.language' => 'Language',
+'label.language' => '语言',
+// TODO: translate the following.
 // 'label.decimal_mark' => 'Decimal mark',
-// 'label.date_format' => 'Date format',
-// 'label.time_format' => 'Time format',
-// 'label.week_start' => 'First day of week',
+'label.date_format' => '日期格式',
+'label.time_format' => '时间格式',
+'label.week_start' => '每周的第一天',
 'label.comment' => '留言',
 'label.status' => '状态',
 'label.tax' => '税',
@@ -206,7 +208,7 @@ $i18n_key_words = array(
 'label.or' => '或',
 // TODO: translate the following.
 // 'label.error' => 'Error',
-// 'label.ldap_hint' => 'Type your <b>Windows login</b> and <b>password</b> in the fields below.',
+'label.ldap_hint' => '在下面的栏目输入您的<b>Windows用户名</b>和<b>密码</b>。',
 'label.required_fields' => '* 必填栏目',
 'label.on_behalf' => '代表',
 'label.role_manager' => '(经理)',
@@ -225,7 +227,8 @@ $i18n_key_words = array(
 // 'label.type_dropdown' => 'dropdown',
 // 'label.type_text' => 'text',
 // 'label.required' => 'Required',
-// 'label.fav_report' => 'Favorite report',
+'label.fav_report' => '收藏的报告',
+// TODO: translate the following.
 // 'label.cron_schedule' => 'Cron schedule',
 // 'label.what_is_it' => 'What is it?',
 // 'label.expense' => 'Expense',
@@ -237,8 +240,8 @@ $i18n_key_words = array(
 // 'label.week_list' => 'Week list',
 
 // Form titles.
+'title.login' => '登录',
 // TODO: translate the following.
-// 'title.login' => 'Login',
 // 'title.teams' => 'Teams',
 // 'title.create_team' => 'Creating Team',
 // 'title.edit_team' => 'Editing Team',
@@ -259,26 +262,30 @@ $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' => 'Projects',
-// 'title.add_project' => 'Adding Project',
-// 'title.edit_project' => 'Editing Project',
-// 'title.delete_project' => 'Deleting Project',
+'title.projects' => '项目',
+'title.add_project' => '添加项目',
+'title.edit_project' => '编辑项目',
+'title.delete_project' => '删除项目',
+// TODO: translate the following.
 // 'title.tasks' => 'Tasks',
 // 'title.add_task' => 'Adding Task',
 // 'title.edit_task' => 'Editing Task',
 // 'title.delete_task' => 'Deleting Task',
-// 'title.users' => 'Users',
+'title.users' => '用户',
+// TODO: translate the following.
 // 'title.add_user' => 'Adding User',
 // 'title.edit_user' => 'Editing User',
 // 'title.delete_user' => 'Deleting User',
-// 'title.clients' => 'Clients',
-// 'title.add_client' => 'Adding Client',
-// 'title.edit_client' => 'Editing Client',
-// 'title.delete_client' => 'Deleting Client',
-// 'title.invoices' => 'Invoices',
+'title.clients' => '客户',
+'title.add_client' => '添加客户',
+'title.edit_client' => '编辑客户',
+'title.delete_client' => '删除客户',
+'title.invoices' => '发票',
+// TODO: translate the following.
 // 'title.add_invoice' => 'Adding Invoice',
 // 'title.view_invoice' => 'Viewing Invoice',
 // 'title.delete_invoice' => 'Deleting Invoice',
@@ -289,8 +296,9 @@ $i18n_key_words = array(
 // 'title.monthly_quotas' => 'Monthly Quotas',
 // 'title.export' => 'Exporting Team Data',
 // 'title.import' => 'Importing Team Data',
-// 'title.options' => 'Options',
-// 'title.profile' => 'Profile',
+'title.options' => '选项',
+'title.profile' => '简介',
+// TODO: translate the following.
 // 'title.cf_custom_fields' => 'Custom Fields',
 // 'title.cf_add_custom_field' => 'Adding Custom Field',
 // 'title.cf_edit_custom_field' => 'Editing Custom Field',
@@ -306,25 +314,27 @@ $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.projects' => 'projects',
+'dropdown.all_time' => '全部时间',
+'dropdown.projects' => '项目',
+// TODO: translate the following.
 // 'dropdown.tasks' => 'tasks',
-// 'dropdown.clients' => 'clients',
+'dropdown.clients' => '客户',
+// TODO: translate the following.
 // 'dropdown.select' => '--- select ---',
 // 'dropdown.select_invoice' => '--- select invoice ---',
 // 'dropdown.status_active' => 'active',
@@ -336,14 +346,13 @@ $i18n_key_words = array(
 
 // Login form. See example at https://timetracker.anuko.com/login.php.
 'form.login.forgot_password' => '忘记密码?',
-// TODO: translate the following.
-// '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.',
+'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.
@@ -367,8 +376,7 @@ $i18n_key_words = array(
 // '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.save_as_favorite' => '保存到我的收藏夹',
 'form.reports.confirm_delete' => '您确认要删除收藏的这个报告吗?',
 'form.reports.include_billable' => '计费时间',
 'form.reports.include_not_billable' => '非计费时间',
@@ -380,70 +388,99 @@ $i18n_key_words = array(
 'form.reports.show_fields' => '显示栏目',
 'form.reports.group_by' => '分组方式',
 'form.reports.group_by_no' => '--- 没有分组 ---',
+'form.reports.group_by_date' => '日期',
+'form.reports.group_by_user' => '用户',
 // TODO: translate the following.
-// '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_project' => '项目',
+// TODO: translate the following.
 // 'form.reports.group_by_task' => 'task',
 // 'form.reports.totals_only' => 'Totals only',
 
+// Report form. See example at https://timetracker.anuko.com/report.php
+// (after generating a report at https://timetracker.anuko.com/reports.php).
+// TODO: translate the following.
+// 'form.report.export' => 'Export',
+// 'form.report.assign_to_invoice' => 'Assign to invoice',
 
+// 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.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.',
 
-// TODO: refactoring ongoing down from here.
+// Charts form. See example at https://timetracker.anuko.com/charts.php
+// TODO: translate the following.
+// 'form.charts.interval' => 'Interval',
+// 'form.charts.chart' => 'Chart',
 
-// 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.
+// Projects form. See example at https://timetracker.anuko.com/projects.php
+// TODO: translate the following.
+// 'form.projects.active_projects' => 'Active Projects',
+// 'form.projects.inactive_projects' => 'Inactive Projects',
 
-// If you intend to improve perhaps go in small steps and coordinate with the maintainer if anything is unclear.
-"form.filter.project" => '项目',
-"form.filter.filter" => '收藏的报告',
-"form.filter.filter_new" => '保存到我的收藏夹',
+// Tasks form. See example at https://timetracker.anuko.com/tasks.php
+// TODO: translate the following.
+// 'form.tasks.active_tasks' => 'Active Tasks',
+// 'form.tasks.inactive_tasks' => 'Inactive Tasks',
 
-// login form attributes
-"form.login.title" => '登录',
-"form.login.login" => '登录',
+// 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',
 
-// password reminder form attributes
-"form.fpass.title" => '重设密码',
-"form.fpass.login" => '登录',
-"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" => "要重设密码,请输入新密码并点击保存按钮",
+// 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',
+
+// 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',
+
+// 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文件导入团队数据(登录信息不能发生冲突)。',
 
-"form.admin.change_pass" => '修改管理员账号的密码',
+
+// 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" => '启用',
-"form.admin.options" => '选项',
-"form.admin.custom_date_format" => "日期格式",
-"form.admin.custom_time_format" => "时间格式",
-"form.admin.start_week" => "每周的第一天",
 
 // my time form attributes
 "form.mytime.title" => '我的时间记录',
 "form.mytime.edit_title" => '编辑时间记录',
 "form.mytime.del_str" => '删除时间记录',
 "form.mytime.time_form" => ' (时:分)',
-"form.mytime.date" => '日期',
-"form.mytime.project" => '项目',
-"form.mytime.start" => '开始',
-"form.mytime.finish" => '结束',
-"form.mytime.duration" => '持续时间',
-"form.mytime.daily" => '每日工作',
 "form.mytime.total" => '总小时数: ',
-"form.mytime.th.project" => '项目',
-"form.mytime.th.start" => '开始',
-"form.mytime.th.finish" => '结束',
-"form.mytime.th.duration" => '持续时间',
 "form.mytime.del_yes" => '成功删除时间记录',
 "form.mytime.no_finished_rec" => '该记录只保存了开始时间。这不是错误。如果需要,请注销。',
 "form.mytime.warn_tozero_rec" => '由于这段时间是锁定的,该时间记录必须删除',
@@ -453,72 +490,31 @@ $i18n_key_words = array(
 // Note to translators: we need a more accurate translation of form.profile.create_title
 "form.profile.create_title" => '新建管理账号',
 "form.profile.edit_title" => '编辑简介',
-"form.profile.login" => '登录',
-
 "form.profile.showchart" => '显示饼状图',
-"form.profile.lang" => '语言',
-"form.profile.custom_date_format" => "日期格式",
-"form.profile.custom_time_format" => "时间格式",
-"form.profile.default_format" => "(默认)",
-"form.profile.start_week" => "每周的第一天",
 
 // people form attributes
 "form.people.ppl_str" => '人员',
 "form.people.createu_str" => '新建用户',
 "form.people.edit_str" => '编辑用户',
 "form.people.del_str" => '删除用户',
-"form.people.th.login" => '登录',
 "form.people.th.role" => '角色',
-"form.people.th.project" => '项目',
 "form.people.th.rate" => '费率',
 "form.people.manager" => '经理',
 "form.people.comanager" => '合作经理人',
-"form.people.empl" => '用户',
-"form.people.login" => '登录',
 
 "form.people.rate" => '默认小时收费',
 "form.people.comanager" => '合作经理人',
-"form.people.projects" => '项目',
-
-// projects form attributes
-"form.project.proj_title" => '项目',
-"form.project.edit_str" => '编辑项目',
-"form.project.add_str" => '添加新项目',
-"form.project.del_str" => '删除项目',
-
-// activities form attributes
-"form.activity.act_title" => '活动',
-"form.activity.add_title" => '新建活动',
-"form.activity.edit_str" => '编辑活动',
-"form.activity.del_str" => '删除活动',
-"form.activity.project" => '项目',
-"form.activity.th.project" => '项目',
 
 // report attributes
 "form.report.title" => '报告',
-"form.report.from" => '开始日期',
-"form.report.to" => '结束日期',
-"form.report.groupby_user" => '用户',
-"form.report.groupby_project" => '项目',
-"form.report.duration" => '持续时间',
-"form.report.start" => '开始',
-"form.report.finish" => '结束',
-"form.report.project" => '项目',
-"form.report.totals_only" => '仅仅今天',
 "form.report.total" => '总计时间',
-"form.report.th.empllist" => '用户',
-"form.report.th.date" => '日期',
-"form.report.th.project" => '项目',
-"form.report.th.start" => '开始',
-"form.report.th.finish" => '结束',
-"form.report.th.duration" => '持续时间',
 
 // 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.footer_str" => 'anuko时间跟踪器是一种简单、易用、开放源码的时间跟踪系统。 看<a href ="https://www.anuko.com"> www.anuko网</a>更多信息。',
 "form.mail.sending_str" => '<b>消息已发送</b>',
 
 // invoice attributes
@@ -527,7 +523,6 @@ $i18n_key_words = array(
 "form.invoice.above" => '发票附加信息',
 "form.invoice.select_cust" => '选择客户',
 "form.invoice.fillform" => '填写该栏目',
-"form.invoice.date" => '日期',
 "form.invoice.number" => '发票号码',
 "form.invoice.th.username" => '收费人',
 "form.invoice.th.time" => '小时数',
@@ -550,38 +545,7 @@ $i18n_key_words = array(
 "form.migration.compression.gzip" => 'gzip格式',
 "form.migration.compression.bzip" => 'bzip格式',
 
-"form.client.title" => '客户',
-"form.client.add_title" => '添加客户',
-"form.client.edit_title" => '编辑客户',
-"form.client.del_title" => '删除客户',
-
 // 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" => '今年',
-"controls.sel_period" => '--- 选择时间段 ---',
-
-"label.inv_str" => '发票',
-"label.set_empl" => '选择用户',
-"label.sel_all" => '全部选择',
-"label.sel_none" => '全部不选',
-"label.disable" => '禁用',
-"label.enable" => '启用',
-"label.hrs" => '小时',
-"label.errors" => '错误',
-"label.ldap_hint" => '在下面的栏目输入您的<b>Windows用户名</b>和<b>密码</b>。',
-
-// login hello text
- "login.hello.text" => "anuko时间跟踪器是一种简单、易用、开放源代码的实时跟踪系统。",
 );