A bit more cleanup in translations.
[timetracker.git] / WEB-INF / resources / zh-tw.lang.php
index 6412738..6566172 100644 (file)
@@ -165,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.
@@ -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',
@@ -304,6 +306,7 @@ $i18n_key_words = array(
 // 'title.export' => 'Exporting Team Data',
 // 'title.import' => 'Importing Team Data',
 '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',
@@ -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,12 +438,45 @@ $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',
 
-// administrator form
-"form.admin.duty_text" => '通過創建新的團隊經理帳號來創建新團隊。<br>您也可以從其它的Anuko時間追蹤器伺服器的xml檔導入團隊資料(登錄資訊不能發生衝突)。',
+// 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格式',
+
+// 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檔導入團隊資料(登錄資訊不能發生衝突)。',
+
+
+
+// TODO: refactoring ongoing down from here.
 
 "form.admin.profile.title" => '團隊',
 "form.admin.profile.noprofiles" => '您的資料庫沒有任何記錄。請以管理員身份登錄並創建一個新團隊。',
@@ -490,48 +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" => '發票',
 );