From 6a1a4ceeee4287bc2eeaf3e0b533090b7ba888fe Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Mon, 7 Mar 2016 19:47:14 -0800 Subject: [PATCH] Changed a message on front page to encourage contributions --- WEB-INF/resources/ca.lang.php | 56 ++++++++++++++++++++++------------- WEB-INF/resources/en.lang.php | 2 +- WEB-INF/resources/ru.lang.php | 1 + WEB-INF/templates/footer.tpl | 10 +++---- 4 files changed, 42 insertions(+), 27 deletions(-) diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index 17ab223a..bc90de20 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -38,34 +38,50 @@ $i18n_holidays = array('01/01', '01/16', '02/20', '03/29', '07/04', '09/04', '10 $i18n_key_words = array( -// menu entries +// Menus. 'menu.login' => 'Iniciar sessió', 'menu.logout' => 'Finalitzar sessió', -'menu.feedback' => 'Retroalimentació', +// TODO: translate the following: +// 'menu.forum' => 'Forum', 'menu.help' => 'Ajuda', // Note to translators: menu.create_team needs to be translated more accurately. 'menu.create_team' => 'Crear un nou compte de manejador', -'menu.edit_profile' => 'Editar perfil', -'menu.time' => 'El meu temps', +'menu.profile' => 'Perfil', +// 'menu.time' => 'Time', +'menu.time' => 'El meu temps', // TODO: menu.time is no longer "My time", just "Time". +// TODO: translate the following: +// 'menu.expenses' => 'Expenses', 'menu.reports' => 'Informes', -// Note to translators: menu.charts needs to be translated. -// 'menu.charts' => 'charts', +// TODO: translate the following: +// 'menu.charts' => 'Charts', 'menu.projects' => 'Projectes', -'menu.activities' => 'Activitats', -'menu.people' => 'Persones', +// TODO: translate the following: +// 'menu.tasks' => 'Tasks', +// 'menu.users' => 'Users', 'menu.teams' => 'Equips', -// Note to translators: menu.export needs to be translated. -// 'menu.export' => 'export', -'menu.clients' => 'Clients', -// Note to translators: menu.options needs to be translated. -// 'menu.options' => 'options', -'menu.admin' => 'admin', - -// error strings -'error.db' => 'Error de la Base de Dades', -'error.field' => 'Dada "{0}" incorrecta', -'error.empty' => 'L\\\'Arxiu "{0}" està buit', -'error.not_equal' => 'L\\\'Arxiu "{0}" no és igual al arxiu "{1}"', +// TODO: translate the following: +// 'menu.export' => 'Export', +// 'menu.clients' => 'Clients', +// 'menu.options' => 'Options', + +// Footer - strings on the bottom of most pages. +// TODO: translate the following: +// 'footer.contribute_msg' => 'You can contribute to Time Tracker in different ways.', +// '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. + +// Error messages. +// TODO: translate the following: +// 'error.access_denied' => 'Access denied.', +// 'error.sys' => 'System error.', +'error.db' => 'Error de la Base de Dades.', +'error.field' => 'Dada "{0}" incorrecta.', +'error.empty' => 'L\\\'Arxiu "{0}" està buit.', +'error.not_equal' => 'L\\\'Arxiu "{0}" no és igual al arxiu "{1}".', + +// Refactoring needs to be done down from here to sync with English file. 'error.interval' => 'Interval incorrecte', 'error.project' => 'Sel·leccionar Projecte', 'error.activity' => 'Sel·leccionar Actividat', diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index 906f1350..1d2f7b53 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -59,7 +59,7 @@ $i18n_key_words = array( 'menu.options' => 'Options', // Footer - strings on the bottom of most pages. -'footer.mobile_phones' => 'Time Tracker is available on mobile phones.', +'footer.contribute_msg' => 'You can contribute to Time Tracker in different ways.', 'footer.credits' => 'Credits', 'footer.license' => 'License', 'footer.improve' => 'Contribute', // Translators: this could mean "Improve", if it makes better sense in your language. diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index 23da2dfb..af62c85c 100644 --- a/WEB-INF/resources/ru.lang.php +++ b/WEB-INF/resources/ru.lang.php @@ -60,6 +60,7 @@ $i18n_key_words = array( // Footer - strings on the bottom of most pages. 'footer.mobile_phones' => 'Time Tracker доступен на мобильных телефонах.', +'footer.contribute_msg' => 'Вы можете улучшить Time Tracker разными способами.', 'footer.credits' => 'Авторы', 'footer.license' => 'Лицензия', 'footer.improve' => 'Улучшить', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 2ea1b31b..e1a19b9b 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -6,18 +6,16 @@ - +
- {$i18n.footer.mobile_phones}   - {$i18n.footer.contribute_msg}
-
+
-
 Anuko Time Tracker 1.9.13.3393 | Copyright © Anuko | +  Anuko Time Tracker 1.9.13.3394 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | - {$i18n.footer.improve} + {$i18n.footer.improve}
-- 2.20.1