- add new language packs for multiple pages and components including category, cart, order, member center, distribution, etc. - add Chinese and English translations for new features and UI text - fix navigation service error message to use multilingual text - update component templates to use dynamic language translation instead of hardcoded text - adjust code indentation and formatting for consistency
34 lines
730 B
JavaScript
34 lines
730 B
JavaScript
export const lang = {
|
|
// ===== yuyue-date component =====
|
|
components: {
|
|
yuyueDate: {
|
|
// Appointed date button
|
|
appointedDate: 'Appointed Date',
|
|
|
|
// Time status text
|
|
fullyBooked: 'Fully Booked',
|
|
available: 'Available',
|
|
|
|
// Selection status
|
|
noSelection: 'No Selection',
|
|
|
|
// Toast message
|
|
weekdayCannotBook: '{weekday} cannot be booked',
|
|
|
|
// Near-day labels
|
|
today: 'Today',
|
|
tomorrow: 'Tomorrow',
|
|
dayAfterTomorrow: 'Day After Tomorrow',
|
|
|
|
// Week day names (index 0-6 = Sunday through Saturday, matching Date.getDay())
|
|
weekSunday: 'Sun',
|
|
weekMonday: 'Mon',
|
|
weekTuesday: 'Tue',
|
|
weekWednesday: 'Wed',
|
|
weekThursday: 'Thu',
|
|
weekFriday: 'Fri',
|
|
weekSaturday: 'Sat',
|
|
}
|
|
}
|
|
}
|