mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
Merge branch 'dev' into next
This commit is contained in:
commit
966af9dd68
File diff suppressed because it is too large
Load Diff
@ -16,6 +16,21 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
||||
|
||||
## Details
|
||||
|
||||
### [v3.4.3](https://github.com/compare/v3.4.2...v3.4.3)
|
||||
|
||||
`2022-01-26`
|
||||
|
||||
**Feature**
|
||||
|
||||
- Locale: add Hindi translation [#10248](https://github.com/issues/10248)
|
||||
- Locale: add Korean translations [#10243](https://github.com/issues/10243)
|
||||
- improve cursor of haptics elements [#10232](https://github.com/issues/10232)
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- Icon: remove white space under image when using image URL [#10220](https://github.com/issues/10220)
|
||||
- TreeSelect: click-nav event not work when clicking active item [#10239](https://github.com/issues/10239)
|
||||
|
||||
### [v3.4.2](https://github.com/compare/v3.4.1...v3.4.2)
|
||||
|
||||
`2022-01-17`
|
||||
|
@ -16,6 +16,21 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
||||
|
||||
## 更新内容
|
||||
|
||||
### [v3.4.3](https://github.com/compare/v3.4.2...v3.4.3)
|
||||
|
||||
`2022-01-26`
|
||||
|
||||
**Feature**
|
||||
|
||||
- Locale: 新增 Hindi 印地语 [#10248](https://github.com/issues/10248)
|
||||
- Locale: 新增 Korean 韩语 [#10243](https://github.com/issues/10243)
|
||||
- 优化 cursor 样式 [#10232](https://github.com/issues/10232)
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- Icon: 修复使用图片作为图标时水平未对齐的问题 [#10220](https://github.com/issues/10220)
|
||||
- TreeSelect: 修复重复点击时无法触发 click-nav 事件的问题 [#10239](https://github.com/issues/10239)
|
||||
|
||||
### [v3.4.2](https://github.com/compare/v3.4.1...v3.4.2)
|
||||
|
||||
`2022-01-17`
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vant",
|
||||
"version": "3.4.2",
|
||||
"version": "3.4.3",
|
||||
"description": "Mobile UI Components built on Vue",
|
||||
"main": "lib/vant.cjs.js",
|
||||
"module": "es/index.js",
|
||||
@ -66,7 +66,7 @@
|
||||
"dependencies": {
|
||||
"@vant/icons": "^1.7.1",
|
||||
"@vant/popperjs": "^1.1.0",
|
||||
"@vant/use": "^1.3.4"
|
||||
"@vant/use": "^1.3.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^3.0.0"
|
||||
|
@ -11,7 +11,8 @@ import { Field } from '../field';
|
||||
import type { AddressEditSearchItem } from './types';
|
||||
import type { FieldRule, FieldInstance } from '../field/types';
|
||||
|
||||
const [name, bem, t] = createNamespace('address-edit-detail');
|
||||
const [name, bem] = createNamespace('address-edit-detail');
|
||||
const t = createNamespace('address-edit')[2];
|
||||
|
||||
export default defineComponent({
|
||||
name,
|
||||
@ -89,11 +90,11 @@ export default defineComponent({
|
||||
rows={props.rows}
|
||||
type="textarea"
|
||||
rules={props.rules}
|
||||
label={t('label')}
|
||||
label={t('addressDetail')}
|
||||
border={!showSearchResult()}
|
||||
maxlength={props.maxlength}
|
||||
modelValue={props.value}
|
||||
placeholder={t('placeholder')}
|
||||
placeholder={t('addressDetail')}
|
||||
onBlur={onBlur}
|
||||
onFocus={onFocus}
|
||||
onUpdate:modelValue={onInput}
|
||||
|
@ -178,7 +178,7 @@ export default defineComponent({
|
||||
return t(dayType);
|
||||
}
|
||||
if (dayType === 'start-end') {
|
||||
return t('startEnd');
|
||||
return `${t('start')}/${t('end')}`;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -32,7 +32,7 @@ export default defineComponent({
|
||||
|
||||
const renderContent = () => {
|
||||
if (props.type === 'add') {
|
||||
return props.addText || t('addText');
|
||||
return props.addText || t('addContact');
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -9,7 +9,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
<i class="van-badge__wrapper van-icon van-icon-add-square van-cell__left-icon">
|
||||
</i>
|
||||
<div class="van-cell__value van-cell__value--alone van-contact-card__value">
|
||||
Add contact info
|
||||
Add contact
|
||||
</div>
|
||||
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
|
||||
</i>
|
||||
|
@ -100,7 +100,7 @@ export default defineComponent({
|
||||
block
|
||||
type="danger"
|
||||
class={bem('add')}
|
||||
text={props.addText || t('addText')}
|
||||
text={props.addText || t('addContact')}
|
||||
onClick={() => emit('add')}
|
||||
/>
|
||||
</div>
|
||||
|
@ -62,7 +62,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
>
|
||||
<div class="van-button__content">
|
||||
<span class="van-button__text">
|
||||
Add new contact
|
||||
Add contact
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
|
@ -39,7 +39,7 @@ exports[`should render ContactList correctly 1`] = `
|
||||
>
|
||||
<div class="van-button__content">
|
||||
<span class="van-button__text">
|
||||
Add new contact
|
||||
Add contact
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
|
@ -52,7 +52,7 @@ export default {
|
||||
setup() {
|
||||
const coupon = {
|
||||
available: 1,
|
||||
condition: '无使用门槛\n最多优惠12元',
|
||||
condition: '无门槛\n最多优惠12元',
|
||||
reason: '',
|
||||
value: 150,
|
||||
name: '优惠券名称',
|
||||
|
@ -35,7 +35,7 @@ const exchangedCoupons = ref<CouponInfo[]>([]);
|
||||
|
||||
const coupon = computed(() => ({
|
||||
id: 1,
|
||||
condition: '无使用门槛\n最多优惠12元',
|
||||
condition: '无门槛\n最多优惠12元',
|
||||
reason: '',
|
||||
value: 150,
|
||||
name: t('coupon.name'),
|
||||
|
@ -46,7 +46,9 @@ Current supported languages:
|
||||
| English | en-US |
|
||||
| Spanish (Spain) | es-ES |
|
||||
| French | fr-FR |
|
||||
| Hindi | hi-IN |
|
||||
| Japanese | ja-JP |
|
||||
| Korean | ko-KR |
|
||||
| Norwegian | nb-NO |
|
||||
| Portuguese (Brazil) | pt-BR |
|
||||
| Romanian | ro-RO |
|
||||
|
@ -47,7 +47,9 @@ Locale.add(messages);
|
||||
| 英语 | en-US |
|
||||
| 西班牙语 | es-ES |
|
||||
| 法语 | fr-FR |
|
||||
| 印地语 | hi-IN |
|
||||
| 日语 | ja-JP |
|
||||
| 韩语/朝鲜语 | ko-KR.ts |
|
||||
| 挪威语 | nb-NO |
|
||||
| 葡萄牙语 (巴西) | pt-BR |
|
||||
| 罗马尼亚语 | ro-RO |
|
||||
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Laden...',
|
||||
noCoupon: 'Keine Coupons',
|
||||
nameEmpty: 'Bitte geben Sie den Name an',
|
||||
addContact: 'Neuen Kontakt hinzufügen',
|
||||
telInvalid: 'Ungültige Telefonnummer',
|
||||
vanCalendar: {
|
||||
end: 'Ende',
|
||||
start: 'Start',
|
||||
title: 'Kalender',
|
||||
startEnd: 'Start/Ende',
|
||||
weekdays: ['So', 'Mo', 'Di', 'Mo', 'Do', 'Fr', 'Sa'],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `Wähle nicht mehr als ${maxRange} Tage`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Wählen',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Kontaktinformationen hinzufügen',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Neuen Kontakt hinzufügen',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Vorherige',
|
||||
next: 'Nächste',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Bitte geben Sie Ihren Standort an',
|
||||
addressEmpty: 'Adresse darf nicht leer sein',
|
||||
postalEmpty: 'Falsche Postleitzahl',
|
||||
addressDetail: 'Adresse',
|
||||
defaultAddress: 'Als Standardadresse festgelegen',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Adresse',
|
||||
placeholder: 'Adresse',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Neue Adresse hinzufügen',
|
||||
},
|
||||
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Laden...',
|
||||
noCoupon: 'Keine Coupons',
|
||||
nameEmpty: 'Bitte den Name angeben',
|
||||
addContact: 'Neuen Kontakt hinzufügen',
|
||||
telInvalid: 'Ungültige Telefonnummer',
|
||||
vanCalendar: {
|
||||
end: 'Ende',
|
||||
start: 'Start',
|
||||
title: 'Kalender',
|
||||
startEnd: 'Start/Ende',
|
||||
weekdays: ['So', 'Mo', 'Di', 'Mo', 'Do', 'Fr', 'Sa'],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `Wähle nicht mehr als ${maxRange} Tage`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Wählen',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Kontaktinformationen hinzufügen',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Neuen Kontakt hinzufügen',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Vorherige',
|
||||
next: 'Nächste',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Bitte deinen Ort angeben',
|
||||
addressEmpty: 'Adresse darf nicht leer sein',
|
||||
postalEmpty: 'Falsche Postleitzahl',
|
||||
addressDetail: 'Adresse',
|
||||
defaultAddress: 'Als Standardadresse festgelegen',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Adresse',
|
||||
placeholder: 'Adresse',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Neue Adresse hinzufügen',
|
||||
},
|
||||
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Loading...',
|
||||
noCoupon: 'No coupons',
|
||||
nameEmpty: 'Please fill in the name',
|
||||
addContact: 'Add contact',
|
||||
telInvalid: 'Malformed phone number',
|
||||
vanCalendar: {
|
||||
end: 'End',
|
||||
start: 'Start',
|
||||
title: 'Calendar',
|
||||
startEnd: 'Start/End',
|
||||
weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `Choose no more than ${maxRange} days`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Select',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Add contact info',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Add new contact',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Previous',
|
||||
next: 'Next',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Please select a receiving area',
|
||||
addressEmpty: 'Address can not be empty',
|
||||
postalEmpty: 'Wrong postal code',
|
||||
addressDetail: 'Address',
|
||||
defaultAddress: 'Set as the default address',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Address',
|
||||
placeholder: 'Address',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Add new address',
|
||||
},
|
||||
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Cargando...',
|
||||
noCoupon: 'Sin cupones',
|
||||
nameEmpty: 'Por favor rellena el nombre',
|
||||
addContact: 'Añadi contacto',
|
||||
telInvalid: 'Teléfono inválido',
|
||||
vanCalendar: {
|
||||
end: 'Fin',
|
||||
start: 'Inicio',
|
||||
title: 'Calendario',
|
||||
startEnd: 'Inicio/Fin',
|
||||
weekdays: ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sáb'],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `Elija no más de ${maxRange} días`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Seleccione',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Añadir información de contacto',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Añadir nuevo contacto',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Anterior',
|
||||
next: 'Siguiente',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Por favor selecciona una área de recogida',
|
||||
addressEmpty: 'La dirección no puede estar vacia',
|
||||
postalEmpty: 'Código postal inválido',
|
||||
addressDetail: 'Dirección',
|
||||
defaultAddress: 'Establecer como dirección por defecto',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Dirección',
|
||||
placeholder: 'Dirección',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Anadir dirección',
|
||||
},
|
||||
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Chargement...',
|
||||
noCoupon: 'Pas de coupons',
|
||||
nameEmpty: 'Veuillez remplir le nom',
|
||||
addContact: 'Ajouter contact',
|
||||
telInvalid: 'Numéro de téléphone incorrect',
|
||||
vanCalendar: {
|
||||
end: 'Fin',
|
||||
start: 'Début',
|
||||
title: 'Calendrier',
|
||||
startEnd: 'Début/Fin',
|
||||
weekdays: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `Choisir pas plus de ${maxRange} jours`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Sélectionner',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Ajouter des informations de contact',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Ajouter un nouveau contact',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Précédent',
|
||||
next: 'Suivant',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Veuillez sélectionner une zone de réception',
|
||||
addressEmpty: "L'adresse ne peut pas être vide",
|
||||
postalEmpty: 'Mauvais code postal',
|
||||
addressDetail: 'Adresse',
|
||||
defaultAddress: 'Définir comme adresse par défaut',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Adresse',
|
||||
placeholder: 'Adresse',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Ajouter une nouvelle adresse',
|
||||
},
|
||||
|
71
packages/vant/src/locale/lang/hi-IN.ts
Normal file
71
packages/vant/src/locale/lang/hi-IN.ts
Normal file
@ -0,0 +1,71 @@
|
||||
export default {
|
||||
name: 'नाम',
|
||||
tel: 'फ़ोन',
|
||||
save: 'सहेजें',
|
||||
confirm: 'पुष्टि करना',
|
||||
cancel: 'रद्द करें',
|
||||
delete: 'हटाएं',
|
||||
loading: 'लोड हो रहा है...',
|
||||
noCoupon: 'कोई कूपन नहीं',
|
||||
nameEmpty: 'कृपया नाम भरें',
|
||||
addContact: 'संपर्क जोड़ें',
|
||||
telInvalid: 'विकृत फ़ोन नंबर',
|
||||
vanCalendar: {
|
||||
end: 'समाप्त',
|
||||
start: 'शुरू',
|
||||
title: 'पंचांग',
|
||||
weekdays: [
|
||||
'रविवार',
|
||||
'सोमवार',
|
||||
'मंगलवार',
|
||||
'बुधवार',
|
||||
'गुरूवार',
|
||||
'शुक्रवार',
|
||||
'शनिवार',
|
||||
],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `${maxRange} दिन से अधिक नहीं चुनें`,
|
||||
},
|
||||
vanCascader: {
|
||||
select: 'चुनते हैं',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'पहले का',
|
||||
next: 'अगला',
|
||||
},
|
||||
vanPullRefresh: {
|
||||
pulling: 'रीफ़्रेश करने के लिए खींचें...',
|
||||
loosing: 'ताज़ा करने के लिए ढीला...',
|
||||
},
|
||||
vanSubmitBar: {
|
||||
label: 'कुल:',
|
||||
},
|
||||
vanCoupon: {
|
||||
unlimited: 'असीमित',
|
||||
discount: (discount: number) => `${discount * 10}% छूट`,
|
||||
condition: (condition: number) => `कम से कम ${condition}`,
|
||||
},
|
||||
vanCouponCell: {
|
||||
title: 'कूपन',
|
||||
count: (count: number) => `आपके पास ${count} कूपन हैं`,
|
||||
},
|
||||
vanCouponList: {
|
||||
exchange: 'अदला बदली',
|
||||
close: 'बंद करे',
|
||||
enable: 'उपलब्ध',
|
||||
disabled: 'अनुपलब्ध',
|
||||
placeholder: 'कूपन कोड',
|
||||
},
|
||||
vanAddressEdit: {
|
||||
area: 'क्षेत्र',
|
||||
postal: 'डाक का',
|
||||
areaEmpty: 'कृपया एक क्षेत्र चुनें',
|
||||
addressEmpty: 'पता खाली नहीं हो सकता',
|
||||
postalEmpty: 'गलत पोस्टल कोड',
|
||||
addressDetail: 'पता',
|
||||
defaultAddress: 'डिफ़ॉल्ट पते के रूप में सेट करें',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'नया पता जोड़ें',
|
||||
},
|
||||
};
|
@ -8,13 +8,12 @@ export default {
|
||||
loading: '読み込み中...',
|
||||
noCoupon: 'クーポンはありません',
|
||||
nameEmpty: '名前を入力してください',
|
||||
addContact: '連絡先を追加',
|
||||
telInvalid: '正しい電話番号を入力してください',
|
||||
vanCalendar: {
|
||||
end: '終了',
|
||||
start: '開始',
|
||||
title: '日付選択',
|
||||
confirm: '確認',
|
||||
startEnd: '開始/終了',
|
||||
weekdays: ['日', '月', '火', '水', '木', '金', '土'],
|
||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||
rangePrompt: (maxRange: number) => `${maxRange}日まで選択`,
|
||||
@ -22,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: '選択する',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: '連絡先を追加',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: '新しい連絡先を追加',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: '前のページ',
|
||||
next: '次のページ',
|
||||
@ -40,7 +33,7 @@ export default {
|
||||
label: '合計:',
|
||||
},
|
||||
vanCoupon: {
|
||||
unlimited: '入場ありません',
|
||||
unlimited: '無制限',
|
||||
discount: (discount: number) => `${10 - discount}割引`,
|
||||
condition: (condition: number) => `${condition}円以上で利用可能`,
|
||||
},
|
||||
@ -50,7 +43,7 @@ export default {
|
||||
},
|
||||
vanCouponList: {
|
||||
exchange: '両替',
|
||||
close: 'クーポンを使用しません',
|
||||
close: '使用禁止',
|
||||
enable: '利用可能',
|
||||
disabled: '利用できません',
|
||||
placeholder: '割引コードを入力してください',
|
||||
@ -61,12 +54,9 @@ export default {
|
||||
areaEmpty: '地域を選択してください',
|
||||
addressEmpty: '詳しい住所を入力してください',
|
||||
postalEmpty: '間違った郵便番号',
|
||||
addressDetail: '詳しい住所',
|
||||
defaultAddress: 'デフォルトの住所に設定',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: '詳しい住所',
|
||||
placeholder: '番地、階の部屋番号など',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '住所を追加',
|
||||
},
|
||||
|
71
packages/vant/src/locale/lang/ko-KR.ts
Normal file
71
packages/vant/src/locale/lang/ko-KR.ts
Normal file
@ -0,0 +1,71 @@
|
||||
export default {
|
||||
name: '이름',
|
||||
tel: '핸드폰',
|
||||
save: '구하다',
|
||||
confirm: '확인',
|
||||
cancel: '취소',
|
||||
delete: '삭제',
|
||||
loading: '로딩 중...',
|
||||
noCoupon: '쿠폰 없음',
|
||||
nameEmpty: '이름을 기입해주세요',
|
||||
addContact: '새 연락처 추가',
|
||||
telInvalid: '잘못된 전화번호',
|
||||
vanCalendar: {
|
||||
end: '끝',
|
||||
start: '시작',
|
||||
title: '달력',
|
||||
weekdays: [
|
||||
'일요일',
|
||||
'월요일',
|
||||
'화요일',
|
||||
'수요일',
|
||||
'목요일',
|
||||
'금요일',
|
||||
'토요일',
|
||||
],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `${maxRange} 일 이내로 선택`,
|
||||
},
|
||||
vanCascader: {
|
||||
select: '선택하다',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: '이전의',
|
||||
next: '다음',
|
||||
},
|
||||
vanPullRefresh: {
|
||||
pulling: '당겨서 새로고침...',
|
||||
loosing: '새로 고침...',
|
||||
},
|
||||
vanSubmitBar: {
|
||||
label: '총:',
|
||||
},
|
||||
vanCoupon: {
|
||||
unlimited: '제한 없는',
|
||||
discount: (discount: number) => `${discount * 10}% 할인`,
|
||||
condition: (condition: number) => `최소 ${condition}`,
|
||||
},
|
||||
vanCouponCell: {
|
||||
title: '쿠폰',
|
||||
count: (count: number) => `${count} 개의 쿠폰이 있습니다`,
|
||||
},
|
||||
vanCouponList: {
|
||||
exchange: '교환',
|
||||
close: '닫다',
|
||||
enable: '사용 가능',
|
||||
disabled: '없는',
|
||||
placeholder: '쿠폰 코드',
|
||||
},
|
||||
vanAddressEdit: {
|
||||
area: '지역',
|
||||
postal: '우편 엽서',
|
||||
areaEmpty: '접수지역을 선택해주세요',
|
||||
addressEmpty: '주소는 비워둘 수 없습니다',
|
||||
postalEmpty: '잘못된 우편번호',
|
||||
addressDetail: '주소',
|
||||
defaultAddress: '기본 주소로 설정',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '새 주소 추가',
|
||||
},
|
||||
};
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Laster...',
|
||||
noCoupon: 'Ingen kuponger',
|
||||
nameEmpty: 'Vennligst fyll inn navn',
|
||||
addContact: 'Legg til ny kontakt',
|
||||
telInvalid: 'Ugyldig telefonnummer',
|
||||
vanCalendar: {
|
||||
end: 'Slutt',
|
||||
start: 'Start',
|
||||
title: 'Kalendar',
|
||||
startEnd: 'Start/Slutt',
|
||||
weekdays: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `Maks. ${maxRange} dager`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Plukke ut',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Legg til kontakt info',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Legg til ny kontakt',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Forrige',
|
||||
next: 'Neste',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Vennligst fyll inn område',
|
||||
addressEmpty: 'Addresse kan ikke være tomt',
|
||||
postalEmpty: 'Feil postkode',
|
||||
addressDetail: 'Adresse',
|
||||
defaultAddress: 'Sett som standard adresse',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Adresse',
|
||||
placeholder: 'Adresse',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Legg til ny adresse',
|
||||
},
|
||||
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Carregando...',
|
||||
noCoupon: 'Nenhum cupom',
|
||||
nameEmpty: 'Por favor, preencha o nome',
|
||||
addContact: 'Adicionar novo contato',
|
||||
telInvalid: 'Telefone em formato inválido',
|
||||
vanCalendar: {
|
||||
end: 'Fim',
|
||||
start: 'Início',
|
||||
title: 'Calendário',
|
||||
startEnd: 'Início/Fim',
|
||||
weekdays: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'],
|
||||
monthTitle: (year: number, month: number) => `${month}/${year}`,
|
||||
rangePrompt: (maxRange: number) => `Escolha no máximo ${maxRange} dias`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Selecione',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Adicionar informações de contato',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Adicionar novo contato',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Anterior',
|
||||
next: 'Próximo',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Por favor, selecione uma área de recebimento',
|
||||
addressEmpty: 'Endereço não pode ser vazio',
|
||||
postalEmpty: 'CEP inválido',
|
||||
addressDetail: 'Endereço',
|
||||
defaultAddress: 'Usar como endereço padrão',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Endereço',
|
||||
placeholder: 'Endereço',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Adicionar novo endereço',
|
||||
},
|
||||
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Încărcare...',
|
||||
noCoupon: 'Fără cupoane',
|
||||
nameEmpty: 'Te rugăm să completezi numele',
|
||||
addContact: 'Adaugă contact nou',
|
||||
telInvalid: 'Număr de telefon invalid',
|
||||
vanCalendar: {
|
||||
end: 'Sfârșit',
|
||||
start: 'Început',
|
||||
title: 'Calendar',
|
||||
startEnd: 'Început/Sfârsit',
|
||||
weekdays: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `Alege maxim ${maxRange} zile`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Selectați',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Adaugă informațiile de contact',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Adaugă contact nou',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Precedenta',
|
||||
next: 'Urmatoarea',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Te rugăm sa selectezi o zona de primire',
|
||||
addressEmpty: 'Adresa nu poate fi goală',
|
||||
postalEmpty: 'Cod postal invalid',
|
||||
addressDetail: 'Adresă',
|
||||
defaultAddress: 'Setează ca adresă de pornire',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Adresă',
|
||||
placeholder: 'Adresă',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Adaugă adresă nouă',
|
||||
},
|
||||
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Загрузка...',
|
||||
noCoupon: 'Нет купонов',
|
||||
nameEmpty: 'Пожалуйста укажите имя',
|
||||
addContact: 'Создать контакт',
|
||||
telInvalid: 'Некорректный номер телефона',
|
||||
vanCalendar: {
|
||||
end: 'Конец',
|
||||
start: 'Начало',
|
||||
title: 'Каленарь',
|
||||
startEnd: 'Начало/Конец',
|
||||
weekdays: ['ВС', 'ПН', 'ВТ', 'СР', 'ЧТ', 'ПТ', 'СБ'],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `Укажите более ${maxRange} дней`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Выбрать',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Добавить информацию',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Создать контакт',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Назад',
|
||||
next: 'Вперед',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Укажите зону доставки',
|
||||
addressEmpty: 'Адрес не может быть пустым',
|
||||
postalEmpty: 'Некорректный индекс',
|
||||
addressDetail: 'Адрес',
|
||||
defaultAddress: 'Сделать адресом по умолчанию',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Адрес',
|
||||
placeholder: 'Адрес',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Новый адрес',
|
||||
},
|
||||
|
@ -8,13 +8,12 @@ export default {
|
||||
loading: 'กำลังโหลด...',
|
||||
noCoupon: 'ไม่มีคูปอง',
|
||||
nameEmpty: 'กรุณากรอกชื่อของคุณ',
|
||||
addContact: 'เพิ่มผู้ติดต่อ',
|
||||
telInvalid: 'กรุณากรอกหมายเลขโทรศัพท์ที่ถูกต้อง',
|
||||
vanCalendar: {
|
||||
end: 'จบ',
|
||||
start: 'เริ่ม',
|
||||
title: 'การเลือกวันที่',
|
||||
confirm: 'ตกลง',
|
||||
startEnd: 'เริ่ม/เริ่ม',
|
||||
weekdays: ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'],
|
||||
monthTitle: (year: number, month: number) => `${year}ปี${month}เดือน`,
|
||||
rangePrompt: (maxRange: number) =>
|
||||
@ -23,12 +22,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'โปรดเลือก',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'เพิ่มผู้ติดต่อ',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'รายชื่อติดต่อใหม่',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'หน้าที่แล้ว',
|
||||
next: 'หน้าต่อไป',
|
||||
@ -41,7 +34,7 @@ export default {
|
||||
label: 'รวม:',
|
||||
},
|
||||
vanCoupon: {
|
||||
unlimited: 'ไม่มีเกณฑ์การใช้งาน',
|
||||
unlimited: 'ไม่ จำกัด',
|
||||
discount: (discount: number) => `ลด${discount}`,
|
||||
condition: (condition: number) => `มีจำหน่ายในราคา ${condition} กว่าหยวน`,
|
||||
},
|
||||
@ -51,7 +44,7 @@ export default {
|
||||
},
|
||||
vanCouponList: {
|
||||
exchange: 'แลกเปลี่ยน',
|
||||
close: 'ห้ามใช้คูปอง',
|
||||
close: 'ไม่ได้ใช้',
|
||||
enable: 'พร้อมใช้งาน',
|
||||
disabled: 'ไม่พร้อมใช้งาน',
|
||||
placeholder: 'กรุณากรอกรหัสคูปอง',
|
||||
@ -62,12 +55,9 @@ export default {
|
||||
areaEmpty: 'โปรดเลือกภูมิภาค',
|
||||
addressEmpty: 'กรุณากรอกที่อยู่โดยละเอียด',
|
||||
postalEmpty: 'รูปแบบรหัสไปรษณีย์ไม่ถูกต้อง',
|
||||
addressDetail: 'ที่อยู่',
|
||||
defaultAddress: 'ตั้งเป็นที่อยู่จัดส่งเริ่มต้น',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'ที่อยู่',
|
||||
placeholder: 'เลขที่บ้านเลขที่ห้องชั้นและข้อมูลอื่น ๆ',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'เพิ่มที่อยู่',
|
||||
},
|
||||
|
@ -8,12 +8,12 @@ export default {
|
||||
loading: 'Yükleniyor...',
|
||||
noCoupon: 'Kupon yok',
|
||||
nameEmpty: 'Lütfen isim giriniz',
|
||||
addContact: 'Yeni kişi ekle',
|
||||
telInvalid: 'Geçersiz tel. numarası',
|
||||
vanCalendar: {
|
||||
end: 'Son',
|
||||
start: 'Başlat',
|
||||
title: 'Takvim',
|
||||
startEnd: 'Başlat/Son',
|
||||
weekdays: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'],
|
||||
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||
rangePrompt: (maxRange: number) => `En fazla ${maxRange} gün seçin`,
|
||||
@ -21,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: 'Seçiniz',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: 'Kişi bilgisi ekle',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: 'Yeni kişi ekle',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: 'Önceki',
|
||||
next: 'Sonraki',
|
||||
@ -60,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Lütfen alıcı alanını seçin',
|
||||
addressEmpty: 'Adres boş olamaz!',
|
||||
postalEmpty: 'Yanlış posta kodu',
|
||||
addressDetail: 'Adres',
|
||||
defaultAddress: 'Varsayılan adres olarak ayarla',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Adres',
|
||||
placeholder: 'Adres',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Yeni adres ekle',
|
||||
},
|
||||
|
@ -8,13 +8,12 @@ export default {
|
||||
loading: '加载中...',
|
||||
noCoupon: '暂无优惠券',
|
||||
nameEmpty: '请填写姓名',
|
||||
addContact: '添加联系人',
|
||||
telInvalid: '请填写正确的电话',
|
||||
vanCalendar: {
|
||||
end: '结束',
|
||||
start: '开始',
|
||||
title: '日期选择',
|
||||
confirm: '确定',
|
||||
startEnd: '开始/结束',
|
||||
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||
rangePrompt: (maxRange: number) => `最多选择 ${maxRange} 天`,
|
||||
@ -22,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: '请选择',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: '添加联系人',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: '新建联系人',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: '上一页',
|
||||
next: '下一页',
|
||||
@ -40,7 +33,7 @@ export default {
|
||||
label: '合计:',
|
||||
},
|
||||
vanCoupon: {
|
||||
unlimited: '无使用门槛',
|
||||
unlimited: '无门槛',
|
||||
discount: (discount: number) => `${discount}折`,
|
||||
condition: (condition: number) => `满${condition}元可用`,
|
||||
},
|
||||
@ -50,10 +43,10 @@ export default {
|
||||
},
|
||||
vanCouponList: {
|
||||
exchange: '兑换',
|
||||
close: '不使用优惠券',
|
||||
close: '不使用',
|
||||
enable: '可用',
|
||||
disabled: '不可用',
|
||||
placeholder: '请输入优惠码',
|
||||
placeholder: '输入优惠码',
|
||||
},
|
||||
vanAddressEdit: {
|
||||
area: '地区',
|
||||
@ -61,12 +54,9 @@ export default {
|
||||
areaEmpty: '请选择地区',
|
||||
addressEmpty: '请填写详细地址',
|
||||
postalEmpty: '邮政编码不正确',
|
||||
addressDetail: '详细地址',
|
||||
defaultAddress: '设为默认收货地址',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: '详细地址',
|
||||
placeholder: '街道门牌信息',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '新增地址',
|
||||
},
|
||||
|
@ -8,13 +8,12 @@ export default {
|
||||
loading: '加載中...',
|
||||
noCoupon: '暫無優惠券',
|
||||
nameEmpty: '請填寫姓名',
|
||||
addContact: '添加聯系人',
|
||||
telInvalid: '請填寫正確的電話',
|
||||
vanCalendar: {
|
||||
end: '結束',
|
||||
start: '開始',
|
||||
title: '日期選擇',
|
||||
confirm: '確定',
|
||||
startEnd: '開始/結束',
|
||||
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||
rangePrompt: (maxRange: number) => `最多選擇 ${maxRange} 天`,
|
||||
@ -22,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: '請選擇',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: '添加聯系人',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: '新建聯系人',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: '上一頁',
|
||||
next: '下一頁',
|
||||
@ -40,7 +33,7 @@ export default {
|
||||
label: '合計:',
|
||||
},
|
||||
vanCoupon: {
|
||||
unlimited: '無使用門檻',
|
||||
unlimited: '無門檻',
|
||||
discount: (discount: number) => `${discount}折`,
|
||||
condition: (condition: number) => `滿${condition}元可用`,
|
||||
},
|
||||
@ -50,10 +43,10 @@ export default {
|
||||
},
|
||||
vanCouponList: {
|
||||
exchange: '兌換',
|
||||
close: '不使用優惠',
|
||||
close: '不使用',
|
||||
enable: '可使用優惠券',
|
||||
disabled: '不可使用優惠券',
|
||||
placeholder: '請輸入優惠碼',
|
||||
placeholder: '輸入優惠碼',
|
||||
},
|
||||
vanAddressEdit: {
|
||||
area: '地區',
|
||||
@ -61,12 +54,9 @@ export default {
|
||||
areaEmpty: '請選擇地區',
|
||||
addressEmpty: '請填寫詳細地址',
|
||||
postalEmpty: '郵政編碼不正確',
|
||||
addressDetail: '詳細地址',
|
||||
defaultAddress: '設為默認收貨地址',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: '詳細地址',
|
||||
placeholder: '街道門牌信息',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '新增地址',
|
||||
},
|
||||
|
@ -8,13 +8,12 @@ export default {
|
||||
loading: '載入中...',
|
||||
noCoupon: '暫無優惠券',
|
||||
nameEmpty: '請填寫姓名',
|
||||
addContact: '建立聯絡人',
|
||||
telInvalid: '請填寫正確的電話',
|
||||
vanCalendar: {
|
||||
end: '結束',
|
||||
start: '開始',
|
||||
title: '日期選擇',
|
||||
confirm: '確定',
|
||||
startEnd: '開始/結束',
|
||||
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||
rangePrompt: (maxRange: number) => `最多選擇 ${maxRange} 天`,
|
||||
@ -22,12 +21,6 @@ export default {
|
||||
vanCascader: {
|
||||
select: '請選擇',
|
||||
},
|
||||
vanContactCard: {
|
||||
addText: '新增聯絡人',
|
||||
},
|
||||
vanContactList: {
|
||||
addText: '建立聯絡人',
|
||||
},
|
||||
vanPagination: {
|
||||
prev: '上一頁',
|
||||
next: '下一頁',
|
||||
@ -40,7 +33,7 @@ export default {
|
||||
label: '合計:',
|
||||
},
|
||||
vanCoupon: {
|
||||
unlimited: '無使用門檻',
|
||||
unlimited: '無門檻',
|
||||
discount: (discount: number) => `${discount}折`,
|
||||
condition: (condition: number) => `滿${condition}元可用`,
|
||||
},
|
||||
@ -50,10 +43,10 @@ export default {
|
||||
},
|
||||
vanCouponList: {
|
||||
exchange: '兌換',
|
||||
close: '不使用優惠',
|
||||
close: '不使用',
|
||||
enable: '可使用優惠券',
|
||||
disabled: '不可使用優惠券',
|
||||
placeholder: '請輸入優惠代碼',
|
||||
placeholder: '輸入優惠代碼',
|
||||
},
|
||||
vanAddressEdit: {
|
||||
area: '地區',
|
||||
@ -61,12 +54,9 @@ export default {
|
||||
areaEmpty: '請選擇地區',
|
||||
addressEmpty: '請填寫詳細地址',
|
||||
postalEmpty: '郵遞區號不正確',
|
||||
addressDetail: '詳細地址',
|
||||
defaultAddress: '設為預設收貨地址',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: '詳細地址',
|
||||
placeholder: '街道門牌資訊',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '新增地址',
|
||||
},
|
||||
|
2
pnpm-lock.yaml
generated
2
pnpm-lock.yaml
generated
@ -54,7 +54,7 @@ importers:
|
||||
'@vant/eslint-config': workspace:*
|
||||
'@vant/icons': ^1.7.1
|
||||
'@vant/popperjs': ^1.1.0
|
||||
'@vant/use': ^1.3.4
|
||||
'@vant/use': ^1.3.5
|
||||
'@vue/runtime-core': ^3.2.27
|
||||
'@vue/test-utils': ^2.0.0-rc.16
|
||||
typescript: ~4.5.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user