perf(Locale): unify addContact words (#10245)

This commit is contained in:
neverland 2022-01-26 11:02:21 +08:00 committed by GitHub
parent bc2e2cb142
commit 1aff89a8ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 21 additions and 101 deletions

View File

@ -32,7 +32,7 @@ export default defineComponent({
const renderContent = () => {
if (props.type === 'add') {
return props.addText || t('addText');
return props.addText || t('addContact');
}
return [

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -8,6 +8,7 @@ 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',
@ -20,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',

View File

@ -8,6 +8,7 @@ export default {
loading: 'Laden...',
noCoupon: 'Keine Coupons',
nameEmpty: 'Bitte den Name angeben',
addContact: 'Neuen Kontakt hinzufügen',
telInvalid: 'Ungültige Telefonnummer',
vanCalendar: {
end: 'Ende',
@ -20,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',

View File

@ -8,6 +8,7 @@ export default {
loading: 'Loading...',
noCoupon: 'No coupons',
nameEmpty: 'Please fill in the name',
addContact: 'Add contact',
telInvalid: 'Malformed phone number',
vanCalendar: {
end: 'End',
@ -20,12 +21,6 @@ export default {
vanCascader: {
select: 'Select',
},
vanContactCard: {
addText: 'Add contact info',
},
vanContactList: {
addText: 'Add new contact',
},
vanPagination: {
prev: 'Previous',
next: 'Next',

View File

@ -8,6 +8,7 @@ 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',
@ -20,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',

View File

@ -8,6 +8,7 @@ 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',
@ -20,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',

View File

@ -8,6 +8,7 @@ export default {
loading: '読み込み中...',
noCoupon: 'クーポンはありません',
nameEmpty: '名前を入力してください',
addContact: '連絡先を追加',
telInvalid: '正しい電話番号を入力してください',
vanCalendar: {
end: '終了',
@ -21,12 +22,6 @@ export default {
vanCascader: {
select: '選択する',
},
vanContactCard: {
addText: '連絡先を追加',
},
vanContactList: {
addText: '新しい連絡先を追加',
},
vanPagination: {
prev: '前のページ',
next: '次のページ',

View File

@ -8,6 +8,7 @@ export default {
loading: '로딩 중...',
noCoupon: '쿠폰 없음',
nameEmpty: '이름을 기입해주세요',
addContact: '새 연락처 추가',
telInvalid: '잘못된 전화번호',
vanCalendar: {
end: '끝',
@ -28,12 +29,6 @@ export default {
vanCascader: {
select: '선택하다',
},
vanContactCard: {
addText: '연락처 정보 추가',
},
vanContactList: {
addText: '새 연락처 추가',
},
vanPagination: {
prev: '이전의',
next: '다음',

View File

@ -8,6 +8,7 @@ export default {
loading: 'Laster...',
noCoupon: 'Ingen kuponger',
nameEmpty: 'Vennligst fyll inn navn',
addContact: 'Legg til ny kontakt',
telInvalid: 'Ugyldig telefonnummer',
vanCalendar: {
end: 'Slutt',
@ -20,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',

View File

@ -8,6 +8,7 @@ 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',
@ -20,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',

View File

@ -8,6 +8,7 @@ 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',
@ -20,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',

View File

@ -8,6 +8,7 @@ export default {
loading: 'Загрузка...',
noCoupon: 'Нет купонов',
nameEmpty: 'Пожалуйста укажите имя',
addContact: 'Создать контакт',
telInvalid: 'Некорректный номер телефона',
vanCalendar: {
end: 'Конец',
@ -20,12 +21,6 @@ export default {
vanCascader: {
select: 'Выбрать',
},
vanContactCard: {
addText: 'Добавить информацию',
},
vanContactList: {
addText: 'Создать контакт',
},
vanPagination: {
prev: 'Назад',
next: 'Вперед',

View File

@ -8,6 +8,7 @@ export default {
loading: 'กำลังโหลด...',
noCoupon: 'ไม่มีคูปอง',
nameEmpty: 'กรุณากรอกชื่อของคุณ',
addContact: 'เพิ่มผู้ติดต่อ',
telInvalid: 'กรุณากรอกหมายเลขโทรศัพท์ที่ถูกต้อง',
vanCalendar: {
end: 'จบ',
@ -22,12 +23,6 @@ export default {
vanCascader: {
select: 'โปรดเลือก',
},
vanContactCard: {
addText: 'เพิ่มผู้ติดต่อ',
},
vanContactList: {
addText: 'รายชื่อติดต่อใหม่',
},
vanPagination: {
prev: 'หน้าที่แล้ว',
next: 'หน้าต่อไป',

View File

@ -8,6 +8,7 @@ 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',
@ -20,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',

View File

@ -8,6 +8,7 @@ export default {
loading: '加载中...',
noCoupon: '暂无优惠券',
nameEmpty: '请填写姓名',
addContact: '添加联系人',
telInvalid: '请填写正确的电话',
vanCalendar: {
end: '结束',
@ -21,12 +22,6 @@ export default {
vanCascader: {
select: '请选择',
},
vanContactCard: {
addText: '添加联系人',
},
vanContactList: {
addText: '新建联系人',
},
vanPagination: {
prev: '上一页',
next: '下一页',

View File

@ -8,6 +8,7 @@ export default {
loading: '加載中...',
noCoupon: '暫無優惠券',
nameEmpty: '請填寫姓名',
addContact: '添加聯系人',
telInvalid: '請填寫正確的電話',
vanCalendar: {
end: '結束',
@ -21,12 +22,6 @@ export default {
vanCascader: {
select: '請選擇',
},
vanContactCard: {
addText: '添加聯系人',
},
vanContactList: {
addText: '新建聯系人',
},
vanPagination: {
prev: '上一頁',
next: '下一頁',

View File

@ -8,6 +8,7 @@ export default {
loading: '載入中...',
noCoupon: '暫無優惠券',
nameEmpty: '請填寫姓名',
addContact: '建立聯絡人',
telInvalid: '請填寫正確的電話',
vanCalendar: {
end: '結束',
@ -21,12 +22,6 @@ export default {
vanCascader: {
select: '請選擇',
},
vanContactCard: {
addText: '新增聯絡人',
},
vanContactList: {
addText: '建立聯絡人',
},
vanPagination: {
prev: '上一頁',
next: '下一頁',