From 6e543aee2b2758d24d4ab4886f8a623c24104327 Mon Sep 17 00:00:00 2001 From: anuko Date: Tue, 19 Dec 2017 03:51:12 +0000 Subject: [PATCH] Work started on week view. --- WEB-INF/resources/ca.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 | 3 +++ WEB-INF/resources/et.lang.php | 3 +++ WEB-INF/resources/fa.lang.php | 3 +++ WEB-INF/resources/fi.lang.php | 3 +++ WEB-INF/resources/fr.lang.php | 3 +++ WEB-INF/resources/he.lang.php | 3 +++ WEB-INF/resources/nl.lang.php | 3 +++ WEB-INF/resources/pl.lang.php | 3 +++ WEB-INF/resources/pt-br.lang.php | 3 +++ WEB-INF/resources/ru.lang.php | 2 ++ WEB-INF/resources/sk.lang.php | 3 +++ WEB-INF/resources/sr.lang.php | 3 +++ WEB-INF/resources/sv.lang.php | 3 +++ WEB-INF/resources/zh-cn.lang.php | 2 ++ WEB-INF/templates/footer.tpl | 2 +- WEB-INF/templates/time.tpl | 7 +++++++ 20 files changed, 58 insertions(+), 1 deletion(-) diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index b3648dc7..84d7765d 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -188,6 +188,8 @@ $i18n_key_words = array( // 'label.configure' => 'Configure', // 'label.select_all' => 'Select all', // 'label.select_none' => 'Deselect all', +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', // 'label.id' => 'ID', // 'label.language' => 'Language', // 'label.decimal_mark' => 'Decimal mark', diff --git a/WEB-INF/resources/da.lang.php b/WEB-INF/resources/da.lang.php index 489c4ad0..43b8dd66 100644 --- a/WEB-INF/resources/da.lang.php +++ b/WEB-INF/resources/da.lang.php @@ -167,6 +167,9 @@ $i18n_key_words = array( 'label.configure' => 'Konfigurer', 'label.select_all' => 'Vælg alle', 'label.select_none' => 'Frevælg alle', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Sprog', 'label.decimal_mark' => 'Decimal tegn', diff --git a/WEB-INF/resources/de.lang.php b/WEB-INF/resources/de.lang.php index 399f5f56..348cb5b1 100644 --- a/WEB-INF/resources/de.lang.php +++ b/WEB-INF/resources/de.lang.php @@ -163,6 +163,9 @@ $i18n_key_words = array( 'label.configure' => 'Konfigurieren', 'label.select_all' => 'Alle auswählen', 'label.select_none' => 'Alle abwählen', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Sprache', 'label.decimal_mark' => 'Dezimaltrennzeichen', diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index 30682198..b6d13257 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -166,6 +166,8 @@ $i18n_key_words = array( 'label.configure' => 'Configure', 'label.select_all' => 'Select all', 'label.select_none' => 'Deselect all', +'label.day_view' => 'Day view', +'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Language', 'label.decimal_mark' => 'Decimal mark', diff --git a/WEB-INF/resources/es.lang.php b/WEB-INF/resources/es.lang.php index 45fbe779..a64fe1cd 100644 --- a/WEB-INF/resources/es.lang.php +++ b/WEB-INF/resources/es.lang.php @@ -194,6 +194,9 @@ $i18n_key_words = array( // 'label.configure' => 'Configure', 'label.select_all' => 'Seleccionar todos', 'label.select_none' => 'Quitar todas las selecciones', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'Identificación', // TODO: translate the following strings. // 'label.language' => 'Language', diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index 2de01308..f53015c0 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -190,6 +190,9 @@ $i18n_key_words = array( // 'label.configure' => 'Configure', // 'label.select_all' => 'Select all', // 'label.select_none' => 'Deselect all', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', // 'label.id' => 'ID', // 'label.language' => 'Language', // 'label.decimal_mark' => 'Decimal mark', diff --git a/WEB-INF/resources/fa.lang.php b/WEB-INF/resources/fa.lang.php index 050d086e..56ea959c 100644 --- a/WEB-INF/resources/fa.lang.php +++ b/WEB-INF/resources/fa.lang.php @@ -177,6 +177,9 @@ $i18n_key_words = array( 'label.configure' => 'پیکربندی', 'label.select_all' => 'انتخاب همه', 'label.select_none' => 'لغو انتخاب همه', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'شناسه', 'label.language' => 'زبان', // TODO: translate the following string. diff --git a/WEB-INF/resources/fi.lang.php b/WEB-INF/resources/fi.lang.php index 31dba324..56ba6db4 100644 --- a/WEB-INF/resources/fi.lang.php +++ b/WEB-INF/resources/fi.lang.php @@ -166,6 +166,9 @@ $i18n_key_words = array( 'label.configure' => 'Aseta', 'label.select_all' => 'Valitse kaikki', 'label.select_none' => 'Poista kaikki valinnat', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Kieli', 'label.decimal_mark' => 'Desimaalierotin', diff --git a/WEB-INF/resources/fr.lang.php b/WEB-INF/resources/fr.lang.php index b6413ecf..49815874 100644 --- a/WEB-INF/resources/fr.lang.php +++ b/WEB-INF/resources/fr.lang.php @@ -162,6 +162,9 @@ $i18n_key_words = array( 'label.configure' => 'Configurer', 'label.select_all' => 'Tout sélectionner', 'label.select_none' => 'Aucun', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Langage', 'label.decimal_mark' => 'Séparateur de décimal', diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index 478fee12..2751dbda 100644 --- a/WEB-INF/resources/he.lang.php +++ b/WEB-INF/resources/he.lang.php @@ -182,6 +182,9 @@ $i18n_key_words = array( 'label.configure' => 'הגדר', 'label.select_all' => 'בחר הכל', 'label.select_none' => 'בטל בחירה', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'מזהה', 'label.language' => 'שפה', // TODO: translate the following string. diff --git a/WEB-INF/resources/nl.lang.php b/WEB-INF/resources/nl.lang.php index 9c730d15..323a64c5 100644 --- a/WEB-INF/resources/nl.lang.php +++ b/WEB-INF/resources/nl.lang.php @@ -165,6 +165,9 @@ $i18n_key_words = array( 'label.configure' => 'Stel in', 'label.select_all' => 'Selecteer alle', 'label.select_none' => 'Selecteer niets', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Taal', 'label.decimal_mark' => 'Decimaal teken', diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index cd9ad147..bd4c6bc9 100644 --- a/WEB-INF/resources/pl.lang.php +++ b/WEB-INF/resources/pl.lang.php @@ -171,6 +171,9 @@ $i18n_key_words = array( 'label.configure' => 'Konfiguruj', 'label.select_all' => 'Zaznacz wszystko', 'label.select_none' => 'Odznacz wszystko', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Język', 'label.decimal_mark' => 'Znak dziesiętny', diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index 9582e2ff..89bd95a5 100644 --- a/WEB-INF/resources/pt-br.lang.php +++ b/WEB-INF/resources/pt-br.lang.php @@ -166,6 +166,9 @@ $i18n_key_words = array( 'label.configure' => 'Configurar', 'label.select_all' => 'Selecionar todos', 'label.select_none' => 'Desmarcar todos', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Idioma', 'label.decimal_mark' => 'Ponto decimal', diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index bbc5f8bd..b5d93026 100644 --- a/WEB-INF/resources/ru.lang.php +++ b/WEB-INF/resources/ru.lang.php @@ -166,6 +166,8 @@ $i18n_key_words = array( 'label.configure' => 'Настроить', 'label.select_all' => 'Отметить все', 'label.select_none' => 'Снять все отметки', +'label.day_view' => 'День', +'label.week_view' => 'Неделя', 'label.id' => 'ID', 'label.language' => 'Язык', 'label.decimal_mark' => 'Десятичный знак', diff --git a/WEB-INF/resources/sk.lang.php b/WEB-INF/resources/sk.lang.php index 602c332c..e9249132 100644 --- a/WEB-INF/resources/sk.lang.php +++ b/WEB-INF/resources/sk.lang.php @@ -179,6 +179,9 @@ $i18n_key_words = array( 'label.configure' => 'Nastaviť', 'label.select_all' => 'Označiť všetky', 'label.select_none' => 'Odznačiť všetky', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Jazyk', // TODO: translate the following string. diff --git a/WEB-INF/resources/sr.lang.php b/WEB-INF/resources/sr.lang.php index 80babb4e..15d7b0ac 100644 --- a/WEB-INF/resources/sr.lang.php +++ b/WEB-INF/resources/sr.lang.php @@ -168,6 +168,9 @@ $i18n_key_words = array( 'label.configure' => 'Podesi', 'label.select_all' => 'Odaberi sve', 'label.select_none' => 'Poništi sve', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Jezik', 'label.decimal_mark' => 'Decimala', diff --git a/WEB-INF/resources/sv.lang.php b/WEB-INF/resources/sv.lang.php index e1f7ee11..951e4bbf 100644 --- a/WEB-INF/resources/sv.lang.php +++ b/WEB-INF/resources/sv.lang.php @@ -166,6 +166,9 @@ $i18n_key_words = array( 'label.configure' => 'Konfigurera', 'label.select_all' => 'Markera alla', 'label.select_none' => 'Avmarkera alla', +// TODO: translate the following. +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', 'label.id' => 'ID', 'label.language' => 'Språk', 'label.decimal_mark' => 'Decimaltecken', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 395a10dd..cbdacae0 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -183,6 +183,8 @@ $i18n_key_words = array( // 'label.configure' => 'Configure', // 'label.select_all' => 'Select all', // 'label.select_none' => 'Deselect all', +// 'label.day_view' => 'Day view', +// 'label.week_view' => 'Week view', // 'label.id' => 'ID', // 'label.language' => 'Language', // 'label.decimal_mark' => 'Decimal mark', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index fb3889c1..dd0b2dde 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.12.3.3685 | Copyright © Anuko | +  Anuko Time Tracker 1.12.3.3686 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index a1b39583..8f3629fa 100644 --- a/WEB-INF/templates/time.tpl +++ b/WEB-INF/templates/time.tpl @@ -8,6 +8,13 @@ {$forms.timeRecordForm.open} +{if defined(WEEK_VIEW_DEBUG)} + + + +{/if}
+ {$i18n.label.day_view} / {$i18n.label.week_view} +
-- 2.20.1