2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 3612
|
|
|
|
|
// Function ID: 3613
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: formatDistance
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: []
|
|
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 3612 (formatDistance)
|
2026-08-05 07:35:12 +00:00
|
|
|
let closure_0 = { lessThanXSeconds: { one: "bir saniyeden az", other: "{{count}} saniyeden az" }, xSeconds: { one: "1 saniye", other: "{{count}} saniye" }, halfAMinute: "yar\u0131m dakika", lessThanXMinutes: { one: "bir dakikadan az", other: "{{count}} dakikadan az" }, xMinutes: { one: "1 dakika", other: "{{count}} dakika" }, aboutXHours: { one: "yakla\u015F\u0131k 1 saat", other: "yakla\u015F\u0131k {{count}} saat" }, xHours: { one: "1 saat", other: "{{count}} saat" }, xDays: { one: "1 g\u00FCn", other: "{{count}} g\u00FCn" }, aboutXWeeks: { one: "yakla\u015F\u0131k 1 hafta", other: "yakla\u015F\u0131k {{count}} hafta" }, xWeeks: { one: "1 hafta", other: "{{count}} hafta" }, aboutXMonths: { one: "yakla\u015F\u0131k 1 ay", other: "yakla\u015F\u0131k {{count}} ay" }, xMonths: { one: "1 ay", other: "{{count}} ay" }, aboutXYears: { one: "yakla\u015F\u0131k 1 y\u0131l", other: "yakla\u015F\u0131k {{count}} y\u0131l" }, xYears: { one: "1 y\u0131l", other: "{{count}} y\u0131l" }, overXYears: { one: "1 y\u0131ldan fazla", other: "{{count}} y\u0131ldan fazla" }, almostXYears: { one: "neredeyse 1 y\u0131l", other: "neredeyse {{count}} y\u0131l" } };
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
export default function formatDistance(arg0, arg1, addSuffix) {
|
2026-08-04 21:03:28 +00:00
|
|
|
if (typeof table[arg0] === "string") {
|
2026-08-05 07:35:12 +00:00
|
|
|
let tmp5 = tmp;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (null != addSuffix) {
|
2026-08-05 07:35:12 +00:00
|
|
|
tmp5 = tmp;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (addSuffix.addSuffix) {
|
|
|
|
|
if (!addSuffix.comparison) {
|
2026-08-05 07:35:12 +00:00
|
|
|
let text = `${tmp} önce`;
|
2026-07-23 10:11:24 +00:00
|
|
|
}
|
2026-08-05 07:35:12 +00:00
|
|
|
text = `${tmp} sonra`;
|
2026-07-23 10:11:24 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-08-05 07:35:12 +00:00
|
|
|
return tmp5;
|
2026-07-23 10:11:24 +00:00
|
|
|
} else if (1 === arg1) {
|
|
|
|
|
let one = tmp.one;
|
|
|
|
|
} else {
|
2026-08-05 07:35:12 +00:00
|
|
|
one = tmp.other.replace("{{count}}", arg1.toString());
|
2026-07-23 10:11:24 +00:00
|
|
|
const str = tmp.other;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
export default exports.default;
|