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=cd6ec4b66ae62fbb91edeb741f37ee480b98ff04;hpb=00733333adc4c294d2fdd7b8a29aaa7a419f14f9;p=timetracker.git
diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php
index cd6ec4b6..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',
@@ -243,13 +244,14 @@ $i18n_key_words = array(
// TODO: translate the following.
// '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',
@@ -344,7 +346,7 @@ $i18n_key_words = array(
// 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.
@@ -357,8 +359,7 @@ $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.
@@ -366,8 +367,7 @@ $i18n_key_words = array(
// '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,12 +432,15 @@ $i18n_key_words = array(
// 'form.users.inactive_users' => 'Inactive Users',
// 'form.users.uncompleted_entry' => 'User has an uncompleted time entry',
'form.users.role' => 'è§è²',
-// TODO: translate the following.
-// 'form.users.manager' => 'Manager',
-// 'form.users.comanager' => 'Co-manager',
+'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.users.default_rate' => 'Default hourly rate',
+// '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.
@@ -467,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',
@@ -475,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.
@@ -496,33 +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.no_finished_rec" => '该记å½åªä¿åäºå¼å§æ¶é´ãè¿ä¸æ¯é误ãå¦æéè¦ï¼è¯·æ³¨éã',
-
-// 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.manager" => 'ç»ç',
-"form.people.comanager" => 'åä½ç»ç人',
-"form.people.rate" => 'é»è®¤å°æ¶æ¶è´¹',
);