mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
perf(Locale): unify addressDetail words (#10247)
This commit is contained in:
parent
ba0c049f86
commit
ded031b178
@ -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}
|
||||
|
@ -54,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',
|
||||
},
|
||||
|
@ -54,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',
|
||||
},
|
||||
|
@ -54,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',
|
||||
},
|
||||
|
@ -54,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',
|
||||
},
|
||||
|
@ -54,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',
|
||||
},
|
||||
|
@ -14,7 +14,6 @@ export default {
|
||||
end: '終了',
|
||||
start: '開始',
|
||||
title: '日付選択',
|
||||
confirm: '確認',
|
||||
weekdays: ['日', '月', '火', '水', '木', '金', '土'],
|
||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||
rangePrompt: (maxRange: number) => `${maxRange}日まで選択`,
|
||||
@ -55,12 +54,9 @@ export default {
|
||||
areaEmpty: '地域を選択してください',
|
||||
addressEmpty: '詳しい住所を入力してください',
|
||||
postalEmpty: '間違った郵便番号',
|
||||
addressDetail: '詳しい住所',
|
||||
defaultAddress: 'デフォルトの住所に設定',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: '詳しい住所',
|
||||
placeholder: '番地、階の部屋番号など',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '住所を追加',
|
||||
},
|
||||
|
@ -62,12 +62,9 @@ export default {
|
||||
areaEmpty: '접수지역을 선택해주세요',
|
||||
addressEmpty: '주소는 비워둘 수 없습니다',
|
||||
postalEmpty: '잘못된 우편번호',
|
||||
addressDetail: '주소',
|
||||
defaultAddress: '기본 주소로 설정',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: '주소',
|
||||
placeholder: '주소',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '새 주소 추가',
|
||||
},
|
||||
|
@ -54,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',
|
||||
},
|
||||
|
@ -54,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',
|
||||
},
|
||||
|
@ -54,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ă',
|
||||
},
|
||||
|
@ -54,12 +54,9 @@ export default {
|
||||
areaEmpty: 'Укажите зону доставки',
|
||||
addressEmpty: 'Адрес не может быть пустым',
|
||||
postalEmpty: 'Некорректный индекс',
|
||||
addressDetail: 'Адрес',
|
||||
defaultAddress: 'Сделать адресом по умолчанию',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'Адрес',
|
||||
placeholder: 'Адрес',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'Новый адрес',
|
||||
},
|
||||
|
@ -14,7 +14,6 @@ export default {
|
||||
end: 'จบ',
|
||||
start: 'เริ่ม',
|
||||
title: 'การเลือกวันที่',
|
||||
confirm: 'ตกลง',
|
||||
weekdays: ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'],
|
||||
monthTitle: (year: number, month: number) => `${year}ปี${month}เดือน`,
|
||||
rangePrompt: (maxRange: number) =>
|
||||
@ -56,12 +55,9 @@ export default {
|
||||
areaEmpty: 'โปรดเลือกภูมิภาค',
|
||||
addressEmpty: 'กรุณากรอกที่อยู่โดยละเอียด',
|
||||
postalEmpty: 'รูปแบบรหัสไปรษณีย์ไม่ถูกต้อง',
|
||||
addressDetail: 'ที่อยู่',
|
||||
defaultAddress: 'ตั้งเป็นที่อยู่จัดส่งเริ่มต้น',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: 'ที่อยู่',
|
||||
placeholder: 'เลขที่บ้านเลขที่ห้องชั้นและข้อมูลอื่น ๆ',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: 'เพิ่มที่อยู่',
|
||||
},
|
||||
|
@ -54,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',
|
||||
},
|
||||
|
@ -14,7 +14,6 @@ export default {
|
||||
end: '结束',
|
||||
start: '开始',
|
||||
title: '日期选择',
|
||||
confirm: '确定',
|
||||
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||
rangePrompt: (maxRange: number) => `最多选择 ${maxRange} 天`,
|
||||
@ -47,7 +46,7 @@ export default {
|
||||
close: '不使用',
|
||||
enable: '可用',
|
||||
disabled: '不可用',
|
||||
placeholder: '请输入优惠码',
|
||||
placeholder: '输入优惠码',
|
||||
},
|
||||
vanAddressEdit: {
|
||||
area: '地区',
|
||||
@ -55,12 +54,9 @@ export default {
|
||||
areaEmpty: '请选择地区',
|
||||
addressEmpty: '请填写详细地址',
|
||||
postalEmpty: '邮政编码不正确',
|
||||
addressDetail: '详细地址',
|
||||
defaultAddress: '设为默认收货地址',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: '详细地址',
|
||||
placeholder: '街道门牌信息',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '新增地址',
|
||||
},
|
||||
|
@ -14,7 +14,6 @@ export default {
|
||||
end: '結束',
|
||||
start: '開始',
|
||||
title: '日期選擇',
|
||||
confirm: '確定',
|
||||
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||
rangePrompt: (maxRange: number) => `最多選擇 ${maxRange} 天`,
|
||||
@ -47,7 +46,7 @@ export default {
|
||||
close: '不使用',
|
||||
enable: '可使用優惠券',
|
||||
disabled: '不可使用優惠券',
|
||||
placeholder: '請輸入優惠碼',
|
||||
placeholder: '輸入優惠碼',
|
||||
},
|
||||
vanAddressEdit: {
|
||||
area: '地區',
|
||||
@ -55,12 +54,9 @@ export default {
|
||||
areaEmpty: '請選擇地區',
|
||||
addressEmpty: '請填寫詳細地址',
|
||||
postalEmpty: '郵政編碼不正確',
|
||||
addressDetail: '詳細地址',
|
||||
defaultAddress: '設為默認收貨地址',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: '詳細地址',
|
||||
placeholder: '街道門牌信息',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '新增地址',
|
||||
},
|
||||
|
@ -14,7 +14,6 @@ export default {
|
||||
end: '結束',
|
||||
start: '開始',
|
||||
title: '日期選擇',
|
||||
confirm: '確定',
|
||||
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
||||
monthTitle: (year: number, month: number) => `${year}年${month}月`,
|
||||
rangePrompt: (maxRange: number) => `最多選擇 ${maxRange} 天`,
|
||||
@ -47,7 +46,7 @@ export default {
|
||||
close: '不使用',
|
||||
enable: '可使用優惠券',
|
||||
disabled: '不可使用優惠券',
|
||||
placeholder: '請輸入優惠代碼',
|
||||
placeholder: '輸入優惠代碼',
|
||||
},
|
||||
vanAddressEdit: {
|
||||
area: '地區',
|
||||
@ -55,12 +54,9 @@ export default {
|
||||
areaEmpty: '請選擇地區',
|
||||
addressEmpty: '請填寫詳細地址',
|
||||
postalEmpty: '郵遞區號不正確',
|
||||
addressDetail: '詳細地址',
|
||||
defaultAddress: '設為預設收貨地址',
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: '詳細地址',
|
||||
placeholder: '街道門牌資訊',
|
||||
},
|
||||
vanAddressList: {
|
||||
add: '新增地址',
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user