Add missing translation in DateHelper

This commit is contained in:
SkyFox 2017-12-20 22:30:43 +01:00 committed by fguillot
parent 8e6476b402
commit b4d5ddb832
31 changed files with 93 additions and 1 deletions

View File

@ -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);
}
/**

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);

View File

@ -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' => '',
);