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

74 lines
1.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Metro module 3405 (f3406).
let c1754_0 = {
lessThanXSeconds: {
one: "bir saniyeden az",
other: "{{count}} saniyeden az"
},
xSeconds: {
one: "1 saniye",
other: "{{count}} saniye"
},
halfAMinute: "yarım dakika",
lessThanXMinutes: {
one: "bir dakikadan az",
other: "{{count}} dakikadan az"
},
xMinutes: {
one: "1 dakika",
other: "{{count}} dakika"
},
aboutXHours: {
one: "yaklaşık 1 saat",
other: "yaklaşık {{count}} saat"
},
xHours: {
one: "1 saat",
other: "{{count}} saat"
},
xDays: {
one: "1 gün",
other: "{{count}} gün"
},
aboutXWeeks: {
one: "yaklaşık 1 hafta",
other: "yaklaşık {{count}} hafta"
},
xWeeks: {
one: "1 hafta",
other: "{{count}} hafta"
},
aboutXMonths: {
one: "yaklaşık 1 ay",
other: "yaklaşık {{count}} ay"
},
xMonths: {
one: "1 ay",
other: "{{count}} ay"
},
aboutXYears: {
one: "yaklaşık 1 yıl",
other: "yaklaşık {{count}} yıl"
},
xYears: {
one: "1 yıl",
other: "{{count}} yıl"
},
overXYears: {
one: "1 yıldan fazla",
other: "{{count}} yıldan fazla"
},
almostXYears: {
one: "neredeyse 1 yıl",
other: "neredeyse {{count}} yıl"
}
};
export default function formatDistance(a0, a1, a2) {
const r9 = c1754_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 ? r5 + " sonra" : r5 + " önce" : r5 : r5;
};
module.exports = exports.default;