Rocky_Mountain_Vending/.pnpm-store/v10/files/1c/e90b60c7bd1f544675e0d3703082d7f259bf8673c1ab99fd34912c47838e8191b547bf1e3a6004a3164e2371ff64f0aa383ea04e5022ccc8240be2ed21c0c6
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

176 lines
3.9 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: ["1", "2", "3", "4"],
abbreviated: ["1", "2", "3", "4"],
wide: ["بىرىنجى چارەك", "ئىككىنجى چارەك", "ئۈچىنجى چارەك", "تۆتىنجى چارەك"],
};
// 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: ["ي", "ف", "م", "ا", "م", "ى", "ى", "ا", "س", "ۆ", "ن", "د"],
abbreviated: [
"يانۋار",
"فېۋىرال",
"مارت",
"ئاپرىل",
"ماي",
"ئىيۇن",
"ئىيول",
"ئاۋغۇست",
"سىنتەبىر",
"ئۆكتەبىر",
"نويابىر",
"دىكابىر",
],
wide: [
"يانۋار",
"فېۋىرال",
"مارت",
"ئاپرىل",
"ماي",
"ئىيۇن",
"ئىيول",
"ئاۋغۇست",
"سىنتەبىر",
"ئۆكتەبىر",
"نويابىر",
"دىكابىر",
],
};
const dayValues = {
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 formattingDayPeriodValues = {
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",
}),
day: buildLocalizeFn({
values: dayValues,
defaultWidth: "wide",
}),
dayPeriod: buildLocalizeFn({
values: dayPeriodValues,
defaultWidth: "wide",
formattingValues: formattingDayPeriodValues,
defaultFormattingWidth: "wide",
}),
};