Put form.swap.hint into translation files.
[timetracker.git] / WEB-INF / resources / zh-tw.lang.php
index 7cf4ea3..a10108e 100644 (file)
@@ -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('周日', '週一', '週二', '週三', '週四', '週五', '週六');
@@ -56,7 +56,7 @@ $i18n_key_words = array(
 'menu.projects' => '項目',
 // TODO: translate the following.
 // 'menu.tasks' => 'Tasks',
-// 'menu.users' => 'Users',
+'menu.users' => '用戶',
 'menu.teams' => '團隊',
 'menu.export' => '輸出資料',
 'menu.clients' => '客戶',
@@ -89,15 +89,17 @@ $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' => 'Client with this name already exists.',
 // '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' => '上傳文件出錯。',
 // TODO: translate the following.
 // 'error.range_locked' => 'Date range is locked.',
@@ -117,14 +119,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' => '發送',
@@ -161,10 +157,11 @@ $i18n_key_words = array(
 // 'label.end_date' => 'End date',
 'label.user' => '用戶',
 'label.users' => '用戶',
+// TODO: translate the following.
+// 'label.roles' => 'Roles',
 'label.client' => '客戶',
 'label.clients' => '客戶',
-// TODO: translate the following.
-// 'label.option' => 'Option',
+'label.option' => '選項',
 'label.invoice' => '發票',
 'label.project' => '項目',
 'label.projects' => '項目',
@@ -180,14 +177,13 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.item' => 'Item',
 // 'label.cost' => 'Cost',
+// 'label.ip' => 'IP',
 // 'label.day_total' => 'Day total',
 'label.week_total' => '一周總計',
 // TODO: translate the following.
 // 'label.month_total' => 'Month total',
 'label.today' => '今天',
 // TODO: translate the following.
-// 'label.total_hours' => 'Total hours',
-// 'label.total_cost' => 'Total cost',
 // 'label.view' => 'View',
 'label.edit' => '編輯',
 'label.delete' => '刪除',
@@ -198,7 +194,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',
@@ -238,7 +234,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',
@@ -250,17 +246,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',
@@ -268,8 +265,9 @@ $i18n_key_words = array(
 // 'title.add_predefined_expense' => 'Adding Predefined Expense',
 // 'title.edit_predefined_expense' => 'Editing Predefined Expense',
 // 'title.delete_predefined_expense' => 'Deleting Predefined Expense',
-// 'title.reports' => 'Reports',
-// 'title.report' => 'Report',
+'title.reports' => '報告',
+'title.report' => '報告',
+// TODO: translate the following.
 // 'title.send_report' => 'Sending Report',
 'title.invoice' => '發票',
 // TODO: translate the following.
@@ -285,10 +283,14 @@ $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' => '刪除用戶',
+// 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' => '編輯客戶',
@@ -320,6 +322,7 @@ $i18n_key_words = array(
 // It is also a name for the Locking plugin on the Team profile 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.
@@ -348,38 +351,36 @@ $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' => '忘記密碼?',
 // TODO: translate the following.
-// 'form.login.about' =>'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> is a simple, easy to use, open source time tracking system.',
+// 'form.login.about' => 'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> is a simple, easy to use, open source time tracking system.',
 
 // 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.
-// '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.
@@ -415,9 +416,10 @@ $i18n_key_words = array(
 
 // Invoice form. See example at https://timetracker.anuko.com/invoice.php
 // (you can get to this form after generating a report).
-// TODO: translate the following.
-// 'form.invoice.number' => 'Invoice number',
-// 'form.invoice.person' => 'Person',
+'form.invoice.number' => '發票號碼',
+'form.invoice.person' => '人', // TODO: is this correct?
+
+// Deleting Invoice form. See example at https://timetracker.anuko.com/invoice_delete.php
 // 'form.invoice.invoice_to_delete' => 'Invoice to delete',
 // 'form.invoice.invoice_entries' => 'Invoice entries',
 // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.',
@@ -442,11 +444,20 @@ $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',
+// '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.
@@ -459,104 +470,83 @@ $i18n_key_words = array(
 // 'form.client.client_entries' => 'Client entries',
 
 // Exporting Team Data form. See example at https://timetracker.anuko.com/export.php
-// TODO: translate the following.
-// 'form.export.hint' => 'You can export all team data into an xml file. It could be useful if you are migrating data to your own server.',
-// 'form.export.compression' => 'Compression',
-// 'form.export.compression_none' => 'none',
-// 'form.export.compression_bzip' => 'bzip',
+'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).
-// TODO: translate the following.
-// 'form.import.hint' => 'Import team data from an xml file.',
-// 'form.import.file' => 'Select file',
-// 'form.import.success' => 'Import completed successfully.',
+'form.import.hint' => '從xml檔導入團隊資料。',
+'form.import.file' => '選擇檔',
+'form.import.success' => '成功完成導入。',
 
 // Teams form. See example at https://timetracker.anuko.com/admin_teams.php (login as admin first).
 // TODO: translate the following.
 'form.teams.hint' => '通過創建新的團隊經理帳號來創建新團隊。<br>您也可以從其它的Anuko時間追蹤器伺服器的xml檔導入團隊資料(登錄資訊不能發生衝突)。',
 
-
-
-// TODO: refactoring ongoing down from here.
-
-"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" => '合作經理人',
-
-// report attributes
-"form.report.title" => '報告',
-"form.report.total" => '總計時間',
-
-// mail form attributes
-"form.mail.from" => '從',
-"form.mail.to" => '到',
-"form.mail.above" => '通過電子郵件發送該報告',
-// Note to translators: this string needs to be translated.
-// "form.mail.footer_str" => 'Anuko Time Tracker is a simple, easy to use, open source<br>time tracking system. Visit <a href="https://www.anuko.com">www.anuko.com</a> for more information.',
-"form.mail.sending_str" => '<b>消息已發送</b>',
-
-// invoice attributes
-"form.invoice.title" => '發票',
-"form.invoice.caption" => '發票',
-"form.invoice.above" => '發票附加資訊',
-"form.invoice.select_cust" => '選擇客戶',
-"form.invoice.fillform" => '填寫該欄目',
-"form.invoice.number" => '發票號碼',
-"form.invoice.th.username" => '收費人',
-"form.invoice.th.time" => '小時數',
-"form.invoice.th.rate" => '費率',
-"form.invoice.th.summ" => '帳號',
-"form.invoice.subtotal" => '共計',
-"form.invoice.customer" => '客戶',
-"form.invoice.mailinv_above" => '通過電子郵件發送此發票',
-"form.invoice.sending_str" => '<b>發票已送出</b>',
-
-"form.migration.zip" => '壓縮',
-"form.migration.file" => '選擇檔',
-"form.migration.import.title" => '導入數據',
-"form.migration.import.success" => '成功完成導入',
-"form.migration.import.text" => '從xml檔導入團隊資料',
-"form.migration.export.title" => '匯出數據',
-"form.migration.export.success" => '成功完成匯出',
-"form.migration.export.text" => '您可以將所有團隊資料匯出到xml檔。如果您要將資料轉移到您自己的伺服器,這項操作很有用。',
-"form.migration.compression.none" => '不压缩',
-"form.migration.compression.gzip" => 'gzip格式',
-"form.migration.compression.bzip" => 'bzip格式',
-
-// miscellaneous strings
-"forward.tocsvfile" => '將資料輸出到.csv文件',
-"forward.toxmlfile" => '將資料輸出到.xml文件',
-"forward.geninvoice" => '生成發票',
+// 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',
+// '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',
+
+// Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report.
+'form.mail.from' => '從',
+'form.mail.to' => '到',
+// TODO: translate the following.
+// 'form.mail.report_subject' => 'Time Tracker Report',
+// 'form.mail.footer' => 'Anuko Time Tracker is a simple, easy to use, open source<br>time tracking system. Visit <a href="https://www.anuko.com">www.anuko.com</a> for more information.',
+// 'form.mail.report_sent' => 'Report sent.',
+'form.mail.invoice_sent' => '發票已送出。',
+
+// 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',
+// '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.',
+
+// 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',
+// '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.',
 );