From b4d5ddb83271fb1c27c58533a99f629eb5f6d87a Mon Sep 17 00:00:00 2001 From: SkyFox Date: Wed, 20 Dec 2017 22:30:43 +0100 Subject: [PATCH] Add missing translation in DateHelper --- app/Helper/DateHelper.php | 4 +++- app/Locale/bs_BA/translations.php | 3 +++ app/Locale/ca_ES/translations.php | 3 +++ app/Locale/cs_CZ/translations.php | 3 +++ app/Locale/da_DK/translations.php | 3 +++ app/Locale/de_DE/translations.php | 3 +++ app/Locale/el_GR/translations.php | 3 +++ app/Locale/es_ES/translations.php | 3 +++ app/Locale/fi_FI/translations.php | 3 +++ app/Locale/fr_FR/translations.php | 3 +++ app/Locale/hr_HR/translations.php | 3 +++ app/Locale/hu_HU/translations.php | 3 +++ app/Locale/id_ID/translations.php | 3 +++ app/Locale/it_IT/translations.php | 3 +++ app/Locale/ja_JP/translations.php | 3 +++ app/Locale/ko_KR/translations.php | 3 +++ app/Locale/my_MY/translations.php | 3 +++ app/Locale/nb_NO/translations.php | 3 +++ app/Locale/nl_NL/translations.php | 3 +++ app/Locale/pl_PL/translations.php | 3 +++ app/Locale/pt_BR/translations.php | 3 +++ app/Locale/pt_PT/translations.php | 3 +++ app/Locale/ro_RO/translations.php | 3 +++ app/Locale/ru_RU/translations.php | 3 +++ app/Locale/sr_Latn_RS/translations.php | 3 +++ app/Locale/sv_SE/translations.php | 3 +++ app/Locale/th_TH/translations.php | 3 +++ app/Locale/tr_TR/translations.php | 3 +++ app/Locale/vi_VN/translations.php | 3 +++ app/Locale/zh_CN/translations.php | 3 +++ app/Locale/zh_TW/translations.php | 3 +++ 31 files changed, 93 insertions(+), 1 deletion(-) diff --git a/app/Helper/DateHelper.php b/app/Helper/DateHelper.php index 3bc85b76f..98de9a83b 100644 --- a/app/Helper/DateHelper.php +++ b/app/Helper/DateHelper.php @@ -72,7 +72,9 @@ class DateHelper extends Base $dtF = new DateTime("@0"); $dtT = new DateTime("@$seconds"); - return $dtF->diff($dtT)->format('%a days, %h hours, %i minutes and %s seconds'); + + $format = sprintf("%%d %s, %%h %s, %%i %s, %%s %s", t('days'), t('hours'), t('minutes'), t('seconds')); + return $dtF->diff($dtT)->format($format); } /** diff --git a/app/Locale/bs_BA/translations.php b/app/Locale/bs_BA/translations.php index 4f9706dfb..5554e279c 100644 --- a/app/Locale/bs_BA/translations.php +++ b/app/Locale/bs_BA/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/ca_ES/translations.php b/app/Locale/ca_ES/translations.php index 5839b6ed2..58df604d2 100644 --- a/app/Locale/ca_ES/translations.php +++ b/app/Locale/ca_ES/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/cs_CZ/translations.php b/app/Locale/cs_CZ/translations.php index 50368c4c5..541266e59 100644 --- a/app/Locale/cs_CZ/translations.php +++ b/app/Locale/cs_CZ/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/da_DK/translations.php b/app/Locale/da_DK/translations.php index f795edf09..86238ca51 100644 --- a/app/Locale/da_DK/translations.php +++ b/app/Locale/da_DK/translations.php @@ -1367,4 +1367,7 @@ return array( // 'Time Spent' => '', // 'External Link' => '', // 'This feature enables the iCal feed, RSS feed and the public board view.' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/de_DE/translations.php b/app/Locale/de_DE/translations.php index e8e0f86f4..3a59d75e8 100644 --- a/app/Locale/de_DE/translations.php +++ b/app/Locale/de_DE/translations.php @@ -1370,4 +1370,7 @@ return array( 'Stop the timer of all subtasks when moving a task to another column' => 'Beenden des Timers für alle Unteraufgaben, wenn die Aufgabe in eine andere Spalte verschoben wird', 'Subtask Title' => 'Titel der Teilaufgabe', 'Add a subtask and activate the timer when moving a task to another column' => 'Teilaufgabe hinzufügen und den Timer aktivieren, wenn die Aufgabe in eine andere Spalte verschoben wird', + 'days' => 'Tage', + 'minutes' => 'Minuten', + 'seconds' => 'Sekunden', ); diff --git a/app/Locale/el_GR/translations.php b/app/Locale/el_GR/translations.php index ae1579bdb..10849c762 100644 --- a/app/Locale/el_GR/translations.php +++ b/app/Locale/el_GR/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/es_ES/translations.php b/app/Locale/es_ES/translations.php index d2bbab27c..2827fbd86 100644 --- a/app/Locale/es_ES/translations.php +++ b/app/Locale/es_ES/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/fi_FI/translations.php b/app/Locale/fi_FI/translations.php index be44e8867..15ed076d6 100644 --- a/app/Locale/fi_FI/translations.php +++ b/app/Locale/fi_FI/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/fr_FR/translations.php b/app/Locale/fr_FR/translations.php index 1925950fc..92f1c0e55 100644 --- a/app/Locale/fr_FR/translations.php +++ b/app/Locale/fr_FR/translations.php @@ -1370,4 +1370,7 @@ return array( 'Stop the timer of all subtasks when moving a task to another column' => 'Arrêter le minuteur de toutes les sous-tâches lorsque la tâche est déplaçée dans une autre colonne', 'Subtask Title' => 'Titre de la sous-tâche', 'Add a subtask and activate the timer when moving a task to another column' => 'Ajouter une sous-tâche et activer le minuteur lorsque la tâche est déplaçé dans une autre colonne', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/hr_HR/translations.php b/app/Locale/hr_HR/translations.php index 7adf5af15..165d218a9 100644 --- a/app/Locale/hr_HR/translations.php +++ b/app/Locale/hr_HR/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/hu_HU/translations.php b/app/Locale/hu_HU/translations.php index 78bcee532..0a53a1bfe 100644 --- a/app/Locale/hu_HU/translations.php +++ b/app/Locale/hu_HU/translations.php @@ -1370,4 +1370,7 @@ return array( 'Stop the timer of all subtasks when moving a task to another column' => 'Az összes részfeladat időmérőjének leállítása, amikor a feladatot és másik oszlopba helyezik át', 'Subtask Title' => 'Részfeladat címe', 'Add a subtask and activate the timer when moving a task to another column' => 'Részfeladat hozzáadása és az időmérő bekapcsolása, amikor a feladatot egy másik oszlopba helyezik át', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/id_ID/translations.php b/app/Locale/id_ID/translations.php index 0c76e923f..1386defa0 100644 --- a/app/Locale/id_ID/translations.php +++ b/app/Locale/id_ID/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/it_IT/translations.php b/app/Locale/it_IT/translations.php index 7f9dadf67..fd87eb8ef 100644 --- a/app/Locale/it_IT/translations.php +++ b/app/Locale/it_IT/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/ja_JP/translations.php b/app/Locale/ja_JP/translations.php index b48c4e452..5be3052d7 100644 --- a/app/Locale/ja_JP/translations.php +++ b/app/Locale/ja_JP/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/ko_KR/translations.php b/app/Locale/ko_KR/translations.php index bfa7b08d3..9261c3fb6 100644 --- a/app/Locale/ko_KR/translations.php +++ b/app/Locale/ko_KR/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/my_MY/translations.php b/app/Locale/my_MY/translations.php index c70784489..c4e847f38 100644 --- a/app/Locale/my_MY/translations.php +++ b/app/Locale/my_MY/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/nb_NO/translations.php b/app/Locale/nb_NO/translations.php index cf11f3075..97d5cd2ec 100644 --- a/app/Locale/nb_NO/translations.php +++ b/app/Locale/nb_NO/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/nl_NL/translations.php b/app/Locale/nl_NL/translations.php index f62df0bc5..5bc8d8d87 100644 --- a/app/Locale/nl_NL/translations.php +++ b/app/Locale/nl_NL/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/pl_PL/translations.php b/app/Locale/pl_PL/translations.php index ae5cfd2e9..df207260a 100644 --- a/app/Locale/pl_PL/translations.php +++ b/app/Locale/pl_PL/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/pt_BR/translations.php b/app/Locale/pt_BR/translations.php index 70646cae6..1030f9979 100644 --- a/app/Locale/pt_BR/translations.php +++ b/app/Locale/pt_BR/translations.php @@ -1370,4 +1370,7 @@ return array( 'Stop the timer of all subtasks when moving a task to another column' => 'Parar o temporizador de todas as subtarefas quando mover a tarefa para outra coluna', 'Subtask Title' => 'Título da subtarefa', 'Add a subtask and activate the timer when moving a task to another column' => 'Adicionar uma subtarefa e ativar o temporizador quando mover a tarefa para outra coluna', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); \ No newline at end of file diff --git a/app/Locale/pt_PT/translations.php b/app/Locale/pt_PT/translations.php index e8279fed7..c8119f9f3 100644 --- a/app/Locale/pt_PT/translations.php +++ b/app/Locale/pt_PT/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/ro_RO/translations.php b/app/Locale/ro_RO/translations.php index e44bab5d7..e489932c1 100644 --- a/app/Locale/ro_RO/translations.php +++ b/app/Locale/ro_RO/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/ru_RU/translations.php b/app/Locale/ru_RU/translations.php index 350a92ff1..bc1e769fd 100644 --- a/app/Locale/ru_RU/translations.php +++ b/app/Locale/ru_RU/translations.php @@ -1343,6 +1343,9 @@ return array( 'Subtask added successfully.' => 'Подзадача успешно добавлена.', '%d subtasks added successfully.' => '%d подзадач(а) успешно добавлено.', 'Enter one subtask by line.' => 'Записывайте по одной подзадаче на строку.', + 'days' => 'дней', + 'minutes' => 'минут', + 'seconds' => 'секунд', // 'Predefined Contents' => '', // 'Predefined contents' => '', // 'Predefined Task Description' => '', diff --git a/app/Locale/sr_Latn_RS/translations.php b/app/Locale/sr_Latn_RS/translations.php index 9c4f1f549..7fec873af 100644 --- a/app/Locale/sr_Latn_RS/translations.php +++ b/app/Locale/sr_Latn_RS/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/sv_SE/translations.php b/app/Locale/sv_SE/translations.php index ed7e0b1f2..7b015cf04 100644 --- a/app/Locale/sv_SE/translations.php +++ b/app/Locale/sv_SE/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/th_TH/translations.php b/app/Locale/th_TH/translations.php index 69d50b98d..4ece29f63 100644 --- a/app/Locale/th_TH/translations.php +++ b/app/Locale/th_TH/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/tr_TR/translations.php b/app/Locale/tr_TR/translations.php index a75608bb0..4fdc15c1f 100644 --- a/app/Locale/tr_TR/translations.php +++ b/app/Locale/tr_TR/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/vi_VN/translations.php b/app/Locale/vi_VN/translations.php index 0966187c7..0e174356b 100644 --- a/app/Locale/vi_VN/translations.php +++ b/app/Locale/vi_VN/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php index 404a24624..5748c4f92 100644 --- a/app/Locale/zh_CN/translations.php +++ b/app/Locale/zh_CN/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', ); diff --git a/app/Locale/zh_TW/translations.php b/app/Locale/zh_TW/translations.php index 544985296..aefd6e20f 100644 --- a/app/Locale/zh_TW/translations.php +++ b/app/Locale/zh_TW/translations.php @@ -1370,4 +1370,7 @@ return array( // 'Stop the timer of all subtasks when moving a task to another column' => '', // 'Subtask Title' => '', // 'Add a subtask and activate the timer when moving a task to another column' => '', + // 'days' => '', + // 'minutes' => '', + // 'seconds' => '', );