X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Fresources%2Fzh-cn.lang.php;h=ae04c02ff89c158fb7637218e66880f0393e5ee9;hb=1d5c3f76d103fb5d6a91587060438e936c0124b5;hp=38a4663ff85c8bd70bf2bd007b2bf0182766ed72;hpb=4f9ea2fd0f60b516858d62c67d59c8af66613f10;p=timetracker.git diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 38a4663f..ae04c02f 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -110,13 +110,6 @@ $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.generate' => '创建', 'button.reset_password' => '重置密码', @@ -152,6 +145,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' => '选项', @@ -278,6 +273,11 @@ $i18n_key_words = array( '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' => '编辑客户', @@ -435,6 +435,12 @@ $i18n_key_words = array( '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. // 'form.clients.active_clients' => 'Active Clients', @@ -472,7 +478,7 @@ $i18n_key_words = array( // 'form.profile.type_all' => 'all', // 'form.profile.type_start_finish' => 'start and finish', // 'form.profile.type_duration' => 'duration', -// 'form.profile.allow_overlap' => 'Punch in mode', +// 'form.profile.punch_mode' => 'Punch mode', // 'form.profile.allow_overlap' => 'Allow overlap', // 'form.profile.future_entries' => 'Future entries', // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators', @@ -494,4 +500,28 @@ $i18n_key_words = array( // '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.', + +// 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.', );