summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkyFox <skyfox277@gmail.com>2017-12-20 22:30:43 +0100
committerfguillot <fred@kanboard.net>2017-12-20 13:30:43 -0800
commitb4d5ddb83271fb1c27c58533a99f629eb5f6d87a (patch)
treeaac9cc31f7aa8976365a8d6cd2b20927ac8aa396
parent8e6476b4028e44687e10bf7fb2617a2d2fff97d2 (diff)
Add missing translation in DateHelper
-rw-r--r--app/Helper/DateHelper.php4
-rw-r--r--app/Locale/bs_BA/translations.php3
-rw-r--r--app/Locale/ca_ES/translations.php3
-rw-r--r--app/Locale/cs_CZ/translations.php3
-rw-r--r--app/Locale/da_DK/translations.php3
-rw-r--r--app/Locale/de_DE/translations.php3
-rw-r--r--app/Locale/el_GR/translations.php3
-rw-r--r--app/Locale/es_ES/translations.php3
-rw-r--r--app/Locale/fi_FI/translations.php3
-rw-r--r--app/Locale/fr_FR/translations.php3
-rw-r--r--app/Locale/hr_HR/translations.php3
-rw-r--r--app/Locale/hu_HU/translations.php3
-rw-r--r--app/Locale/id_ID/translations.php3
-rw-r--r--app/Locale/it_IT/translations.php3
-rw-r--r--app/Locale/ja_JP/translations.php3
-rw-r--r--app/Locale/ko_KR/translations.php3
-rw-r--r--app/Locale/my_MY/translations.php3
-rw-r--r--app/Locale/nb_NO/translations.php3
-rw-r--r--app/Locale/nl_NL/translations.php3
-rw-r--r--app/Locale/pl_PL/translations.php3
-rw-r--r--app/Locale/pt_BR/translations.php3
-rw-r--r--app/Locale/pt_PT/translations.php3
-rw-r--r--app/Locale/ro_RO/translations.php3
-rw-r--r--app/Locale/ru_RU/translations.php3
-rw-r--r--app/Locale/sr_Latn_RS/translations.php3
-rw-r--r--app/Locale/sv_SE/translations.php3
-rw-r--r--app/Locale/th_TH/translations.php3
-rw-r--r--app/Locale/tr_TR/translations.php3
-rw-r--r--app/Locale/vi_VN/translations.php3
-rw-r--r--app/Locale/zh_CN/translations.php3
-rw-r--r--app/Locale/zh_TW/translations.php3
31 files changed, 93 insertions, 1 deletions
diff --git a/app/Helper/DateHelper.php b/app/Helper/DateHelper.php
index 3bc85b76..98de9a83 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 4f9706df..5554e279 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 5839b6ed..58df604d 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 50368c4c..541266e5 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 f795edf0..86238ca5 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 e8e0f86f..3a59d75e 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 ae1579bd..10849c76 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 d2bbab27..2827fbd8 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 be44e886..15ed076d 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 1925950f..92f1c0e5 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 7adf5af1..165d218a 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 78bcee53..0a53a1bf 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 0c76e923..1386defa 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 7f9dadf6..fd87eb8e 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 b48c4e45..5be3052d 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 bfa7b08d..9261c3fb 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 c7078448..c4e847f3 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 cf11f307..97d5cd2e 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 f62df0bc..5bc8d8d8 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 ae5cfd2e..df207260 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 70646cae..1030f997 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 e8279fed..c8119f9f 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 e44bab5d..e489932c 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 350a92ff..bc1e769f 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 9c4f1f54..7fec873a 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 ed7e0b1f..7b015cf0 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 69d50b98..4ece29f6 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 a75608bb..4fdc15c1 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 0966187c..0e174356 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 404a2462..5748c4f9 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 54498529..aefd6e20 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' => '',
);