From: Nik Okuntseff Date: Tue, 24 Jul 2018 17:49:57 +0000 (+0000) Subject: Work in progress on totals only config option for Work units plugin. X-Git-Tag: timetracker_1.19-1~809 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=928c8528504a757cebd2bebcebfa5a393ac19b05;p=timetracker.git Work in progress on totals only config option for Work units plugin. --- diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index 0e909ab8..e856fc46 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -245,6 +245,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Només totals', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -415,7 +416,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'projecte', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -'form.reports.totals_only' => 'Només totals', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index 282296ef..aa9037a3 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -255,6 +255,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Pouze součty', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -425,7 +426,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'projekt', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -'form.reports.totals_only' => 'Pouze součty', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/da.lang.php b/WEB-INF/resources/da.lang.php index 38e9f43d..7010608c 100644 --- a/WEB-INF/resources/da.lang.php +++ b/WEB-INF/resources/da.lang.php @@ -226,6 +226,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Kun Total', // Form titles. 'title.login' => 'Login', @@ -379,7 +380,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'Klient', 'form.reports.group_by_project' => 'Projekt', 'form.reports.group_by_task' => 'Opgave', -'form.reports.totals_only' => 'Kun Total', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/de.lang.php b/WEB-INF/resources/de.lang.php index 613bdc7c..b7e0f531 100644 --- a/WEB-INF/resources/de.lang.php +++ b/WEB-INF/resources/de.lang.php @@ -222,6 +222,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Nur Gesamtstunden', // Form titles. 'title.login' => 'Anmelden', @@ -372,7 +373,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'Kunde', 'form.reports.group_by_project' => 'Projekt', 'form.reports.group_by_task' => 'Aufgabe', -'form.reports.totals_only' => 'Nur Gesamtstunden', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index e4abce9f..5f1145bd 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -213,6 +213,7 @@ $i18n_key_words = array( 'label.week_list' => 'Week list', 'label.work_units' => 'Work units', 'label.work_units_short' => 'Units', +'label.totals_only' => 'Totals only', // Form titles. 'title.login' => 'Login', @@ -363,7 +364,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'client', 'form.reports.group_by_project' => 'project', 'form.reports.group_by_task' => 'task', -'form.reports.totals_only' => 'Totals only', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/es.lang.php b/WEB-INF/resources/es.lang.php index 5a040b80..d804fa0b 100644 --- a/WEB-INF/resources/es.lang.php +++ b/WEB-INF/resources/es.lang.php @@ -248,6 +248,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Solo totales', // Form titles. 'title.login' => 'Sesión iniciada', @@ -428,7 +429,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'proyecto', // TODO: traslate the following string. // 'form.reports.group_by_task' => 'task', -'form.reports.totals_only' => 'Solo totales', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index 2b1bdde3..2c9b04aa 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -251,6 +251,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Ainult summad', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -423,7 +424,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'projekt', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -'form.reports.totals_only' => 'Ainult summad', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/fa.lang.php b/WEB-INF/resources/fa.lang.php index c567d072..28bcf810 100644 --- a/WEB-INF/resources/fa.lang.php +++ b/WEB-INF/resources/fa.lang.php @@ -238,6 +238,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +// 'label.totals_only' => 'Totals only', // Form titles. 'title.login' => 'ورود', @@ -402,9 +403,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'مشتری', 'form.reports.group_by_project' => 'پروژه', 'form.reports.group_by_task' => 'وظیفه', -// TODO: translate form.reports.totals_only. Selecting this option means to print subtotals only for a "grouped by" report. -// In other words, items are not printed, only subtotals for grouped items are printed. -// 'form.reports.totals_only' => 'Totals only', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/fi.lang.php b/WEB-INF/resources/fi.lang.php index 48b5089f..99b40f48 100644 --- a/WEB-INF/resources/fi.lang.php +++ b/WEB-INF/resources/fi.lang.php @@ -230,6 +230,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Vain yhteissummat', // Form titles. 'title.login' => 'Kirjautuminen', @@ -386,7 +387,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'asiakas', 'form.reports.group_by_project' => 'projekti', 'form.reports.group_by_task' => 'tehtävä', -'form.reports.totals_only' => 'Vain yhteissummat', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/fr.lang.php b/WEB-INF/resources/fr.lang.php index 888e0ee8..a08f34f4 100644 --- a/WEB-INF/resources/fr.lang.php +++ b/WEB-INF/resources/fr.lang.php @@ -224,6 +224,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Totaux uniquement', // Form titles. 'title.login' => 'Connexion', @@ -376,7 +377,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'Client', 'form.reports.group_by_project' => 'Projet', 'form.reports.group_by_task' => 'Tâche', -'form.reports.totals_only' => 'Totaux uniquement', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/gr.lang.php b/WEB-INF/resources/gr.lang.php index e8f03b01..7eeead9c 100644 --- a/WEB-INF/resources/gr.lang.php +++ b/WEB-INF/resources/gr.lang.php @@ -215,6 +215,7 @@ $i18n_key_words = array( // TODO: translate the following. // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Σύνολα μόνο', // Form titles. 'title.login' => 'Σύνδεση', @@ -365,7 +366,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'πελάτης', 'form.reports.group_by_project' => 'έργο', 'form.reports.group_by_task' => 'εργασία', -'form.reports.totals_only' => 'Σύνολα μόνο', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index e513d5fc..c99ce8eb 100644 --- a/WEB-INF/resources/he.lang.php +++ b/WEB-INF/resources/he.lang.php @@ -248,6 +248,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'labl.totals_only' => 'סיכומים בלבד', // Form titles. 'title.login' => 'כניסה', @@ -410,7 +411,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'לקוח', 'form.reports.group_by_project' => 'פרוייקט', 'form.reports.group_by_task' => 'משימה', -'form.reports.totals_only' => 'סיכומים בלבד', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index cf6b0878..73165fae 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -248,6 +248,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +// 'label.totals_only' => 'Totals only', // Form titles. 'title.login' => 'Bejelentkezés', @@ -417,7 +418,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'projekt', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -// 'form.reports.totals_only' => 'Totals only', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/it.lang.php b/WEB-INF/resources/it.lang.php index ae1dae45..1c6769b7 100644 --- a/WEB-INF/resources/it.lang.php +++ b/WEB-INF/resources/it.lang.php @@ -220,6 +220,7 @@ $i18n_key_words = array( // TODO: translate the following. // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Solo i totali', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -379,7 +380,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'cliente', 'form.reports.group_by_project' => 'progetto', 'form.reports.group_by_task' => 'compito', -'form.reports.totals_only' => 'Solo i totali', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index fa4b4bec..01782d63 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -253,6 +253,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => '全体だけ', // Form titles. 'title.login' => 'ログイン', @@ -422,7 +423,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'プロジェクト', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -'form.reports.totals_only' => '全体だけ', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index b4c79c23..971c67d6 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -253,6 +253,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => '오직 전체만', // Form titles. 'title.login' => '로그인', @@ -420,7 +421,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => '프로젝트', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -'form.reports.totals_only' => '오직 전체만', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/nl.lang.php b/WEB-INF/resources/nl.lang.php index 0107a708..8719b471 100644 --- a/WEB-INF/resources/nl.lang.php +++ b/WEB-INF/resources/nl.lang.php @@ -213,6 +213,7 @@ $i18n_key_words = array( // TODO: translate the following. // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Alleen totalen', // Form titles. 'title.login' => 'Aanmelden', @@ -362,7 +363,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'klant', 'form.reports.group_by_project' => 'project', 'form.reports.group_by_task' => 'taak', -'form.reports.totals_only' => 'Alleen totalen', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index 1bfc0534..b3d58cc0 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -251,6 +251,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +// 'label.totals_only' => 'Totals only', // Form titles. 'title.login' => 'Innlogging', @@ -418,7 +419,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'prosjekt', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -// 'form.reports.totals_only' => 'Totals only', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index ec6b7848..1b4665e6 100644 --- a/WEB-INF/resources/pl.lang.php +++ b/WEB-INF/resources/pl.lang.php @@ -231,6 +231,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Tylko sumy', // Form titles. 'title.login' => 'Logowanie', @@ -388,7 +389,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'klientów', 'form.reports.group_by_project' => 'projektów', 'form.reports.group_by_task' => 'zadań', -'form.reports.totals_only' => 'Tylko sumy', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index db390eb2..13fc33a8 100644 --- a/WEB-INF/resources/pt-br.lang.php +++ b/WEB-INF/resources/pt-br.lang.php @@ -228,6 +228,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Somente totais', // Form titles. 'title.login' => 'Login', @@ -383,7 +384,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'cliente', 'form.reports.group_by_project' => 'projeto', 'form.reports.group_by_task' => 'tarefa', -'form.reports.totals_only' => 'Somente totais', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index 4b9727fa..53795d38 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -240,6 +240,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +// 'label.totals_only' => 'Totals only', // Form titles. 'title.login' => 'Login', @@ -400,7 +401,6 @@ $i18n_key_words = array( // 'form.reports.group_by_client' => 'client', // 'form.reports.group_by_project' => 'project', // 'form.reports.group_by_task' => 'task', -// 'form.reports.totals_only' => 'Totals only', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index b9c12201..aad8d883 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -252,6 +252,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Numai totaluri', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -423,7 +424,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'proiect', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -'form.reports.totals_only' => 'Numai totaluri', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index 114ecc54..3b2c67db 100644 --- a/WEB-INF/resources/ru.lang.php +++ b/WEB-INF/resources/ru.lang.php @@ -212,6 +212,7 @@ $i18n_key_words = array( 'label.week_list' => 'Список недели', 'label.work_units' => 'Единицы работы', 'label.work_units_short' => 'Единицы', +'label.totals_only' => 'Только итоги', // Form titles. 'title.login' => 'Вход в систему', @@ -360,7 +361,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'клиенту', 'form.reports.group_by_project' => 'проекту', 'form.reports.group_by_task' => 'задаче', -'form.reports.totals_only' => 'Только итоги', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/sk.lang.php b/WEB-INF/resources/sk.lang.php index 87beb6f6..d22c4b7e 100644 --- a/WEB-INF/resources/sk.lang.php +++ b/WEB-INF/resources/sk.lang.php @@ -238,6 +238,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Iba celkové', // Form titles. 'title.login' => 'Prihlásenie', @@ -402,7 +403,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'klient', 'form.reports.group_by_project' => 'projekt', 'form.reports.group_by_task' => 'úloha', -'form.reports.totals_only' => 'Iba celkové', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index 732286b9..ab53c5b2 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -235,6 +235,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +// 'label.totals_only' => 'Totals only', // Form titles. 'title.login' => 'Prijava', @@ -397,7 +398,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'projekt', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -// 'form.reports.totals_only' => 'Totals only', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/sr.lang.php b/WEB-INF/resources/sr.lang.php index 648f26e2..b9bbf149 100644 --- a/WEB-INF/resources/sr.lang.php +++ b/WEB-INF/resources/sr.lang.php @@ -229,6 +229,7 @@ $i18n_key_words = array( // 'label.week_note' => 'Week note', // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', +'label.totals_only' => 'Samo zbirno', // Form titles. 'title.login' => 'Prijava', @@ -386,7 +387,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'klijent', 'form.reports.group_by_project' => 'projekat', 'form.reports.group_by_task' => 'zadatak', -'form.reports.totals_only' => 'Samo zbirno', // Forma izveÅ¡taja. Pogledajte primer na https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/sv.lang.php b/WEB-INF/resources/sv.lang.php index 11eff194..c2159bb1 100644 --- a/WEB-INF/resources/sv.lang.php +++ b/WEB-INF/resources/sv.lang.php @@ -224,6 +224,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Visa endast summeringar', // Rubriker för formulär 'title.login' => 'Logga in', @@ -382,7 +383,6 @@ $i18n_key_words = array( 'form.reports.group_by_client' => 'Kund', 'form.reports.group_by_project' => 'Projekt', 'form.reports.group_by_task' => 'Arbetsuppgift', -'form.reports.totals_only' => 'Visa endast summeringar', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index ee3b4456..3508153e 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -259,6 +259,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +'label.totals_only' => 'Sadece toplamlar', // Form titles. // Form titles. @@ -435,7 +436,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => 'proje', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -'form.reports.totals_only' => 'Sadece toplamlar', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 1cb84d71..6fbcb023 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -242,6 +242,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +// 'label.totals_only' => 'Totals only', // Form titles. 'title.login' => '登录', @@ -406,7 +407,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => '项目', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -// 'form.reports.totals_only' => 'Totals only', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index fc3ec995..4ada9fc2 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -249,6 +249,7 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', +// 'label.totals_only' => 'Totals only', // Form titles. 'title.login' => '登錄', @@ -414,7 +415,6 @@ $i18n_key_words = array( 'form.reports.group_by_project' => '項目', // TODO: translate the following. // 'form.reports.group_by_task' => 'task', -// 'form.reports.totals_only' => 'Totals only', // Report form. See example at https://timetracker.anuko.com/report.php // (after generating a report at https://timetracker.anuko.com/reports.php). diff --git a/WEB-INF/templates/reports.tpl b/WEB-INF/templates/reports.tpl index b57ba841..af674785 100644 --- a/WEB-INF/templates/reports.tpl +++ b/WEB-INF/templates/reports.tpl @@ -299,7 +299,7 @@ function handleCheckboxes() { {$i18n.form.reports.group_by} - {$forms.reportForm.group_by.control} + {$forms.reportForm.group_by.control} diff --git a/WEB-INF/templates/work_units.tpl b/WEB-INF/templates/work_units.tpl index 9c2e64da..a4fb6b57 100644 --- a/WEB-INF/templates/work_units.tpl +++ b/WEB-INF/templates/work_units.tpl @@ -8,6 +8,10 @@ {$i18n.form.work_units.1st_unit_threshold}: {$forms.workUnitsForm.1st_unit_threshold.control} {$i18n.label.what_is_it} + + {$i18n.label.totals_only}: + {$forms.workUnitsForm.totals_only.control} {$i18n.label.what_is_it} +   diff --git a/work_units.php b/work_units.php index dd01488a..32b2616b 100644 --- a/work_units.php +++ b/work_units.php @@ -53,6 +53,7 @@ if ($request->isPost()) { $form = new Form('workUnitsForm'); $form->addInput(array('type'=>'text', 'name'=>'minutes_in_unit', 'value'=>$cl_minutes_in_unit, 'style'=>'width:40px')); $form->addInput(array('type'=>'text', 'name'=>'1st_unit_threshold', 'value'=>$cl_1st_unit_threshold, 'style'=>'width:40px')); +$form->addInput(array('type'=>'checkbox','name'=>'totals_only','value'=>$cl_totals_only)); $form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->get('button.save'))); if ($request->isPost()){