feat(Calendar): add locale messages

This commit is contained in:
陈嘉涵 2019-12-25 17:51:28 +08:00 committed by neverland
parent a0308bddaf
commit 779dcf4e54
6 changed files with 38 additions and 1 deletions

View File

@ -2,7 +2,7 @@
### 介绍 ### 介绍
日历组件可以用于选择日期或日期区间,可以与 [弹出层](#/zh-CN/popup)、[单元格](#/zh-CN/cell)、[输入框](#/zh-CN/field) 等组件配合使用 日历组件用于选择日期或日期区间,可以与 [弹出层](#/zh-CN/popup)、[单元格](#/zh-CN/cell)、[输入框](#/zh-CN/field) 等组件配合使用
### 引入 ### 引入

View File

@ -11,6 +11,13 @@ export default {
nameEmpty: 'Please fill in the name', nameEmpty: 'Please fill in the name',
confirmDelete: 'Are you sure you want to delete?', confirmDelete: 'Are you sure you want to delete?',
telInvalid: 'Malformed phone number', telInvalid: 'Malformed phone number',
vanCalendar: {
end: 'End',
start: 'Start',
title: 'Calendar',
weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
monthTitle: (year: number, month: number) => `${year}/${month}`
},
vanContactCard: { vanContactCard: {
addText: 'Add contact info' addText: 'Add contact info'
}, },

View File

@ -11,6 +11,13 @@ export default {
nameEmpty: 'Por favor rellena el nombre', nameEmpty: 'Por favor rellena el nombre',
confirmDelete: 'Estás seguro de eliminarlo?', confirmDelete: 'Estás seguro de eliminarlo?',
telInvalid: 'Teléfono inválido', telInvalid: 'Teléfono inválido',
vanCalendar: {
end: 'Fin',
start: 'Comienzo',
title: 'Calendario',
weekdays: ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sáb'],
monthTitle: (year: number, month: number) => `${year}/${month}`
},
vanContactCard: { vanContactCard: {
addText: 'Añadir información de contacto' addText: 'Añadir información de contacto'
}, },

View File

@ -11,6 +11,13 @@ export default {
nameEmpty: 'Lütfen isim giriniz', nameEmpty: 'Lütfen isim giriniz',
confirmDelete: 'Silmek istediğinize emin misiniz?', confirmDelete: 'Silmek istediğinize emin misiniz?',
telInvalid: 'Geçersiz tel. numarası', telInvalid: 'Geçersiz tel. numarası',
vanCalendar: {
end: 'Son',
start: 'Başlat',
title: 'Takvim',
weekdays: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'],
monthTitle: (year: number, month: number) => `${year}/${month}`
},
vanContactCard: { vanContactCard: {
addText: 'Kişi bilgisi ekle' addText: 'Kişi bilgisi ekle'
}, },

View File

@ -11,6 +11,14 @@ export default {
nameEmpty: '請填寫姓名', nameEmpty: '請填寫姓名',
confirmDelete: '確定要刪除麽', confirmDelete: '確定要刪除麽',
telInvalid: '請填寫正確的電話', telInvalid: '請填寫正確的電話',
vanCalendar: {
end: '結束',
start: '開始',
title: '日期選擇',
confirm: '確定',
weekdays: ['日', '壹', '二', '三', '四', '五', '六'],
monthTitle: (year: number, month: number) => `${year}${month}`
},
vanContactCard: { vanContactCard: {
addText: '添加聯系人' addText: '添加聯系人'
}, },

View File

@ -11,6 +11,14 @@ export default {
nameEmpty: '請填寫姓名', nameEmpty: '請填寫姓名',
confirmDelete: '確定要刪除嗎', confirmDelete: '確定要刪除嗎',
telInvalid: '請填寫正確的電話', telInvalid: '請填寫正確的電話',
vanCalendar: {
end: '結束',
start: '開始',
title: '日期選擇',
confirm: '確定',
weekdays: ['日', '壹', '二', '三', '四', '五', '六'],
monthTitle: (year: number, month: number) => `${year}${month}`
},
vanContactCard: { vanContactCard: {
addText: '新增聯絡人' addText: '新增聯絡人'
}, },