Implemented group delete feature.
[timetracker.git] / WEB-INF / resources / zh-cn.lang.php
index ca9dc84..d299b8e 100644 (file)
@@ -45,8 +45,10 @@ $i18n_key_words = array(
 'menu.forum' => '论坛',
 'menu.help' => '帮助',
 // TODO: translate the following.
-// 'menu.create_team' => 'Create Team',
+// 'menu.create_group' => 'Create Group',
 'menu.profile' => '简介',
+// TODO: translate the following.
+// 'menu.group' => 'Group',
 'menu.time' => '时间记录',
 'menu.expenses' => '费用',
 'menu.reports' => '报告',
@@ -54,7 +56,8 @@ $i18n_key_words = array(
 'menu.projects' => '项目',
 'menu.tasks' => '任务',
 'menu.users' => '用户',
-'menu.teams' => '团队',
+// TODO: translate the following.
+// 'menu.groups' => 'Groups',
 'menu.export' => '导出数据',
 'menu.clients' => '客户',
 'menu.options' => '选项',
@@ -69,6 +72,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}"。',
@@ -94,7 +99,7 @@ $i18n_key_words = array(
 // 'error.role_exists' => 'Role with this rank already exists.',
 // 'error.no_invoiceable_items' => 'There are no invoiceable items.',
 'error.no_login' => '没有该登录信息的用户。',
-'error.no_teams' => '您的数据库没有任何记录。请以管理员身份登录并创建一个新团队。',
+'error.no_groups' => '您的数据库没有任何记录。请以管理员身份登录并创建一个新团队。', // TODO: replace "team" with "group".
 'error.upload' => '上传文件出错。',
 'error.range_locked' => '日期范围锁定。',
 'error.mail_send' => '发送邮件时出错。',
@@ -120,15 +125,15 @@ $i18n_key_words = array(
 'button.send' => '发送',
 'button.send_by_email' => '通过邮件发送',
 // TODO: translate the following.
-// 'button.create_team' => 'Create team',
-'button.export' => '导出团队信息',
-'button.import' => '导入团队信息',
+// 'button.create_group' => 'Create group',
+'button.export' => '导出团队信息', // TODO: replace "team" with "group".
+'button.import' => '导入团队信息', // TODO: replace "team" with "group".
 'button.close' => '关闭',
 // TODO: translate the following.
 // 'button.stop' => 'Stop',
 
 // Labels for controls on forms. Labels in this section are used on multiple forms.
-'label.team_name' => '团队名称',
+'label.group_name' => '团队名称', // TODO: replace "team" with "group".
 // TODO: translate the following.
 // 'label.address' => 'Address',
 'label.currency' => '货币',
@@ -238,11 +243,11 @@ $i18n_key_words = array(
 
 // Form titles.
 'title.login' => '登录',
-'title.teams' => '团队',
+'title.groups' => '团队', // TODO: change "teams" to "groups".
 // TODO: translate the following.
-// 'title.create_team' => 'Creating Team',
-// 'title.edit_team' => 'Editing Team',
-'title.delete_team' => '删除团队',
+// 'title.create_group' => 'Creating Group',
+// 'title.edit_group' => 'Editing Group',
+'title.delete_group' => '删除团队', // TODO: change "team" to "group".
 'title.reset_password' => '重设密码',
 // TODO: translate the following.
 // 'title.change_password' => 'Changing Password',
@@ -297,11 +302,12 @@ $i18n_key_words = array(
 // '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.export' => 'Exporting Group Data',
+// 'title.import' => 'Importing Group Data',
 '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,9 +317,10 @@ $i18n_key_words = array(
 // '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.
+// It is also a name for the Locking plugin on the group settings 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.
@@ -459,22 +466,25 @@ $i18n_key_words = array(
 // '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
+// Exporting Group Data form. See example at https://timetracker.anuko.com/export.php
+// TODO: replace "team" with "group" in the string below.
 '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文件导入团队数据。',
+// Importing Group Data form. See example at https://timetracker.anuko.com/imort.php (login as admin first).
+'form.import.hint' => '从xml文件导入团队数据。', // TODO: replace "team" with "group".
 '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文件导入团队数据(登录信息不能发生冲突)。',
+// Groups form. See example at https://timetracker.anuko.com/admin_groups.php (login as admin first).
+// TODO: replace "team" with "group" in the string below.
+'form.groups.hint' => '通过创建新的团队经理账号来创建新团队。<br>您也可以从其它的Anuko时间追踪器服务器的xml文件导入团队数据(登录信息不能发生冲突)。',
 
 // 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',
@@ -490,8 +500,13 @@ $i18n_key_words = array(
 // 'form.profile.allow_overlap' => 'Allow overlap',
 // 'form.profile.future_entries' => 'Future entries',
 // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators',
+// 'form.profile.allow_ip' => 'Allow IP',
 // 'form.profile.plugins' => 'Plugins',
 
+// Deleting Group form. See example at https://timetracker.anuko.com/delete_group.php
+// TODO: translate the following.
+// 'form.group_delete.hint' => 'Are you sure you want to delete the entire group?',
+
 // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report.
 'form.mail.from' => '从',
 'form.mail.to' => '到',
@@ -501,7 +516,7 @@ $i18n_key_words = array(
 // 'form.mail.report_sent' => 'Report sent.',
 'form.mail.invoice_sent' => '发票已送出。',
 
-// Quotas configuration form.
+// 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',
@@ -509,6 +524,11 @@ $i18n_key_words = array(
 // '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',