From 8063987a8f3384a03296fc617a0c9507a3126c46 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Tue, 6 Feb 2018 18:36:26 +0000 Subject: [PATCH] Some recycling and refactoring in translations. --- WEB-INF/resources/ca.lang.php | 15 +++++++++++++++ WEB-INF/resources/cs.lang.php | 15 +++++++++++++++ WEB-INF/resources/et.lang.php | 15 +++++++++++++++ WEB-INF/resources/hu.lang.php | 15 +++++++++++++++ WEB-INF/resources/ja.lang.php | 15 +++++++++++++++ WEB-INF/resources/ko.lang.php | 24 ++++++++++++++++++------ WEB-INF/resources/no.lang.php | 24 +++++++++++++++++------- WEB-INF/resources/pt.lang.php | 15 +++++++++++++++ WEB-INF/resources/ro.lang.php | 23 ++++++++++++++++++----- WEB-INF/resources/tr.lang.php | 23 ++++++++++++++++++----- WEB-INF/resources/zh-cn.lang.php | 26 +++++++++++++++++--------- WEB-INF/resources/zh-tw.lang.php | 24 ++++++++++++++++++------ WEB-INF/templates/footer.tpl | 2 +- 13 files changed, 197 insertions(+), 39 deletions(-) diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index 44ff343e..c35d03f8 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -424,6 +424,21 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', + +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', + // TODO: refactoring ongoing down from here. diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index f38b50d2..7ddfb342 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -423,6 +423,21 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', + +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', + // TODO: refactoring ongoing down from here. diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index 4bd3690f..e29ade06 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -423,6 +423,21 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', + +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', + // TODO: refactoring ongoing down from here. diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index b05c0b94..22bc2511 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -419,6 +419,21 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', + +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', + // TODO: refactoring ongoing down from here. diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 911bfdec..1b1a7045 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -422,6 +422,21 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', + +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', + // TODO: refactoring ongoing down from here. diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index fdc72c28..5660163a 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -241,7 +241,8 @@ $i18n_key_words = array( // 'label.type_dropdown' => 'dropdown', // 'label.type_text' => 'text', // 'label.required' => 'Required', -// 'label.fav_report' => 'Favorite report', +'label.fav_report' => '좋아하는 보고서', +// TODO: translate the following. // 'label.cron_schedule' => 'Cron schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', @@ -386,8 +387,7 @@ $i18n_key_words = array( // 'form.week.new_entry' => 'New entry', // Reports form. See example at https://timetracker.anuko.com/reports.php -// TODO: translate the following. -// 'form.reports.save_as_favorite' => 'Save as favorite', +'form.reports.save_as_favorite' => '좋아하는 것으로 저장', 'form.reports.confirm_delete' => '좋아하는 이 보고서를 삭제해도 좋습니까?', 'form.reports.include_billable' => '청구 가능한', 'form.reports.include_not_billable' => '청구 가능하지 않은', @@ -422,12 +422,24 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', -// TODO: refactoring ongoing down from here. -"form.filter.filter" => '좋아하는 보고서', -"form.filter.filter_new" => '좋아하는 것으로 저장', + +// TODO: refactoring ongoing down from here. // password reminder form attributes "form.fpass.login" => '로그인', diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index 630b61f0..f251ce61 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -236,7 +236,8 @@ $i18n_key_words = array( // 'label.type_dropdown' => 'dropdown', // 'label.type_text' => 'text', // 'label.required' => 'Required', -// 'label.fav_report' => 'Favorite report', +'label.fav_report' => 'Favoritt rapport', +// TODO: translate the following. // 'label.cron_schedule' => 'Cron schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', @@ -379,8 +380,7 @@ $i18n_key_words = array( // 'form.week.new_entry' => 'New entry', // Reports form. See example at https://timetracker.anuko.com/reports.php -// TODO: translate the following. -// 'form.reports.save_as_favorite' => 'Save as favorite', +'form.reports.save_as_favorite' => 'Lagre som favoritt', 'form.reports.confirm_delete' => 'Er du sikker på at du vil slette denne favorittrapporten?', 'form.reports.include_billable' => 'fakturerbar', 'form.reports.include_not_billable' => 'ikke fakturerbar', @@ -414,14 +414,24 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', + +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', -// TODO: refactoring ongoing down from here. -// TODO: Please check the translation against the current English file as many things are being refactored. For example, many labels have been added after label.email. -// "form.filter.filter" => 'favorittrapport', -// "form.filter.filter_new" => 'lagre som favoritt', +// TODO: refactoring ongoing down from here. // password reminder form attributes "form.fpass.login" => 'innlogging', diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index ca4bdf4b..d2a86235 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -406,6 +406,21 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', + +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', + // TODO: refactoring ongoing down from here. diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 1dde9f55..09ed006e 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -240,7 +240,8 @@ $i18n_key_words = array( // 'label.type_dropdown' => 'dropdown', // 'label.type_text' => 'text', // 'label.required' => 'Required', -// 'label.fav_report' => 'Favorite report', +'label.fav_report' => 'Raport favorite', +// TODO: translate the following. // 'label.cron_schedule' => 'Cron schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', @@ -382,8 +383,8 @@ $i18n_key_words = array( // 'form.week.new_entry' => 'New entry', // Reports form. See example at https://timetracker.anuko.com/reports.php +'form.reports.save_as_favorite' => 'Salveaza ca favorit', // TODO: translate the following. -// 'form.reports.save_as_favorite' => 'Save as favorite', // 'form.reports.confirm_delete' => 'Are you sure you want to delete this favorite report?', // 'form.reports.include_billable' => 'billable', // 'form.reports.include_not_billable' => 'not billable', @@ -417,12 +418,24 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', -// TODO: refactoring ongoing down from here. -"form.filter.filter" => 'rapoarte favorite', -"form.filter.filter_new" => 'salveaza ca favorit', + +// TODO: refactoring ongoing down from here. // password reminder form attributes "form.fpass.login" => 'autentifica', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 83649469..a5bf9fc9 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -246,7 +246,8 @@ $i18n_key_words = array( // 'label.type_dropdown' => 'dropdown', // 'label.type_text' => 'text', // 'label.required' => 'Required', -// 'label.fav_report' => 'Favorite report', +'label.fav_report' => 'Sık kullanılan rapor', +// TODO: translate the following. // 'label.cron_schedule' => 'Cron schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', @@ -392,8 +393,8 @@ $i18n_key_words = array( // 'form.week.new_entry' => 'New entry', // Reports form. See example at https://timetracker.anuko.com/reports.php +'form.reports.save_as_favorite' => 'Sık kullanılan olarak kaydet', // TODO: translate the following. -// 'form.reports.save_as_favorite' => 'Save as favorite', // 'form.reports.confirm_delete' => 'Are you sure you want to delete this favorite report?', 'form.reports.include_billable' => 'faturalandırılabilir', 'form.reports.include_not_billable' => 'faturalandırılamaz', @@ -428,12 +429,24 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', -// TODO: refactoring ongoing down from here. -"form.filter.filter" => 'sık kullanılan rapor', -"form.filter.filter_new" => 'sık kullanılan olarak kaydet', + +// TODO: refactoring ongoing down from here. // password reminder form attributes "form.fpass.send_pass_str" => 'parola sıfırlama talebi yollandı', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 469dc759..36b3ffd6 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -226,7 +226,8 @@ $i18n_key_words = array( // 'label.type_dropdown' => 'dropdown', // 'label.type_text' => 'text', // 'label.required' => 'Required', -// 'label.fav_report' => 'Favorite report', +'label.fav_report' => '收藏的报告', +// TODO: translate the following. // 'label.cron_schedule' => 'Cron schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', @@ -370,8 +371,7 @@ $i18n_key_words = array( // 'form.week.new_entry' => 'New entry', // Reports form. See example at https://timetracker.anuko.com/reports.php -// TODO: translate the following. -// 'form.reports.save_as_favorite' => 'Save as favorite', +'form.reports.save_as_favorite' => '保存到我的收藏夹', 'form.reports.confirm_delete' => '您确认要删除收藏的这个报告吗?', 'form.reports.include_billable' => '计费时间', 'form.reports.include_not_billable' => '非计费时间', @@ -406,16 +406,24 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', + +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', -// TODO: refactoring ongoing down from here. -// TODO: everything below needs serious work and be synchronized with the master English file. -// For example, form.filter.project property no longer exists, and so on. -// If you intend to improve perhaps go in small steps and coordinate with the maintainer if anything is unclear. -"form.filter.filter" => '收藏的报告', -"form.filter.filter_new" => '保存到我的收藏夹', +// TODO: refactoring ongoing down from here. // login form attributes "form.login.title" => '登录', diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index 9d989d08..bb538c8a 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -235,7 +235,8 @@ $i18n_key_words = array( // 'label.type_dropdown' => 'dropdown', // 'label.type_text' => 'text', // 'label.required' => 'Required', -// 'label.fav_report' => 'Favorite report', +'label.fav_report' => '收藏的報告', +// TODO: translate the following. // 'label.cron_schedule' => 'Cron schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', @@ -379,8 +380,7 @@ $i18n_key_words = array( // 'form.week.new_entry' => 'New entry', // Reports form. See example at https://timetracker.anuko.com/reports.php -// TODO: translate the following. -// 'form.reports.save_as_favorite' => 'Save as favorite', +'form.reports.save_as_favorite' => '保存到我的存檔', 'form.reports.confirm_delete' => '您確認要刪除收藏的這個報告嗎?', 'form.reports.include_billable' => '計費時間', 'form.reports.include_not_billable' => '非計費時間', @@ -415,12 +415,24 @@ $i18n_key_words = array( // 'form.invoice.invoice_entries' => 'Invoice entries', // 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.', +// Charts form. See example at https://timetracker.anuko.com/charts.php +// TODO: translate the following. +// 'form.charts.interval' => 'Interval', +// 'form.charts.chart' => 'Chart', +// Projects form. See example at https://timetracker.anuko.com/projects.php +// TODO: translate the following. +// 'form.projects.active_projects' => 'Active Projects', +// 'form.projects.inactive_projects' => 'Inactive Projects', + +// Tasks form. See example at https://timetracker.anuko.com/tasks.php +// TODO: translate the following. +// 'form.tasks.active_tasks' => 'Active Tasks', +// 'form.tasks.inactive_tasks' => 'Inactive Tasks', -// TODO: refactoring ongoing down from here. -"form.filter.filter" => '收藏的報告', -"form.filter.filter_new" => '保存到我的存檔', + +// TODO: refactoring ongoing down from here. // password reminder form attributes "form.fpass.login" => '登錄', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index c3ea9f48..b9da5638 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.12.3911 | Copyright © Anuko | +  Anuko Time Tracker 1.17.12.3912 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1