From eb23c6e3ef94c259eda67218e0902f981e5dcfb2 Mon Sep 17 00:00:00 2001 From: anuko Date: Thu, 2 Nov 2017 17:33:10 +0000 Subject: [PATCH] More refactoring in translation files. --- WEB-INF/resources/pl.lang.php | 21 +++++++++++++-------- WEB-INF/resources/pt-br.lang.php | 20 +++++++++++++------- WEB-INF/templates/footer.tpl | 2 +- 3 files changed, 27 insertions(+), 16 deletions(-) diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index 4a850456..cd9ad147 100644 --- a/WEB-INF/resources/pl.lang.php +++ b/WEB-INF/resources/pl.lang.php @@ -273,15 +273,20 @@ $i18n_key_words = array( // Strings that are used in a single form must go to the specific form section. 'dropdown.all' => '--- wszystkie ---', 'dropdown.no' => '--- żaden ---', -// NOTE TO TRANSLATORS: dropdown.this_day does not necessarily means "today". It means a specific ("this") day selected on calendar. See Charts. -'dropdown.this_day' => 'wybrany dzień', // TODO: translate the following. -// 'dropdown.last_day' => 'last day', -'dropdown.this_week' => 'ten tydzień', -'dropdown.last_week' => 'poprzedni tydzień', -'dropdown.this_month' => 'ten miesiąc', -'dropdown.last_month' => 'poprzedni miesiąc', -'dropdown.this_year' => 'ten rok', +// 'dropdown.current_day' => 'today', +// 'dropdown.previous_day' => 'yesterday', +'dropdown.selected_day' => 'dzień', +'dropdown.current_week' => 'ten tydzień', +'dropdown.previous_week' => 'poprzedni tydzień', +'dropdown.selected_week' => 'tydzień', +'dropdown.current_month' => 'ten miesiąc', +'dropdown.previous_month' => 'poprzedni miesiąc', +'dropdown.selected_month' => 'miesiąc', +'dropdown.current_year' => 'ten rok', +// TODO: translate the following. +// 'dropdown.previous_year' => 'previous year', +'dropdown.selected_year' => 'rok', 'dropdown.all_time' => 'od początku', 'dropdown.projects' => 'projekty', 'dropdown.tasks' => 'zadania', diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index 55c5f75f..9582e2ff 100644 --- a/WEB-INF/resources/pt-br.lang.php +++ b/WEB-INF/resources/pt-br.lang.php @@ -265,14 +265,20 @@ $i18n_key_words = array( // Strings that are used in a single form must go to the specific form section. 'dropdown.all' => '--- todos ---', 'dropdown.no' => '--- não ---', -'dropdown.this_day' => 'este dia', // TODO: translate the following. -// 'dropdown.last_day' => 'last day', -'dropdown.this_week' => 'esta semana', -'dropdown.last_week' => 'última semana', -'dropdown.this_month' => 'este mês', -'dropdown.last_month' => 'último mês', -'dropdown.this_year' => 'este ano', +// 'dropdown.current_day' => 'today', +// 'dropdown.previous_day' => 'yesterday', +'dropdown.selected_day' => 'dia', +'dropdown.current_week' => 'esta semana', +'dropdown.previous_week' => 'última semana', +'dropdown.selected_week' => 'semana', +'dropdown.current_month' => 'este mês', +'dropdown.previous_month' => 'último mês', +'dropdown.selected_month' => 'mês', +'dropdown.current_year' => 'este ano', +// TODO: translate the following. +// 'dropdown.previous_year' => 'previous year', +'dropdown.selected_year' => 'ano', 'dropdown.all_time' => 'todas as datas', 'dropdown.projects' => 'projetos', 'dropdown.tasks' => 'tarefas', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 4c7d4161..96b44c71 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.12.2.3678 | Copyright © Anuko | +  Anuko Time Tracker 1.12.2.3679 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1