@helpwave/hightide
Version:
helpwave's component and theming library
101 lines (100 loc) • 3.21 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/localization/defaults/time.ts
var time_exports = {};
__export(time_exports, {
monthTranslation: () => monthTranslation,
timeTranslation: () => timeTranslation
});
module.exports = __toCommonJS(time_exports);
var monthTranslation = {
en: {
january: "January",
february: "Febuary",
march: "March",
april: "April",
may: "May",
june: "June",
july: "July",
august: "August",
september: "September",
october: "October",
november: "November",
december: "December"
},
de: {
january: "Januar",
february: "Febuar",
march: "M\xE4rz",
april: "April",
may: "Mai",
june: "Juni",
july: "Juli",
august: "August",
september: "September",
october: "October",
november: "November",
december: "December"
}
};
var timeTranslation = {
en: {
...monthTranslation.en,
century: { one: "Century", other: "Centuries" },
decade: { one: "Decade", other: "Decades" },
year: { one: "Year", other: "Years" },
month: { one: "Month", other: "Months" },
day: { one: "Day", other: "Days" },
hour: { one: "Hour", other: "Hours" },
minute: { one: "Minute", other: "Minutes" },
second: { one: "Second", other: "Seconds" },
millisecond: { one: "Millisecond", other: "Milliseconds" },
microsecond: { one: "Microsecond", other: "Microseconds" },
nanosecond: { one: "Nanosecond", other: "Nanoseconds" },
yesterday: "Yesterday",
today: "Today",
tomorrow: "Tomorrow",
in: "in",
ago: "ago"
},
de: {
...monthTranslation.de,
century: { one: "Jahrhundert", other: "Jahrhunderte" },
decade: { one: "Jahrzehnt", other: "Jahrzehnte" },
year: { one: "Jahr", other: "Jahre" },
month: { one: "Monat", other: "Monate" },
day: { one: "Tag", other: "Tage" },
hour: { one: "Stunde", other: "Stunden" },
minute: { one: "Minute", other: "Minuten" },
second: { one: "Sekunde", other: "Sekunden" },
millisecond: { one: "Millisekunde", other: "Millisekunden" },
microsecond: { one: "Mikrosekunde", other: "Mikrosekunden" },
nanosecond: { one: "Nanosekunde", other: "Nanosekunden" },
yesterday: "Gestern",
today: "Heute",
tomorrow: "Morgen",
in: "in",
ago: "vor"
}
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
monthTranslation,
timeTranslation
});
//# sourceMappingURL=time.js.map