Refactored Catalan translation.
[timetracker.git] / WEB-INF / resources / zh-cn.lang.php
index af26442..11e2a94 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.
@@ -178,8 +177,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' => '删除',
@@ -260,10 +257,12 @@ $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' => 'Invoice',
+'title.invoice' => '发票',
+// TODO: translate the following.
 // 'title.send_invoice' => 'Sending Invoice',
 // 'title.charts' => 'Charts',
 'title.projects' => '项目',
@@ -284,7 +283,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',
@@ -313,22 +313,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',
@@ -338,8 +338,8 @@ $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',
 
@@ -404,9 +404,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.',
@@ -426,13 +427,80 @@ $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',
+
+// 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
+'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).
+'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).
+'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.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.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.
+'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.',
+
 
 
 // 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" => '删除团队',
@@ -465,65 +533,5 @@ $i18n_key_words = array(
 "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" => '--- 无 ---',
-"controls.per_tm" => '本月',
-"controls.per_lm" => '上个月',
-"controls.per_tw" => '本周',
-"controls.per_lw" => '上周',
-"controls.per_td" => '今天',
-"controls.per_at" => '全部时间',
-"controls.per_ty" => '今年',
-
-"label.inv_str" => '发票',
 );