Some more recycling in translation files.
[timetracker.git] / WEB-INF / resources / zh-tw.lang.php
index 4389317..bdf96e8 100644 (file)
@@ -71,39 +71,38 @@ $i18n_key_words = array(
                                      // This is a link to a webpage that describes how to contribute to the project.
 
 // Error messages.
-// TODO: All error messages should be complete sentences with a period (full stop) in the end. Put them there.
 // TODO: translate the following.
 // 'error.access_denied' => 'Access denied.',
 // 'error.sys' => 'System error.',
-'error.db' => '資料庫錯誤',
-'error.field' => '不正確的"{0}"資料',
-'error.empty' => '欄目"{0}"為空',
-'error.not_equal' => '欄目"{0}"不等於欄目"{1}"',
+'error.db' => '資料庫錯誤',
+'error.field' => '不正確的"{0}"資料',
+'error.empty' => '欄目"{0}"為空',
+'error.not_equal' => '欄目"{0}"不等於欄目"{1}"',
 // TODO: translate the following.
 // 'error.interval' => 'Field "{0}" must be greater than "{1}".',
-'error.project' => '選擇項目',
+'error.project' => '選擇項目',
 // TODO: translate the following.
 // 'error.task' => 'Select task.',
-'error.client' => '選擇客戶',
+'error.client' => '選擇客戶',
 // TODO: translate the following.
 // 'error.report' => 'Select report.',
 // 'error.record' => 'Select record.',
-'error.auth' => '不正確的用戶名或密碼',
-'error.user_exists' => '該使用者登錄資訊已經存在',
-'error.project_exists' => '該專案名稱已經存在',
+'error.auth' => '不正確的用戶名或密碼',
+'error.user_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.no_invoiceable_items' => 'There are no invoiceable items.',
-'error.no_login' => '沒有該登錄資訊的使用者',
+'error.no_login' => '沒有該登錄資訊的使用者',
 // TODO: translate the following.
 // 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.',
-'error.upload' => '上傳文件出錯',
+'error.upload' => '上傳文件出錯',
 // TODO: translate the following.
 // 'error.range_locked' => 'Date range is locked.',
-'error.mail_send' => '發送郵件時出錯',
-'error.no_email' => '沒有電子郵件與該用戶名關聯',
+'error.mail_send' => '發送郵件時出錯',
+'error.no_email' => '沒有電子郵件與該用戶名關聯',
 // TODO: translate the following.
 // 'error.uncompleted_exists' => 'Uncompleted entry already exists. Close or delete it.',
 // 'error.goto_uncompleted' => 'Go to uncompleted entry.',
@@ -160,12 +159,13 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.start_date' => 'Start date',
 // 'label.end_date' => 'End date',
-// 'label.user' => 'User',
-// 'label.users' => 'Users',
-// 'label.client' => 'Client',
-// 'label.clients' => 'Clients',
+'label.user' => '用戶',
+'label.users' => '用戶',
+'label.client' => '客戶',
+'label.clients' => '客戶',
+// TODO: translate the following.
 // 'label.option' => 'Option',
-// 'label.invoice' => 'Invoice',
+'label.invoice' => '發票',
 'label.project' => '項目',
 'label.projects' => '項目',
 // TODO: translate the following.
@@ -193,16 +193,18 @@ $i18n_key_words = array(
 'label.delete' => '刪除',
 // TODO: translate the following.
 // 'label.configure' => 'Configure',
-// 'label.select_all' => 'Select all',
-// 'label.select_none' => 'Deselect all',
+'label.select_all' => '全部選擇',
+'label.select_none' => '全部不選',
+// TODO: translate the following.
 // 'label.day_view' => 'Day view',
 // 'label.week_view' => 'Week view',
 // 'label.id' => 'ID',
-// 'label.language' => 'Language',
+'label.language' => '語言',
+// TODO: translate the following.
 // 'label.decimal_mark' => 'Decimal mark',
-// 'label.date_format' => 'Date format',
-// 'label.time_format' => 'Time format',
-// 'label.week_start' => 'First day of week',
+'label.date_format' => '日期格式',
+'label.time_format' => '時間格式',
+'label.week_start' => '每週的第一天',
 'label.comment' => '留言',
 'label.status' => '狀態',
 'label.tax' => '稅',
@@ -215,7 +217,7 @@ $i18n_key_words = array(
 'label.or' => '或',
 // TODO: translate the following.
 // 'label.error' => 'Error',
-// 'label.ldap_hint' => 'Type your <b>Windows login</b> and <b>password</b> in the fields below.',
+'label.ldap_hint' => '在下麵的欄目輸入您的<b>Windows用戶名</b>和<b>密碼</b>。',
 'label.required_fields' => '* 必填欄目',
 'label.on_behalf' => '代表',
 'label.role_manager' => '(經理)',
@@ -269,7 +271,8 @@ $i18n_key_words = array(
 // 'title.reports' => 'Reports',
 // 'title.report' => 'Report',
 // 'title.send_report' => 'Sending Report',
-// 'title.invoice' => 'Invoice',
+'title.invoice' => '發票',
+// TODO: translate the following.
 // 'title.send_invoice' => 'Sending Invoice',
 // 'title.charts' => 'Charts',
 'title.projects' => '項目',
@@ -281,15 +284,17 @@ $i18n_key_words = array(
 // 'title.add_task' => 'Adding Task',
 // 'title.edit_task' => 'Editing Task',
 // 'title.delete_task' => 'Deleting Task',
-// 'title.users' => 'Users',
+'title.users' => '用戶',
+// TODO: translate the following.
 // 'title.add_user' => 'Adding User',
 // 'title.edit_user' => 'Editing User',
 // 'title.delete_user' => 'Deleting User',
-// 'title.clients' => 'Clients',
-// 'title.add_client' => 'Adding Client',
-// 'title.edit_client' => 'Editing Client',
-// 'title.delete_client' => 'Deleting Client',
-// 'title.invoices' => 'Invoices',
+'title.clients' => '客戶',
+'title.add_client' => '添加客戶',
+'title.edit_client' => '編輯客戶',
+'title.delete_client' => '刪除客戶',
+'title.invoices' => '發票',
+// TODO: translate the following.
 // 'title.add_invoice' => 'Adding Invoice',
 // 'title.view_invoice' => 'Viewing Invoice',
 // 'title.delete_invoice' => 'Deleting Invoice',
@@ -300,7 +305,8 @@ $i18n_key_words = array(
 // 'title.monthly_quotas' => 'Monthly Quotas',
 // 'title.export' => 'Exporting Team Data',
 // 'title.import' => 'Importing Team Data',
-// 'title.options' => 'Options',
+'title.options' => '選項',
+// TODO: translate the following.
 // 'title.profile' => 'Profile',
 // 'title.cf_custom_fields' => 'Custom Fields',
 // 'title.cf_add_custom_field' => 'Adding Custom Field',
@@ -317,26 +323,27 @@ $i18n_key_words = array(
 
 // 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.
+'dropdown.all' => '--- 全部 ---',
+'dropdown.no' => '--- 無 ---',
+'dropdown.current_day' => '今天',
+'dropdown.previous_day' => '昨天',
+'dropdown.selected_day' => '天',
+'dropdown.current_week' => '本周',
+'dropdown.previous_week' => '上周',
+'dropdown.selected_week' => '周',
+'dropdown.current_month' => '本月',
+'dropdown.previous_month' => '上個月', // TODO: is this corrtect? Not 上月?
+'dropdown.selected_month' => '月',
+'dropdown.current_year' => '今年',
 // TODO: translate the following.
-// 'dropdown.all' => '--- all ---',
-// 'dropdown.no' => '--- no ---',
-// 'dropdown.current_day' => 'today',
-// 'dropdown.previous_day' => 'yesterday',
-// 'dropdown.selected_day' => 'day',
-// 'dropdown.current_week' => 'this week',
-// 'dropdown.previous_week' => 'previous week',
-// 'dropdown.selected_week' => 'week',
-// 'dropdown.current_month' => 'this month',
-// 'dropdown.previous_month' => 'previous month',
-// 'dropdown.selected_month' => 'month',
-// 'dropdown.current_year' => 'this year',
 // 'dropdown.previous_year' => 'previous year',
-// 'dropdown.selected_year' => 'year',
-// 'dropdown.all_time' => 'all time',
+'dropdown.selected_year' => '年',
+'dropdown.all_time' => '全部時間',
 'dropdown.projects' => '項目',
 // TODO: translate the following.
 // 'dropdown.tasks' => 'tasks',
-// 'dropdown.clients' => 'clients',
+'dropdown.clients' => '客戶',
+// TODO: translate the following.
 // 'dropdown.select' => '--- select ---',
 // 'dropdown.select_invoice' => '--- select invoice ---',
 // 'dropdown.status_active' => 'active',
@@ -352,10 +359,10 @@ $i18n_key_words = array(
 // '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.
-// TODO: translate the following.
-// 'form.reset_password.message' => 'Password reset request sent by email.',
-// 'form.reset_password.email_subject' => 'Anuko Time Tracker password reset request',
-// 'form.reset_password.email_body' => "Dear User,\n\nSomeone, possibly you, 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",
+'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",
 
 // Changing Password form. See example at https://timetracker.anuko.com/password_change.php?ref=1.
 // TODO: translate the following.
@@ -391,9 +398,9 @@ $i18n_key_words = array(
 'form.reports.show_fields' => '顯示欄目',
 'form.reports.group_by' => '分組方式',
 'form.reports.group_by_no' => '--- 沒有分組 ---',
+'form.reports.group_by_date' => '日期',
+'form.reports.group_by_user' => '用戶',
 // TODO: translate the following.
-// 'form.reports.group_by_date' => 'date',
-// 'form.reports.group_by_user' => 'user',
 // 'form.reports.group_by_client' => 'client',
 'form.reports.group_by_project' => '項目',
 // TODO: translate the following.
@@ -430,38 +437,59 @@ $i18n_key_words = array(
 // 'form.tasks.active_tasks' => 'Active Tasks',
 // 'form.tasks.inactive_tasks' => 'Inactive Tasks',
 
+// Users form. See example at https://timetracker.anuko.com/users.php
+// TODO: translate the following.
+// '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',
 
+// Clients form. See example at https://timetracker.anuko.com/clients.php
+// TODO: translate the following.
+// 'form.clients.active_clients' => 'Active Clients',
+// 'form.clients.inactive_clients' => 'Inactive Clients',
 
-// TODO: refactoring ongoing down from here.
+// Deleting Client form. See example at https://timetracker.anuko.com/client_delete.php
+// TODO: translate the following.
+// '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
+// 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',
 
-// password reminder form attributes
-"form.fpass.login" => '登錄',
-"form.fpass.send_pass_str" => '密碼重設請求已經發送',
-"form.fpass.send_pass_subj" => 'Anuko時間追蹤器密碼重設請求',
-// Note to translators: the ending of this string below needs to be translated.
-"form.fpass.send_pass_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",
-"form.fpass.reset_comment" => "要重設密碼,請輸入新密碼並點擊保存按鈕",
+// 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.',
+
+// 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檔導入團隊資料(登錄資訊不能發生衝突)。',
 
-// administrator form
-"form.admin.title" => '管理員',
-"form.admin.duty_text" => '通過創建新的團隊經理帳號來創建新團隊。<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" => '啟動',
-"form.admin.options" => '選項',
-"form.admin.custom_date_format" => "日期格式",
-"form.admin.custom_time_format" => "時間格式",
-"form.admin.start_week" => "每週的第一天",
 
 // my time form attributes
 "form.mytime.title" => '我的時間記錄',
 "form.mytime.edit_title" => '編輯時間記錄',
 "form.mytime.del_str" => '刪除時間記錄',
 "form.mytime.time_form" => ' (時:分)',
-"form.mytime.daily" => '每日工作',
 "form.mytime.total" => '總小時數: ',
 "form.mytime.del_yes" => '成功刪除時間記錄',
 "form.mytime.no_finished_rec" => '該記錄只保存了開始時間。這不是錯誤。如果需要,請登出。',
@@ -472,39 +500,24 @@ $i18n_key_words = array(
 // Note to translators: we need a more accurate translation of form.profile.create_title
 "form.profile.create_title" => '創建新管理帳號',
 "form.profile.edit_title" => '編輯簡介',
-"form.profile.login" => '登錄',
-
 "form.profile.showchart" => '顯示餅狀圖',
-"form.profile.lang" => '語言',
-"form.profile.custom_date_format" => "日期格式",
-"form.profile.custom_time_format" => "時間格式",
-"form.profile.default_format" => "(默認)",
-"form.profile.start_week" => "每週的第一天",
 
 // people form attributes
 "form.people.ppl_str" => '人員',
 "form.people.createu_str" => '新建用戶',
 "form.people.edit_str" => '編輯用戶',
 "form.people.del_str" => '刪除用戶',
-"form.people.th.login" => '登錄',
 "form.people.th.role" => '角色',
 "form.people.th.rate" => '費率',
 "form.people.manager" => '經理',
 "form.people.comanager" => '合作經理人',
-"form.people.empl" => '用戶',
-"form.people.login" => '登錄',
 
 "form.people.rate" => '默認小時收費',
 "form.people.comanager" => '合作經理人',
 
 // report attributes
 "form.report.title" => '報告',
-"form.report.from" => '開始日期',
-"form.report.to" => '結束日期',
-"form.report.groupby_user" => '用戶',
-"form.report.totals_only" => '僅僅今天',
 "form.report.total" => '總計時間',
-"form.report.th.empllist" => '用戶',
 
 // mail form attributes
 "form.mail.from" => '從',
@@ -541,34 +554,4 @@ $i18n_key_words = array(
 "form.migration.compression.none" => '不压缩',
 "form.migration.compression.gzip" => 'gzip格式',
 "form.migration.compression.bzip" => 'bzip格式',
-
-"form.client.title" => '客戶',
-"form.client.add_title" => '添加客戶',
-"form.client.edit_title" => '編輯客戶',
-"form.client.del_title" => '刪除客戶',
-
-// miscellaneous strings
-"forward.tocsvfile" => '將資料輸出到.csv文件',
-"forward.toxmlfile" => '將資料輸出到.xml文件',
-"forward.geninvoice" => '生成發票',
-
-"controls.project_bind" => '--- 全部 ---',
-"controls.all" => '--- 全部 ---',
-"controls.notbind" => '--- 無 ---',
-"controls.per_tm" => '本月',
-"controls.per_lm" => '上個月',
-"controls.per_tw" => '本周',
-"controls.per_lw" => '上周',
-"controls.per_td" => '今天',
-"controls.per_at" => '全部時間',
-"controls.per_ty" => '今年',
-
-"label.inv_str" => '發票',
-"label.set_empl" => '選擇用戶',
-"label.sel_all" => '全部選擇',
-"label.sel_none" => '全部不選',
-"label.disable" => '禁用',
-"label.enable" => '啟用',
-"label.hrs" => '小時',
-"label.ldap_hint" => '在下麵的欄目輸入您的<b>Windows用戶名</b>和<b>密碼</b>。',
 );