Skip to content

Commit

Permalink
FIX: Translations
Browse files Browse the repository at this point in the history
- #9
  • Loading branch information
aljawaid committed Jan 15, 2023
1 parent f209e2f commit 97a304a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Action/EmailTaskHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function doAction(array $data)

// Add comment to task to show an email has been fired
$this->commentModel->create( array(
'comment' => t('Task history emailed to the task assignee @'.$user['username'].' with subject "'. $subject).'".',
'comment' => t('A copy of the task history has been emailed to @'.$user['username'].' (Task Assignee) [Subject: '. $subject .']'),
'user_id' => $user['id'],
'task_id' => $data['task']['id'],
));
Expand Down
2 changes: 1 addition & 1 deletion Locale/de_DE/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'Include the Task Title and ID in subject line?' => 'Den Aufgabentitel und die ID in die Betreffzeile aufnehmen?',
'Include the Project Name in the subject line?' => 'Den Projektnamen in die Betreffzeile aufnehmen?',
'Include the Project Identifier in the subject line?' => 'Die Projektkennung in die Betreffzeile aufnehmen?',
'Task history emailed to the task assignee @"%s" with subject "%s".' => 'Der Aufgabenverlauf wurde per E-Mail an den Aufgabenverantwortlichen @"%s" mit dem Betreff "%s" gesendet.',
'A copy of the task history has been emailed to @%s (Task Assignee) [Subject: %s]' => 'Eine Kopie des Aufgabenverlaufs wurde per E-Mail an @%s (Aufgabenverantwortlicher) [Gegenstand: %s] gesendet.',
'A copy of the task history has been emailed to @%s (Task Creator) [Subject: %s]' => 'Eine Kopie des Aufgabenverlaufs wurde per E-Mail an @%s (Aufgabenersteller) [Gegenstand: %s] gesendet.',
'A copy of the task history has been emailed to the project email address [Subject: %s]' => 'Eine Kopie des Aufgabenverlaufs wurde per E-Mail an die E-Mail-Adresse des Projekts [Gegenstand: %s] gesendet',
//
Expand Down
2 changes: 1 addition & 1 deletion Locale/en_GB/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'Include the Task Title and ID in subject line?' => 'Include the Task Title and ID in the subject line?',
'Include the Project Name in the subject line?' => 'Include the Project Name in the subject line?',
'Include the Project Identifier in the subject line?' => 'Include the Project Identifier in the subject line?',
'Task history emailed to the task assignee @"%s" with subject "%s".' => 'Task history has been emailed to @"%s" (Task Assignee) with the subject "%s".',
'A copy of the task history has been emailed to @%s (Task Assignee) [Subject: %s]' => 'A copy of the task history has been emailed to @%s (Task Assignee) [Subject: %s]',
'A copy of the task history has been emailed to @%s (Task Creator) [Subject: %s]' => 'A copy of the task history has been emailed to @%s (Task Creator) [Subject: %s]',
'A copy of the task history has been emailed to the project email address [Subject: %s]' => 'A copy of the task history has been emailed to the project email address [Subject: %s]',
//
Expand Down
2 changes: 1 addition & 1 deletion Locale/fr_FR/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'Include the Task Title and ID in subject line?' => 'Inclure le titre et l\'ID de la tâche dans la ligne d\'objet?',
'Include the Project Name in the subject line?' => 'Inclure le nom du projet dans la ligne d\'objet?',
'Include the Project Identifier in the subject line?' => 'Inclure l\'identifiant du projet dans la ligne d\'objet?',
'Task history emailed to the task assignee @"%s" with subject "%s".' => 'Historique des tâches envoyé par e-mail au destinataire de la tâche @"%s" avec le sujet "%s".',
'A copy of the task history has been emailed to @%s (Task Assignee) [Subject: %s]' => 'Une copie de l\'historique de la tâche a été envoyée par e-mail à @%s (chargé de la tâche) [Sujet: %s]',
'A copy of the task history has been emailed to @%s (Task Creator) [Subject: %s]' => 'Une copie de l\'historique des tâches a été envoyée par e-mail à @%s (Créateur de tâches) [Sujet: %s]',
'A copy of the task history has been emailed to the project email address [Subject: %s]' => 'Une copie de l\'historique des tâches a été envoyée par e-mail à l\'adresse e-mail du projet [Sujet: %s]',
//
Expand Down
2 changes: 1 addition & 1 deletion Locale/translations-starter-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'Include the Task Title and ID in subject line?' => '',
'Include the Project Name in the subject line?' => '',
'Include the Project Identifier in the subject line?' => '',
'Task history emailed to the task assignee @"%s" with subject "%s".' => '',
'A copy of the task history has been emailed to @%s (Task Assignee) [Subject: %s]' => '',
'A copy of the task history has been emailed to @%s (Task Creator) [Subject: %s]' => '',
'A copy of the task history has been emailed to the project email address [Subject: %s]' => '',
//
Expand Down

0 comments on commit 97a304a

Please sign in to comment.