From: Nik Okuntseff Date: Sun, 28 Jan 2018 17:39:39 +0000 (+0000) Subject: Ongoing work in translation files. X-Git-Tag: timetracker_1.19-1~1311 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4c79e54912310901dba60bfca5650a598bc3769c;p=timetracker.git Ongoing work in translation files. --- diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index 354db01a..9916155e 100644 --- a/WEB-INF/resources/he.lang.php +++ b/WEB-INF/resources/he.lang.php @@ -70,6 +70,7 @@ $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' => 'שגיאת מערכת', @@ -82,6 +83,11 @@ $i18n_key_words = array( // TO TEST: change the string on a local Time Tracker and then try to enter a time with // end time less than start time. For example: Start time: 09:00, End time: 08:00. // Then you should see the error on screen and the problems will be clearly visible. +// Currently the output is as: +// השדדה סיום צריך להיות גדול יותר מהשדה התחלה +// Compare the above with English, where the field names are surrounded with quotes, +// and it is easier to identify which fields the error is about. +// English variation: Field "Finish" must be greater than "Start". 'error.project' => 'בחר פרוייקט', 'error.task' => 'בחר משימה', 'error.client' => 'בחר לקוח', diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 6199e816..39684b22 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -78,13 +78,14 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.access_denied' => 'Access denied.', // 'error.sys' => 'System error.', +'error.db' => 'Adatbázis hiba.', +'error.field' => 'Hibás "{0}" mező tartalma.', +'error.empty' => 'A "{0}" mező üres.', +'error.not_equal' => 'A "{0}" mező tartalma nem egyezik meg a "{1}" mező tartalmával.', +// TODO: translate the following. +// 'error.interval' => 'Field "{0}" must be greater than "{1}".', // TODO: refactoring ongoing down from here. -'error.db' => 'adatbázis hiba', -'error.field' => 'hibás "{0}" mező tartalma', -'error.empty' => 'a "{0}" mező üres', -'error.not_equal' => 'A "{0}" mező tartalma nem egyezik meg a "{1}" mező tartalmával!', -'error.interval' => 'hibás időszak megadás', 'error.project' => 'válassz projektet', // TODO: translate the following. // 'error.task' => 'Select task.', diff --git a/WEB-INF/resources/it.lang.php b/WEB-INF/resources/it.lang.php index dd9d1aa2..39444858 100644 --- a/WEB-INF/resources/it.lang.php +++ b/WEB-INF/resources/it.lang.php @@ -75,13 +75,14 @@ $i18n_key_words = array( // TODO: translate the following. // 'error.access_denied' => 'Access denied.', // 'error.sys' => 'System error.', +// 'error.db' => 'Database error.', +'error.field' => 'Dato "{0}" errato.', +'error.empty' => 'Il campo "{0}" è vuoto.', +'error.not_equal' => 'Il campo "{0}" non è uguale al campo "{1}".', +// TODO: translate the following. +// error.interval' => 'Field "{0}" must be greater than "{1}".', // TODO: refactoring ongoing down from here. -// 'error.db' => 'database error', -'error.field' => 'dato "{0}" errato', -'error.empty' => 'il campo "{0}" è vuoto', -'error.not_equal' => 'il campo "{0}" non è uguale al campo "{1}"', -'error.interval' => 'intervallo errato', 'error.project' => 'seleziona il progetto', // TODO: translate the following. // 'error.task' => 'Select task.', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 4032e788..6545edd2 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.8.3808 | Copyright © Anuko | +  Anuko Time Tracker 1.17.8.3809 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}