From 00733333adc4c294d2fdd7b8a29aaa7a419f14f9 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sat, 10 Feb 2018 16:15:49 +0000 Subject: [PATCH] Finished refactoring Chinese Traditional translation. --- WEB-INF/resources/et.lang.php | 5 --- WEB-INF/resources/hu.lang.php | 2 - WEB-INF/resources/ja.lang.php | 6 +-- WEB-INF/resources/ko.lang.php | 6 +-- WEB-INF/resources/no.lang.php | 6 +-- WEB-INF/resources/pt.lang.php | 2 - WEB-INF/resources/ro.lang.php | 2 - WEB-INF/resources/tr.lang.php | 3 -- WEB-INF/resources/zh-cn.lang.php | 6 +-- WEB-INF/resources/zh-tw.lang.php | 63 +++++++------------------------- WEB-INF/templates/footer.tpl | 2 +- 11 files changed, 18 insertions(+), 85 deletions(-) diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index 2187758a..8f79accd 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -531,12 +531,7 @@ $i18n_key_words = array( "form.mytime.title" => 'minu aeg', "form.mytime.edit_title" => 'ajakande muutmine', "form.mytime.del_str" => 'ajakande kustutamine', -"form.mytime.total" => 'tunde kokku: ', -"form.mytime.del_yes" => 'ajakanne kustutatud', "form.mytime.no_finished_rec" => 'kanne salvestati ainult alguse ajaga. see ei ole viga. logi välja kui vaja peaks olema.', -"form.mytime.warn_tozero_rec" => 'see ajakanne tuleb kustutada kuna see ajaperiood on lukustatud', -// Note to translators: the string below must be translated and added -// "form.mytime.uncompleted" => 'uncompleted', // profile form attributes // Note to translators: we need a more accurate translation of form.profile.create_title diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index e7df2f36..ca7f6265 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -529,8 +529,6 @@ $i18n_key_words = array( "form.mytime.edit_title" => 'szerkesztés', "form.mytime.del_str" => 'törlés', "form.mytime.time_form" => ' (óó:pp)', -"form.mytime.total" => 'összesített óraszám: ', -"form.mytime.del_yes" => 'a bejegyzés törölve', "form.mytime.no_finished_rec" => 'csak az munka kezdete lett megjelölve, ha később visszalépsz a rendszerbe beállíthatod a vég-időpontot...', // profile form attributes diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 246b8c6e..d7b1c0ea 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -371,8 +371,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.time.duration_format' => '(hh:mm or 0.0h)', 'form.time.billable' => '請求できる', +'form.time.uncompleted' => '未完成の', // TODO: translate the following. -// 'form.time.uncompleted' => 'Uncompleted', // 'form.time.remaining_quota' => 'Remaining quota', // 'form.time.over_quota' => 'Over quota', @@ -523,11 +523,7 @@ $i18n_key_words = array( "form.mytime.edit_title" => '時間レコードの編集', "form.mytime.del_str" => '時間レコードの削除', "form.mytime.time_form" => ' (hh:mm)', -"form.mytime.total" => '合計時間: ', -"form.mytime.del_yes" => '時間レコードが成功的に削除されました', "form.mytime.no_finished_rec" => 'このレコードは開始時間だけで保存されました。これはエラーではありません。もし必要があればログアウトしてください。', -"form.mytime.warn_tozero_rec" => 'この時間レコードの期間が満了されましたから、この時間レコードは削除されることが必要です', -"form.mytime.uncompleted" => '未完成の', // profile form attributes // Note to translators: we need a more accurate translation of form.profile.create_title diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index 51e28bff..36f392eb 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -375,8 +375,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.time.duration_format' => '(hh:mm or 0.0h)', 'form.time.billable' => '청구가능', +'form.time.uncompleted' => '완성되지 않은', // TODO: translate the following. -// 'form.time.uncompleted' => 'Uncompleted', // 'form.time.remaining_quota' => 'Remaining quota', // 'form.time.over_quota' => 'Over quota', @@ -526,11 +526,7 @@ $i18n_key_words = array( "form.mytime.edit_title" => '시간기록을 편집하기', "form.mytime.del_str" => '시간기록을 삭제하기', "form.mytime.time_form" => ' (hh:mm)', -"form.mytime.total" => '전체 시간: ', -"form.mytime.del_yes" => '성과적으로 삭제된 시간기록', "form.mytime.no_finished_rec" => '이 기록은 시작 시간으로만 저장되었습니다. 이것은 오류는 아닙니다. 필요하면 로그아웃 하십시오.', -"form.mytime.warn_tozero_rec" => '이 시간기간이 로크되었으므로 이 시간기록은 삭제되어야 합니다', -"form.mytime.uncompleted" => '완성되지 않은', // profile form attributes // Note to translators: we need a more accurate translation of form.profile.create_title diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index 5c0db5c8..de06b8f9 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -368,8 +368,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.time.duration_format' => '(hh:mm or 0.0h)', 'form.time.billable' => 'Fakturerbar', +'form.time.uncompleted' => 'Uferdig', // TODO: translate the following. -// 'form.time.uncompleted' => 'Uncompleted', // 'form.time.remaining_quota' => 'Remaining quota', // 'form.time.over_quota' => 'Over quota', @@ -520,12 +520,8 @@ $i18n_key_words = array( // "form.mytime.edit_title" => 'endre tidsoppføringen', "form.mytime.del_str" => 'slett tids oppføringen', "form.mytime.time_form" => ' (tt:mm)', -"form.mytime.total" => 'totalt antall timer: ', // Note to translators: the strings below must be translated -// "form.mytime.del_yes" => 'tidsoppføringen er slettet', // "form.mytime.no_finished_rec" => 'Denne oppføringen ble lagret kun med starttid. Det er ikke en feil. Logg ut om nødvendig.', -// "form.mytime.warn_tozero_rec" => 'Denne oppføringen må slettes fordi tidsperioden er låst', -// "form.mytime.uncompleted" => 'uferdig', // profile form attributes // Note to translators: we need a more accurate translation of form.profile.create_title diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index d24ed425..387063d8 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -502,8 +502,6 @@ $i18n_key_words = array( // my time form attributes "form.mytime.title" => 'adicionar período', -"form.mytime.total" => 'horas totais: ', -"form.mytime.del_yes" => 'o período registrado foi apagado com sucesso', // profile form attributes // Note to translators: we need a more accurate translation of form.profile.create_title diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 041a30e5..9df63a38 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -531,8 +531,6 @@ $i18n_key_words = array( "form.mytime.edit_title" => 'editarea inregistrarii timpului', "form.mytime.del_str" => 'stergerea inregistrarii timpului', "form.mytime.time_form" => ' (hh:mm)', -"form.mytime.total" => 'ore total: ', -"form.mytime.del_yes" => 'inregistrarea timului a fost stearsa cu succes', "form.mytime.no_finished_rec" => 'aceasta inregistrare a fost salvata numei cu timpul de inceput. nu este o eroare. poti parasi aplicatia daca este nevoie.', // profile form attributes diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index cb23b890..722ac97a 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -539,10 +539,7 @@ $i18n_key_words = array( "form.mytime.edit_title" => 'zaman kaydını düzenliyor', "form.mytime.del_str" => 'zaman kaydını siliyor', "form.mytime.time_form" => ' (ss:dd)', -"form.mytime.total" => 'toplam saat: ', -"form.mytime.del_yes" => 'zaman kaydı başarıyla silindi', "form.mytime.no_finished_rec" => 'bu kayıt sadece başlangıç zamanıyla silindi. bu hata değildir. gerekirse çıkış yapın.', -"form.mytime.warn_tozero_rec" => 'bu zaman kaydı silinmeli çünkü zaman aralığı kilitli', // profile form attributes // Note to translators: we need a more accurate translation of form.profile.create_title diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 0ccdff6d..cd6ec4b6 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -360,8 +360,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.time.duration_format' => '(hh:mm or 0.0h)', 'form.time.billable' => '计费时间', +'form.time.uncompleted' => '未完成', // TODO: translate the following. -// 'form.time.uncompleted' => 'Uncompleted', // 'form.time.remaining_quota' => 'Remaining quota', // 'form.time.over_quota' => 'Over quota', @@ -513,11 +513,7 @@ $i18n_key_words = array( "form.mytime.edit_title" => '编辑时间记录', "form.mytime.del_str" => '删除时间记录', "form.mytime.time_form" => ' (时:分)', -"form.mytime.total" => '总小时数: ', -"form.mytime.del_yes" => '成功删除时间记录', "form.mytime.no_finished_rec" => '该记录只保存了开始时间。这不是错误。如果需要,请注销。', -"form.mytime.warn_tozero_rec" => '由于这段时间是锁定的,该时间记录必须删除', -"form.mytime.uncompleted" => '未完成', // profile form attributes // Note to translators: we need a more accurate translation of form.profile.create_title diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index a12c8e29..01b71c3d 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -96,8 +96,7 @@ $i18n_key_words = array( // '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.no_teams' => '您的資料庫沒有任何記錄。請以管理員身份登錄並創建一個新團隊。', 'error.upload' => '上傳文件出錯。', // TODO: translate the following. // 'error.range_locked' => 'Date range is locked.', @@ -163,8 +162,7 @@ $i18n_key_words = array( 'label.users' => '用戶', 'label.client' => '客戶', 'label.clients' => '客戶', -// TODO: translate the following. -// 'label.option' => 'Option', +'label.option' => '選項', 'label.invoice' => '發票', 'label.project' => '項目', 'label.projects' => '項目', @@ -196,7 +194,7 @@ $i18n_key_words = array( // TODO: translate the following. // 'label.day_view' => 'Day view', // 'label.week_view' => 'Week view', -// 'label.id' => 'ID', +'label.id' => 'ID號', 'label.language' => '語言', // TODO: translate the following. // 'label.decimal_mark' => 'Decimal mark', @@ -252,13 +250,14 @@ $i18n_key_words = array( // TODO: translate the following. // 'title.create_team' => 'Creating Team', // 'title.edit_team' => 'Editing Team', -// 'title.delete_team' => 'Deleting Team', +'title.delete_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.edit_time_record' => '編輯時間記錄', +'title.delete_time_record' => '刪除時間記錄', +// TODO: translate the following. // 'title.expenses' => 'Expenses', // 'title.edit_expense' => 'Editing Expense Item', // 'title.delete_expense' => 'Deleting Expense Item', @@ -367,17 +366,15 @@ $i18n_key_words = array( // 'form.change_password.tip' => 'Type new password and click on Save.', // Time form. See example at https://timetracker.anuko.com/time.php. -// TODO: translate the following. -// 'form.time.duration_format' => '(hh:mm or 0.0h)', +'form.time.duration_format' => '(時:分 或 0.0h)', 'form.time.billable' => '計費時間', +'form.time.uncompleted' => '未完成', // TODO: translate the following. -// 'form.time.uncompleted' => 'Uncompleted', // 'form.time.remaining_quota' => 'Remaining quota', // 'form.time.over_quota' => 'Over quota', // Editing Time Record form. See example at https://timetracker.anuko.com/time_edit.php (get there by editing an uncompleted time record). -// TODO: translate the following. -// 'form.time_edit.uncompleted' => 'This record was saved with only start time. It is not an error.', +'form.time_edit.uncompleted' => '該記錄只保存了開始時間。這不是錯誤。', // Week view form. See example at https://timetracker.anuko.com/week.php. // TODO: translate the following. @@ -442,12 +439,10 @@ $i18n_key_words = array( // 'form.users.inactive_users' => 'Inactive Users', // 'form.users.uncompleted_entry' => 'User has an uncompleted time entry', 'form.users.role' => '角色', -// TODO: translate the following. -// 'form.users.manager' => 'Manager', -// 'form.users.comanager' => 'Co-manager', +'form.users.manager' => '經理', +'form.users.comanager' => '合作經理人', 'form.users.rate' => '費率', -// TODO: translate the following. -// 'form.users.default_rate' => 'Default hourly rate', +'form.users.default_rate' => '默認小時收費', // Clients form. See example at https://timetracker.anuko.com/clients.php // TODO: translate the following. @@ -507,36 +502,4 @@ $i18n_key_words = array( // 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', - - - -// 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" => '啟動', - -// my time form attributes -"form.mytime.title" => '我的時間記錄', -"form.mytime.edit_title" => '編輯時間記錄', -"form.mytime.del_str" => '刪除時間記錄', -"form.mytime.time_form" => ' (時:分)', -"form.mytime.total" => '總小時數: ', -"form.mytime.del_yes" => '成功刪除時間記錄', -"form.mytime.no_finished_rec" => '該記錄只保存了開始時間。這不是錯誤。如果需要,請登出。', -"form.mytime.warn_tozero_rec" => '由於這段時間是鎖定的,該時間記錄必須刪除', -"form.mytime.uncompleted" => '未完成', - -// profile form attributes -// Note to translators: we need a more accurate translation of form.profile.create_title -"form.profile.create_title" => '創建新管理帳號', -"form.profile.edit_title" => '編輯簡介', -"form.profile.showchart" => '顯示餅狀圖', - -// people form attributes -"form.people.manager" => '經理', -"form.people.comanager" => '合作經理人', -"form.people.rate" => '默認小時收費', ); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 75aa1b5a..80732a7b 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.12.3965 | Copyright © Anuko | +  Anuko Time Tracker 1.17.12.3966 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1