From: Nik Okuntseff Date: Mon, 29 Jan 2018 09:21:07 +0000 (+0000) Subject: Finished refactoring error messages in translation files. X-Git-Tag: timetracker_1.19-1~1296 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8ee49f1b739cb1212fed94074082b01154e928e0;p=timetracker.git Finished refactoring error messages in translation files. --- diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index 3159ebef..3c8503a9 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -99,15 +99,16 @@ $i18n_key_words = array( // 'error.upload' => 'File upload error.', // 'error.range_locked' => 'Date range is locked.', // 'error.mail_send' => 'Error sending mail.', +// 'error.no_email' => 'No email associated with this login.', +// '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.', // TODO: refactoring ongoing down from here. -// 'error.no_email' => 'no email associated with this login', -// 'error.uncompleted_exists' => 'uncompleted entry already exists. close or delete it.', -// 'error.goto_uncompleted' => 'go to uncompleted entry.', - // Labels for buttons. 'button.login' => 'Login', 'button.now' => 'Hoje', diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index afd00eea..cee01c55 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -107,15 +107,16 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.range_locked' => 'Date range is locked.', // 'error.mail_send' => 'Error sending mail.', +// 'error.no_email' => 'No email associated with this login.', +// '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.', // TODO: refactoring ongoing down from here. -// 'error.no_email' => 'no email associated with this login', -// 'error.uncompleted_exists' => 'uncompleted entry already exists. close or delete it.', -// 'error.goto_uncompleted' => 'go to uncompleted entry.', - // Labels for buttons. 'button.login' => 'autentifica', 'button.now' => 'acum', diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index 4675190d..154d2d64 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -100,17 +100,16 @@ $i18n_key_words = array( // 'error.upload' => 'File upload error.', // 'error.range_locked' => 'Date range is locked.', // 'error.mail_send' => 'Error sending mail.', - - - -// TODO: refactoring ongoing down from here. - // 'error.no_email' => 'No email associated with this login.', // '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.', + + +// TODO: refactoring ongoing down from here. + // Labels for buttons. 'button.login' => 'prijava', 'button.now' => 'zdaj', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index bfcf6bce..585e9ec9 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -110,15 +110,16 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.range_locked' => 'Date range is locked.', // 'error.mail_send' => 'Error sending mail.', +// 'error.no_email' => 'No email associated with this login.', +// '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.', // TODO: refactoring ongoing down from here. -// 'error.no_email' => 'no email associated with this login', -// 'error.uncompleted_exists' => 'uncompleted entry already exists. close or delete it.', -// 'error.goto_uncompleted' => 'go to uncompleted entry.', - // Labels for buttons. 'button.login' => 'giriş', 'button.now' => 'şimdi', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index ac54872d..d4043758 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -60,19 +60,18 @@ $i18n_key_words = array( 'menu.options' => '选项', // Footer - strings on the bottom of most pages. -'footer.contribute_msg' => '你可以以不同的方式为Time Tracker提建议', +'footer.contribute_msg' => '你可以以不同的方式为Time Tracker提建议。', 'footer.credits' => '信用', 'footer.license' => '许可证', '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' => '系统错误', -'error.db' => '数据库错误', -'error.field' => '不正确的"{0}"数据', -'error.empty' => '栏目"{0}"为空', -'error.not_equal' => '栏目"{0}"不等于栏目"{1}"', +'error.access_denied' => '拒绝访问。', +'error.sys' => '系统错误。', +'error.db' => '数据库错误。', +'error.field' => '不正确的"{0}"数据。', +'error.empty' => '栏目"{0}"为空。', +'error.not_equal' => '栏目"{0}"不等于栏目"{1}"。', // TODO: translate the following. // 'error.interval' => 'Field "{0}" must be greater than "{1}".', // 'error.project' => 'Select project.', @@ -80,26 +79,21 @@ $i18n_key_words = array( // 'error.client' => 'Select client.', // 'error.report' => 'Select report.', // 'error.record' => 'Select record.', -'error.auth' => '不正确的用户名或密码', -'error.user_exists' => '该用户登录信息已经存在', -'error.project_exists' => '该项目名称已经存在', +'error.auth' => '不正确的用户名或密码。', +'error.user_exists' => '该用户登录信息已经存在。', +'error.project_exists' => '该项目名称已经存在。', // TODO: translate the following. // 'error.task_exists' => 'Task with this name already exists.', -'error.client_exists' => '具有此名称的客户端已经存在', +'error.client_exists' => '具有此名称的客户端已经存在。', // TODO: translate the following. // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', -'error.no_login' => '没有该登录信息的用户', +'error.no_login' => '没有该登录信息的用户。', // TODO: translate the following. // 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.', -'error.upload' => '上传文件出错', -'error.range_locked' => '日期范围锁定', -'error.mail_send' => '发送邮件时出错', - - - -// TODO: refactoring ongoing down from here. - +'error.upload' => '上传文件出错。', +'error.range_locked' => '日期范围锁定。', +'error.mail_send' => '发送邮件时出错。', 'error.no_email' => '没有电子邮件与该用户名关联。', 'error.uncompleted_exists' => '未完成的条目已经存在。关闭或删除。', 'error.goto_uncompleted' => '进入未完成的条目。', @@ -107,6 +101,9 @@ $i18n_key_words = array( // 'error.overlap' => 'Time interval overlaps with existing records.', // 'error.future_date' => 'Date is in future.', + +// TODO: refactoring ongoing down from here. + // Labels for buttons. 'button.login' => '登录', 'button.now' => '当前时间', diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index 20e08dd1..d23c7022 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -101,11 +101,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.range_locked' => 'Date range is locked.', 'error.mail_send' => '發送郵件時出錯', - - - -// TODO: refactoring ongoing down from here. - 'error.no_email' => '沒有電子郵件與該用戶名關聯', // TODO: translate the following. // 'error.uncompleted_exists' => 'Uncompleted entry already exists. Close or delete it.', @@ -113,6 +108,10 @@ $i18n_key_words = array( // 'error.overlap' => 'Time interval overlaps with existing records.', // 'error.future_date' => 'Date is in future.', + + +// TODO: refactoring ongoing down from here. + // Labels for buttons. 'button.login' => '登錄', 'button.now' => '當前時間', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 5e01f4c3..9b51fbb7 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.9.3823 | Copyright © Anuko | +  Anuko Time Tracker 1.17.9.3824 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}