Fix typos in the notifications view partial for objects
This commit is contained in:
parent
e6f070d068
commit
80ab64e2b4
|
@ -35,12 +35,12 @@ if (! in_array((int) $object->state, array(0, 99))) {
|
||||||
if ($object->current_notification_number > 0) {
|
if ($object->current_notification_number > 0) {
|
||||||
if ((int) $object->current_notification_number === 1) {
|
if ((int) $object->current_notification_number === 1) {
|
||||||
$msg = sprintf(
|
$msg = sprintf(
|
||||||
$this->translate('A notication has been sent for this issue %s'),
|
$this->translate('A notification has been sent for this issue %s'),
|
||||||
$this->timeAgo($object->last_notification)
|
$this->timeAgo($object->last_notification)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$msg = sprintf(
|
$msg = sprintf(
|
||||||
$this->translate('%s notications have been sent for this issue'),
|
$this->translate('%d notifications have been sent for this issue'),
|
||||||
$object->current_notification_number
|
$object->current_notification_number
|
||||||
) . '<br />' . sprintf(
|
) . '<br />' . sprintf(
|
||||||
$this->translate('The last one occured %s'),
|
$this->translate('The last one occured %s'),
|
||||||
|
|
Loading…
Reference in New Issue