year go -> year ago
This commit is contained in:
parent
acc9af8fc9
commit
c5e279e416
|
@ -157,7 +157,7 @@ class DateTimeFormatter implements \OCP\IDateTimeFormatter {
|
||||||
} else if ($dateInterval->y == 1) {
|
} else if ($dateInterval->y == 1) {
|
||||||
return (string) $l->t('last year');
|
return (string) $l->t('last year');
|
||||||
}
|
}
|
||||||
return (string) $l->n('%n year go', '%n years ago', $dateInterval->y);
|
return (string) $l->n('%n year ago', '%n years ago', $dateInterval->y);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue