From: Nik Okuntseff Date: Thu, 8 Mar 2018 22:57:45 +0000 (+0000) Subject: Reduced label Cron schedule to just Schedule as it creates a difficulty and a mainten... X-Git-Tag: timetracker_1.19-1~1071 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bb21bc0fbb60be85b7d1eab90e6dd7c33aec7d0a;p=timetracker.git Reduced label Cron schedule to just Schedule as it creates a difficulty and a maintenance problem for many translations. --- diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index b397265b..1a57053f 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -228,7 +228,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => 'Report favorit', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', 'label.quantity' => 'Quantitat', diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index 45a73fbd..0cdec649 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -238,7 +238,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => 'Oblíbená sestava', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', 'label.quantity' => 'Množství', diff --git a/WEB-INF/resources/da.lang.php b/WEB-INF/resources/da.lang.php index 468612e8..251fc76b 100644 --- a/WEB-INF/resources/da.lang.php +++ b/WEB-INF/resources/da.lang.php @@ -206,7 +206,7 @@ $i18n_key_words = array( 'label.type_text' => 'Tekst', 'label.required' => 'Required', 'label.fav_report' => 'Favorit rapport', -'label.cron_schedule' => 'Cron tidsplan', +'label.schedule' => 'Tidsplan', 'label.what_is_it' => 'Hvad er det?', 'label.expense' => 'Udgift', 'label.quantity' => 'Mængde', diff --git a/WEB-INF/resources/de.lang.php b/WEB-INF/resources/de.lang.php index 63195c8a..1b430aee 100644 --- a/WEB-INF/resources/de.lang.php +++ b/WEB-INF/resources/de.lang.php @@ -202,7 +202,7 @@ $i18n_key_words = array( 'label.type_text' => 'Text', 'label.required' => 'Benötigt', 'label.fav_report' => 'Bevorzugter Report', -'label.cron_schedule' => 'Cronjob Zeitplan', +'label.schedule' => 'Zeitplan', 'label.what_is_it' => 'Was ist es?', 'label.expense' => 'Ausgaben', 'label.quantity' => 'Menge', diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index bbda019a..9afe7233 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -199,7 +199,7 @@ $i18n_key_words = array( 'label.type_text' => 'text', 'label.required' => 'Required', 'label.fav_report' => 'Favorite report', -'label.cron_schedule' => 'Cron schedule', +'label.schedule' => 'Schedule', 'label.what_is_it' => 'What is it?', 'label.expense' => 'Expense', 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/es.lang.php b/WEB-INF/resources/es.lang.php index 996f4753..f0ae3364 100644 --- a/WEB-INF/resources/es.lang.php +++ b/WEB-INF/resources/es.lang.php @@ -232,7 +232,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => 'Reporte favorito', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index a5283d87..837b2fbd 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -235,7 +235,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => 'Lemmikraport', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/fa.lang.php b/WEB-INF/resources/fa.lang.php index aa48e891..554238da 100644 --- a/WEB-INF/resources/fa.lang.php +++ b/WEB-INF/resources/fa.lang.php @@ -220,7 +220,7 @@ $i18n_key_words = array( 'label.required' => 'اجباری', 'label.fav_report' => 'گزارش های برگزیده', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/fi.lang.php b/WEB-INF/resources/fi.lang.php index 7175dabb..8b9f098f 100644 --- a/WEB-INF/resources/fi.lang.php +++ b/WEB-INF/resources/fi.lang.php @@ -203,14 +203,15 @@ $i18n_key_words = array( // 'label.no' => 'no', // Labels for plugins (extensions to Time Tracker that provide additional features). 'label.custom_fields' => 'Omat kentät', -// Translate the following. +// TODO: translate the following. // 'label.monthly_quotas' => 'Monthly quotas', 'label.type' => 'Tyyppi', 'label.type_dropdown' => 'pudotusvalikko', 'label.type_text' => 'teksti', 'label.required' => 'Pakollinen', 'label.fav_report' => 'Raporttipohja', -'label.cron_schedule' => 'Cron-ajoitus', +// TODO: translate the following. +// 'label.schedule' => 'Schedule', 'label.what_is_it' => 'Mikä se on?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/fr.lang.php b/WEB-INF/resources/fr.lang.php index 5d55a0e8..17375146 100644 --- a/WEB-INF/resources/fr.lang.php +++ b/WEB-INF/resources/fr.lang.php @@ -205,7 +205,7 @@ $i18n_key_words = array( 'label.type_text' => 'Texte', 'label.required' => 'Obligatoire', 'label.fav_report' => 'Rapport favori', -'label.cron_schedule' => 'Horaire Cron', +'label.schedule' => 'Horaire', 'label.what_is_it' => 'Qu\\\'est-ce que c\\\'est?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/gr.lang.php b/WEB-INF/resources/gr.lang.php index 8cbbbbdc..431a817a 100644 --- a/WEB-INF/resources/gr.lang.php +++ b/WEB-INF/resources/gr.lang.php @@ -181,10 +181,6 @@ $i18n_key_words = array( 'label.week_total' => 'Σύνολο εβδομάδας', 'label.month_total' => 'Σύνολο μήνα', 'label.today' => 'Σήμερα', - - - -// TODO: refactoring ongoing down from here. 'label.view' => 'Προβολή', 'label.edit' => 'Επεξεργασία', 'label.delete' => 'Διαγραφή', @@ -208,7 +204,7 @@ $i18n_key_words = array( 'label.client_address' => 'Διεύθυνση πελάτη', 'label.or' => 'ή', 'label.error' => 'Σφάλμα', -'label.ldap_hint' => 'Εισάγετε το όνομα σύνδεσης των Windows και κωδικό πρόσβασης στα παρακάτω πεδία.', +'label.ldap_hint' => 'Εισάγετε το όνομα σύνδεσης των Windows και κωδικό πρόσβασης στα παρακάτω πεδία.', 'label.required_fields' => '* - υποχρεωτικά πεδία', 'label.on_behalf' => 'εκ μέρους του', 'label.role_manager' => '(Διευθυντής)', @@ -216,8 +212,8 @@ $i18n_key_words = array( 'label.role_admin' => '(Διαχειριστής)', 'label.page' => 'Σελίδα', 'label.condition' => 'Κατάσταση', -'label.yes' => 'Ναι', -'label.no' => 'Όχι', +'label.yes' => 'ναι', +'label.no' => 'όχι', // Labels for plugins (extensions to Time Tracker that provide additional features). 'label.custom_fields' => 'Προσαρμοσμένα πεδία', 'label.monthly_quotas' => 'Μηνιαίες ποσοστώσεις', @@ -226,7 +222,12 @@ $i18n_key_words = array( 'label.type_text' => 'Κείμενο', 'label.required' => 'Απαιτείται', 'label.fav_report' => 'Αγαπημένη αναφορά', -'label.cron_schedule' => 'Πρόγραμμα εκτέλεσης εντολών', +// TODO: translate the following. +// 'label.schedule' => 'Schedule', + + + +// TODO: refactoring ongoing down from here. 'label.what_is_it' => 'Τι είναι αυτό?', 'label.expense' => 'Δαπάνη', 'label.quantity' => 'Ποσότητα', diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index 0b934854..c9813c99 100644 --- a/WEB-INF/resources/he.lang.php +++ b/WEB-INF/resources/he.lang.php @@ -229,7 +229,7 @@ $i18n_key_words = array( 'label.required' => 'חובה', 'label.fav_report' => 'דוח מועדף', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 448a2299..1cf93d00 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -233,7 +233,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => 'Előre definiált riport formátum', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/it.lang.php b/WEB-INF/resources/it.lang.php index 70b4ccff..487afc33 100644 --- a/WEB-INF/resources/it.lang.php +++ b/WEB-INF/resources/it.lang.php @@ -203,7 +203,7 @@ $i18n_key_words = array( 'label.type_text' => 'testo', 'label.required' => 'Obbligatorio', 'label.fav_report' => 'Rapporto preferito', -'label.cron_schedule' => 'Cron programmata', +'label.schedule' => 'Programma', 'label.what_is_it' => 'Cosa è?', 'label.expense' => 'Spesa', 'label.quantity' => 'Quantità', diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index d5b377be..db904727 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -237,7 +237,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => 'お気に入りレポート', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index 3bccdf14..215cda30 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -236,7 +236,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => '좋아하는 보고서', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', 'label.quantity' => '수량', diff --git a/WEB-INF/resources/nl.lang.php b/WEB-INF/resources/nl.lang.php index dd19fa4d..e07f6f56 100644 --- a/WEB-INF/resources/nl.lang.php +++ b/WEB-INF/resources/nl.lang.php @@ -200,7 +200,8 @@ $i18n_key_words = array( 'label.type_text' => 'tekst', 'label.required' => 'Verplicht veld', 'label.fav_report' => 'Standaard rapport', -'label.cron_schedule' => 'Cron schema', +// TODO: translate the following. +// 'label.schedule' => 'Schedule', 'label.what_is_it' => 'Wat betekent dit?', 'label.expense' => 'Kosten', 'label.quantity' => 'Hoeveelheid', diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index b7455868..a61df2b3 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -234,7 +234,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => 'Favoritt rapport', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index 945497b4..1f922a26 100644 --- a/WEB-INF/resources/pl.lang.php +++ b/WEB-INF/resources/pl.lang.php @@ -212,7 +212,7 @@ $i18n_key_words = array( 'label.type_text' => 'tekst', 'label.required' => 'Wymagane', 'label.fav_report' => 'Ulubiony raport', -'label.cron_schedule' => 'Harmonogram crona', +'label.schedule' => 'Harmonogram', 'label.what_is_it' => 'Co to jest?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index 78f183c4..af86b311 100644 --- a/WEB-INF/resources/pt-br.lang.php +++ b/WEB-INF/resources/pt-br.lang.php @@ -209,7 +209,7 @@ $i18n_key_words = array( 'label.type_text' => 'texto', 'label.required' => 'Obrigatório', 'label.fav_report' => 'Relatório favorito', -'label.cron_schedule' => 'Agenda cron', +'label.schedule' => 'Agenda', 'label.what_is_it' => 'O que é?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index 1380768c..e48032b1 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -225,7 +225,7 @@ $i18n_key_words = array( // 'label.type_text' => 'text', // 'label.required' => 'Required', // 'label.fav_report' => 'Favorite report', -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 14c8eaa8..9428758d 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -237,7 +237,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => 'Raport favorite', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index e9add94c..df4bb309 100644 --- a/WEB-INF/resources/ru.lang.php +++ b/WEB-INF/resources/ru.lang.php @@ -198,7 +198,7 @@ $i18n_key_words = array( 'label.type_text' => 'текст', 'label.required' => 'Обязательное', 'label.fav_report' => 'Стандартный отчёт', -'label.cron_schedule' => 'Расписание cron', +'label.schedule' => 'Расписание', 'label.what_is_it' => 'Что это?', 'label.expense' => 'Расход', 'label.quantity' => 'Количество', diff --git a/WEB-INF/resources/sk.lang.php b/WEB-INF/resources/sk.lang.php index 9a2e6607..9c7f70f0 100644 --- a/WEB-INF/resources/sk.lang.php +++ b/WEB-INF/resources/sk.lang.php @@ -220,7 +220,7 @@ $i18n_key_words = array( 'label.required' => 'Povinné', 'label.fav_report' => 'Obľúbená zostava', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index 0b634b19..b1fd053c 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -222,7 +222,7 @@ $i18n_key_words = array( // 'label.type_text' => 'text', // 'label.required' => 'Required', // 'label.fav_report' => 'Favorite report', -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/sr.lang.php b/WEB-INF/resources/sr.lang.php index 717d658b..d6f68f48 100644 --- a/WEB-INF/resources/sr.lang.php +++ b/WEB-INF/resources/sr.lang.php @@ -209,7 +209,8 @@ $i18n_key_words = array( 'label.type_text' => 'text', 'label.required' => 'Obavezan', 'label.fav_report' => 'Omiljeni izveštaji', -'label.cron_schedule' => 'Sredi raspored', +// TODO: translate the following. +// 'label.schedule' => 'Schedule', 'label.what_is_it' => 'Šta je ovo?', // TODO: Translate the following. // 'label.expense' => 'Expense', diff --git a/WEB-INF/resources/sv.lang.php b/WEB-INF/resources/sv.lang.php index 35e48dbc..caa0d0c2 100644 --- a/WEB-INF/resources/sv.lang.php +++ b/WEB-INF/resources/sv.lang.php @@ -206,7 +206,8 @@ $i18n_key_words = array( 'label.type_text' => 'Text', 'label.required' => 'Obligatorisk', 'label.fav_report' => 'Sparade rapporter', -'label.cron_schedule' => 'CRON-schema', +// TODO: translate the following. +// 'label.schedule' => 'Schedule', 'label.what_is_it' => 'Vad är detta?', 'label.expense' => 'Kostnad', 'label.quantity' => 'Antal', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 9ebd8ac1..87d29d7a 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -243,7 +243,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => 'Sık kullanılan rapor', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 12640e0f..f21a759d 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -225,7 +225,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => '收藏的报告', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index ff195bda..e67ca7f3 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -233,7 +233,7 @@ $i18n_key_words = array( // 'label.required' => 'Required', 'label.fav_report' => '收藏的報告', // TODO: translate the following. -// 'label.cron_schedule' => 'Cron schedule', +// 'label.schedule' => 'Schedule', // 'label.what_is_it' => 'What is it?', // 'label.expense' => 'Expense', // 'label.quantity' => 'Quantity', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 80331ea1..4c600d08 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.35.4040 | Copyright © Anuko | +  Anuko Time Tracker 1.17.35.4041 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/locking.tpl b/WEB-INF/templates/locking.tpl index 177f5918..0d76e46c 100644 --- a/WEB-INF/templates/locking.tpl +++ b/WEB-INF/templates/locking.tpl @@ -4,7 +4,7 @@ - + diff --git a/WEB-INF/templates/notification_add.tpl b/WEB-INF/templates/notification_add.tpl index 45fafce2..a710c0c1 100644 --- a/WEB-INF/templates/notification_add.tpl +++ b/WEB-INF/templates/notification_add.tpl @@ -8,7 +8,7 @@ - + diff --git a/WEB-INF/templates/notification_edit.tpl b/WEB-INF/templates/notification_edit.tpl index d1e13dc1..abb03e65 100644 --- a/WEB-INF/templates/notification_edit.tpl +++ b/WEB-INF/templates/notification_edit.tpl @@ -8,7 +8,7 @@ - + diff --git a/WEB-INF/templates/notifications.tpl b/WEB-INF/templates/notifications.tpl index 71cc13a3..021ff921 100644 --- a/WEB-INF/templates/notifications.tpl +++ b/WEB-INF/templates/notifications.tpl @@ -6,7 +6,7 @@
{$i18n.label.cron_schedule}:{$i18n.label.schedule}: {$forms.lockingForm.lock_spec.control} {$i18n.label.what_is_it}
{$forms.notificationForm.fav_report.control}
{$i18n.label.cron_schedule} (*):{$i18n.label.schedule} (*): {$forms.notificationForm.cron_spec.control} {$i18n.label.what_is_it}
{$forms.notificationForm.fav_report.control}
{$i18n.label.cron_schedule} (*):{$i18n.label.schedule} (*): {$forms.notificationForm.cron_spec.control} {$i18n.label.what_is_it}
- + diff --git a/locking.php b/locking.php index 8acdcd70..f2b7779b 100644 --- a/locking.php +++ b/locking.php @@ -44,7 +44,7 @@ $form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->getKey if ($request->isPost()) { // Validate user input. - if (!ttValidCronSpec($cl_lock_spec)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.cron_schedule')); + if (!ttValidCronSpec($cl_lock_spec)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.schedule')); if ($err->no()) { if (ttTeamHelper::update($user->team_id, array( diff --git a/notification_add.php b/notification_add.php index 3fa4073a..9f5bf361 100644 --- a/notification_add.php +++ b/notification_add.php @@ -71,7 +71,7 @@ $form->addInput(array('type'=>'submit','name'=>'btn_add','value'=>$i18n->getKey( if ($request->isPost()) { // Validate user input. if (!$cl_fav_report) $err->add($i18n->getKey('error.report')); - if (!ttValidCronSpec($cl_cron_spec)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.cron_schedule')); + if (!ttValidCronSpec($cl_cron_spec)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.schedule')); if (!ttValidEmail($cl_email)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.email')); if (!ttValidEmail($cl_cc, true)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.cc')); if (!ttValidString($cl_subject, true)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.subject')); diff --git a/notification_edit.php b/notification_edit.php index 8e03b563..8a2ab056 100644 --- a/notification_edit.php +++ b/notification_edit.php @@ -78,7 +78,7 @@ $form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->getK if ($request->isPost()) { // Validate user input. if (!$cl_fav_report) $err->add($i18n->getKey('error.report')); - if (!ttValidCronSpec($cl_cron_spec)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.cron_schedule')); + if (!ttValidCronSpec($cl_cron_spec)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.schedule')); if (!ttValidEmail($cl_email)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.email')); if (!ttValidEmail($cl_cc, true)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.cc')); if (!ttValidString($cl_subject, true)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.subject'));
{$i18n.label.thing_name}{$i18n.label.cron_schedule}{$i18n.label.schedule} {$i18n.label.email} {$i18n.label.condition} {$i18n.label.edit}