From a5004f7ad3f11be39db2694bda00d0bee41d837b Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sun, 28 Jan 2018 18:39:13 +0000 Subject: [PATCH] Ongoing work in translation files. --- WEB-INF/resources/sl.lang.php | 4 ++-- WEB-INF/resources/tr.lang.php | 15 ++++++++++----- WEB-INF/resources/zh-cn.lang.php | 8 +++++--- WEB-INF/resources/zh-tw.lang.php | 8 +++++--- WEB-INF/templates/footer.tpl | 2 +- 5 files changed, 23 insertions(+), 14 deletions(-) diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index 184a10a9..39d35f48 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -78,13 +78,13 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.access_denied' => 'Access denied.', // 'error.sys' => 'System error.', - -// TODO: refactoring ongoing down from here. // 'error.db' => 'Database error.', // 'error.field' => 'Incorrect "{0}" data.', // 'error.empty' => 'Field "{0}" is empty.', // 'error.not_equal' => 'Field "{0}" is not equal to field "{1}".', // 'error.interval' => 'Field "{0}" must be greater than "{1}".', + +// TODO: refactoring ongoing down from here. // 'error.project' => 'Select project.', // 'error.task' => 'Select task.', // 'error.client' => 'Select client.', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index ae60f7a1..569c718f 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -79,13 +79,18 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.access_denied' => 'Access denied.', // 'error.sys' => 'System error.', +'error.db' => 'Veritabanı hatası.', +'error.field' => 'Hatalı veri "{0}".', +'error.empty' => 'Alan "{0}" boştur.', +// TODO: confirm that error.not_equal is translated correctly. +// Test by changing password with not equal password value fields. +// English equivalent is: +// 'error.not_equal' => 'Field "{0}" is not equal to field "{1}".', +'error.not_equal' => 'Alan "{0}" "{1}" alanıyla aynı değildir.', +// TODO: translate the following. +// 'error.interval' => 'Field "{0}" must be greater than "{1}".', // TODO: refactoring ongoing down from here. -'error.db' => 'veritabanı hatası', -'error.field' => 'hatalı veri "{0}"', -'error.empty' => 'alan "{0}" boştur', -'error.not_equal' => 'alan "{0}" "{1}" alanıyla aynı değildir', -'error.interval' => 'hatalı aralık', 'error.project' => 'proje seç', // TODO: translate the following. // 'error.task' => 'Select task.', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 14abda19..09746389 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -66,15 +66,17 @@ $i18n_key_words = array( 'footer.improve' => '投稿', // Error messages. +// TODO: All error messages should be complete sentences with a period (full stop) in the end. Put them there. 'error.access_denied' => '拒绝访问', 'error.sys' => '系统错误', - -// TODO: refactoring ongoing down from here. 'error.db' => '数据库错误', 'error.field' => '不正确的"{0}"数据', 'error.empty' => '栏目"{0}"为空', 'error.not_equal' => '栏目"{0}"不等于栏目"{1}"', -'error.interval' => '不正确的间隔', +// TODO: translate the following. +// 'error.interval' => 'Field "{0}" must be greater than "{1}".', + +// TODO: refactoring ongoing down from here. 'error.project' => '选择项目', // TODO: translate the following. // 'error.task' => 'Select task.', diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index b70c4d97..55c0ed20 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -71,16 +71,18 @@ $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.', - -// TODO: refactoring ongoing down from here. 'error.db' => '資料庫錯誤', 'error.field' => '不正確的"{0}"資料', 'error.empty' => '欄目"{0}"為空', 'error.not_equal' => '欄目"{0}"不等於欄目"{1}"', -'error.interval' => '不正確的間隔', +// TODO: translate the following. +// 'error.interval' => 'Field "{0}" must be greater than "{1}".', + +// TODO: refactoring ongoing down from here. 'error.project' => '選擇項目', // TODO: translate the following. // 'error.task' => 'Select task.', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index c578865b..898ef7a6 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.8.3811 | Copyright © Anuko | +  Anuko Time Tracker 1.17.8.3812 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1