year go -> year ago

This commit is contained in:
Thomas Müller 2014-12-11 11:30:00 +01:00
parent acc9af8fc9
commit c5e279e416
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class DateTimeFormatter implements \OCP\IDateTimeFormatter {
} else if ($dateInterval->y == 1) {
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);
}
/**