75 lines
2.0 KiB
JavaScript
75 lines
2.0 KiB
JavaScript
// Metro module 3733 (f3734).
|
|
import { numberToLocale } from "./Module3734";
|
|
let c2133_2 = {
|
|
lessThanXSeconds: {
|
|
one: "१ सेकंड से कम",
|
|
other: "{{count}} सेकंड से कम"
|
|
},
|
|
xSeconds: {
|
|
one: "१ सेकंड",
|
|
other: "{{count}} सेकंड"
|
|
},
|
|
halfAMinute: "आधा मिनट",
|
|
lessThanXMinutes: {
|
|
one: "१ मिनट से कम",
|
|
other: "{{count}} मिनट से कम"
|
|
},
|
|
xMinutes: {
|
|
one: "१ मिनट",
|
|
other: "{{count}} मिनट"
|
|
},
|
|
aboutXHours: {
|
|
one: "लगभग १ घंटा",
|
|
other: "लगभग {{count}} घंटे"
|
|
},
|
|
xHours: {
|
|
one: "१ घंटा",
|
|
other: "{{count}} घंटे"
|
|
},
|
|
xDays: {
|
|
one: "१ दिन",
|
|
other: "{{count}} दिन"
|
|
},
|
|
aboutXWeeks: {
|
|
one: "लगभग १ सप्ताह",
|
|
other: "लगभग {{count}} सप्ताह"
|
|
},
|
|
xWeeks: {
|
|
one: "१ सप्ताह",
|
|
other: "{{count}} सप्ताह"
|
|
},
|
|
aboutXMonths: {
|
|
one: "लगभग १ महीना",
|
|
other: "लगभग {{count}} महीने"
|
|
},
|
|
xMonths: {
|
|
one: "१ महीना",
|
|
other: "{{count}} महीने"
|
|
},
|
|
aboutXYears: {
|
|
one: "लगभग १ वर्ष",
|
|
other: "लगभग {{count}} वर्ष"
|
|
},
|
|
xYears: {
|
|
one: "१ वर्ष",
|
|
other: "{{count}} वर्ष"
|
|
},
|
|
overXYears: {
|
|
one: "१ वर्ष से अधिक",
|
|
other: "{{count}} वर्ष से अधिक"
|
|
},
|
|
almostXYears: {
|
|
one: "लगभग १ वर्ष",
|
|
other: "लगभग {{count}} वर्ष"
|
|
}
|
|
};
|
|
export default function formatDistance(a0, a1, a2) {
|
|
const r9 = c2133_2[a0];
|
|
let r5 = r9;
|
|
if (typeof r5 !== "string") {
|
|
r5 = a1 === 1 ? r9.one : r9.other.replace("{{count}}", (0, numberToLocale)(a1));
|
|
}
|
|
return a2 != null ? a2.addSuffix ? a2.comparison && a2.comparison > 0 ? r5 + "मे " : r5 + " पहले" : r5 : r5;
|
|
};
|
|
module.exports = exports.default;
|