Some cleanup in translation files.
[timetracker.git] / WEB-INF / resources / zh-tw.lang.php
index dbed304..0447cde 100644 (file)
@@ -38,17 +38,17 @@ $i18n_holidays = array('01/01', '01/02', '01/25', '01/26', '01/27', '01/28', '01
 
 $i18n_key_words = array(
 
-// Menus.
+// Menus - short selection strings that are displayed on top of application web pages.
+// Example: https://timetracker.anuko.com (black menu on top).
 'menu.login' => '登錄',
 'menu.logout' => '登出',
 // TODO: translate the following.
 // 'menu.forum' => 'Forum',
 'menu.help' => '幫助',
-// Note to translators: menu.create_team needs a more accurate translation.
-'menu.create_team' => '創建新管理帳號',
-'menu.profile' => '編輯簡介', // TODO: Improve this, used to be "Edit profile", now just "Profile".
-'menu.time' => '我的時間記錄', // TODO: Improve this, used to be "My time", now just "Time".
 // TODO: translate the following.
+// 'menu.create_team' => 'Create Team',
+// 'menu.profile' => 'Profile',
+// 'menu.time' => 'Time',
 // 'menu.expenses' => 'Expenses',
 'menu.reports' => '報告',
 // TODO: translate the following.
@@ -71,6 +71,7 @@ $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.',
@@ -78,16 +79,24 @@ $i18n_key_words = array(
 'error.field' => '不正確的"{0}"資料',
 'error.empty' => '欄目"{0}"為空',
 'error.not_equal' => '欄目"{0}"不等於欄目"{1}"',
-'error.interval' => '不正確的間隔',
-'error.project' => '選擇項目',
-'error.activity' => '選擇活動',
+// TODO: translate the following.
+// 'error.interval' => 'Field "{0}" must be greater than "{1}".',
+// 'error.project' => 'Select project.',
+// 'error.task' => 'Select task.',
+// 'error.client' => 'Select client.',
+// 'error.report' => 'Select report.',
+// 'error.record' => 'Select record.',
 'error.auth' => '不正確的用戶名或密碼',
 'error.user_exists' => '該使用者登錄資訊已經存在',
 'error.project_exists' => '該專案名稱已經存在',
-'error.activity_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' => '沒有該登錄資訊的使用者',
+// TODO: translate the following.
+// 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.',
 'error.upload' => '上傳文件出錯',
 // TODO: translate the following.
 // 'error.range_locked' => 'Date range is locked.',
@@ -103,56 +112,156 @@ $i18n_key_words = array(
 'button.login' => '登錄',
 'button.now' => '當前時間',
 'button.save' => '保存',
-'button.delete' => '刪除',
+// TODO: translate the following.
+// 'button.copy' => 'Copy',
 'button.cancel' => '取消',
 'button.submit' => '提交',
-// TODO: check / improve translation of all button.add... strings.
-'button.add_user' => '添加新用戶',
-'button.add_project' => '添加新項目',
-'button.add_activity' => '添加新活動',
-'button.add_client' => '添加新客戶',
+// 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.generate' => '創建',
-// Note to translators: button.reset_password needs to be translated.
-// 'button.reset_password' => 'reset password',
+// TODO: translate the following.
+// 'button.reset_password' => 'Reset password',
 'button.send' => '發送',
 'button.send_by_email' => '通過郵件發送',
-'button.save_as_new' => '另存為',
-// TODO: improve translation of button.create_team
-'button.create_team' => '創建新團隊',
+// TODO: translate the following.
+// 'button.create_team' => 'Create team',
 'button.export' => '輸出團隊資訊',
 'button.import' => '輸入團隊資訊',
-'button.apply' => '應用',
+// TODO: translate the following.
+// 'button.close' => 'Close',
+// 'button.stop' => 'Stop',
 
-// labels for controls on various forms
-// TODO: translate label.team_name
-// 'label.team_name' => 'team name',
+// Labels for controls on forms. Labels in this section are used on multiple forms.
+// TODO: translate the following.
+// 'label.team_name' => 'Team name',
+// 'label.address' => 'Address',
 'label.currency' => '貨幣',
-// TODO: translate label.manager_name and label.manager_login.
-// 'label.manager_name' => 'manager name',
-// 'label.manager_login' => 'manager login',
+// TODO: translate the following.
+// 'label.manager_name' => 'Manager name',
+// 'label.manager_login' => 'Manager login',
+// 'label.person_name' => 'Name',
+// 'label.thing_name' => 'Name',
+'label.login' => '登錄',
 'label.password' => '密碼',
 'label.confirm_password' => '確認密碼',
 'label.email' => '電子郵件',
+'label.cc' => '抄送',
+// TODO: translate the following.
+// 'label.bcc' => 'Bcc',
+'label.subject' => '主題',
+// TODO: translate the following.
+// 'label.date' => 'Date',
+// 'label.start_date' => 'Start date',
+// 'label.end_date' => 'End date',
+// 'label.user' => 'User',
+// 'label.users' => 'Users',
+// 'label.client' => 'Client',
+// 'label.clients' => 'Clients',
+// 'label.option' => 'Option',
+// 'label.invoice' => 'Invoice',
+// 'label.project' => 'Project',
+// 'label.projects' => 'Projects',
+// 'label.task' => 'Task',
+// 'label.tasks' => 'Tasks',
+// 'label.description' => 'Description',
+// 'label.start' => 'Start',
+// 'label.finish' => 'Finish',
+// 'label.duration' => 'Duration',
+// 'label.note' => 'Note',
+// 'label.notes' => 'Notes',
+// 'label.item' => 'Item',
+// 'label.cost' => 'Cost',
+// 'label.day_total' => 'Day total',
+// 'label.week_total' => 'Week total',
+// 'label.month_total' => 'Month total',
+// 'label.today' => 'Today',
+// 'label.total_hours' => 'Total hours',
+// 'label.total_cost' => 'Total cost',
+// 'label.view' => 'View',
+// 'label.edit' => 'Edit',
+'label.delete' => '刪除',
+// TODO: translate the following.
+// 'label.configure' => 'Configure',
+// 'label.select_all' => 'Select all',
+// 'label.select_none' => 'Deselect all',
+// 'label.day_view' => 'Day view',
+// 'label.week_view' => 'Week view',
+// 'label.id' => 'ID',
+// 'label.language' => 'Language',
+// 'label.decimal_mark' => 'Decimal mark',
+// 'label.date_format' => 'Date format',
+// 'label.time_format' => 'Time format',
+// 'label.week_start' => 'First day of week',
+// 'label.comment' => 'Comment',
+// 'label.status' => 'Status',
+// 'label.tax' => 'Tax',
+// 'label.subtotal' => 'Subtotal',
 'label.total' => '總計',
 // TODO: translate the following.
+// 'label.client_name' => 'Client name',
+// 'label.client_address' => 'Client address',
+// 'label.or' => 'or',
+// 'label.error' => 'Error',
+// 'label.ldap_hint' => 'Type your <b>Windows login</b> and <b>password</b> in the fields below.',
+// 'label.required_fields' => '* - required fields',
+// 'label.on_behalf' => 'on behalf of',
+// 'label.role_manager' => '(manager)',
+// 'label.role_comanager' => '(co-manager)',
+// 'label.role_admin' => '(administrator)',
 // 'label.page' => 'Page',
 // 'label.condition' => 'Condition',
+// 'label.yes' => 'yes',
+// 'label.no' => 'no',
+// Labels for plugins (extensions to Time Tracker that provide additional features).
+// TODO: translate the following.
+// 'label.custom_fields' => 'Custom fields',
+// 'label.monthly_quotas' => 'Monthly quotas',
+// 'label.type' => 'Type',
+// 'label.type_dropdown' => 'dropdown',
+// 'label.type_text' => 'text',
+// 'label.required' => 'Required',
+// 'label.fav_report' => 'Favorite report',
+// 'label.cron_schedule' => 'Cron schedule',
+// 'label.what_is_it' => 'What is it?',
+// 'label.expense' => 'Expense',
+// 'label.quantity' => 'Quantity',
+// 'label.paid_status' => 'Paid status',
+// 'label.paid' => 'Paid',
+// 'label.mark_paid' => 'Mark paid',
 
 // Form titles.
-// TODO: the entire title section is missing here. See the English file.
+'title.login' => '登錄',
+// TODO: translate the following.
+// 'title.teams' => 'Teams',
+// 'title.create_team' => 'Creating Team',
+// 'title.edit_team' => 'Editing Team',
+// 'title.delete_team' => 'Deleting 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.expenses' => 'Expenses',
+// 'title.edit_expense' => 'Editing Expense Item',
+// 'title.delete_expense' => 'Deleting Expense Item',
+
+
+
+// TODO: refactoring ongoing down from here.
 
 "form.filter.project" => '項目',
 "form.filter.filter" => '收藏的報告',
 "form.filter.filter_new" => '保存到我的存檔',
 "form.filter.filter_confirm_delete" => '您確認要刪除收藏的這個報告嗎?',
 
-// login form attributes
-"form.login.title" => '登錄',
-"form.login.login" => '登錄',
-
 // password reminder form attributes
-"form.fpass.title" => '重設密碼',
 "form.fpass.login" => '登錄',
 "form.fpass.send_pass_str" => '密碼重設請求已經發送',
 "form.fpass.send_pass_subj" => 'Anuko時間追蹤器密碼重設請求',
@@ -294,8 +403,6 @@ $i18n_key_words = array(
 // mail form attributes
 "form.mail.from" => '從',
 "form.mail.to" => '到',
-"form.mail.cc" => '抄送',
-"form.mail.subject" => '主題',
 "form.mail.comment" => '留言',
 "form.mail.above" => '通過電子郵件發送該報告',
 // Note to translators: this string needs to be translated.
@@ -378,8 +485,6 @@ $i18n_key_words = array(
 "label.chart.title2" => '項目用戶',
 "label.chart.period" => '圖表期限',
 
-"label.pinfo" => '%s, %s',
-"label.pinfo2" => '%s',
 "label.pbehalf_info" => '%s %s <b>代表%s</b>',
 "label.pminfo" => ' (經理)',
 "label.pcminfo" => ' (合作經理人)',