A bit more cleanup in translations.
[timetracker.git] / WEB-INF / resources / zh-tw.lang.php
index c0f064b..6566172 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.',
@@ -166,7 +165,7 @@ $i18n_key_words = array(
 'label.clients' => '客戶',
 // TODO: translate the following.
 // 'label.option' => 'Option',
-// 'label.invoice' => 'Invoice',
+'label.invoice' => '發票',
 'label.project' => '項目',
 'label.projects' => '項目',
 // TODO: translate the following.
@@ -194,8 +193,9 @@ $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',
@@ -217,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' => '(經理)',
@@ -271,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' => '項目',
@@ -292,7 +293,8 @@ $i18n_key_words = array(
 'title.add_client' => '添加客戶',
 'title.edit_client' => '編輯客戶',
 'title.delete_client' => '刪除客戶',
-// 'title.invoices' => 'Invoices',
+'title.invoices' => '發票',
+// TODO: translate the following.
 // 'title.add_invoice' => 'Adding Invoice',
 // 'title.view_invoice' => 'Viewing Invoice',
 // 'title.delete_invoice' => 'Deleting Invoice',
@@ -303,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',
@@ -320,22 +323,22 @@ $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',
@@ -356,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.
@@ -412,9 +415,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.',
@@ -434,34 +438,57 @@ $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',
 
+// 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',
 
-// TODO: refactoring ongoing down from here.
+// Exporting Team Data form. See example at https://timetracker.anuko.com/export.php
+'form.export.hint' => '您可以將所有團隊資料匯出到xml檔。如果您要將資料轉移到您自己的伺服器,這項操作很有用。',
+'form.export.compression' => '壓縮',
+'form.export.compression_none' => '不压缩',
+'form.export.compression_bzip' => 'bzip格式',
 
-// password reminder form attributes
-"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).
+'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檔導入團隊資料(登錄資訊不能發生衝突)。',
 
-// 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" => '選項',
 
 // 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" => '該記錄只保存了開始時間。這不是錯誤。如果需要,請登出。',
@@ -500,55 +527,6 @@ $i18n_key_words = array(
 "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" => '生成發票',
-
-"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>。',
 );