From 53dd9ed078fdb70af2f24564145873e2346e5f28 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Fri, 15 Feb 2019 17:14:50 +0000 Subject: [PATCH] Added 2 labels for timesheets in translation files. --- WEB-INF/resources/ca.lang.php | 2 ++ WEB-INF/resources/cs.lang.php | 2 ++ WEB-INF/resources/da.lang.php | 3 +++ WEB-INF/resources/de.lang.php | 3 +++ WEB-INF/resources/en.lang.php | 2 ++ WEB-INF/resources/es.lang.php | 2 ++ WEB-INF/resources/et.lang.php | 3 +++ WEB-INF/resources/fa.lang.php | 2 ++ WEB-INF/resources/fi.lang.php | 2 ++ WEB-INF/resources/fr.lang.php | 3 +++ WEB-INF/resources/gr.lang.php | 3 +++ WEB-INF/resources/he.lang.php | 2 ++ WEB-INF/resources/hu.lang.php | 2 ++ WEB-INF/resources/it.lang.php | 3 +++ WEB-INF/resources/ja.lang.php | 2 ++ WEB-INF/resources/ko.lang.php | 2 ++ WEB-INF/resources/nl.lang.php | 3 +++ WEB-INF/resources/no.lang.php | 2 ++ WEB-INF/resources/pl.lang.php | 4 +++- WEB-INF/resources/pt-br.lang.php | 4 +++- WEB-INF/resources/pt.lang.php | 4 +++- WEB-INF/resources/ro.lang.php | 4 +++- WEB-INF/resources/ru.lang.php | 2 ++ WEB-INF/resources/sk.lang.php | 2 ++ WEB-INF/resources/sl.lang.php | 2 ++ WEB-INF/resources/sr.lang.php | 2 ++ WEB-INF/resources/sv.lang.php | 3 +++ WEB-INF/resources/tr.lang.php | 2 ++ WEB-INF/resources/zh-cn.lang.php | 2 ++ WEB-INF/resources/zh-tw.lang.php | 2 ++ WEB-INF/templates/timesheets.tpl | 15 ++++++--------- 31 files changed, 78 insertions(+), 13 deletions(-) diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index 1e4b299e..c4822d38 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -263,6 +263,8 @@ $i18n_key_words = array( 'label.totals_only' => 'Només totals', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index 08480f52..3ec87f3c 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -273,6 +273,8 @@ $i18n_key_words = array( 'label.totals_only' => 'Pouze součty', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each diff --git a/WEB-INF/resources/da.lang.php b/WEB-INF/resources/da.lang.php index 56012634..d5087b8d 100644 --- a/WEB-INF/resources/da.lang.php +++ b/WEB-INF/resources/da.lang.php @@ -248,6 +248,9 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Kun Total', 'label.quota' => 'Kvota', +// TODO: translate the following. +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Fejl', diff --git a/WEB-INF/resources/de.lang.php b/WEB-INF/resources/de.lang.php index 8c631847..076bfae1 100644 --- a/WEB-INF/resources/de.lang.php +++ b/WEB-INF/resources/de.lang.php @@ -236,6 +236,9 @@ $i18n_key_words = array( 'label.work_units_short' => 'Einheiten', 'label.totals_only' => 'Nur Gesamtstunden', 'label.quota' => 'Quote', +// TODO: translate the following. +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Fehler', diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index ce580485..7797a8d8 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -229,6 +229,8 @@ $i18n_key_words = array( 'label.work_units_short' => 'Units', 'label.totals_only' => 'Totals only', 'label.quota' => 'Quota', +'label.submitted' => 'Submitted', +'label.approved' => 'Approved', // Form titles. 'title.error' => 'Error', diff --git a/WEB-INF/resources/es.lang.php b/WEB-INF/resources/es.lang.php index 53b42913..1b307300 100644 --- a/WEB-INF/resources/es.lang.php +++ b/WEB-INF/resources/es.lang.php @@ -266,6 +266,8 @@ $i18n_key_words = array( 'label.totals_only' => 'Solo totales', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Translate the following. diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index 70d6d441..10beccf8 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -250,6 +250,9 @@ $i18n_key_words = array( 'label.work_units_short' => 'Ühikud', 'label.totals_only' => 'Ainult summad', 'label.quota' => 'Kvoot', +// TODO: translate the following. +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each diff --git a/WEB-INF/resources/fa.lang.php b/WEB-INF/resources/fa.lang.php index 75db1801..9c6ef591 100644 --- a/WEB-INF/resources/fa.lang.php +++ b/WEB-INF/resources/fa.lang.php @@ -259,6 +259,8 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'خطا', diff --git a/WEB-INF/resources/fi.lang.php b/WEB-INF/resources/fi.lang.php index 9aee3a26..71515dff 100644 --- a/WEB-INF/resources/fi.lang.php +++ b/WEB-INF/resources/fi.lang.php @@ -253,6 +253,8 @@ $i18n_key_words = array( 'label.totals_only' => 'Vain yhteissummat', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Virhe', diff --git a/WEB-INF/resources/fr.lang.php b/WEB-INF/resources/fr.lang.php index 17d43b09..5132326f 100644 --- a/WEB-INF/resources/fr.lang.php +++ b/WEB-INF/resources/fr.lang.php @@ -246,6 +246,9 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Totaux uniquement', 'label.quota' => 'Quota', +// TODO: translate the following. +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Erreur', diff --git a/WEB-INF/resources/gr.lang.php b/WEB-INF/resources/gr.lang.php index 4e82d825..77a7833a 100644 --- a/WEB-INF/resources/gr.lang.php +++ b/WEB-INF/resources/gr.lang.php @@ -239,6 +239,9 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Σύνολα μόνο', 'label.quota' => 'Ποσοστό', +// TODO: translate the following. +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Σφάλμα', diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index 2c4cbc06..ac4bbfd2 100644 --- a/WEB-INF/resources/he.lang.php +++ b/WEB-INF/resources/he.lang.php @@ -270,6 +270,8 @@ $i18n_key_words = array( 'labl.totals_only' => 'סיכומים בלבד', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'שגיאה', diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 5dafe96d..8549700d 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -267,6 +267,8 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Translate the following. diff --git a/WEB-INF/resources/it.lang.php b/WEB-INF/resources/it.lang.php index 32e3b84a..87f899ff 100644 --- a/WEB-INF/resources/it.lang.php +++ b/WEB-INF/resources/it.lang.php @@ -243,6 +243,9 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Solo i totali', 'label.quota' => 'Quota', +// TODO: translate the following. +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 2574d315..a54f25f7 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -273,6 +273,8 @@ $i18n_key_words = array( 'label.totals_only' => '全体だけ', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Translate the following. diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index 4403f9f1..4d0e0f29 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -273,6 +273,8 @@ $i18n_key_words = array( 'label.totals_only' => '오직 전체만', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Translate the following. diff --git a/WEB-INF/resources/nl.lang.php b/WEB-INF/resources/nl.lang.php index 9c88ca06..336bed5a 100644 --- a/WEB-INF/resources/nl.lang.php +++ b/WEB-INF/resources/nl.lang.php @@ -229,6 +229,9 @@ $i18n_key_words = array( 'label.work_units_short' => 'Eenheid', 'label.totals_only' => 'Alleen totalen', 'label.quota' => 'Maanddoel', +// TODO: translate the following. +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Fout', diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index a08aeffe..5cb49d34 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -270,6 +270,8 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', // 'label.quota' => 'Quota' +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Translate the following. diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index a1f4bfa7..3e2e97c5 100644 --- a/WEB-INF/resources/pl.lang.php +++ b/WEB-INF/resources/pl.lang.php @@ -253,7 +253,9 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Tylko sumy', // TODO: translate the following. -// 'label.quota' => 'Quota' +// 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Błąd', diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index 639092d8..db9ef805 100644 --- a/WEB-INF/resources/pt-br.lang.php +++ b/WEB-INF/resources/pt-br.lang.php @@ -250,7 +250,9 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Somente totais', // TODO: translate the following. -// 'label.quota' => 'Quota' +// 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Erro', diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index fcd31a44..1d7a9956 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -257,7 +257,9 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', -// 'label.quota' => 'Quota' +// 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Translate the following. diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 1747b81f..3fa54ace 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -269,7 +269,9 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Numai totaluri', // TODO: translate the following. -// 'label.quota' => 'Quota' +// 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index 42dfc9c9..1c046857 100644 --- a/WEB-INF/resources/ru.lang.php +++ b/WEB-INF/resources/ru.lang.php @@ -228,6 +228,8 @@ $i18n_key_words = array( 'label.work_units_short' => 'Единицы', 'label.totals_only' => 'Только итоги', 'label.quota' => 'Квота', +'label.submitted' => 'Подано', +'label.approved' => 'Одобрено', // Form titles. 'title.error' => 'Ошибка', diff --git a/WEB-INF/resources/sk.lang.php b/WEB-INF/resources/sk.lang.php index 587575f3..c8eede8a 100644 --- a/WEB-INF/resources/sk.lang.php +++ b/WEB-INF/resources/sk.lang.php @@ -260,6 +260,8 @@ $i18n_key_words = array( 'label.totals_only' => 'Iba celkové', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Chyba', diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index b0b23677..3adbda81 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -253,6 +253,8 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Translate the following. diff --git a/WEB-INF/resources/sr.lang.php b/WEB-INF/resources/sr.lang.php index d5c4fff7..3dae77ab 100644 --- a/WEB-INF/resources/sr.lang.php +++ b/WEB-INF/resources/sr.lang.php @@ -252,6 +252,8 @@ $i18n_key_words = array( 'label.totals_only' => 'Samo zbirno', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. 'title.error' => 'Greška', diff --git a/WEB-INF/resources/sv.lang.php b/WEB-INF/resources/sv.lang.php index b3fc0929..0f4faac3 100644 --- a/WEB-INF/resources/sv.lang.php +++ b/WEB-INF/resources/sv.lang.php @@ -247,6 +247,9 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Visa endast summeringar', 'label.quota' => 'Kvot', +// TODO: translate the following. +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Rubriker för formulär 'title.error' => 'Fel', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index b8577374..8c6f2154 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -277,6 +277,8 @@ $i18n_key_words = array( 'label.totals_only' => 'Sadece toplamlar', // TODO: translate the following. // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // Form titles. diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 5820ab3a..f4912f1d 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -261,6 +261,8 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Translate the following. diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index 59ce3716..5b04d348 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -268,6 +268,8 @@ $i18n_key_words = array( // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', // 'label.quota' => 'Quota', +// 'label.submitted' => 'Submitted', +// 'label.approved' => 'Approved', // Form titles. // TODO: Translate the following. diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index 2b7990a8..62606584 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -9,18 +9,15 @@ - + + {if $user->isPluginEnabled('cl')} - - {if $user->isPluginEnabled('ps')} - {/if} + + - {if !$user->isClient()} - - {/if} - {foreach $invoices as $invoice} + {foreach $timesheets as $timesheet} @@ -38,7 +35,7 @@ {if !$user->isClient()}
{$i18n.form.timesheets.hint}
{$i18n.label.invoice}{$i18n.label.thing_name}{$i18n.label.client}{$i18n.label.date}{$i18n.label.paid}{$i18n.label.submitted}{$i18n.label.approved} {$i18n.label.view}{$i18n.label.delete}
{$invoice.name|escape} {$invoice.client_name|escape}
- +


{/if} {/if} -- 2.20.1