]> wagnertech.de Git - timetracker.git/commitdiff
Introduced a debug option and a localization string for holidays.
authorNik Okuntseff <support@anuko.com>
Fri, 26 Apr 2019 20:34:30 +0000 (20:34 +0000)
committerNik Okuntseff <support@anuko.com>
Fri, 26 Apr 2019 20:34:30 +0000 (20:34 +0000)
33 files changed:
WEB-INF/resources/ca.lang.php
WEB-INF/resources/cs.lang.php
WEB-INF/resources/da.lang.php
WEB-INF/resources/de.lang.php
WEB-INF/resources/en.lang.php
WEB-INF/resources/es.lang.php
WEB-INF/resources/et.lang.php
WEB-INF/resources/fa.lang.php
WEB-INF/resources/fi.lang.php
WEB-INF/resources/fr.lang.php
WEB-INF/resources/gr.lang.php
WEB-INF/resources/he.lang.php
WEB-INF/resources/hu.lang.php
WEB-INF/resources/it.lang.php
WEB-INF/resources/ja.lang.php
WEB-INF/resources/ko.lang.php
WEB-INF/resources/nl.lang.php
WEB-INF/resources/no.lang.php
WEB-INF/resources/pl.lang.php
WEB-INF/resources/pt-br.lang.php
WEB-INF/resources/pt.lang.php
WEB-INF/resources/ro.lang.php
WEB-INF/resources/ru.lang.php
WEB-INF/resources/sk.lang.php
WEB-INF/resources/sl.lang.php
WEB-INF/resources/sr.lang.php
WEB-INF/resources/sv.lang.php
WEB-INF/resources/tr.lang.php
WEB-INF/resources/zh-cn.lang.php
WEB-INF/resources/zh-tw.lang.php
WEB-INF/templates/footer.tpl
WEB-INF/templates/group_edit.tpl
group_edit.php

index d7bccc80e179a681cfa814341a721c2798236faa..9c6619d3f96fd464f50fed25989efc6b1a14faea 100644 (file)
@@ -585,6 +585,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 941a0ca55d38b40f08458baefce899b7524e9201..92c585e1a961e991230c6e8ec51e1be294e62f21 100644 (file)
@@ -598,6 +598,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 07a6ecdbb5efbf2e504c81096a8fbfa874c8f517..a0ab6ebf3616eaffbc6c53359b4f1e964db10e2d 100644 (file)
@@ -557,6 +557,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Registrerings tilstand',
 'form.group_edit.mode_time' => 'Tid',
 'form.group_edit.mode_projects' => 'Projekter',
index b79a52768a631230a9bbe1e50410f69f8360012d..1b3f2dbbbb4e639ecd7d96578d9e30e20e4ee622 100644 (file)
@@ -533,6 +533,8 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 'form.group_edit.show_holidays' => 'Zeige Feiertage',
+// TODO: translate the following.
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Nachverfolgung',
 'form.group_edit.mode_time' => 'Zeit',
 'form.group_edit.mode_projects' => 'Projekte',
