X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Fresources%2Fzh-cn.lang.php;h=0471b9d40142072eb4209ac2e486e251ec62220b;hb=08bbf671649fd5419fe4d38fab621e053472e8ce;hp=7c9bcde75e77b1a41dc7f946166f71580d2dc14f;hpb=7658ab94a01fcdc894c8e4e5541b2c10efcd5799;p=timetracker.git
diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php
index 7c9bcde7..0471b9d4 100644
--- a/WEB-INF/resources/zh-cn.lang.php
+++ b/WEB-INF/resources/zh-cn.lang.php
@@ -29,7 +29,7 @@
// Note: escape apostrophes with THREE backslashes, like here: choisir l\\\'option.
// Other characters (such as double-quotes in http links, etc.) do not have to be escaped.
-$i18n_language = 'ç®ä½ä¸æ';
+$i18n_language = 'Chinese (ç®ä½ä¸æ)';
$i18n_months = array('ä¸æ', 'äºæ', 'ä¸æ', 'åæ', 'äºæ', 'å
æ', 'ä¸æ', 'å
«æ', 'ä¹æ', 'åæ', 'åä¸æ', 'åäºæ');
$i18n_weekdays = array('ææ天', 'ææä¸', 'ææäº', 'ææä¸', 'ææå', 'ææäº', 'ææå
');
$i18n_weekdays_short = array('å¨æ¥', 'å¨ä¸', 'å¨äº', 'å¨ä¸', 'å¨å', 'å¨äº', 'å¨å
');
@@ -83,16 +83,18 @@ $i18n_key_words = array(
// 'error.record' => 'Select record.',
'error.auth' => 'ä¸æ£ç¡®çç¨æ·åæå¯ç ã',
'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' => '没æ该ç»å½ä¿¡æ¯çç¨æ·ã',
-// 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' => 'åéé®ä»¶æ¶åºéã',
@@ -111,14 +113,8 @@ $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.delete' => 'å é¤',
'button.generate' => 'å建',
'button.reset_password' => 'éç½®å¯ç ',
'button.send' => 'åé',
@@ -153,6 +149,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 +185,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',
@@ -227,7 +225,7 @@ $i18n_key_words = array(
// 'label.required' => 'Required',
'label.fav_report' => 'æ¶èçæ¥å',
// TODO: translate the following.
-// 'label.cron_schedule' => 'Cron schedule',
+// 'label.schedule' => 'Schedule',
// 'label.what_is_it' => 'What is it?',
// 'label.expense' => 'Expense',
// 'label.quantity' => 'Quantity',
@@ -243,13 +241,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',
@@ -278,6 +277,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' => 'ç¼è¾å®¢æ·',
@@ -344,21 +348,20 @@ $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.
'form.reset_password.email_subject' => 'Anukoæ¶é´è¿½è¸ªå¨å¯ç é设请æ±',
-// TODO: translate the ending of the following.
-'form.reset_password.email_body' => "亲ç±çç¨æ·ï¼\n\næ人ï¼ä¹å¯è½æ¯æ¨èªå·±ï¼è¯·æ±éæ°è®¾ç½®æ¨çAnukoæ¶é´è¿½è¸ªå¨å¯ç ãå¦ææ¨å¸æé设æ¨çå¯ç ï¼è¯·è®¿é®ä¸é¢çè¿ç»ï¼\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
+// TODO: translate the following.
+// 'form.reset_password.email_body' => "Dear User,\n\nSomeone from IP %s requested your Anuko Time Tracker password reset. Please visit this link if you want to reset your password.\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
// Changing Password form. See example at https://timetracker.anuko.com/password_change.php?ref=1.
// TODO: translate the following.
// '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 +369,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.
@@ -437,6 +439,15 @@ $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.rank' => 'Rank',
+// 'form.roles.rights' => 'Rights',
+// 'form.roles.assigned' => 'Assigned',
+// 'form.roles.not_assigned' => 'Not assigned',
+
// Clients form. See example at https://timetracker.anuko.com/clients.php
// TODO: translate the following.
// 'form.clients.active_clients' => 'Active Clients',
@@ -465,6 +476,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',
@@ -473,9 +485,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,21 +508,27 @@ $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.',
-
-
-// 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" => '该记å½åªä¿åäºå¼å§æ¶é´ãè¿ä¸æ¯é误ãå¦æéè¦ï¼è¯·æ³¨éã',
+// 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.',
);