mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
perf(Locale): remove startEnd (#10244)
This commit is contained in:
parent
fc86330d63
commit
bc2e2cb142
@ -178,7 +178,7 @@ export default defineComponent({
|
|||||||
return t(dayType);
|
return t(dayType);
|
||||||
}
|
}
|
||||||
if (dayType === 'start-end') {
|
if (dayType === 'start-end') {
|
||||||
return t('startEnd');
|
return `${t('start')}/${t('end')}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'Ende',
|
end: 'Ende',
|
||||||
start: 'Start',
|
start: 'Start',
|
||||||
title: 'Kalender',
|
title: 'Kalender',
|
||||||
startEnd: 'Start/Ende',
|
|
||||||
weekdays: ['So', 'Mo', 'Di', 'Mo', 'Do', 'Fr', 'Sa'],
|
weekdays: ['So', 'Mo', 'Di', 'Mo', 'Do', 'Fr', 'Sa'],
|
||||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
rangePrompt: (maxRange: number) => `Wähle nicht mehr als ${maxRange} Tage`,
|
rangePrompt: (maxRange: number) => `Wähle nicht mehr als ${maxRange} Tage`,
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'Ende',
|
end: 'Ende',
|
||||||
start: 'Start',
|
start: 'Start',
|
||||||
title: 'Kalender',
|
title: 'Kalender',
|
||||||
startEnd: 'Start/Ende',
|
|
||||||
weekdays: ['So', 'Mo', 'Di', 'Mo', 'Do', 'Fr', 'Sa'],
|
weekdays: ['So', 'Mo', 'Di', 'Mo', 'Do', 'Fr', 'Sa'],
|
||||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
rangePrompt: (maxRange: number) => `Wähle nicht mehr als ${maxRange} Tage`,
|
rangePrompt: (maxRange: number) => `Wähle nicht mehr als ${maxRange} Tage`,
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'End',
|
end: 'End',
|
||||||
start: 'Start',
|
start: 'Start',
|
||||||
title: 'Calendar',
|
title: 'Calendar',
|
||||||
startEnd: 'Start/End',
|
|
||||||
weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
||||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
rangePrompt: (maxRange: number) => `Choose no more than ${maxRange} days`,
|
rangePrompt: (maxRange: number) => `Choose no more than ${maxRange} days`,
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'Fin',
|
end: 'Fin',
|
||||||
start: 'Inicio',
|
start: 'Inicio',
|
||||||
title: 'Calendario',
|
title: 'Calendario',
|
||||||
startEnd: 'Inicio/Fin',
|
|
||||||
weekdays: ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sáb'],
|
weekdays: ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sáb'],
|
||||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
rangePrompt: (maxRange: number) => `Elija no más de ${maxRange} días`,
|
rangePrompt: (maxRange: number) => `Elija no más de ${maxRange} días`,
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'Fin',
|
end: 'Fin',
|
||||||
start: 'Début',
|
start: 'Début',
|
||||||
title: 'Calendrier',
|
title: 'Calendrier',
|
||||||
startEnd: 'Début/Fin',
|
|
||||||
weekdays: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'],
|
weekdays: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'],
|
||||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
rangePrompt: (maxRange: number) => `Choisir pas plus de ${maxRange} jours`,
|
rangePrompt: (maxRange: number) => `Choisir pas plus de ${maxRange} jours`,
|
||||||
|
@ -14,7 +14,6 @@ export default {
|
|||||||
start: '開始',
|
start: '開始',
|
||||||
title: '日付選択',
|
title: '日付選択',
|
||||||
confirm: '確認',
|
confirm: '確認',
|
||||||
startEnd: '開始/終了',
|
|
||||||
weekdays: ['日', '月', '火', '水', '木', '金', '土'],
|
weekdays: ['日', '月', '火', '水', '木', '金', '土'],
|
||||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||||
rangePrompt: (maxRange: number) => `${maxRange}日まで選択`,
|
rangePrompt: (maxRange: number) => `${maxRange}日まで選択`,
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: '끝',
|
end: '끝',
|
||||||
start: '시작',
|
start: '시작',
|
||||||
title: '달력',
|
title: '달력',
|
||||||
startEnd: '시작/끝',
|
|
||||||
weekdays: [
|
weekdays: [
|
||||||
'일요일',
|
'일요일',
|
||||||
'월요일',
|
'월요일',
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'Slutt',
|
end: 'Slutt',
|
||||||
start: 'Start',
|
start: 'Start',
|
||||||
title: 'Kalendar',
|
title: 'Kalendar',
|
||||||
startEnd: 'Start/Slutt',
|
|
||||||
weekdays: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
|
weekdays: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
|
||||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
rangePrompt: (maxRange: number) => `Maks. ${maxRange} dager`,
|
rangePrompt: (maxRange: number) => `Maks. ${maxRange} dager`,
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'Fim',
|
end: 'Fim',
|
||||||
start: 'Início',
|
start: 'Início',
|
||||||
title: 'Calendário',
|
title: 'Calendário',
|
||||||
startEnd: 'Início/Fim',
|
|
||||||
weekdays: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'],
|
weekdays: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'],
|
||||||
monthTitle: (year: number, month: number) => `${month}/${year}`,
|
monthTitle: (year: number, month: number) => `${month}/${year}`,
|
||||||
rangePrompt: (maxRange: number) => `Escolha no máximo ${maxRange} dias`,
|
rangePrompt: (maxRange: number) => `Escolha no máximo ${maxRange} dias`,
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'Sfârșit',
|
end: 'Sfârșit',
|
||||||
start: 'Început',
|
start: 'Început',
|
||||||
title: 'Calendar',
|
title: 'Calendar',
|
||||||
startEnd: 'Început/Sfârsit',
|
|
||||||
weekdays: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
|
weekdays: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
|
||||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
rangePrompt: (maxRange: number) => `Alege maxim ${maxRange} zile`,
|
rangePrompt: (maxRange: number) => `Alege maxim ${maxRange} zile`,
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'Конец',
|
end: 'Конец',
|
||||||
start: 'Начало',
|
start: 'Начало',
|
||||||
title: 'Каленарь',
|
title: 'Каленарь',
|
||||||
startEnd: 'Начало/Конец',
|
|
||||||
weekdays: ['ВС', 'ПН', 'ВТ', 'СР', 'ЧТ', 'ПТ', 'СБ'],
|
weekdays: ['ВС', 'ПН', 'ВТ', 'СР', 'ЧТ', 'ПТ', 'СБ'],
|
||||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
rangePrompt: (maxRange: number) => `Укажите более ${maxRange} дней`,
|
rangePrompt: (maxRange: number) => `Укажите более ${maxRange} дней`,
|
||||||
|
@ -14,7 +14,6 @@ export default {
|
|||||||
start: 'เริ่ม',
|
start: 'เริ่ม',
|
||||||
title: 'การเลือกวันที่',
|
title: 'การเลือกวันที่',
|
||||||
confirm: 'ตกลง',
|
confirm: 'ตกลง',
|
||||||
startEnd: 'เริ่ม/เริ่ม',
|
|
||||||
weekdays: ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'],
|
weekdays: ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'],
|
||||||
monthTitle: (year: number, month: number) => `${year}ปี${month}เดือน`,
|
monthTitle: (year: number, month: number) => `${year}ปี${month}เดือน`,
|
||||||
rangePrompt: (maxRange: number) =>
|
rangePrompt: (maxRange: number) =>
|
||||||
|
@ -13,7 +13,6 @@ export default {
|
|||||||
end: 'Son',
|
end: 'Son',
|
||||||
start: 'Başlat',
|
start: 'Başlat',
|
||||||
title: 'Takvim',
|
title: 'Takvim',
|
||||||
startEnd: 'Başlat/Son',
|
|
||||||
weekdays: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'],
|
weekdays: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'],
|
||||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
rangePrompt: (maxRange: number) => `En fazla ${maxRange} gün seçin`,
|
rangePrompt: (maxRange: number) => `En fazla ${maxRange} gün seçin`,
|
||||||
|
@ -14,7 +14,6 @@ export default {
|
|||||||
start: '开始',
|
start: '开始',
|
||||||
title: '日期选择',
|
title: '日期选择',
|
||||||
confirm: '确定',
|
confirm: '确定',
|
||||||
startEnd: '开始/结束',
|
|
||||||
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
||||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||||
rangePrompt: (maxRange: number) => `最多选择 ${maxRange} 天`,
|
rangePrompt: (maxRange: number) => `最多选择 ${maxRange} 天`,
|
||||||
|
@ -14,7 +14,6 @@ export default {
|
|||||||
start: '開始',
|
start: '開始',
|
||||||
title: '日期選擇',
|
title: '日期選擇',
|
||||||
confirm: '確定',
|
confirm: '確定',
|
||||||
startEnd: '開始/結束',
|
|
||||||
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
||||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||||
rangePrompt: (maxRange: number) => `最多選擇 ${maxRange} 天`,
|
rangePrompt: (maxRange: number) => `最多選擇 ${maxRange} 天`,
|
||||||
|
@ -14,7 +14,6 @@ export default {
|
|||||||
start: '開始',
|
start: '開始',
|
||||||
title: '日期選擇',
|
title: '日期選擇',
|
||||||
confirm: '確定',
|
confirm: '確定',
|
||||||
startEnd: '開始/結束',
|
|
||||||
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
||||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||||
rangePrompt: (maxRange: number) => `最多選擇 ${maxRange} 天`,
|
rangePrompt: (maxRange: number) => `最多選擇 ${maxRange} 天`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user