X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Fresources%2Fzh-cn.lang.php;h=72f4317e12b5c6b3253e73ef2036c96d5536ec68;hb=c13fcda70448cc81d1555fe2ee25a5d0ed2f74c7;hp=edf1cc93a2e57efa388591dc122158c363643b0f;hpb=c4070353c14d9085dbea1ca429090d326bf731d9;p=timetracker.git diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index edf1cc93..72f4317e 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -29,7 +29,7 @@ // Note: escape apostrophes with THREE backslashes, like here: choisir l\\\'option. // Other characters (such as double-quotes in http links, etc.) do not have to be escaped. -$i18n_language = '简体中文'; +$i18n_language = 'Chinese (简体中文)'; $i18n_months = array('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'); $i18n_weekdays = array('星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'); $i18n_weekdays_short = array('周日', '周一', '周二', '周三', '周四', '周五', '周六'); @@ -47,6 +47,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'menu.create_team' => 'Create Team', 'menu.profile' => '简介', +// TODO: translate the following. +// 'menu.group' => 'Group', 'menu.time' => '时间记录', 'menu.expenses' => '费用', 'menu.reports' => '报告', @@ -69,6 +71,8 @@ $i18n_key_words = array( 'error.access_denied' => '拒绝访问。', 'error.sys' => '系统错误。', 'error.db' => '数据库错误。', +// TODO: translate the following. +// 'error.feature_disabled' => 'Feature is disabled.', 'error.field' => '不正确的"{0}"数据。', 'error.empty' => '栏目"{0}"为空。', 'error.not_equal' => '栏目"{0}"不等于栏目"{1}"。', @@ -83,16 +87,18 @@ $i18n_key_words = array( // 'error.record' => 'Select record.', 'error.auth' => '不正确的用户名或密码。', 'error.user_exists' => '该用户登录信息已经存在。', +// TODO: translate the following. +// 'error.object_exists' => 'Object with this name already exists.', 'error.project_exists' => '该项目名称已经存在。', // TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', 'error.client_exists' => '具有此名称的客户端已经存在。', // TODO: translate the following. // 'error.invoice_exists' => 'Invoice with this number already exists.', +// 'error.role_exists' => 'Role with this rank 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' => '发送邮件时出错。', @@ -111,14 +117,8 @@ $i18n_key_words = array( // 'button.copy' => 'Copy', 'button.cancel' => '取消', 'button.submit' => '提交', -// TODO: translate the following. -// 'button.add_user' => 'Add user', -// '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.delete' => '删除', 'button.generate' => '创建', 'button.reset_password' => '重置密码', 'button.send' => '发送', @@ -153,6 +153,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' => '选项', @@ -171,14 +173,13 @@ $i18n_key_words = array( // TODO: translate the following. // 'label.item' => 'Item', // 'label.cost' => 'Cost', +// 'label.ip' => 'IP', // 'label.day_total' => 'Day total', 'label.week_total' => '一周总计', // TODO: translate the following. // '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 +190,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', @@ -229,7 +230,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => '收藏的报告', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', @@ -241,17 +242,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 +261,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 +279,14 @@ $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' => '删除用户', +// TODO: translate the following. +// 'title.roles' => 'Roles', +// 'title.add_role' => 'Adding Role', +// 'title.edit_role' => 'Editing Role', +// 'title.delete_role' => 'Deleting Role', 'title.clients' => '客户', 'title.add_client' => '添加客户', 'title.edit_client' => '编辑客户', @@ -299,6 +306,7 @@ $i18n_key_words = array( 'title.options' => '选项', 'title.profile' => '简介', // TODO: translate the following. +// 'title.group' => 'Group Settings', // 'title.cf_custom_fields' => 'Custom Fields', // 'title.cf_add_custom_field' => 'Adding Custom Field', // 'title.cf_edit_custom_field' => 'Editing Custom Field', @@ -311,6 +319,7 @@ $i18n_key_words = array( // It is also a name for the Locking plugin on the Team profile page. // 'title.locking' => 'Locking', // 'title.week_view' => 'Week View', +// 'title.swap_roles' => 'Swapping Roles', // 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. @@ -339,37 +348,35 @@ $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 Time Tracker 是一种简单、易用、开放源代码的实时跟踪系统。', +'form.login.about' => 'Anuko Time Tracker 是一种简单、易用、开放源代码的实时跟踪系统。', // 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. '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", +// TODO: translate the following. +// 'form.reset_password.email_body' => "Dear User,\n\nSomeone from IP %s 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", // Changing Password form. See example at https://timetracker.anuko.com/password_change.php?ref=1. // TODO: translate the following. // '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 +440,20 @@ $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.rank' => 'Rank', +// 'form.roles.rights' => 'Rights', +// 'form.roles.assigned' => 'Assigned', +// 'form.roles.not_assigned' => 'Not assigned', // Clients form. See example at https://timetracker.anuko.com/clients.php // TODO: translate the following. @@ -463,65 +479,69 @@ $i18n_key_words = array( // Teams form. See example at https://timetracker.anuko.com/admin_teams.php (login as admin first). 'form.teams.hint' => '通过创建新的团队经理账号来创建新团队。
您也可以从其它的Anuko时间追踪器服务器的xml文件导入团队数据(登录信息不能发生冲突)。', - - -// 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" => '总计时间', - -// 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时间跟踪器是一种简单、易用、开放源码的时间跟踪系统。 看 www.anuko网更多信息。', -"form.mail.sending_str" => '消息已发送', - -// invoice attributes -"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" => '发票已送出', +// Profile form. See example at https://timetracker.anuko.com/profile_edit.php. +// TODO: translate the following. +// 'form.profile.swap_roles' => 'Swap roles', +// '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
time tracking system. Visit www.anuko.com for more information.', +// 'form.mail.report_sent' => 'Report sent.', +'form.mail.invoice_sent' => '发票已送出。', + +// Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. +// 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.', + +// Swap roles form. See example at https://timetracker.anuko.com/swap_roles.php. +// TODO: translate the following. +// 'form.swap.hint' => 'Demote yourself to a lower role by swapping roles with someone else. This cannot be undone.', +// 'form.swap.swap_with' => 'Swap roles with', + +// Roles and rights. These strings are used in multiple places. Grouped here to provide consistent translations. +// TODO: translate the following. +// 'role.user.label' => 'User', +// 'role.user.low_case_label' => 'user', +// 'role.user.description' => 'A regular member without management rights.', +// 'role.client.label' => 'Client', +// 'role.client.low_case_label' => 'client', +// 'role.client.description' => 'A client can view its own reports, charts, and invoices.', +// 'role.supervisor.label' => 'Supervisor', +// 'role.supervisor.low_case_label' => 'supervisor', +// 'role.supervisor.description' => 'A person with a small set of management rights.', +// 'role.comanager.label' => 'Co-manager', +// 'role.comanager.low_case_label' => 'co-manager', +// 'role.comanager.description' => 'A person with a big set of management functions.', +// 'role.manager.label' => 'Manager', +// 'role.manager.low_case_label' => 'manager', +// 'role.manager.description' => 'Group manager. Can do most of things for a group.', +// 'role.top_manager.label' => 'Top manager', +// 'role.top_manager.low_case_label' => 'top manager', +// 'role.top_manager.description' => 'Top group manager. Can do everything in a tree of groups.', +// 'role.admin.label' => 'Administrator', +// 'role.admin.low_case_label' => 'administrator', +// 'role.admin.description' => 'Site adminsitrator.', );