X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Fresources%2Fzh-cn.lang.php;h=7bad3fa9d77b55b7edf0c9d279fbf611223a8f69;hb=e19990636073ca1aa353a67033dc0cec311fdab9;hp=77294211319dd6ae313671d391daf2170219bd08;hpb=1954fb7aba2f6547e1e278887ab1fe7ed808dab7;p=timetracker.git
diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php
index 77294211..7bad3fa9 100644
--- a/WEB-INF/resources/zh-cn.lang.php
+++ b/WEB-INF/resources/zh-cn.lang.php
@@ -45,8 +45,11 @@ $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.plugins' => 'Plugins',
'menu.time' => 'æ¶é´è®°å½',
'menu.expenses' => 'è´¹ç¨',
'menu.reports' => 'æ¥å',
@@ -54,7 +57,9 @@ $i18n_key_words = array(
'menu.projects' => '项ç®',
'menu.tasks' => 'ä»»å¡',
'menu.users' => 'ç¨æ·',
-'menu.teams' => 'å¢é',
+// TODO: translate the following.
+// 'menu.groups' => 'Groups',
+// 'menu.subgroups' => 'Subgroups',
'menu.export' => '导åºæ°æ®',
'menu.clients' => '客æ·',
'menu.options' => 'é项',
@@ -69,6 +74,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}"ã',
@@ -85,25 +92,29 @@ $i18n_key_words = array(
'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' => '没æ该ç»å½ä¿¡æ¯çç¨æ·ã',
-'error.no_teams' => 'æ¨çæ°æ®åºæ²¡æä»»ä½è®°å½ã请以管çå身份ç»å½å¹¶å建ä¸ä¸ªæ°å¢éã',
+'error.no_groups' => 'æ¨çæ°æ®åºæ²¡æä»»ä½è®°å½ã请以管çå身份ç»å½å¹¶å建ä¸ä¸ªæ°å¢éã', // TODO: replace "team" with "group".
'error.upload' => 'ä¸ä¼ æ件åºéã',
'error.range_locked' => 'æ¥æèå´éå®ã',
'error.mail_send' => 'åéé®ä»¶æ¶åºéã',
+// TODO: improve the translation above by adding MAIL_SMTP_DEBUG part.
+// 'error.mail_send' => 'Error sending mail. Use MAIL_SMTP_DEBUG for diagnostics.',
'error.no_email' => '没æçµåé®ä»¶ä¸è¯¥ç¨æ·åå
³èã',
'error.uncompleted_exists' => 'æªå®æçæ¡ç®å·²ç»åå¨ãå
³éæå é¤ã',
'error.goto_uncompleted' => 'è¿å
¥æªå®æçæ¡ç®ã',
// TODO: translate the following.
// 'error.overlap' => 'Time interval overlaps with existing records.',
// 'error.future_date' => 'Date is in future.',
+// 'error.xml' => 'Error in XML file at line %d: %s.',
+// 'error.cannot_import' => 'Cannot import: %s.',
+// 'error.format' => 'Invalid file format.',
+
+// Success messages.
+// TODO: translate the following.
+// 'msg.success' => 'Operation completed successfully.',
// Labels for buttons.
'button.login' => 'ç»å½',
@@ -120,15 +131,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' => 'è´§å¸',
@@ -150,6 +161,8 @@ $i18n_key_words = array(
'label.user' => 'ç¨æ·',
'label.users' => 'ç¨æ·',
// TODO: translate the following.
+// 'label.group' => 'Group',
+// 'label.subgroups' => 'Subgroups',
// 'label.roles' => 'Roles',
'label.client' => '客æ·',
'label.clients' => '客æ·',
@@ -235,14 +248,21 @@ $i18n_key_words = array(
// 'label.mark_paid' => 'Mark paid',
// 'label.week_note' => 'Week note',
// 'label.week_list' => 'Week list',
+// 'label.work_units' => 'Work units',
+// 'label.work_units_short' => 'Units',
+// 'label.totals_only' => 'Totals only',
// Form titles.
+// TODO: Translate the following.
+// 'title.error' => 'Error',
+// 'title.success' => 'Success',
'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.subgroups' => 'Subgroups',
+// 'title.add_group' => 'Adding 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 +317,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.plugins' => 'Plugins',
// 'title.cf_custom_fields' => 'Custom Fields',
// 'title.cf_add_custom_field' => 'Adding Custom Field',
// 'title.cf_edit_custom_field' => 'Editing Custom Field',
@@ -311,10 +332,11 @@ $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',
+// 'title.work_units' => 'Work Units',
// 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.
@@ -397,7 +419,6 @@ $i18n_key_words = array(
'form.reports.group_by_project' => '项ç®',
// TODO: translate the following.
// 'form.reports.group_by_task' => 'task',
-// 'form.reports.totals_only' => 'Totals only',
// Report form. See example at https://timetracker.anuko.com/report.php
// (after generating a report at https://timetracker.anuko.com/reports.php).
@@ -441,6 +462,10 @@ $i18n_key_words = array(
'form.users.rate' => 'è´¹ç',
'form.users.default_rate' => 'é»è®¤å°æ¶æ¶è´¹',
+// Editing User form. See example at https://timetracker.anuko.com/user_edit.php
+// TODO: translate the following.
+// 'form.user_edit.swap_roles' => 'Swap roles',
+
// Roles form. See example at https://timetracker.anuko.com/roles.php
// TODO: translate the following.
// 'form.roles.active_roles' => 'Active Roles',
@@ -460,38 +485,44 @@ $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/import.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' => 'éè¿å建æ°çå¢éç»çè´¦å·æ¥å建æ°å¢éã
æ¨ä¹å¯ä»¥ä»å
¶å®ç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.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',
+// 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' => 'éè¿å建æ°çå¢éç»çè´¦å·æ¥å建æ°å¢éã
æ¨ä¹å¯ä»¥ä»å
¶å®çAnukoæ¶é´è¿½è¸ªå¨æå¡å¨çxmlæ件导å
¥å¢éæ°æ®(ç»å½ä¿¡æ¯ä¸è½åçå²çª)ã',
+
+// Group Settings form. See example at https://timetracker.anuko.com/group_edit.php.
+// TODO: translate the following.
+// 'form.group_edit.12_hours' => '12 hours',
+// 'form.group_edit.24_hours' => '24 hours',
+// 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.tracking_mode' => 'Tracking mode',
+// 'form.group_edit.mode_time' => 'time',
+// 'form.group_edit.mode_projects' => 'projects',
+// 'form.group_edit.mode_projects_and_tasks' => 'projects and tasks',
+// 'form.group_edit.record_type' => 'Record type',
+// 'form.group_edit.type_all' => 'all',
+// 'form.group_edit.type_start_finish' => 'start and finish',
+// 'form.group_edit.type_duration' => 'duration',
+// 'form.group_edit.punch_mode' => 'Punch mode',
+// 'form.group_edit.allow_overlap' => 'Allow overlap',
+// 'form.group_edit.future_entries' => 'Future entries',
+// 'form.group_edit.uncompleted_indicators' => 'Uncompleted indicators',
+// 'form.group_edit.allow_ip' => 'Allow IP',
+
+// 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' => 'ä»',
@@ -502,7 +533,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',
@@ -510,6 +541,16 @@ $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',
+
+// Work Units configuration form. See example at https://timetracker.anuko.com/work_units.php after enabling Work units plugin.
+// TODO: translate the following.
+// 'form.work_units.minutes_in_unit' => 'Minutes in unit',
+// 'form.work_units.1st_unit_threshold' => '1st unit threshold',
+
// Roles and rights. These strings are used in multiple places. Grouped here to provide consistent translations.
// TODO: translate the following.
// 'role.user.label' => 'User',