Some cleanup in translation files.
[timetracker.git] / WEB-INF / resources / zh-tw.lang.php
index 6fe6899..0447cde 100644 (file)
@@ -26,7 +26,7 @@
 // | https://www.anuko.com/time_tracker/credits.htm
 // +----------------------------------------------------------------------+
 
-// Note: escape apostrophes with THREE backslashes, like here:  choisir l\\\'option 
+// 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 = '簡體中文';
@@ -38,102 +38,230 @@ $i18n_holidays = array('01/01', '01/02', '01/25', '01/26', '01/27', '01/28', '01
 
 $i18n_key_words = array(
 
-// menu entries
+// 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' => '登出',
-'menu.feedback' => '回饋',
+// TODO: translate the following.
+// 'menu.forum' => 'Forum',
 'menu.help' => '幫助',
-// Note to translators: menu.create_team needs a more accurate translation.
-'menu.create_team' => '創建新管理帳號',
-'menu.edit_profile' => '編輯簡介',
-'menu.time' => '我的時間記錄',
+// TODO: translate the following.
+// 'menu.create_team' => 'Create Team',
+// 'menu.profile' => 'Profile',
+// 'menu.time' => 'Time',
+// 'menu.expenses' => 'Expenses',
 'menu.reports' => '報告',
-// Note to translators: menu.charts needs to be translated.
-// 'menu.charts' => 'charts',
+// TODO: translate the following.
+// 'menu.charts' => 'Charts',
 'menu.projects' => '項目',
-'menu.activities' => '活動',
-'menu.people' => '人員',
+// TODO: translate the following.
+// 'menu.tasks' => 'Tasks',
+// 'menu.users' => 'Users',
 'menu.teams' => '團隊',
 'menu.export' => '輸出資料',
 'menu.clients' => '客戶',
 'menu.options' => '選項',
-'menu.admin' => '管理',
 
-// error strings
+// Footer - strings on the bottom of most pages.
+// TODO: translate the following.
+// 'footer.contribute_msg' => 'You can contribute to Time Tracker in different ways.',
+// 'footer.credits' => 'Credits',
+// 'footer.license' => 'License',
+// 'footer.improve' => 'Contribute', // Translators: this could mean "Improve", if it makes better sense in your language.
+                                     // 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.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 error.client_exists.
-// 'error.client_exists' => 'client with this name already 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' => '上傳文件出錯',
-// Note to translators: string below must be translated.
-// 'error.period_locked' => 'can\\\'t complete the operation. records older than a certain number of days cannot be created or modified. team manager defines this in the "Lock interval in days" value on the "Profile" page. set it to 0 to remove locking. <br><br>uncompleted records (with 0 or empty duration) can be deleted.',
+// TODO: translate the following.
+// 'error.range_locked' => 'Date range is locked.',
 'error.mail_send' => '發送郵件時出錯',
 'error.no_email' => '沒有電子郵件與該用戶名關聯',
-// Note to translators: strings below must be translated.
-// 'error.uncompleted_exists' => 'uncompleted entry already exists. close or delete it.',
-// 'error.goto_uncompleted' => 'go to uncompleted entry.',
+// TODO: translate the following.
+// 'error.uncompleted_exists' => 'Uncompleted entry already exists. Close or delete it.',
+// 'error.goto_uncompleted' => 'Go to uncompleted entry.',
+// 'error.overlap' => 'Time interval overlaps with existing records.',
+// 'error.future_date' => 'Date is in future.',
 
-// labels for various buttons
+// Labels for buttons.
 'button.login' => '登錄',
 'button.now' => '當前時間',
-// 'button.set' => '設置',
 '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' => '總計',
-// Translate the following string.
+// 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.
+'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時間追蹤器密碼重設請求',
@@ -154,10 +282,7 @@ $i18n_key_words = array(
 "form.admin.profile.th.edit" => '編輯',
 "form.admin.profile.th.del" => '刪除',
 "form.admin.profile.th.active" => '啟動',
-"form.admin.lock.period" => '鎖定天數間隔',
 "form.admin.options" => '選項',
-"form.admin.lang_default" => '網站預設語言',
-"form.admin.lang_browser_default" => '(默認流覽器)',
 "form.admin.custom_date_format" => "日期格式",
 "form.admin.custom_time_format" => "時間格式",
 "form.admin.start_week" => "每週的第一天",
@@ -200,7 +325,6 @@ $i18n_key_words = array(
 
 "form.profile.showchart" => '顯示餅狀圖',
 "form.profile.lang" => '語言',
-"form.profile.lang_browser_default" => '(默認流覽器)',
 "form.profile.custom_date_format" => "日期格式",
 "form.profile.custom_time_format" => "時間格式",
 "form.profile.default_format" => "(默認)",
@@ -279,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.
@@ -296,9 +418,6 @@ $i18n_key_words = array(
 "form.invoice.date" => '日期',
 "form.invoice.number" => '發票號碼',
 "form.invoice.tax" => '稅',
-"form.invoice.daily_subtotals" => '每日總計',
-"form.invoice.yourcoo" => '您的姓名<br>和地址',
-"form.invoice.custcoo" => '客戶姓名<br>和位址',
 "form.invoice.comment" => '留言',
 "form.invoice.th.username" => '收費人',
 "form.invoice.th.time" => '小時數',
@@ -330,9 +449,6 @@ $i18n_key_words = array(
 "form.client.th.del" => '刪除',
 "form.client.name" => '姓名',
 "form.client.tax" => '稅',
-"form.client.daily_subtotals" => '每日總計',
-"form.client.yourcoo" => '您在發票中的名字<br>和地址',
-"form.client.custcoo" => '地址',
 "form.client.comment" => '備註',
 
 // miscellaneous strings
@@ -369,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" => ' (合作經理人)',