Added date computing translations

This commit is contained in:
Alexis
2024-09-05 21:01:26 +02:00
parent 74427a5056
commit f42a68dfc9
2 changed files with 45 additions and 16 deletions

View File

@@ -66,6 +66,14 @@ export default defineI18nConfig(() => ({
beforeYesterday: "2 days ago",
fromTo: "From {startDate} to {endDate}",
while: "During {duration}",
xDaysNext: "In {days} days",
xMonthsNext: "In {months} month(s)",
xYearsNext: "In {years} year(s)",
xYearsAndMonthsNext: "In {years} year(s) and {months} month(s)",
xDaysAgo: "{days} days ago",
xMonthsAgo: "{months} month(s) ago",
xYearsAgo: "{years} year(s) ago",
xYearsAndMonthsAgo: "{years} year(s) and {months} month(s) ago",
},
event: {
nameSingular: "Event",
@@ -210,6 +218,14 @@ export default defineI18nConfig(() => ({
beforeYesterday: "Avant-hier",
fromTo: "Du {startDate} au {endDate}",
while: "Pendant {duration}",
xDaysNext: "Dans {days} jours",
xMonthsNext: "Dans {months} mois",
xYearsNext: "Dans {years} an(s)",
xYearsAndMonthsNext: "Dans {years} an(s) et {months} mois",
xDaysAgo: "Il y a {days} jours",
xMonthsAgo: "Il y a {months} mois",
xYearsAgo: "Il y a {years} an(s)",
xYearsAndMonthsAgo: "Il y a {years} an(s) et {months} mois",
},
event: {
nameSingular: "Évènement",