index 5814f8113eac148282a2dc30bf3d069c4ee17d6e..74b959800248c56d9fc34505998334d5717ee117 100644 (file)
@@ -519,6 +519,7 @@ $i18n_key_words = array(
 'form.group_edit.24_hours' => '24 hours',
 'form.group_edit.display_options' => 'Display options',
 'form.group_edit.show_holidays' => 'Show holidays',
+'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Tracking mode',
 'form.group_edit.mode_time' => 'time',
 'form.group_edit.mode_projects' => 'projects',
index dd8cfa58b8ef26460063252c01782941a7c6b79c..5582ddb474d540ee6ab3f5183fa0f8299c9fc132 100644 (file)
@@ -599,6 +599,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 95e863f561d1fa48af319add7a3625cae19b078b..00d4067b6f6fac0c264e9f61da181eefd8484bda 100644 (file)
@@ -562,6 +562,8 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 'form.group_edit.show_holidays' => 'Näita pühi',
+// TODO: translate the following.
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Jälgimise režiim',
 'form.group_edit.mode_time' => 'ajaarvestus',
 'form.group_edit.mode_projects' => 'projektid',
index bf8e71893eae951f283929d573fce37118462e7d..38326ebe0e641530b54239aa24c1c7195d718bcf 100644 (file)
@@ -580,6 +580,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'حالت رهگیری',
 'form.group_edit.mode_time' => 'زمان',
 'form.group_edit.mode_projects' => 'پروژه ها',
index 2c4d08f699155c0378c1d2d22eecf2ef12098468..50016dba31d37838a3a02283451e9b787a168d12 100644 (file)
@@ -563,6 +563,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Seurantamuoto',
 'form.group_edit.mode_time' => 'aika',
 'form.group_edit.mode_projects' => 'projektit',
index fdb2ec309e36938d354a8bf4dd6474001865466c..c53f011179d0513cb2910f54a91dd8c5e272fe0e 100644 (file)
@@ -554,6 +554,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Mode suivi',
 'form.group_edit.mode_time' => 'Heures',
 'form.group_edit.mode_projects' => 'Projets',
index 8062417975542f24f37e0c20f4269aaaa2d837cf..f80f8f25793a1ee3082ae55cd1d49294a0c947d0 100644 (file)
@@ -542,6 +542,8 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 'form.group_edit.show_holidays' => 'Προβολή διακοπών',
+// TODO: translate the following.
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Λειτουργία καταγραφής',
 'form.group_edit.mode_time' => 'χρόνος',
 'form.group_edit.mode_projects' => 'έργα',
index e344a28b80dc182acf65353c8d30f6bad178d24e..2da526be69f19a1a794f0ca7f70ba6d9dfa7fa34 100644 (file)
@@ -584,6 +584,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'סוג מעקב',
 'form.group_edit.mode_time' => 'זמן',
 'form.group_edit.mode_projects' => 'פרוייקטים',
index aceb35241282289c816528f885cb230226dd1d5a..c3ae3864938c85f7258e4fef5e00249169c9f14b 100644 (file)
@@ -590,6 +590,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 55754834bcfb13d68c0bbc18e0f1667e75689fb1..40cf69c62529f3b07eeb91dc1a5f362cd7835206 100644 (file)
@@ -556,6 +556,8 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 'form.group_edit.show_holidays' => 'Mostra vacanze',
+// TODO: translate the following.
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Modalità di registrazione',
 'form.group_edit.mode_time' => 'tempo',
 'form.group_edit.mode_projects' => 'progetti',
index 4536cc59deaa6dbdedc2460b9dd3ca153fe458b8..ad23ad5744fc7f23eecec376cc5c47d4d75b43de 100644 (file)
@@ -593,6 +593,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 693c86bebd12b75fe8dd7afc2175bc2a7fbbf00c..61da3cb39bc93aac3508330f8f6e48f38c46f71c 100644 (file)
@@ -591,6 +591,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 4db86bc82fa854a042788c0bf642822f0e35009a..b8a1543526ddc85a7783c6b04e09dc362f2c4a13 100644 (file)
@@ -518,6 +518,8 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 'form.group_edit.show_holidays' => 'Toon vakantiedagen',
+// TODO: translate the following.
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Bijhouden',
 'form.group_edit.mode_time' => 'tijd',
 'form.group_edit.mode_projects' => 'projecten',
index 9076c0f808182297c46aa603239974b4690d1bc6..f7c2d8c9a8e55a155a31ed17b282610ed8f1b4a2 100644 (file)
@@ -590,6 +590,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index ffa3ca324fdd23f814a96ef0747f5d13af420b7e..326ab86cd08a8b3d262041eccc30554d14bc3cad 100644 (file)
@@ -566,6 +566,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Tryb śledzenia',
 'form.group_edit.mode_time' => 'czas',
 'form.group_edit.mode_projects' => 'projekty',
index b39801f258991fb26a13fcee8eb513cf6e18c551..72577385c7f17d551dbbf29e97f6c02041c4e217 100644 (file)
@@ -561,6 +561,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Modo de acompanhamento',
 'form.group_edit.mode_time' => 'tempo',
 'form.group_edit.mode_projects' => 'projetos',
index 2cc4f33dc78d7196c0dea61be95ff94134e8b911..916af30c8098ce1e983524af7dde7ae1572095b6 100644 (file)
@@ -572,6 +572,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 9bdbdac7f016f88a6b548e034bee6efd42c2919b..55659e89ab6c5ca78983c5df87c02936f29c7c56 100644 (file)
@@ -593,6 +593,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 191cab62b2c49c24902affe51d6f0c45310184e3..0d3e323e73164a7c72e302319a8b0f6d2ef4bc77 100644 (file)
@@ -510,6 +510,7 @@ $i18n_key_words = array(
 'form.group_edit.24_hours' => '24 часа',
 'form.group_edit.display_options' => 'Опции отображения',
 'form.group_edit.show_holidays' => 'Показывать праздники',
+'form.group_edit.holidays' => 'Праздники',
 'form.group_edit.tracking_mode' => 'Режим работы',
 'form.group_edit.mode_time' => 'время',
 'form.group_edit.mode_projects' => 'проекты',
index 51b4bedba8ca9ee5caa054650c188ddf4149d63b..b4230436db8097374392fb7574da270b79f64f12 100644 (file)
@@ -573,6 +573,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Režim sledovania',
 'form.group_edit.mode_time' => 'čas',
 'form.group_edit.mode_projects' => 'projekty',
index d275e10a6010f2c94455bbf09dea95809e68d871..50bd7c1435e70ad9d30a3a800f545f3d01e2bd8d 100644 (file)
@@ -567,6 +567,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index be1acb9ec62ae88730080894f4cc4b55cc4127f0..6ac9d2d7a2eed4bbb560a0a458994a2ba6ea19e8 100644 (file)
@@ -564,6 +564,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Način evidencije',
 'form.group_edit.mode_time' => 'vreme',
 'form.group_edit.mode_projects' => 'projekti',
index 701c62c70737d1b631a80e70da51800ac31baf25..23ca57c1c1be891079460a8a9858d611600d80b5 100644 (file)
@@ -561,6 +561,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 'form.group_edit.tracking_mode' => 'Spårningsmetod',
 'form.group_edit.mode_time' => 'Endast tid',
 'form.group_edit.mode_projects' => 'Projekt',
index d158ada98b2f6b2f8010ead2d10b1eaf3126dfb2..29065535e3911491f0af80bbe2ddcbaccef73925 100644 (file)
@@ -606,6 +606,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 2c17bd65f09cc537c2537d2997a799a70947dca4..f878f8558283381bab9cab4851fa1c0a943055c6 100644 (file)
@@ -577,6 +577,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index 28cbddc44236a47455e9f4cac89eeb6ade520652..3cee85481369b68245538a84a897240b193aeb2c 100644 (file)
@@ -583,6 +583,7 @@ $i18n_key_words = array(
 // 'form.group_edit.24_hours' => '24 hours',
 // 'form.group_edit.display_options' => 'Display options',
 // 'form.group_edit.show_holidays' => 'Show holidays',
+// 'form.group_edit.holidays' => 'Holidays',
 // 'form.group_edit.tracking_mode' => 'Tracking mode',
 // 'form.group_edit.mode_time' => 'time',
 // 'form.group_edit.mode_projects' => 'projects',
index c94bc7c01edf4ae6fe65f0501a629dd5af9e7926..b02e30e9acc6f90aa9cd219689bc2fe3820feab8 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.19.4.4989 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.19.4.4990 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index 9062278982dac1092b25862248fbda358548d4de..00cd8169344a5471a65da33d24591b1a7cb60cbf 100644 (file)
@@ -78,6 +78,12 @@ function handleTaskRequiredCheckbox() {
             <td align="right" nowrap>{$i18n.form.group_edit.show_holidays}:</td>
             <td>{$forms.groupForm.show_holidays.control} <a href="https://www.anuko.com/lp/tt_14.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
           </tr>
+{if isTrue('HOLIDAYS_DEBUG')}
+          <tr>
+            <td align="right" nowrap>{$i18n.form.group_edit.holidays}:</td>
+            <td>{$forms.groupForm.holidays.control} <a href="https://www.anuko.com/lp/tt_14.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
+          </tr>
+{/if}
           <tr>
             <td align="right" nowrap>{$i18n.form.group_edit.tracking_mode}:</td>
             <td>{$forms.groupForm.tracking_mode.control} {$forms.groupForm.task_required.control} <span id="task_required_label"><label for="task_required">{$i18n.label.required}</label></span></td>
index b16a15f09354dabc9ece37106a849ee9317acb8a..583c4424b8a5255a007134626a05549e81ead99c 100644 (file)
@@ -181,6 +181,7 @@ $form->addInput(array('type'=>'combobox','name'=>'start_week','style'=>'width: 1
 
 // Show holidays checkbox.
 $form->addInput(array('type'=>'checkbox','name'=>'show_holidays','value'=>$cl_show_holidays));
+$form->addInput(array('type'=>'text','name'=>'holidays','value'=>$cl_holidays));
 
 // Prepare tracking mode choices.
 $tracking_mode_options = array();