From a8ef8ed3ff0aca2d4429b08cc7ff37bd273f4547 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Thu, 21 Jul 2016 18:34:29 +0000 Subject: [PATCH] Some refactoring in translation files. --- WEB-INF/resources/de.lang.php | 3 +-- WEB-INF/resources/en.lang.php | 4 ++-- WEB-INF/resources/es.lang.php | 3 +-- WEB-INF/resources/fa.lang.php | 3 +-- WEB-INF/resources/fi.lang.php | 3 +-- WEB-INF/resources/fr.lang.php | 3 +-- WEB-INF/resources/he.lang.php | 3 +-- WEB-INF/resources/nl.lang.php | 3 +-- WEB-INF/resources/pl.lang.php | 3 +-- WEB-INF/resources/pt-br.lang.php | 3 +-- WEB-INF/resources/ru.lang.php | 10 +++++----- WEB-INF/resources/sk.lang.php | 3 +-- WEB-INF/resources/sr.lang.php | 3 +-- WEB-INF/templates/cf_monthly_quota.tpl | 4 ++-- 14 files changed, 20 insertions(+), 31 deletions(-) diff --git a/WEB-INF/resources/de.lang.php b/WEB-INF/resources/de.lang.php index ae05e9f7..715c0cb2 100644 --- a/WEB-INF/resources/de.lang.php +++ b/WEB-INF/resources/de.lang.php @@ -203,8 +203,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'Anmelden', diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index f82e5432..97e125a1 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -199,8 +199,8 @@ $i18n_key_words = array( 'label.year' => 'Year', 'label.month' => 'Month', 'label.quota' => 'Quota', -'label.dailyWorkingHours' => 'Daily working hours', -'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +'label.workdayHours' => 'Hours in a work day', +'label.quota_config_hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.', // Form titles. 'title.login' => 'Login', diff --git a/WEB-INF/resources/es.lang.php b/WEB-INF/resources/es.lang.php index 3f1696e5..efb21750 100644 --- a/WEB-INF/resources/es.lang.php +++ b/WEB-INF/resources/es.lang.php @@ -234,8 +234,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'Sesión iniciada', diff --git a/WEB-INF/resources/fa.lang.php b/WEB-INF/resources/fa.lang.php index acdb8f06..97bc6a4b 100644 --- a/WEB-INF/resources/fa.lang.php +++ b/WEB-INF/resources/fa.lang.php @@ -211,8 +211,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'ورود', diff --git a/WEB-INF/resources/fi.lang.php b/WEB-INF/resources/fi.lang.php index ee94cad0..3b45375d 100644 --- a/WEB-INF/resources/fi.lang.php +++ b/WEB-INF/resources/fi.lang.php @@ -197,8 +197,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'Kirjautuminen', diff --git a/WEB-INF/resources/fr.lang.php b/WEB-INF/resources/fr.lang.php index ee899fa2..251b2f34 100644 --- a/WEB-INF/resources/fr.lang.php +++ b/WEB-INF/resources/fr.lang.php @@ -216,8 +216,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'Connexion', diff --git a/WEB-INF/resources/he.lang.php b/WEB-INF/resources/he.lang.php index ce02dba8..c16eaace 100644 --- a/WEB-INF/resources/he.lang.php +++ b/WEB-INF/resources/he.lang.php @@ -216,8 +216,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'כניסה', diff --git a/WEB-INF/resources/nl.lang.php b/WEB-INF/resources/nl.lang.php index b2ad9bf8..2b81fd29 100644 --- a/WEB-INF/resources/nl.lang.php +++ b/WEB-INF/resources/nl.lang.php @@ -198,8 +198,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'Aanmelden', diff --git a/WEB-INF/resources/pl.lang.php b/WEB-INF/resources/pl.lang.php index 35a53557..60bdafe5 100644 --- a/WEB-INF/resources/pl.lang.php +++ b/WEB-INF/resources/pl.lang.php @@ -203,8 +203,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'Logowanie', diff --git a/WEB-INF/resources/pt-br.lang.php b/WEB-INF/resources/pt-br.lang.php index 021c1386..39669490 100644 --- a/WEB-INF/resources/pt-br.lang.php +++ b/WEB-INF/resources/pt-br.lang.php @@ -197,8 +197,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'Login', diff --git a/WEB-INF/resources/ru.lang.php b/WEB-INF/resources/ru.lang.php index 0c99c071..c29ad037 100644 --- a/WEB-INF/resources/ru.lang.php +++ b/WEB-INF/resources/ru.lang.php @@ -196,11 +196,11 @@ $i18n_key_words = array( 'label.fav_report' => 'Стандартный отчёт', 'label.cron_schedule' => 'Расписание cron', 'label.what_is_it' => 'Что это?', -// 'label.year' => 'Year', -// 'label.month' => 'Month', -// 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +'label.year' => 'Год', +'label.month' => 'Месяц', +'label.quota' => 'Квота', +'label.workdayHours' => 'Количество часов в рабочем дне', +'label.quota_config_hint' => 'При пустых значениях квоты автоматически определяются из длительности рабочего дня и праздников.', // Form titles. 'title.login' => 'Вход в систему', diff --git a/WEB-INF/resources/sk.lang.php b/WEB-INF/resources/sk.lang.php index c8479ad4..f0918ed1 100644 --- a/WEB-INF/resources/sk.lang.php +++ b/WEB-INF/resources/sk.lang.php @@ -213,8 +213,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'Prihlásenie', diff --git a/WEB-INF/resources/sr.lang.php b/WEB-INF/resources/sr.lang.php index 546515b7..5600049e 100644 --- a/WEB-INF/resources/sr.lang.php +++ b/WEB-INF/resources/sr.lang.php @@ -199,8 +199,7 @@ $i18n_key_words = array( // 'label.year' => 'Year', // 'label.month' => 'Month', // 'label.quota' => 'Quota', -// 'label.dailyWorkingHours' => 'Daily working hours', -// 'label.empty_values_explanation' => 'If values are empty, quotas are calculated automatically based on holidays in config', +// 'label.workdayHours' => 'Daily working hours', // Form titles. 'title.login' => 'Prijava', diff --git a/WEB-INF/templates/cf_monthly_quota.tpl b/WEB-INF/templates/cf_monthly_quota.tpl index 6e3d9fee..874e2ebe 100644 --- a/WEB-INF/templates/cf_monthly_quota.tpl +++ b/WEB-INF/templates/cf_monthly_quota.tpl @@ -5,7 +5,7 @@ - + @@ -41,7 +41,7 @@
{$i18n.label.dailyWorkingHours}{$i18n.label.workdayHours} {$forms.monthlyQuotaForm.dailyWorkingHours.control}
-
* - {$i18n.label.empty_values_explanation}
+
* - {$i18n.label.quota_config_hint}
{$forms.monthlyQuotaForm.close}