X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Fresources%2Fzh-cn.lang.php;h=a0ef26b032ced6a770b5af3e9b83bc9c54ccb4e4;hb=7c2e78a2e46063bdec7ec4867680762b629cf4e2;hp=60a89ad73dc947134cff6bac8cd5f610874577a1;hpb=33fe605aa1936612a3e358102b59e411a0a30f07;p=timetracker.git
diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php
index 60a89ad7..a0ef26b0 100644
--- a/WEB-INF/resources/zh-cn.lang.php
+++ b/WEB-INF/resources/zh-cn.lang.php
@@ -91,8 +91,7 @@ $i18n_key_words = array(
// 'error.invoice_exists' => 'Invoice with this number 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' => 'åéé®ä»¶æ¶åºéã',
@@ -153,6 +152,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' => 'é项',
@@ -187,7 +188,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',
@@ -239,17 +240,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',
@@ -275,10 +277,9 @@ $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' => 'å é¤ç¨æ·',
'title.clients' => '客æ·',
'title.add_client' => 'æ·»å 客æ·',
'title.edit_client' => 'ç¼è¾å®¢æ·',
@@ -338,14 +339,14 @@ $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.
@@ -358,17 +359,15 @@ $i18n_key_words = array(
// '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.
@@ -432,11 +431,16 @@ $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',
// Clients form. See example at https://timetracker.anuko.com/clients.php
// TODO: translate the following.
@@ -466,6 +470,7 @@ $i18n_key_words = array(
// 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',
@@ -474,9 +479,10 @@ $i18n_key_words = array(
// '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.uncompleted_indicators_none' => 'do not show',
-// 'form.profile.uncompleted_indicators_show' => 'show',
// 'form.profile.plugins' => 'Plugins',
// Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report.
@@ -495,45 +501,4 @@ $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.',
-
-
-
-// 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" => 'åä½ç»ç人',
);