Skip to content

Commit

Permalink
FIX: Translation Strings
Browse files Browse the repository at this point in the history
- #17
- #9
  • Loading branch information
aljawaid committed Jan 18, 2023
1 parent 7de3dc3 commit 7cbb096
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 7 deletions.
10 changes: 8 additions & 2 deletions Locale/de_DE/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
//
'Define Automatic Action Parameters' => 'Definieren Sie automatische Aktionsparameter',
'Selected Action' => 'Ausgewählte Aktion',
'Event' => 'Ereignis',
'Selected Event' => 'Ausgewähltes Ereignis',
'Options' => 'Optionen',
'Activity Report' => 'Aufgabenaktivitätsbericht',
Expand Down Expand Up @@ -80,5 +79,12 @@
//
'Comments' => 'Bemerkungen',
'No comments' => 'Keine Kommentare',
//
// action_creation/event.php
//
'Select an event for this Automatic Action' => 'Wählen Sie ein Ereignis für diese automatische Aktion aus',
'Event' => 'Ereignis',
'When the selected event occurs execute the corresponding action' => 'Wenn das ausgewählte Ereignis eintritt, führen Sie die entsprechende Aktion aus',
'This Automatic Action emails a final report once the task is closed. Emails are sent individually detailing the task description and full comment history.' => 'Diese automatische Aktion sendet einen Abschlussbericht per E-Mail, sobald die Aufgabe abgeschlossen ist. E-Mails werden einzeln gesendet, die die Aufgabenbeschreibung und den vollständigen Kommentarverlauf enthalten.',
'An automatic comment is added to the task for each successful email sent.' => 'Für jede erfolgreich gesendete E-Mail wird der Aufgabe ein automatischer Kommentar hinzugefügt.',
);

9 changes: 8 additions & 1 deletion Locale/en_GB/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
//
'Define Automatic Action Parameters' => 'Define Automatic Action Parameters',
'Selected Action' => 'Selected Action',
'Event' => 'Event',
'Selected Event' => 'Selected Event',
'Options' => 'Options',
'Activity Report' => 'Activity Report',
Expand Down Expand Up @@ -80,4 +79,12 @@
//
'Comments' => 'Comments',
'No comments' => 'No comments',
//
// action_creation/event.php
//
'Select an event for this Automatic Action' => 'Select an event for this Automatic Action',
'Event' => 'Event',
'When the selected event occurs execute the corresponding action' => 'When the selected event occurs execute the corresponding action',
'This Automatic Action emails a final report once the task is closed. Emails are sent individually detailing the task description and full comment history.' => 'This Automatic Action emails a final report once the task is closed. Emails are sent individually detailing the task description and full comment history.',
'An automatic comment is added to the task for each successful email sent.' => 'An automatic comment is added to the task for each successful email sent.',
);
9 changes: 8 additions & 1 deletion Locale/fr_FR/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
//
'Define Automatic Action Parameters' => 'Définir les paramètres d\'action automatique',
'Selected Action' => 'Action sélectionnée',
'Event' => 'Événement',
'Selected Event' => 'Événement Sélectionné',
'Options' => 'Choix',
'Activity Report' => 'Rapport d\'activité de tâche',
Expand Down Expand Up @@ -80,4 +79,12 @@
//
'Comments' => 'Commentaires',
'No comments' => 'Sans commentaires',
//
// action_creation/event.php
//
'Select an event for this Automatic Action' => 'Sélectionnez un événement pour cette action automatique',
'Event' => 'Événement',
'When the selected event occurs execute the corresponding action' => 'Lorsque l\'événement sélectionné se produit, exécutez l\'action correspondante',
'This Automatic Action emails a final report once the task is closed. Emails are sent individually detailing the task description and full comment history.' => 'Cette action automatique envoie un rapport final par e-mail une fois la tâche fermée. Les e-mails sont envoyés individuellement en détaillant la description de la tâche et l\'historique complet des commentaires.',
'An automatic comment is added to the task for each successful email sent.' => 'Un commentaire automatique est ajouté à la tâche pour chaque e-mail envoyé avec succès.',
);
9 changes: 8 additions & 1 deletion Locale/translations-starter-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
//
'Define Automatic Action Parameters' => '',
'Selected Action' => '',
'Event' => '',
'Selected Event' => '',
'Options' => '',
'Activity Report' => '',
Expand Down Expand Up @@ -89,4 +88,12 @@
//
'Comments' => '',
'No comments' => '',
//
// action_creation/event.php
//
'Select an event for this Automatic Action' => '',
'Event' => '',
'When the selected event occurs execute the corresponding action' => '',
'This Automatic Action emails a final report once the task is closed. Emails are sent individually detailing the task description and full comment history.' => '',
'An automatic comment is added to the task for each successful email sent.' => '',
);
4 changes: 2 additions & 2 deletions Template/action_creation/event.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h2><?= t('Choose an event') ?></h2>
<div class="page-header step-2-form">
<h2><?= t('Select an event for this Automatic Action') ?></h2>
</div>

<?php if ($values['action_name'] == '\Kanboard\Plugin\KanboardEmailHistory\Action\EmailTaskHistory'): ?>
Expand All @@ -15,7 +15,7 @@
<?= $this->form->select('event_name', $events, $values) ?>

<div class="form-help">
<?= t('When the selected event occurs execute the corresponding action.') ?>
<?= t('When the selected event occurs execute the corresponding action') ?>
</div>

<div class="help-text">
Expand Down

0 comments on commit 7cbb096

Please sign in to comment.