Fix grammatical errors

Fixes #4420
This commit is contained in:
Frédéric Guillot
2020-02-29 16:05:32 -08:00
parent e79cf77058
commit c12bbb1613
48 changed files with 596 additions and 596 deletions

View File

@@ -2,7 +2,7 @@
<body>
<h2><?= $this->text->e($task['title']) ?> (#<?= $task['id'] ?>)</h2>
<p><?= t('The task #%d have been closed.', $task['id']) ?></p>
<p><?= t('The task #%d has been closed.', $task['id']) ?></p>
<?= $this->render('notification/footer', array('task' => $task)) ?>
</body>

View File

@@ -5,9 +5,9 @@
<ul>
<li>
<?php if ($task['swimlane_id'] == 0): ?>
<?= t('The task have been moved to the first swimlane') ?>
<?= t('The task has been moved to the first swimlane') ?>
<?php else: ?>
<?= t('The task have been moved to another swimlane:') ?>
<?= t('The task has been moved to another swimlane:') ?>
<strong><?= $this->text->e($task['swimlane_name']) ?></strong>
<?php endif ?>
</li>

View File

@@ -2,7 +2,7 @@
<body>
<h2><?= $this->text->e($task['title']) ?> (#<?= $task['id'] ?>)</h2>
<p><?= t('The task #%d have been opened.', $task['id']) ?></p>
<p><?= t('The task #%d has been opened.', $task['id']) ?></p>
<?= $this->render('notification/footer', array('task' => $task)) ?>
</body>

View File

@@ -3,7 +3,7 @@
</div>
<?php if (empty($groups)): ?>
<div class="alert"><?= t('No group have been allowed specifically.') ?></div>
<div class="alert"><?= t('No group has been allowed.') ?></div>
<?php else: ?>
<table class="table-scrolling">
<tr>

View File

@@ -1,5 +1,5 @@
<?php if (empty($users)): ?>
<div class="alert"><?= t('No user have been allowed specifically.') ?></div>
<div class="alert"><?= t('No specific user has been allowed.') ?></div>
<?php else: ?>
<table class="table-scrolling">
<tr>

View File

@@ -29,7 +29,7 @@
break;
case 'date_due':
if (empty($task['date_due'])) {
echo '<li>'.t('The due date have been removed').'</li>';
echo '<li>'.t('The due date has been removed').'</li>';
} else {
echo '<li>'.t('New due date: ').$this->dt->datetime($task['date_due']).'</li>';
}
@@ -46,7 +46,7 @@
case 'recurrence_basedate':
case 'recurrence_parent':
case 'recurrence_child':
echo '<li>'.t('Recurrence settings have been modified').'</li>';
echo '<li>'.t('Recurrence settings has been modified').'</li>';
break;
case 'time_spent':
echo '<li>'.t('Time spent changed: %sh', $task['time_spent']).'</li>';
@@ -60,7 +60,7 @@
}
break;
default:
echo '<li>'.t('The field "%s" have been updated', $field).'</li>';
echo '<li>'.t('The field "%s" has been updated', $field).'</li>';
}
}