More work on label refactoring in translation files.
[timetracker.git] / WEB-INF / resources / zh-tw.lang.php
index 3b9ab68..80ce18b 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,36 +112,49 @@ $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' => 'Login',
 'label.password' => '密碼',
 'label.confirm_password' => '確認密碼',
+
+
+
+// TODO: refactoring ongoing down from here.
+
 'label.email' => '電子郵件',
 'label.cc' => '抄送',
 // TODO: translate the following.
@@ -142,6 +164,9 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.page' => 'Page',
 // 'label.condition' => 'Condition',
+// 'label.yes' => 'yes',
+// 'label.no' => 'no',
+'label.delete' => '刪除',
 
 // Form titles.
 // TODO: the entire title section is missing here. See the English file.