Rocky_Mountain_Vending/.pnpm-store/v10/files/0b/3d4ddf77e3fb01f8dae506c5d05c95eebf792d5e5c494db6c11d30e01c1ba5483595462556f6c6ccc6d75c7eb145820919e98d88f0d65ac0584bbb195f4949
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

196 lines
4.6 KiB
Text
Raw Permalink 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.

import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.js";
const eraValues = {
narrow: ["НТӨ", "НТ"],
abbreviated: ["НТӨ", "НТ"],
wide: ["нийтийн тооллын өмнөх", "нийтийн тооллын"],
};
const quarterValues = {
narrow: ["I", "II", "III", "IV"],
abbreviated: ["I улирал", "II улирал", "III улирал", "IV улирал"],
wide: ["1-р улирал", "2-р улирал", "3-р улирал", "4-р улирал"],
};
// Note: in English, the names of days of the week and months are capitalized.
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
// Generally, formatted dates should look like they are in the middle of a sentence,
// e.g. in Spanish language the weekdays and months should be in the lowercase.
const monthValues = {
narrow: [
"I",
"II",
"III",
"IV",
"V",
"VI",
"VII",
"VIII",
"IX",
"X",
"XI",
"XII",
],
abbreviated: [
"1-р сар",
"2-р сар",
"3-р сар",
"4-р сар",
"5-р сар",
"6-р сар",
"7-р сар",
"8-р сар",
"9-р сар",
"10-р сар",
"11-р сар",
"12-р сар",
],
wide: [
"Нэгдүгээр сар",
"Хоёрдугаар сар",
"Гуравдугаар сар",
"Дөрөвдүгээр сар",
"Тавдугаар сар",
"Зургаадугаар сар",
"Долоодугаар сар",
"Наймдугаар сар",
"Есдүгээр сар",
"Аравдугаар сар",
"Арваннэгдүгээр сар",
"Арван хоёрдугаар сар",
],
};
const formattingMonthValues = {
narrow: [
"I",
"II",
"III",
"IV",
"V",
"VI",
"VII",
"VIII",
"IX",
"X",
"XI",
"XII",
],
abbreviated: [
"1-р сар",
"2-р сар",
"3-р сар",
"4-р сар",
"5-р сар",
"6-р сар",
"7-р сар",
"8-р сар",
"9-р сар",
"10-р сар",
"11-р сар",
"12-р сар",
],
wide: [
"нэгдүгээр сар",
"хоёрдугаар сар",
"гуравдугаар сар",
"дөрөвдүгээр сар",
"тавдугаар сар",
"зургаадугаар сар",
"долоодугаар сар",
"наймдугаар сар",
"есдүгээр сар",
"аравдугаар сар",
"арваннэгдүгээр сар",
"арван хоёрдугаар сар",
],
};
const dayValues = {
narrow: ["Н", "Д", "М", "Л", "П", "Б", "Б"],
short: ["Ня", "Да", "Мя", "Лх", "Пү", "Ба", "Бя"],
abbreviated: ["Ням", "Дав", "Мяг", "Лха", "Пүр", "Баа", "Бям"],
wide: ["Ням", "Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба"],
};
const formattingDayValues = {
narrow: ["Н", "Д", "М", "Л", "П", "Б", "Б"],
short: ["Ня", "Да", "Мя", "Лх", "Пү", "Ба", "Бя"],
abbreviated: ["Ням", "Дав", "Мяг", "Лха", "Пүр", "Баа", "Бям"],
wide: ["ням", "даваа", "мягмар", "лхагва", "пүрэв", "баасан", "бямба"],
};
const dayPeriodValues = {
narrow: {
am: "ү.ө.",
pm: "ү.х.",
midnight: "шөнө дунд",
noon: "үд дунд",
morning: "өглөө",
afternoon: "өдөр",
evening: "орой",
night: "шөнө",
},
abbreviated: {
am: "ү.ө.",
pm: "ү.х.",
midnight: "шөнө дунд",
noon: "үд дунд",
morning: "өглөө",
afternoon: "өдөр",
evening: "орой",
night: "шөнө",
},
wide: {
am: "ү.ө.",
pm: "ү.х.",
midnight: "шөнө дунд",
noon: "үд дунд",
morning: "өглөө",
afternoon: "өдөр",
evening: "орой",
night: "шөнө",
},
};
const ordinalNumber = (dirtyNumber, _options) => {
return String(dirtyNumber);
};
export const localize = {
ordinalNumber,
era: buildLocalizeFn({
values: eraValues,
defaultWidth: "wide",
}),
quarter: buildLocalizeFn({
values: quarterValues,
defaultWidth: "wide",
argumentCallback: (quarter) => quarter - 1,
}),
month: buildLocalizeFn({
values: monthValues,
defaultWidth: "wide",
formattingValues: formattingMonthValues,
defaultFormattingWidth: "wide",
}),
day: buildLocalizeFn({
values: dayValues,
defaultWidth: "wide",
formattingValues: formattingDayValues,
defaultFormattingWidth: "wide",
}),
dayPeriod: buildLocalizeFn({
values: dayPeriodValues,
defaultWidth: "wide",
}),
};