summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-04-04 16:51:52 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-04-04 16:51:52 -0700
commit3808b5dc09fdf7933d05d1ee5af1e24f3907b70f (patch)
tree036f9bed58d719eb93d853fa7890de8f47f3e671 /app/Template
parenta4642d17e0e1ea018b128efdcc3db281461458b1 (diff)
Add missing translations
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/event/task_internal_link_create_update.php8
-rw-r--r--app/Template/event/task_internal_link_delete.php8
-rw-r--r--app/Template/notification/task_internal_link_create_update.php8
-rw-r--r--app/Template/notification/task_internal_link_delete.php8
-rw-r--r--app/Template/user_view/show.php2
5 files changed, 13 insertions, 21 deletions
diff --git a/app/Template/event/task_internal_link_create_update.php b/app/Template/event/task_internal_link_create_update.php
index 4bc6ae9a..5a9144ac 100644
--- a/app/Template/event/task_internal_link_create_update.php
+++ b/app/Template/event/task_internal_link_create_update.php
@@ -7,10 +7,8 @@
</p>
<div class="activity-description">
<p class="activity-task-title">
- <?= e(
- 'This task is now linked to the task %s with the relation "%s"',
- $this->url->link(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id'])),
- $this->text->e($task_link['label'])
- ) ?>
+ <?= e('This task is now linked to the task %s with the relation "%s"',
+ $this->url->link(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id'])),
+ $this->text->e($task_link['label'])) ?>
</p>
</div>
diff --git a/app/Template/event/task_internal_link_delete.php b/app/Template/event/task_internal_link_delete.php
index 3465fa57..c60d17e3 100644
--- a/app/Template/event/task_internal_link_delete.php
+++ b/app/Template/event/task_internal_link_delete.php
@@ -7,10 +7,8 @@
</p>
<div class="activity-description">
<p class="activity-task-title">
- <?= e(
- 'The link with the relation "%s" to the task %s have been removed',
- $this->text->e($task_link['label']),
- $this->url->link(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id']))
- ) ?>
+ <?= e('The link with the relation "%s" to the task %s has been removed',
+ $this->text->e($task_link['label']),
+ $this->url->link(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id']))) ?>
</p>
</div>
diff --git a/app/Template/notification/task_internal_link_create_update.php b/app/Template/notification/task_internal_link_create_update.php
index a2333703..eab96bfa 100644
--- a/app/Template/notification/task_internal_link_create_update.php
+++ b/app/Template/notification/task_internal_link_create_update.php
@@ -1,11 +1,9 @@
<h2><?= $this->text->e($task['title']) ?> (#<?= $task['id'] ?>)</h2>
<p>
- <?= e(
- 'This task is now linked to the task %s with the relation "%s"',
- $this->url->absoluteLink(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id'])),
- $this->text->e($task_link['label'])
- ) ?>
+ <?= e('This task is now linked to the task %s with the relation "%s"',
+ $this->url->absoluteLink(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id'])),
+ $this->text->e($task_link['label'])) ?>
</p>
<?= $this->render('notification/footer', array('task' => $task)) ?>
diff --git a/app/Template/notification/task_internal_link_delete.php b/app/Template/notification/task_internal_link_delete.php
index c366001c..e4d57025 100644
--- a/app/Template/notification/task_internal_link_delete.php
+++ b/app/Template/notification/task_internal_link_delete.php
@@ -1,11 +1,9 @@
<h2><?= $this->text->e($task['title']) ?> (#<?= $task['id'] ?>)</h2>
<p>
- <?= e(
- 'The link with the relation "%s" to the task %s have been removed',
- $this->text->e($task_link['label']),
- $this->url->absoluteLink(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id']))
- ) ?>
+ <?= e('The link with the relation "%s" to the task %s has been removed',
+ $this->text->e($task_link['label']),
+ $this->url->absoluteLink(t('#%d', $task_link['opposite_task_id']), 'TaskViewController', 'show', array('task_id' => $task_link['opposite_task_id']))) ?>
</p>
<?= $this->render('notification/footer', array('task' => $task)) ?>
diff --git a/app/Template/user_view/show.php b/app/Template/user_view/show.php
index 39d10ab5..6172c561 100644
--- a/app/Template/user_view/show.php
+++ b/app/Template/user_view/show.php
@@ -33,7 +33,7 @@
<ul class="panel">
<li><?= t('Timezone:') ?> <strong><?= $this->text->in($user['timezone'], $timezones) ?></strong></li>
<li><?= t('Language:') ?> <strong><?= $this->text->in($user['language'], $languages) ?></strong></li>
- <li><?= t('Filter:') ?> <strong><?= $this->text->e($user['filter']) ?></strong></li>
+ <li><?= t('Custom Filter:') ?> <strong><?= $this->text->e($user['filter']) ?></strong></li>
<li><?= t('Notifications:') ?> <strong><?= $user['notifications_enabled'] == 1 ? t('Enabled') : t('Disabled') ?></strong></li>
</ul>