From 1567369ac1fb744b704cacbe77542f55e410d61b Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Fri, 21 Dec 2018 17:08:57 +0000 Subject: [PATCH] A bit of refactoring in translation files. --- WEB-INF/resources/ca.lang.php | 3 ++- WEB-INF/resources/cs.lang.php | 3 ++- WEB-INF/resources/da.lang.php | 2 +- WEB-INF/resources/de.lang.php | 2 +- 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 | 2 +- WEB-INF/resources/fi.lang.php | 3 ++- WEB-INF/resources/fr.lang.php | 2 +- WEB-INF/resources/gr.lang.php | 2 +- WEB-INF/resources/he.lang.php | 3 ++- WEB-INF/resources/hu.lang.php | 2 +- WEB-INF/resources/it.lang.php | 2 +- WEB-INF/resources/ja.lang.php | 3 ++- WEB-INF/resources/ko.lang.php | 3 ++- WEB-INF/resources/nl.lang.php | 2 +- WEB-INF/resources/no.lang.php | 2 +- WEB-INF/resources/pl.lang.php | 3 ++- WEB-INF/resources/pt-br.lang.php | 3 ++- WEB-INF/resources/pt.lang.php | 2 +- WEB-INF/resources/ro.lang.php | 3 ++- WEB-INF/resources/ru.lang.php | 2 +- WEB-INF/resources/sk.lang.php | 3 ++- WEB-INF/resources/sl.lang.php | 2 +- WEB-INF/resources/sr.lang.php | 3 ++- WEB-INF/resources/sv.lang.php | 2 +- WEB-INF/resources/tr.lang.php | 3 ++- WEB-INF/resources/zh-cn.lang.php | 2 +- WEB-INF/resources/zh-tw.lang.php | 2 +- WEB-INF/templates/footer.tpl | 2 +- WEB-INF/templates/mobile/user_add.tpl | 2 +- WEB-INF/templates/mobile/user_edit.tpl | 2 +- WEB-INF/templates/quotas.tpl | 2 +- WEB-INF/templates/user_add.tpl | 2 +- WEB-INF/templates/user_edit.tpl | 2 +- mobile/user_add.php | 2 +- mobile/user_edit.php | 2 +- user_add.php | 2 +- user_edit.php | 2 +- 40 files changed, 54 insertions(+), 40 deletions(-) diff --git a/WEB-INF/resources/ca.lang.php b/WEB-INF/resources/ca.lang.php index 68c6e6a9..549241b0 100644 --- a/WEB-INF/resources/ca.lang.php +++ b/WEB-INF/resources/ca.lang.php @@ -258,6 +258,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Només totals', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -552,7 +554,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/cs.lang.php b/WEB-INF/resources/cs.lang.php index bcda7401..d66af403 100644 --- a/WEB-INF/resources/cs.lang.php +++ b/WEB-INF/resources/cs.lang.php @@ -268,6 +268,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Pouze součty', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -566,7 +568,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/da.lang.php b/WEB-INF/resources/da.lang.php index 45cf377e..061b1fb6 100644 --- a/WEB-INF/resources/da.lang.php +++ b/WEB-INF/resources/da.lang.php @@ -243,6 +243,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Kun Total', +'label.quota' => 'Kvota', // Form titles. 'title.error' => 'Fejl', @@ -514,7 +515,6 @@ $i18n_key_words = array( // Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. 'form.quota.year' => 'År', 'form.quota.month' => 'Måned', -'form.quota.quota' => 'Kvota', 'form.quota.workday_hours' => 'Timer på en arbejdsdag', 'form.quota.hint' => 'Hvis værdierne er tomme, beregnes kvoter automatisk baseret på arbejdsdage og helligdage.', diff --git a/WEB-INF/resources/de.lang.php b/WEB-INF/resources/de.lang.php index 3775315c..82599a62 100644 --- a/WEB-INF/resources/de.lang.php +++ b/WEB-INF/resources/de.lang.php @@ -231,6 +231,7 @@ $i18n_key_words = array( 'label.work_units' => 'Arbeitseinheiten', 'label.work_units_short' => 'Einheiten', 'label.totals_only' => 'Nur Gesamtstunden', +'label.quota' => 'Quote', // Form titles. 'title.error' => 'Fehler', @@ -485,7 +486,6 @@ $i18n_key_words = array( // Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. 'form.quota.year' => 'Jahr', 'form.quota.month' => 'Monat', -'form.quota.quota' => 'Quote', 'form.quota.workday_hours' => 'Arbeitsstunden pro Tag', 'form.quota.hint' => 'Wenn leergelassen wird die Quote automatisch berechnet (Basierend auf Arbeitsstunden pro Tag und Feiertagen)', diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index fee9fdbf..5d2acd56 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -225,6 +225,7 @@ $i18n_key_words = array( 'label.work_units' => 'Work units', 'label.work_units_short' => 'Units', 'label.totals_only' => 'Totals only', +'label.quota' => 'Quota', // Form titles. 'title.error' => 'Error', @@ -482,7 +483,6 @@ $i18n_key_words = array( // Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. 'form.quota.year' => 'Year', 'form.quota.month' => 'Month', -'form.quota.quota' => 'Quota', 'form.quota.workday_hours' => 'Hours in work day', 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/es.lang.php b/WEB-INF/resources/es.lang.php index aa642554..684d60a3 100644 --- a/WEB-INF/resources/es.lang.php +++ b/WEB-INF/resources/es.lang.php @@ -261,6 +261,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Solo totales', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. // TODO: Translate the following. @@ -567,7 +569,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index a61a1305..97b92fc7 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -265,6 +265,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Ainult summad', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -563,7 +565,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/fa.lang.php b/WEB-INF/resources/fa.lang.php index 86f3930d..4e298f3b 100644 --- a/WEB-INF/resources/fa.lang.php +++ b/WEB-INF/resources/fa.lang.php @@ -254,6 +254,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', +// 'label.quota' => 'Quota', // Form titles. 'title.error' => 'خطا', @@ -538,7 +539,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in a work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/fi.lang.php b/WEB-INF/resources/fi.lang.php index 4687e6f5..7322bf90 100644 --- a/WEB-INF/resources/fi.lang.php +++ b/WEB-INF/resources/fi.lang.php @@ -247,6 +247,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Vain yhteissummat', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. 'title.error' => 'Virhe', @@ -522,7 +524,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in a work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/fr.lang.php b/WEB-INF/resources/fr.lang.php index ad77095c..7584f9c6 100644 --- a/WEB-INF/resources/fr.lang.php +++ b/WEB-INF/resources/fr.lang.php @@ -241,6 +241,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Totaux uniquement', +'label.quota' => 'Quota', // Form titles. 'title.error' => 'Erreur', @@ -510,7 +511,6 @@ $i18n_key_words = array( // Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. 'form.quota.year' => 'Année', 'form.quota.month' => 'Mois', -'form.quota.quota' => 'Quota', 'form.quota.workday_hours' => 'Heures journée de travail', 'form.quota.hint' => 'Si les valeurs sont vides, les quotas sont calculés automatiquement selon les heures des journées de travail et des congés.', diff --git a/WEB-INF/resources/gr.lang.php b/WEB-INF/resources/gr.lang.php index f4859df7..c354b28a 100644 --- a/WEB-INF/resources/gr.lang.php +++ b/WEB-INF/resources/gr.lang.php @@ -234,6 +234,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Σύνολα μόνο', +'label.quota' => 'Ποσοστό', // Form titles. 'title.error' => 'Σφάλμα', @@ -495,7 +496,6 @@ $i18n_key_words = array( // Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. 'form.quota.year' => 'Χρόνος', 'form.quota.month' => 'Μήνας', -'form.quota.quota' => 'Ποσοστό', 'form.quota.workday_hours' => 'Ώρες ανά ημέρα εργασίας', 'form.quota.hint' => 'Εάν οι τιμές είναι κενές, οι ποσοστώσεις υπολογίζονται αυτόματα με βάση τις ώρες της εργάσιμης ημέρας και τις αργίες.', diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index d7abe002..d81832cc 100644 --- a/WEB-INF/resources/he.lang.php +++ b/WEB-INF/resources/he.lang.php @@ -264,6 +264,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'labl.totals_only' => 'סיכומים בלבד', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. 'title.error' => 'שגיאה', @@ -546,7 +548,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in a work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 0e0e4522..2097f990 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -263,6 +263,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', +// 'label.quota' => 'Quota', // Form titles. // TODO: Translate the following. @@ -557,7 +558,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/it.lang.php b/WEB-INF/resources/it.lang.php index ce1ab88c..77581731 100644 --- a/WEB-INF/resources/it.lang.php +++ b/WEB-INF/resources/it.lang.php @@ -238,6 +238,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Solo i totali', +'label.quota' => 'Quota', // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -510,7 +511,6 @@ $i18n_key_words = array( // Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. 'form.quota.year' => 'Anno', 'form.quota.month' => 'Mese', -'form.quota.quota' => 'Quota', 'form.quota.workday_hours' => 'Ore lavorative in un giorno', 'form.quota.hint' => 'Se i valori sono vuoti, le quote vengono calcolate automaticamente basandosi su ore giornaliere e vacanze.', diff --git a/WEB-INF/resources/ja.lang.php b/WEB-INF/resources/ja.lang.php index 431915fd..3cb26d69 100644 --- a/WEB-INF/resources/ja.lang.php +++ b/WEB-INF/resources/ja.lang.php @@ -268,6 +268,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => '全体だけ', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. // TODO: Translate the following. @@ -560,7 +562,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/ko.lang.php b/WEB-INF/resources/ko.lang.php index 7ac2dd4e..dc5a1a41 100644 --- a/WEB-INF/resources/ko.lang.php +++ b/WEB-INF/resources/ko.lang.php @@ -268,6 +268,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => '오직 전체만', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. // TODO: Translate the following. @@ -558,7 +560,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/nl.lang.php b/WEB-INF/resources/nl.lang.php index 3cad307b..99cab30c 100644 --- a/WEB-INF/resources/nl.lang.php +++ b/WEB-INF/resources/nl.lang.php @@ -228,6 +228,7 @@ $i18n_key_words = array( 'label.work_units' => 'Werk eenheid', 'label.work_units_short' => 'Eenheid', 'label.totals_only' => 'Alleen totalen', +'label.quota' => 'Quota', // Form titles. 'title.error' => 'Fout', @@ -486,7 +487,6 @@ $i18n_key_words = array( // Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. 'form.quota.year' => 'Jaar', 'form.quota.month' => 'Maand', -'form.quota.quota' => 'Quota', 'form.quota.workday_hours' => 'Werkuren per dag', 'form.quota.hint' => 'Als de velden leeg worden gelaten, dan zullen de doelen worden berekend op bassis van het aantal werkuren per dag en vakantiedagen.', diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index d7847c15..e3273ca0 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -265,6 +265,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', +// 'label.quota' => 'Quota' // Form titles. // TODO: Translate the following. @@ -556,7 +557,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index a36b06c1..461e6561 100644 --- a/WEB-INF/resources/pl.lang.php +++ b/WEB-INF/resources/pl.lang.php @@ -248,6 +248,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Tylko sumy', +// TODO: translate the following. +// 'label.quota' => 'Quota' // Form titles. 'title.error' => 'Błąd', @@ -524,7 +526,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in a work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index 7bfb9552..241f4544 100644 --- a/WEB-INF/resources/pt-br.lang.php +++ b/WEB-INF/resources/pt-br.lang.php @@ -245,6 +245,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Somente totais', +// TODO: translate the following. +// 'label.quota' => 'Quota' // Form titles. 'title.error' => 'Erro', @@ -519,7 +521,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in a work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/pt.lang.php b/WEB-INF/resources/pt.lang.php index bdb1c375..dad9124a 100644 --- a/WEB-INF/resources/pt.lang.php +++ b/WEB-INF/resources/pt.lang.php @@ -254,6 +254,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', +// 'label.quota' => 'Quota' // Form titles. // TODO: Translate the following. @@ -540,7 +541,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index e1c24e2d..c3a6077b 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -265,6 +265,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Numai totaluri', +// TODO: translate the following. +// 'label.quota' => 'Quota' // Form titles. // TODO: Improve titles for consistency, so that each title explains correctly what each @@ -561,7 +563,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index 5710cbb3..727ff51e 100644 --- a/WEB-INF/resources/ru.lang.php +++ b/WEB-INF/resources/ru.lang.php @@ -224,6 +224,7 @@ $i18n_key_words = array( 'label.work_units' => 'Единицы работы', 'label.work_units_short' => 'Единицы', 'label.totals_only' => 'Только итоги', +'label.quota' => 'Квота', // Form titles. 'title.error' => 'Ошибка', @@ -479,7 +480,6 @@ $i18n_key_words = array( // Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. 'form.quota.year' => 'Год', 'form.quota.month' => 'Месяц', -'form.quota.quota' => 'Квота', 'form.quota.workday_hours' => 'Количество часов в рабочем дне', 'form.quota.hint' => 'При пустых значениях квоты автоматически определяются из длительности рабочего дня и праздников.', diff --git a/WEB-INF/resources/sk.lang.php b/WEB-INF/resources/sk.lang.php index 0097e09b..1a87dd80 100644 --- a/WEB-INF/resources/sk.lang.php +++ b/WEB-INF/resources/sk.lang.php @@ -254,6 +254,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Iba celkové', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. 'title.error' => 'Chyba', @@ -537,7 +539,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in a work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index dfc9fd32..5b036edd 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -249,6 +249,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', +// 'label.quota' => 'Quota', // Form titles. // TODO: Translate the following. @@ -536,7 +537,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/sr.lang.php b/WEB-INF/resources/sr.lang.php index 1c59de37..a8d2bf8f 100644 --- a/WEB-INF/resources/sr.lang.php +++ b/WEB-INF/resources/sr.lang.php @@ -246,6 +246,8 @@ $i18n_key_words = array( // 'label.week_list' => 'Week list', // 'label.work_units' => 'Work units', 'label.totals_only' => 'Samo zbirno', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. 'title.error' => 'Greška', @@ -522,7 +524,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in a work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/sv.lang.php b/WEB-INF/resources/sv.lang.php index a20aed92..e009c0c5 100644 --- a/WEB-INF/resources/sv.lang.php +++ b/WEB-INF/resources/sv.lang.php @@ -242,6 +242,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Visa endast summeringar', +'label.quota' => 'Kvot', // Rubriker för formulär 'title.error' => 'Fel', @@ -518,7 +519,6 @@ $i18n_key_words = array( // Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin. 'form.quota.year' => 'År', 'form.quota.month' => 'Månad', -'form.quota.quota' => 'Kvot', 'form.quota.workday_hours' => 'Arbetstimmar per dag', 'form.quota.hint' => 'Om fälten lämnas tomma räknas kvoterna automatiskt ut baserat på arbetstimmar per dag och helgdagar.', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 771ccb90..48359a94 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -272,6 +272,8 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', 'label.totals_only' => 'Sadece toplamlar', +// TODO: translate the following. +// 'label.quota' => 'Quota', // Form titles. // Form titles. @@ -574,7 +576,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index 190cf5a4..e753c32c 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -256,6 +256,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', +// 'label.quota' => 'Quota', // Form titles. // TODO: Translate the following. @@ -543,7 +544,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index 7b1bcdba..b9951b1c 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -264,6 +264,7 @@ $i18n_key_words = array( // 'label.work_units' => 'Work units', // 'label.work_units_short' => 'Units', // 'label.totals_only' => 'Totals only', +// 'label.quota' => 'Quota', // Form titles. // TODO: Translate the following. @@ -552,7 +553,6 @@ $i18n_key_words = array( // TODO: translate the following. // 'form.quota.year' => 'Year', // 'form.quota.month' => 'Month', -// 'form.quota.quota' => 'Quota', // 'form.quota.workday_hours' => 'Hours in work day', // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index d68b7cb6..aaf04fa0 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
- {if $show_quota} - + {/if} diff --git a/WEB-INF/templates/mobile/user_edit.tpl b/WEB-INF/templates/mobile/user_edit.tpl index 6c5e12e7..0d7f47e6 100644 --- a/WEB-INF/templates/mobile/user_edit.tpl +++ b/WEB-INF/templates/mobile/user_edit.tpl @@ -111,7 +111,7 @@ function handleClientControl() { {if $show_quota} - + {/if} diff --git a/WEB-INF/templates/quotas.tpl b/WEB-INF/templates/quotas.tpl index 67707d38..1dba4f23 100644 --- a/WEB-INF/templates/quotas.tpl +++ b/WEB-INF/templates/quotas.tpl @@ -28,7 +28,7 @@
 Anuko Time Tracker 1.18.34.4677 | Copyright © Anuko | +  Anuko Time Tracker 1.18.34.4678 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/mobile/user_add.tpl b/WEB-INF/templates/mobile/user_add.tpl index 9fe22314..71901fb0 100644 --- a/WEB-INF/templates/mobile/user_add.tpl +++ b/WEB-INF/templates/mobile/user_add.tpl @@ -83,7 +83,7 @@ function handleClientControl() {
{$i18n.form.quota.quota} (%):{$i18n.label.quota} (%): {$forms.userForm.quota_percent.control}
{$i18n.form.quota.quota} (%):{$i18n.label.quota} (%): {$forms.userForm.quota_percent.control}
- + {foreach $months as $month} diff --git a/WEB-INF/templates/user_add.tpl b/WEB-INF/templates/user_add.tpl index 0398749c..39575db0 100644 --- a/WEB-INF/templates/user_add.tpl +++ b/WEB-INF/templates/user_add.tpl @@ -83,7 +83,7 @@ function handleClientControl() { {if $show_quota} - + {/if} diff --git a/WEB-INF/templates/user_edit.tpl b/WEB-INF/templates/user_edit.tpl index d7e7b54c..7475c6ef 100644 --- a/WEB-INF/templates/user_edit.tpl +++ b/WEB-INF/templates/user_edit.tpl @@ -117,7 +117,7 @@ function handleClientControl() { {if $show_quota} - + {/if} diff --git a/mobile/user_add.php b/mobile/user_add.php index ce11ecc2..b1d155aa 100644 --- a/mobile/user_add.php +++ b/mobile/user_add.php @@ -148,7 +148,7 @@ if ($request->isPost()) { } if (!ttValidEmail($cl_email, true)) $err->add($i18n->get('error.field'), $i18n->get('label.email')); if (!ttValidFloat($cl_rate, true)) $err->add($i18n->get('error.field'), $i18n->get('form.users.default_rate')); - if (!ttValidFloat($cl_quota_percent, true)) $err->add($i18n->get('error.field'), $i18n->get('form.quota.quota')); + if (!ttValidFloat($cl_quota_percent, true)) $err->add($i18n->get('error.field'), $i18n->get('label.quota')); if ($err->no()) { if (!ttUserHelper::getUserByLogin($cl_login)) { diff --git a/mobile/user_edit.php b/mobile/user_edit.php index d79a1f27..1e0845e1 100644 --- a/mobile/user_edit.php +++ b/mobile/user_edit.php @@ -171,7 +171,7 @@ if ($request->isPost()) { } if (!ttValidEmail($cl_email, true)) $err->add($i18n->get('error.field'), $i18n->get('label.email')); if (!ttValidFloat($cl_rate, true)) $err->add($i18n->get('error.field'), $i18n->get('form.users.default_rate')); - if (!ttValidFloat($cl_quota_percent, true)) $err->add($i18n->get('error.field'), $i18n->get('form.quota.quota')); + if (!ttValidFloat($cl_quota_percent, true)) $err->add($i18n->get('error.field'), $i18n->get('label.quota')); if ($err->no()) { $existing_user = ttUserHelper::getUserByLogin($cl_login); diff --git a/user_add.php b/user_add.php index afe0a846..a9995191 100644 --- a/user_add.php +++ b/user_add.php @@ -151,7 +151,7 @@ if ($request->isPost()) { // Require selection of a client for a client role. if ($user->isPluginEnabled('cl') && ttRoleHelper::isClientRole($cl_role_id) && !$cl_client_id) $err->add($i18n->get('error.client')); if (!ttValidFloat($cl_rate, true)) $err->add($i18n->get('error.field'), $i18n->get('form.users.default_rate')); - if (!ttValidFloat($cl_quota_percent, true)) $err->add($i18n->get('error.field'), $i18n->get('form.quota.quota')); + if (!ttValidFloat($cl_quota_percent, true)) $err->add($i18n->get('error.field'), $i18n->get('label.quota')); if ($err->no()) { if (!ttUserHelper::getUserByLogin($cl_login)) { diff --git a/user_edit.php b/user_edit.php index af6180a3..582452d9 100644 --- a/user_edit.php +++ b/user_edit.php @@ -173,7 +173,7 @@ if ($request->isPost()) { // Require selection of a client for a client role. if ($user->isPluginEnabled('cl') && ttRoleHelper::isClientRole($cl_role_id) && !$cl_client_id) $err->add($i18n->get('error.client')); if (!ttValidFloat($cl_rate, true)) $err->add($i18n->get('error.field'), $i18n->get('form.users.default_rate')); - if (!ttValidFloat($cl_quota_percent, true)) $err->add($i18n->get('error.field'), $i18n->get('form.quota.quota')); + if (!ttValidFloat($cl_quota_percent, true)) $err->add($i18n->get('error.field'), $i18n->get('label.quota')); if ($err->no()) { $existing_user = ttUserHelper::getUserByLogin($cl_login); -- 2.20.1
{$i18n.form.quota.month}{$i18n.form.quota.quota}{$i18n.label.quota}
{$i18n.form.quota.quota} (%):{$i18n.label.quota} (%): {$forms.userForm.quota_percent.control} {$i18n.label.what_is_it}
{$i18n.form.quota.quota} (%):{$i18n.label.quota} (%): {$forms.userForm.quota_percent.control} {$i18n.label.what_is_it}