Files
discord-decomp/_bundle/formatDistance_3333.js
T
2026-11-01 12:12:55 +02:00

74 lines
1.6 KiB
JavaScript

// Metro module 3333 (f3334).
let c1715_0 = {
lessThanXSeconds: {
one: "meno di un secondo",
other: "meno di {{count}} secondi"
},
xSeconds: {
one: "un secondo",
other: "{{count}} secondi"
},
halfAMinute: "alcuni secondi",
lessThanXMinutes: {
one: "meno di un minuto",
other: "meno di {{count}} minuti"
},
xMinutes: {
one: "un minuto",
other: "{{count}} minuti"
},
aboutXHours: {
one: "circa un'ora",
other: "circa {{count}} ore"
},
xHours: {
one: "un'ora",
other: "{{count}} ore"
},
xDays: {
one: "un giorno",
other: "{{count}} giorni"
},
aboutXWeeks: {
one: "circa una settimana",
other: "circa {{count}} settimane"
},
xWeeks: {
one: "una settimana",
other: "{{count}} settimane"
},
aboutXMonths: {
one: "circa un mese",
other: "circa {{count}} mesi"
},
xMonths: {
one: "un mese",
other: "{{count}} mesi"
},
aboutXYears: {
one: "circa un anno",
other: "circa {{count}} anni"
},
xYears: {
one: "un anno",
other: "{{count}} anni"
},
overXYears: {
one: "più di un anno",
other: "più di {{count}} anni"
},
almostXYears: {
one: "quasi un anno",
other: "quasi {{count}} anni"
}
};
export default function formatDistance(a0, a1, a2) {
const r9 = c1715_0[a0];
let r5 = r9;
if (typeof r5 !== "string") {
r5 = a1 === 1 ? r9.one : r9.other.replace("{{count}}", a1.toString());
}
return a2 != null ? a2.addSuffix ? a2.comparison && a2.comparison > 0 ? "tra " + r5 : r5 + " fa" : r5 : r5;
};
module.exports = exports.default;