X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Fresources%2Fzh-cn.lang.php;h=cf6fe72573f849ae5af86416965780e8d55d2c04;hb=a32d1441bb4b6e2cf58467f14c20f67ef0cf50c7;hp=1e399a11b6ba2ca3bf18ac75e2a6839dc7246826;hpb=f4c1cd97de267662969a88850d2522678659ba56;p=timetracker.git diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 1e399a11..cf6fe725 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -38,13 +38,14 @@ $i18n_holidays = array('01/01', '01/02', '01/25', '01/26', '01/27', '01/28', '01 $i18n_key_words = array( -// Menus. +// Menus - short selection strings that are displayed on top of application web pages. +// Example: https://timetracker.anuko.com (black menu on top). 'menu.login' => '登录', 'menu.logout' => '注销', 'menu.forum' => '论坛', 'menu.help' => '帮助', -// Note to translators: menu.create_team needs a more accurate translation. -'menu.create_team' => '创建新管理账号', +// TODO: translate the following. +// 'menu.create_team' => 'Create Team', 'menu.profile' => '简介', 'menu.time' => '时间记录', 'menu.expenses' => '费用', @@ -59,39 +60,40 @@ $i18n_key_words = array( 'menu.options' => '选项', // Footer - strings on the bottom of most pages. -'footer.contribute_msg' => '你可以以不同的方式为Time Tracker提建议', +'footer.contribute_msg' => '你可以以不同的方式为Time Tracker提建议。', 'footer.credits' => '信用', 'footer.license' => '许可证', 'footer.improve' => '投稿', // Error messages. -'error.access_denied' => '拒绝访问', -'error.sys' => '系统错误', -'error.db' => '数据库错误', -'error.field' => '不正确的"{0}"数据', -'error.empty' => '栏目"{0}"为空', -'error.not_equal' => '栏目"{0}"不等于栏目"{1}"', -'error.interval' => '不正确的间隔', -'error.project' => '选择项目', +'error.access_denied' => '拒绝访问。', +'error.sys' => '系统错误。', +'error.db' => '数据库错误。', +'error.field' => '不正确的"{0}"数据。', +'error.empty' => '栏目"{0}"为空。', +'error.not_equal' => '栏目"{0}"不等于栏目"{1}"。', // TODO: translate the following. +// 'error.interval' => 'Field "{0}" must be greater than "{1}".', +// 'error.project' => 'Select project.', // 'error.task' => 'Select task.', // 'error.client' => 'Select client.', // 'error.report' => 'Select report.', -'error.auth' => '不正确的用户名或密码', -'error.user_exists' => '该用户登录信息已经存在', -'error.project_exists' => '该项目名称已经存在', +// 'error.record' => 'Select record.', +'error.auth' => '不正确的用户名或密码。', +'error.user_exists' => '该用户登录信息已经存在。', +'error.project_exists' => '该项目名称已经存在。', // TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', -'error.client_exists' => '具有此名称的客户端已经存在', +'error.client_exists' => '具有此名称的客户端已经存在。', // TODO: translate the following. // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', -'error.no_login' => '没有该登录信息的用户', +'error.no_login' => '没有该登录信息的用户。', // TODO: translate the following. // 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.', -'error.upload' => '上传文件出错', -'error.range_locked' => '日期范围锁定', -'error.mail_send' => '发送邮件时出错', +'error.upload' => '上传文件出错。', +'error.range_locked' => '日期范围锁定。', +'error.mail_send' => '发送邮件时出错。', 'error.no_email' => '没有电子邮件与该用户名关联。', 'error.uncompleted_exists' => '未完成的条目已经存在。关闭或删除。', 'error.goto_uncompleted' => '进入未完成的条目。', @@ -107,16 +109,11 @@ $i18n_key_words = array( // 'button.copy' => 'Copy', 'button.cancel' => '取消', 'button.submit' => '提交', - - -// TODO: check / improve translation of all button.add... strings. -// Concern is that it used to be "add new something", now just "add something". -'button.add_user' => '添加新用户', -'button.add_project' => '添加新项目', // TODO: translate the following. +// 'button.add_user' => 'Add user', +// 'button.add_project' => 'Add project', // 'button.add_task' => 'Add task', -'button.add_client' => '添加新客户', -// TODO: translate the following. +// 'button.add_client' => 'Add client', // 'button.add_invoice' => 'Add invoice', // 'button.add_option' => 'Add option', 'button.add' => '添加', @@ -124,8 +121,8 @@ $i18n_key_words = array( 'button.reset_password' => '重置密码', 'button.send' => '发送', 'button.send_by_email' => '通过邮件发送', -// TODO: improve translation of button.create_team (used to be "Create new team", now just "Create team"). -'button.create_team' => '创建新团队', +// TODO: translate the following. +// 'button.create_team' => 'Create team', 'button.export' => '导出团队信息', 'button.import' => '导入团队信息', // TODO: translate the following. @@ -139,6 +136,11 @@ $i18n_key_words = array( 'label.currency' => '货币', 'label.manager_name' => '管理员姓名', 'label.manager_login' => '管理员登录', + + + +// TODO: refactoring ongoing down from here. + // TODO: translate the following. // 'label.person_name' => 'Name', // 'label.thing_name' => 'Name', @@ -146,7 +148,10 @@ $i18n_key_words = array( 'label.password' => '密码', 'label.confirm_password' => '确认密码', 'label.email' => '电子邮件', -// Translate the following. +'label.cc' => '抄送', +// TODO: translate the following. +// 'label.bcc' => 'Bcc', +'label.subject' => '主题', // 'label.date' => 'Date', // 'label.start_date' => 'Start date', // 'label.end_date' => 'End date', @@ -165,6 +170,7 @@ $i18n_key_words = array( // 'label.finish' => 'Finish', // 'label.duration' => 'Duration', // 'label.note' => 'Note', +// 'label.notes' => 'Notes', // 'label.item' => 'Item', // 'label.cost' => 'Cost', // 'label.day_total' => 'Day total', @@ -180,6 +186,8 @@ $i18n_key_words = array( // 'label.configure' => 'Configure', // 'label.select_all' => 'Select all', // 'label.select_none' => 'Deselect all', +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', // 'label.id' => 'ID', // 'label.language' => 'Language', // 'label.decimal_mark' => 'Decimal mark', @@ -203,29 +211,99 @@ $i18n_key_words = array( // 'label.role_comanager' => '(co-manager)', // 'label.role_admin' => '(administrator)', 'label.page' => '页码', +// TODO: translate the following. +// 'label.condition' => 'Condition', +// 'label.yes' => 'yes', +// 'label.no' => 'no', // Labels for plugins (extensions to Time Tracker that provide additional features). // TODO: Translate the following. -'label.custom_fields' => 'Custom fields', -'label.monthly_quotas' => 'Monthly quotas', -'label.type' => 'Type', -'label.type_dropdown' => 'dropdown', -'label.type_text' => 'text', -'label.required' => 'Required', -'label.fav_report' => 'Favorite report', -'label.cron_schedule' => 'Cron schedule', -'label.what_is_it' => 'What is it?', -'label.expense' => 'Expense', -'label.quantity' => 'Quantity', +// 'label.custom_fields' => 'Custom fields', +// 'label.monthly_quotas' => 'Monthly quotas', +// 'label.type' => 'Type', +// 'label.type_dropdown' => 'dropdown', +// 'label.type_text' => 'text', +// 'label.required' => 'Required', +// 'label.fav_report' => 'Favorite report', +// 'label.cron_schedule' => 'Cron schedule', +// 'label.what_is_it' => 'What is it?', +// 'label.expense' => 'Expense', +// 'label.quantity' => 'Quantity', +// 'label.paid_status' => 'Paid status', +// 'label.paid' => 'Paid', +// 'label.mark_paid' => 'Mark paid', + +// Form titles. +// TODO: Translate the following. +// 'title.login' => 'Login', +// 'title.teams' => 'Teams', +// 'title.create_team' => 'Creating Team', +// 'title.edit_team' => 'Editing Team', +// 'title.delete_team' => 'Deleting Team', +// 'title.reset_password' => 'Resetting Password', +// 'title.change_password' => 'Changing Password', +// 'title.time' => 'Time', +// 'title.edit_time_record' => 'Editing Time Record', +// 'title.delete_time_record' => 'Deleting Time Record', +// 'title.expenses' => 'Expenses', +// 'title.edit_expense' => 'Editing Expense Item', +// 'title.delete_expense' => 'Deleting Expense Item', +// 'title.predefined_expenses' => 'Predefined Expenses', +// '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.send_report' => 'Sending Report', +// 'title.invoice' => 'Invoice', +// '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.tasks' => 'Tasks', +// 'title.add_task' => 'Adding Task', +// 'title.edit_task' => 'Editing Task', +// 'title.delete_task' => 'Deleting Task', +// 'title.users' => 'Users', +// '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.add_invoice' => 'Adding Invoice', +// 'title.view_invoice' => 'Viewing Invoice', +// 'title.delete_invoice' => 'Deleting Invoice', +// 'title.notifications' => 'Notifications', +// 'title.add_notification' => 'Adding Notification', +// 'title.edit_notification' => 'Editing Notification', +// 'title.delete_notification' => 'Deleting Notification', +// 'title.monthly_quotas' => 'Monthly Quotas', +// 'title.export' => 'Exporting Team Data', +// 'title.import' => 'Importing Team Data', +// 'title.options' => 'Options', +// 'title.profile' => 'Profile', +// 'title.cf_custom_fields' => 'Custom Fields', +// 'title.cf_add_custom_field' => 'Adding Custom Field', +// 'title.cf_edit_custom_field' => 'Editing Custom Field', +// 'title.cf_delete_custom_field' => 'Deleting Custom Field', +// 'title.cf_dropdown_options' => 'Dropdown Options', +// 'title.cf_add_dropdown_option' => 'Adding Option', +// 'title.cf_edit_dropdown_option' => 'Editing Option', +// 'title.cf_delete_dropdown_option' => 'Deleting Option', +// // NOTE TO TRANSLATORS: Locking is a feature to lock records from modifications (ex: weekly on Mondays we lock all previous weeks). +// // It is also a name for the Locking plugin on the Team profile page. +// 'title.locking' => 'Locking', + // 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. // If you intend to improve perhaps go in small steps and coordinate with the maintainer if anything is unclear. - -// Form titles. -// TODO: the entire title section is missing here. See the English file. - "form.filter.project" => '项目', "form.filter.filter" => '收藏的报告', "form.filter.filter_new" => '保存到我的收藏夹', @@ -378,8 +456,6 @@ $i18n_key_words = array( // mail form attributes "form.mail.from" => '从', "form.mail.to" => '到', -"form.mail.cc" => '抄送', -"form.mail.subject" => '主题', "form.mail.comment" => '留言', "form.mail.above" => '通过电子邮件发送该报告', // Note to translators: this string needs to be translated.