From 92e0c8f474689764e8c10958d48bc4d33bc46c08 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Fri, 1 Apr 2016 23:25:39 +0000 Subject: [PATCH] Some refactoring in translation files. --- WEB-INF/resources/ca.lang.php | 20 +++++++++++--------- WEB-INF/resources/cs.lang.php | 18 ++++++++++-------- WEB-INF/resources/da.lang.php | 20 +++++++++++--------- WEB-INF/resources/en.lang.php | 1 - WEB-INF/templates/footer.tpl | 2 +- 5 files changed, 33 insertions(+), 28 deletions(-) diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index 93ceda2c..d32ef039 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -70,8 +70,8 @@ $i18n_key_words = array( // 'footer.credits' => 'Credits', // 'footer.license' => 'License', // 'footer.improve' => 'Contribute', // Translators: this could mean "Improve", if it makes better sense in your language. - // This is a link to a webpage that describes how to contribute to the project. - + // This is a link to a webpage that describes how to contribute to the project. + // Error messages. // TODO: translate the following: // 'error.access_denied' => 'Access denied.', @@ -87,7 +87,7 @@ $i18n_key_words = array( // 'error.client' => 'Select client.', // 'error.report' => 'Select report.' -// Refactoring needs to be done down from here to sync with English file. +// Refactoring needs to be done down from here to sync with English file. 'error.auth' => 'Usuari o parula de pas incorrecta', // Note to translators: this string needs to be translated. // 'error.user_exists' => 'user with this login already exists', @@ -98,12 +98,14 @@ $i18n_key_words = array( // Note to translators: error.no_login needs to be properly translated (e-mail replaced with login). // 'error.no_login' => 'No existeix cap usuari amb aquest e-mail', 'error.upload' => 'Error pujant l\\\'arxiu', -// Note to translators: the 5 strings below are missing from the translation and must be added. -// 'error.period_locked' => 'can\\\'t complete the operation. records older than a certain number of days cannot be created or modified. team manager defines this in the "Lock interval in days" value on the "Profile" page. set it to 0 to remove locking.

uncompleted records (with 0 or empty duration) can be deleted.', -// '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.', +// 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.', // labels for various buttons 'button.login' => 'Iniciar sessió', diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index a7604a67..66a2aded 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -96,14 +96,16 @@ $i18n_key_words = array( // Note to translators: error.no_login needs to be properly translated (e-mail replaced with login). // 'error.no_login' => 'uživatel s tímto e-mailem neexistuje', 'error.upload' => 'chyba přenosu souboru', -// Note to translators: these 5 strings are missing from the translation and must be added. -// 'error.period_locked' => 'can\\\'t complete the operation. records older than a certain number of days cannot be created or modified. team manager defines this in the "Lock interval in days" value on the "Profile" page. set it to 0 to remove locking.

uncompleted records (with 0 or empty duration) can be deleted.', -// '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.', - -// labels for various buttons +// 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.', + +// Labels for buttons. 'button.login' => 'přihlásit', 'button.now' => 'teď', // 'button.set' => 'nastavit', diff --git a/WEB-INF/resources/da.lang.php b/WEB-INF/resources/da.lang.php index 4ca6d424..73e81b37 100644 --- a/WEB-INF/resources/da.lang.php +++ b/WEB-INF/resources/da.lang.php @@ -70,7 +70,7 @@ $i18n_key_words = array( // 'footer.credits' => 'Credits', // 'footer.license' => 'License', // 'footer.improve' => 'Contribute', // Translators: this could mean "Improve", if it makes better sense in your language. - // This is a link to a webpage that describes how to contribute to the project. + // This is a link to a webpage that describes how to contribute to the project. // Error messages. // TODO: Translate the following: @@ -91,14 +91,16 @@ $i18n_key_words = array( // 'error.client_exists' => 'client with this name already exists', 'error.no_login' => 'ingen bruger med denne login', 'error.upload' => 'fil upload problem', -// Note to translators: the 5 strings below are missing in the translation and must be added -// 'error.period_locked' => 'can\\\'t complete the operation. records older than a certain number of days cannot be created or modified. team manager defines this in the "Lock interval in days" value on the "Profile" page. set it to 0 to remove locking.

uncompleted records (with 0 or empty duration) can be deleted.', -// '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.', - -// labels for various buttons +// 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.', + +// Labels for buttons. 'button.login' => 'login', 'button.now' => 'nu', // 'button.set' => 'sæt', diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index 46da7368..53eb4683 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -87,7 +87,6 @@ $i18n_key_words = array( 'error.no_login' => 'No user with this login.', 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.', 'error.upload' => 'File upload error.', -'error.period_locked' => 'Can\\\'t complete the operation. Records older than a certain number of days cannot be created or modified. Team manager defines this in the "Lock interval in days" value on the "Profile" page. Set it to 0 to remove locking.

Uncompleted records (with 0 or empty duration) can be deleted.', 'error.range_locked' => 'Date range is locked.', 'error.mail_send' => 'Error sending mail.', 'error.no_email' => 'No email associated with this login.', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 6572bcb4..a4c4c118 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.9.22.3471 | Copyright © Anuko | +  Anuko Time Tracker 1.9.22.3472 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1