更新:登录功能
This commit is contained in:
41
uni_modules/wot-design-uni/locale/index.ts
Normal file
41
uni_modules/wot-design-uni/locale/index.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* @Author: weisheng
|
||||
* @Date: 2024-01-25 23:06:48
|
||||
* @LastEditTime: 2024-03-30 11:30:55
|
||||
* @LastEditors: weisheng
|
||||
* @Description:
|
||||
* @FilePath: /wot-design-uni/src/uni_modules/wot-design-uni/locale/index.ts
|
||||
* 记得注释
|
||||
*/
|
||||
import { reactive, ref } from 'vue'
|
||||
import zhCN from './lang/zh-CN'
|
||||
import { deepAssign } from '../components/common/util'
|
||||
|
||||
type Message = Record<string, any>
|
||||
type Messages = Record<string, Message>
|
||||
|
||||
const lang = ref<string>('zh-CN')
|
||||
const messages = reactive<Messages>({
|
||||
'zh-CN': zhCN
|
||||
})
|
||||
|
||||
export const Locale = {
|
||||
messages(): Message {
|
||||
return messages[lang.value]
|
||||
},
|
||||
|
||||
use(newLang: string, newMessage?: Message) {
|
||||
lang.value = newLang
|
||||
if (newMessage) {
|
||||
this.add({ [newLang]: newMessage })
|
||||
}
|
||||
},
|
||||
|
||||
add(newMessages: Messages = {}) {
|
||||
deepAssign(messages, newMessages)
|
||||
}
|
||||
}
|
||||
|
||||
export const useCurrentLang = () => lang
|
||||
|
||||
export default Locale
|
||||
133
uni_modules/wot-design-uni/locale/lang/ar-SA.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/ar-SA.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'حدد التاريخ',
|
||||
title: 'حدد التاريخ',
|
||||
day: 'يوم',
|
||||
week: 'أسبوع',
|
||||
month: 'شهر',
|
||||
confirm: 'تأكيد',
|
||||
startTime: 'وقت البداية',
|
||||
endTime: 'وقت النهاية',
|
||||
to: 'إلى',
|
||||
timeFormat: 'YY-MM-DD HH:mm:ss',
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
weekFormat: (year: number, week: number) => `${year} الأسبوع ${week}`,
|
||||
startWeek: 'بداية الأسبوع',
|
||||
endWeek: 'نهاية الأسبوع',
|
||||
startMonth: 'بداية الشهر',
|
||||
endMonth: 'نهاية الشهر',
|
||||
monthFormat: 'YYYY-MM'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'وقت البداية',
|
||||
endTime: 'وقت النهاية',
|
||||
weeks: {
|
||||
sun: 'الأحد',
|
||||
mon: 'الاثنين',
|
||||
tue: 'الثلاثاء',
|
||||
wed: 'الأربعاء',
|
||||
thu: 'الخميس',
|
||||
fri: 'الجمعة',
|
||||
sat: 'السبت'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `لا يمكن أن تزيد الأيام المحددة عن ${maxRange} يوم`,
|
||||
rangePromptWeek: (maxRange: number) => `لا يمكن أن تزيد الأسابيع المحددة عن ${maxRange} أسبوع`,
|
||||
rangePromptMonth: (maxRange: number) => `لا يمكن أن تزيد الشهور المحددة عن ${maxRange} شهر`,
|
||||
monthTitle: 'YYYY-MM',
|
||||
yearTitle: 'YYYY',
|
||||
month: 'MM',
|
||||
hour: (value: number) => `${value} ساعة`,
|
||||
minute: (value: number) => `${value} دقيقة`,
|
||||
second: (value: number) => `${value} ثانية`
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'من',
|
||||
end: 'إلى',
|
||||
to: 'إلى',
|
||||
placeholder: 'حدد التاريخ والوقت',
|
||||
confirm: 'تأكيد',
|
||||
cancel: 'إلغاء'
|
||||
},
|
||||
collapse: {
|
||||
expand: 'توسيع',
|
||||
retract: 'طي'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'حدد لون',
|
||||
placeholder: 'حدد لون',
|
||||
select: 'حدد'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'جارٍ التحميل...',
|
||||
finished: 'التحميل قد انتهى',
|
||||
error: 'فشل التحميل...',
|
||||
retry: 'إعادة المحاولة'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'تأكيد',
|
||||
cancel: 'إلغاء'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'الرجاء إدخال المعلومات',
|
||||
confirm: 'تأكيد',
|
||||
cancel: 'إلغاء',
|
||||
inputNoValidate: 'الرجاء التأكد من إدخال المعلومات الصحيحة'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: 'إنهاء'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'السابق',
|
||||
next: 'التالي',
|
||||
page: (value: number) => `صفحة: ${value}`,
|
||||
total: (total: number) => `المجموع: ${total}`,
|
||||
size: (size: number) => `${size} / صفحة`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'إلغاء',
|
||||
done: 'إنهاء',
|
||||
placeholder: 'حدد'
|
||||
},
|
||||
search: {
|
||||
search: 'بحث',
|
||||
cancel: 'إلغاء'
|
||||
},
|
||||
steps: {
|
||||
wait: 'لم يبدأ',
|
||||
finished: 'تم',
|
||||
process: 'جاري',
|
||||
failed: 'فشل'
|
||||
},
|
||||
tabs: {
|
||||
all: 'الجميع'
|
||||
},
|
||||
upload: {
|
||||
error: 'فشل التحميل'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'الرجاء إدخال المعلومات...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'حدد',
|
||||
placeholder: 'حدد',
|
||||
select: 'حدد',
|
||||
confirm: 'تأكيد',
|
||||
filterPlaceholder: 'بحث'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'إدخال',
|
||||
add: 'إضافة وسم'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'الرجاء إدخال نص متعدد الأسطر هنا...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: 'فهرس'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'تأكيد',
|
||||
clearText: 'مسح',
|
||||
revokeText: 'تراجع',
|
||||
restoreText: 'استعادة'
|
||||
}
|
||||
}
|
||||
133
uni_modules/wot-design-uni/locale/lang/de-DE.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/de-DE.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'Wählen Sie',
|
||||
title: 'Datum auswählen',
|
||||
day: 'Tag',
|
||||
week: 'Woche',
|
||||
month: 'Monat',
|
||||
confirm: 'Bestätigen',
|
||||
startTime: 'Startdatum',
|
||||
endTime: 'Enddatum',
|
||||
to: 'bis',
|
||||
timeFormat: 'YY-MM-DD HH:mm:ss',
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
weekFormat: (year: number, week: number) => `Woche ${week} ${year}`,
|
||||
startWeek: 'Startwoche',
|
||||
endWeek: 'Endwoche',
|
||||
startMonth: 'Startmonat',
|
||||
endMonth: 'Endmonat',
|
||||
monthFormat: 'YYYY-MM'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'Startzeit',
|
||||
endTime: 'Endzeit',
|
||||
weeks: {
|
||||
sun: 'So',
|
||||
mon: 'Mo',
|
||||
tue: 'Di',
|
||||
wed: 'Mi',
|
||||
thu: 'Do',
|
||||
fri: 'Fr',
|
||||
sat: 'Sa'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `Die Anzahl der ausgewählte Tage darf ${maxRange} Tage nicht überschreiten`,
|
||||
rangePromptWeek: (maxRange: number) => `Die Anzahl der ausgewählte Wochen darf ${maxRange} Wochen nicht überschreiten`,
|
||||
rangePromptMonth: (maxRange: number) => `Die Anzahl der ausgewählte Monate darf ${maxRange} Monate nicht überschreiten`,
|
||||
monthTitle: 'YYYY-MM',
|
||||
yearTitle: 'YYYY',
|
||||
month: 'MM',
|
||||
hour: (value: number) => `${value} Stunde`,
|
||||
minute: (value: number) => `${value} Minute`,
|
||||
second: (value: number) => `${value} Sekunde`
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'Von',
|
||||
end: 'Bis',
|
||||
to: 'bis',
|
||||
placeholder: 'Wählen Sie',
|
||||
confirm: 'Bestätigen',
|
||||
cancel: 'Abbrechen'
|
||||
},
|
||||
collapse: {
|
||||
expand: 'Expandieren',
|
||||
retract: 'Falten'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'Wählen',
|
||||
placeholder: 'Wählen',
|
||||
select: 'Wählen'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'Laden...',
|
||||
finished: 'Das Laden ist abgeschlossen',
|
||||
error: 'Laden fehlgeschlagen...',
|
||||
retry: 'Aktualisieren'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'OK',
|
||||
cancel: 'Stornieren'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'Bitte geben Sie Informationen ein',
|
||||
confirm: 'OK',
|
||||
cancel: 'Stornieren',
|
||||
inputNoValidate: 'Bitte geben Sie gültige Informationen ein'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: 'OK'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'Vorherige',
|
||||
next: 'Nächste',
|
||||
page: (value: number) => `Seite: ${value}`,
|
||||
total: (total: number) => `Gesamt: ${total}`,
|
||||
size: (size: number) => `${size}/Seite`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'Stornieren',
|
||||
done: 'OK',
|
||||
placeholder: 'Wählen'
|
||||
},
|
||||
search: {
|
||||
search: 'Suchen',
|
||||
cancel: 'Stornieren'
|
||||
},
|
||||
steps: {
|
||||
wait: 'Nicht gestartet',
|
||||
finished: 'Abgelaufen',
|
||||
process: 'Im Gange',
|
||||
failed: 'Fehlgeschlagen'
|
||||
},
|
||||
tabs: {
|
||||
all: 'Alle'
|
||||
},
|
||||
upload: {
|
||||
error: 'Hochladen fehlgeschlagen'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'Bitte geben Sie Informationen ein...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'Auswählen',
|
||||
placeholder: 'Wählen Sie',
|
||||
select: 'Auswählen',
|
||||
confirm: 'Bestätigen',
|
||||
filterPlaceholder: 'Suchen'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'Eingeben',
|
||||
add: 'Tag hinzufügen'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'Bitte geben Sie Informationen ein...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: 'Index'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'Bestätigen',
|
||||
clearText: 'Löschen',
|
||||
revokeText: 'Rückgängig machen',
|
||||
restoreText: 'Wiederherstellen'
|
||||
}
|
||||
}
|
||||
133
uni_modules/wot-design-uni/locale/lang/en-US.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/en-US.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'Select',
|
||||
title: 'Select Date',
|
||||
day: 'Date',
|
||||
week: 'Week',
|
||||
month: 'Month',
|
||||
confirm: 'OK',
|
||||
startTime: 'Start Date',
|
||||
endTime: 'End Date',
|
||||
to: 'To',
|
||||
timeFormat: 'YY-MM-DD HH:mm:ss',
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
weekFormat: (year: number, week: number) => `${year} W${week}`,
|
||||
startWeek: 'Start Week',
|
||||
endWeek: 'End Week',
|
||||
startMonth: 'Start Month',
|
||||
endMonth: 'End Month',
|
||||
monthFormat: 'YYYY-MM'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'Start Time',
|
||||
endTime: 'End Time',
|
||||
weeks: {
|
||||
sun: 'Sun',
|
||||
mon: 'Mon',
|
||||
tue: 'Tue',
|
||||
wed: 'Wed',
|
||||
thu: 'Thu',
|
||||
fri: 'Fri',
|
||||
sat: 'Sat'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `The number of selected days cannot exceed ${maxRange} days`,
|
||||
rangePromptWeek: (maxRange: number) => `The number of weeks selected cannot exceed ${maxRange} weeks`,
|
||||
rangePromptMonth: (maxRange: number) => `The selected month cannot exceed ${maxRange} months`,
|
||||
monthTitle: 'YYYY-MM',
|
||||
yearTitle: 'YYYY',
|
||||
month: 'MM',
|
||||
hour: (value: number) => `${value}`,
|
||||
minute: (value: number) => `${value}`,
|
||||
second: (value: number) => `${value}`
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'From',
|
||||
end: 'To',
|
||||
to: 'To',
|
||||
placeholder: 'Select',
|
||||
confirm: 'OK',
|
||||
cancel: 'Cancel'
|
||||
},
|
||||
collapse: {
|
||||
expand: 'Expand',
|
||||
retract: 'Fold'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'Select',
|
||||
placeholder: 'Select',
|
||||
select: 'Select'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'Loading...',
|
||||
finished: 'Finished loading',
|
||||
error: 'Failed to load...',
|
||||
retry: 'Refresh'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'OK',
|
||||
cancel: 'Cancel'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'Please input information',
|
||||
confirm: 'OK',
|
||||
cancel: 'Cancel',
|
||||
inputNoValidate: 'Please ensure you input correct information'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: 'done'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'Previous',
|
||||
next: 'Next',
|
||||
page: (value: number) => `Page: ${value}`,
|
||||
total: (total: number) => `Total: ${total}`,
|
||||
size: (size: number) => `${size}/page`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'Cancel',
|
||||
done: 'Done',
|
||||
placeholder: 'Select'
|
||||
},
|
||||
search: {
|
||||
search: 'Search',
|
||||
cancel: 'Cancel'
|
||||
},
|
||||
steps: {
|
||||
wait: 'Not Started',
|
||||
finished: 'Expired',
|
||||
process: 'In Progress',
|
||||
failed: 'Failed'
|
||||
},
|
||||
tabs: {
|
||||
all: 'All'
|
||||
},
|
||||
upload: {
|
||||
error: 'Failed to upload'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'Please input information...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'Select',
|
||||
placeholder: 'Select',
|
||||
select: 'Select',
|
||||
confirm: 'Ok',
|
||||
filterPlaceholder: 'Search'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'Enter',
|
||||
add: 'Add Tag'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'Please input information...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: 'index'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'OK',
|
||||
clearText: 'Clear',
|
||||
revokeText: 'Undo',
|
||||
restoreText: 'Restore'
|
||||
}
|
||||
}
|
||||
133
uni_modules/wot-design-uni/locale/lang/es-ES.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/es-ES.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'Seleccionar',
|
||||
title: 'Seleccionar Fecha',
|
||||
day: 'Día',
|
||||
week: 'Semana',
|
||||
month: 'Mes',
|
||||
confirm: 'Confirmar',
|
||||
startTime: 'Hora de Inicio',
|
||||
endTime: 'Hora de Fin',
|
||||
to: 'a',
|
||||
timeFormat: 'YY-MM-DD HH:mm:ss',
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
weekFormat: (year: number, week: number) => `Semana ${week}, ${year}`,
|
||||
startWeek: 'Inicio de Semana',
|
||||
endWeek: 'Fin de Semana',
|
||||
startMonth: 'Inicio de Mes',
|
||||
endMonth: 'Fin de Mes',
|
||||
monthFormat: 'YYYY-MM'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'Inicio',
|
||||
endTime: 'Fin',
|
||||
weeks: {
|
||||
sun: 'Dom',
|
||||
mon: 'Lun',
|
||||
tue: 'Mar',
|
||||
wed: 'Mié',
|
||||
thu: 'Jue',
|
||||
fri: 'Vie',
|
||||
sat: 'Sáb'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `No se puede seleccionar más de ${maxRange} días`,
|
||||
rangePromptWeek: (maxRange: number) => `No se puede seleccionar más de ${maxRange} semanas`,
|
||||
rangePromptMonth: (maxRange: number) => `No se puede seleccionar más de ${maxRange} meses`,
|
||||
monthTitle: 'YYYY-MM',
|
||||
yearTitle: 'YYYY',
|
||||
month: 'MM',
|
||||
hour: (value: number) => `${value}h`,
|
||||
minute: (value: number) => `${value}min`,
|
||||
second: (value: number) => `${value}seg`
|
||||
},
|
||||
collapse: {
|
||||
expand: 'Expandir',
|
||||
retract: 'Contraer'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'Seleccionar',
|
||||
placeholder: 'Seleccionar',
|
||||
select: 'Seleccionar'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'Inicio',
|
||||
end: 'Fin',
|
||||
to: 'a',
|
||||
placeholder: 'Seleccionar',
|
||||
confirm: 'Confirmar',
|
||||
cancel: 'Cancelar'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'Cargando...',
|
||||
finished: 'Carga Completa',
|
||||
error: 'Error al Cargar',
|
||||
retry: 'Reintentar'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'Por favor ingrese información',
|
||||
confirm: 'Confirmar',
|
||||
cancel: 'Cancelar',
|
||||
inputNoValidate: 'Por favor ingrese información válida'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: 'Confirmar'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'Anterior',
|
||||
next: 'Siguiente',
|
||||
page: (value: number) => `Página: ${value}`,
|
||||
total: (total: number) => `Total: ${total}`,
|
||||
size: (size: number) => `${size}/Página`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'Cancelar',
|
||||
done: 'Hecho',
|
||||
placeholder: 'Seleccionar'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'Confirmar',
|
||||
cancel: 'Cancelar'
|
||||
},
|
||||
search: {
|
||||
search: 'Buscar',
|
||||
cancel: 'Cancelar'
|
||||
},
|
||||
steps: {
|
||||
wait: 'Pendiente',
|
||||
finished: 'Completado',
|
||||
process: 'En Proceso',
|
||||
failed: 'Fallido'
|
||||
},
|
||||
tabs: {
|
||||
all: 'Todos'
|
||||
},
|
||||
upload: {
|
||||
error: 'Error al Subir'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'Por favor ingrese información...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'Seleccionar',
|
||||
placeholder: 'Seleccionar',
|
||||
select: 'Seleccionar',
|
||||
confirm: 'Confirmar',
|
||||
filterPlaceholder: 'Buscar'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'Ingresar',
|
||||
add: 'Agregar Etiqueta'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'Por favor ingrese información...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: 'Índice'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'Confirmar',
|
||||
clearText: 'Limpiar',
|
||||
revokeText: 'Deshacer',
|
||||
restoreText: 'Restaurar'
|
||||
}
|
||||
}
|
||||
133
uni_modules/wot-design-uni/locale/lang/fr-FR.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/fr-FR.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'Sélectionner',
|
||||
title: 'Sélectionner une date',
|
||||
day: 'Jour',
|
||||
week: 'Semaine',
|
||||
month: 'Mois',
|
||||
confirm: 'Confirmer',
|
||||
startTime: 'Heure de début',
|
||||
endTime: 'Heure de fin',
|
||||
to: 'à',
|
||||
timeFormat: 'YY-MM-DD HH:mm:ss',
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
weekFormat: (year: number, week: number) => `Semaine ${week}, ${year}`,
|
||||
startWeek: 'Début de la semaine',
|
||||
endWeek: 'Fin de la semaine',
|
||||
startMonth: 'Début du mois',
|
||||
endMonth: 'Fin du mois',
|
||||
monthFormat: 'YYYY-MM'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'Début',
|
||||
endTime: 'Fin',
|
||||
weeks: {
|
||||
sun: 'Dim',
|
||||
mon: 'Lun',
|
||||
tue: 'Mar',
|
||||
wed: 'Mer',
|
||||
thu: 'Jeu',
|
||||
fri: 'Ven',
|
||||
sat: 'Sam'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `La sélection de jours ne peut pas dépasser ${maxRange} jours`,
|
||||
rangePromptWeek: (maxRange: number) => `La sélection de semaines ne peut pas dépasser ${maxRange} semaines`,
|
||||
rangePromptMonth: (maxRange: number) => `La sélection de mois ne peut pas dépasser ${maxRange} mois`,
|
||||
monthTitle: 'YYYY-MM',
|
||||
yearTitle: 'YYYY',
|
||||
month: 'MM',
|
||||
hour: (value: number) => `${value}h`,
|
||||
minute: (value: number) => `${value}min`,
|
||||
second: (value: number) => `${value}sec`
|
||||
},
|
||||
collapse: {
|
||||
expand: 'Développer',
|
||||
retract: 'Réduire'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'Sélectionner',
|
||||
placeholder: 'Sélectionner',
|
||||
select: 'Sélectionner'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'Début',
|
||||
end: 'Fin',
|
||||
to: 'à',
|
||||
placeholder: 'Sélectionner',
|
||||
confirm: 'Confirmer',
|
||||
cancel: 'Annuler'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'Chargement en cours...',
|
||||
finished: 'Chargement terminé',
|
||||
error: 'Échec du chargement',
|
||||
retry: 'Réessayer'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'Veuillez entrer des informations',
|
||||
confirm: 'Confirmer',
|
||||
cancel: 'Annuler',
|
||||
inputNoValidate: 'Veuillez entrer des informations valides'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: 'Confirmer'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'Précédent',
|
||||
next: 'Suivant',
|
||||
page: (value: number) => `Page: ${value}`,
|
||||
total: (total: number) => `Total: ${total}`,
|
||||
size: (size: number) => `${size}/Page`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'Annuler',
|
||||
done: 'Terminé',
|
||||
placeholder: 'Sélectionner'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'Confirmer',
|
||||
cancel: 'Annuler'
|
||||
},
|
||||
search: {
|
||||
search: 'Rechercher',
|
||||
cancel: 'Annuler'
|
||||
},
|
||||
steps: {
|
||||
wait: 'En attente',
|
||||
finished: 'Terminé',
|
||||
process: 'En cours',
|
||||
failed: 'Échec'
|
||||
},
|
||||
tabs: {
|
||||
all: 'Tous'
|
||||
},
|
||||
upload: {
|
||||
error: 'Échec du téléchargement'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'Veuillez entrer des informations...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'Sélectionner',
|
||||
placeholder: 'Sélectionner',
|
||||
select: 'Sélectionner',
|
||||
confirm: 'Confirmer',
|
||||
filterPlaceholder: 'Rechercher'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'Entrer',
|
||||
add: 'Ajouter une étiquette'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'Veuillez entrer des informations...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: 'Indice'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'Signer',
|
||||
clearText: 'Effacer',
|
||||
revokeText: 'Annuler',
|
||||
restoreText: 'Restaurer'
|
||||
}
|
||||
}
|
||||
133
uni_modules/wot-design-uni/locale/lang/ja-JP.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/ja-JP.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: '選択してください',
|
||||
title: '日付を選択',
|
||||
day: '日',
|
||||
week: '週',
|
||||
month: '月',
|
||||
confirm: '確認',
|
||||
startTime: '開始時間',
|
||||
endTime: '終了時間',
|
||||
to: '〜',
|
||||
timeFormat: 'YY年MM月DD日 HH:mm:ss',
|
||||
dateFormat: 'YYYY年MM月DD日',
|
||||
weekFormat: (year: number, week: number) => `${year}年 第${week}週`,
|
||||
startWeek: '開始週',
|
||||
endWeek: '終了週',
|
||||
startMonth: '開始月',
|
||||
endMonth: '終了月',
|
||||
monthFormat: 'YYYY年MM月'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: '開始',
|
||||
endTime: '終了',
|
||||
weeks: {
|
||||
sun: '日',
|
||||
mon: '月',
|
||||
tue: '火',
|
||||
wed: '水',
|
||||
thu: '木',
|
||||
fri: '金',
|
||||
sat: '土'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `選択できる日数は最大${maxRange}日です`,
|
||||
rangePromptWeek: (maxRange: number) => `選択できる週数は最大${maxRange}週です`,
|
||||
rangePromptMonth: (maxRange: number) => `選択できる月数は最大${maxRange}ヶ月です`,
|
||||
monthTitle: 'YYYY年MM月',
|
||||
yearTitle: 'YYYY年',
|
||||
month: 'MM月',
|
||||
hour: (value: number) => `${value}時`,
|
||||
minute: (value: number) => `${value}分`,
|
||||
second: (value: number) => `${value}秒`
|
||||
},
|
||||
collapse: {
|
||||
expand: '展開',
|
||||
retract: '折りたたむ'
|
||||
},
|
||||
colPicker: {
|
||||
title: '選択してください',
|
||||
placeholder: '選択してください',
|
||||
select: '選択'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: '開始時間',
|
||||
end: '終了時間',
|
||||
to: '〜',
|
||||
placeholder: '選択してください',
|
||||
confirm: '完了',
|
||||
cancel: 'キャンセル'
|
||||
},
|
||||
loadmore: {
|
||||
loading: '読み込み中...',
|
||||
finished: '読み込み完了',
|
||||
error: '読み込みエラー',
|
||||
retry: '再試行'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: '入力してください',
|
||||
confirm: '確認',
|
||||
cancel: 'キャンセル',
|
||||
inputNoValidate: '無効なデータが入力されました'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: '完了'
|
||||
},
|
||||
pagination: {
|
||||
prev: '前へ',
|
||||
next: '次へ',
|
||||
page: (value: number) => `ページ: ${value}`,
|
||||
total: (total: number) => `合計: ${total}`,
|
||||
size: (size: number) => `ページサイズ: ${size}`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'キャンセル',
|
||||
done: '完了',
|
||||
placeholder: '選択してください'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: '完了',
|
||||
cancel: 'キャンセル'
|
||||
},
|
||||
search: {
|
||||
search: '検索',
|
||||
cancel: 'キャンセル'
|
||||
},
|
||||
steps: {
|
||||
wait: '未開始',
|
||||
finished: '完了',
|
||||
process: '進行中',
|
||||
failed: '失敗'
|
||||
},
|
||||
tabs: {
|
||||
all: 'すべて'
|
||||
},
|
||||
upload: {
|
||||
error: 'アップロードエラー'
|
||||
},
|
||||
input: {
|
||||
placeholder: '入力してください...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: '選択してください',
|
||||
placeholder: '選択してください',
|
||||
select: '選択',
|
||||
confirm: '確認',
|
||||
filterPlaceholder: '検索'
|
||||
},
|
||||
tag: {
|
||||
placeholder: '入力してください',
|
||||
add: 'タグを追加'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: '入力してください...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: '索引'
|
||||
},
|
||||
signature: {
|
||||
confirmText: '確認',
|
||||
clearText: 'クリア',
|
||||
revokeText: '元に戻す',
|
||||
restoreText: '復元'
|
||||
}
|
||||
}
|
||||
133
uni_modules/wot-design-uni/locale/lang/ko-KR.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/ko-KR.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: '선택',
|
||||
title: '날짜 선택',
|
||||
day: '일',
|
||||
week: '주',
|
||||
month: '월',
|
||||
confirm: '확인',
|
||||
startTime: '시작 시간',
|
||||
endTime: '종료 시간',
|
||||
to: '~',
|
||||
timeFormat: 'YY년 MM월 DD일 HH:mm:ss',
|
||||
dateFormat: 'YYYY년 MM월 DD일',
|
||||
weekFormat: (year: number, week: number) => `${year}년 ${week}주`,
|
||||
startWeek: '주 시작',
|
||||
endWeek: '주 종료',
|
||||
startMonth: '월 시작',
|
||||
endMonth: '월 종료',
|
||||
monthFormat: 'YYYY년 MM월'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: '시작',
|
||||
endTime: '종료',
|
||||
weeks: {
|
||||
sun: '일',
|
||||
mon: '월',
|
||||
tue: '화',
|
||||
wed: '수',
|
||||
thu: '목',
|
||||
fri: '금',
|
||||
sat: '토'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `최대 ${maxRange}일까지 선택할 수 있습니다`,
|
||||
rangePromptWeek: (maxRange: number) => `최대 ${maxRange}주까지 선택할 수 있습니다`,
|
||||
rangePromptMonth: (maxRange: number) => `최대 ${maxRange}개월까지 선택할 수 있습니다`,
|
||||
monthTitle: 'YYYY년 MM월',
|
||||
yearTitle: 'YYYY년',
|
||||
month: 'MM월',
|
||||
hour: (value: number) => `${value}시`,
|
||||
minute: (value: number) => `${value}분`,
|
||||
second: (value: number) => `${value}초`
|
||||
},
|
||||
collapse: {
|
||||
expand: '확장',
|
||||
retract: '축소'
|
||||
},
|
||||
colPicker: {
|
||||
title: '선택',
|
||||
placeholder: '선택',
|
||||
select: '선택'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: '시작',
|
||||
end: '종료',
|
||||
to: '~',
|
||||
placeholder: '선택',
|
||||
confirm: '확인',
|
||||
cancel: '취소'
|
||||
},
|
||||
loadmore: {
|
||||
loading: '로딩 중...',
|
||||
finished: '로딩 완료',
|
||||
error: '로딩 오류',
|
||||
retry: '재시도'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: '정보를 입력해주세요',
|
||||
confirm: '확인',
|
||||
cancel: '취소',
|
||||
inputNoValidate: '유효한 정보를 입력해주세요'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: '확인'
|
||||
},
|
||||
pagination: {
|
||||
prev: '이전',
|
||||
next: '다음',
|
||||
page: (value: number) => `페이지: ${value}`,
|
||||
total: (total: number) => `총: ${total}`,
|
||||
size: (size: number) => `${size}/페이지`
|
||||
},
|
||||
picker: {
|
||||
cancel: '취소',
|
||||
done: '완료',
|
||||
placeholder: '선택'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: '확인',
|
||||
cancel: '취소'
|
||||
},
|
||||
search: {
|
||||
search: '검색',
|
||||
cancel: '취소'
|
||||
},
|
||||
steps: {
|
||||
wait: '대기 중',
|
||||
finished: '완료',
|
||||
process: '진행 중',
|
||||
failed: '실패'
|
||||
},
|
||||
tabs: {
|
||||
all: '모두'
|
||||
},
|
||||
upload: {
|
||||
error: '업로드 오류'
|
||||
},
|
||||
input: {
|
||||
placeholder: '정보를 입력해주세요...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: '선택',
|
||||
placeholder: '선택',
|
||||
select: '선택',
|
||||
confirm: '확인',
|
||||
filterPlaceholder: '검색'
|
||||
},
|
||||
tag: {
|
||||
placeholder: '입력',
|
||||
add: '태그 추가'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: '정보를 입력해주세요...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: '인덱스'
|
||||
},
|
||||
signature: {
|
||||
confirmText: '확인',
|
||||
clearText: '지우기',
|
||||
revokeText: '실행 취소',
|
||||
restoreText: '복원'
|
||||
}
|
||||
}
|
||||
133
uni_modules/wot-design-uni/locale/lang/pt-PT.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/pt-PT.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'Por favor selecione',
|
||||
title: 'Selecione a data',
|
||||
day: 'Dia',
|
||||
week: 'Semana',
|
||||
month: 'Mês',
|
||||
confirm: 'Confirmar',
|
||||
startTime: 'Hora de início',
|
||||
endTime: 'Hora de término',
|
||||
to: 'até',
|
||||
timeFormat: 'DD/MM/YYYY HH:mm:ss',
|
||||
dateFormat: 'DD/MM/YYYY',
|
||||
weekFormat: (year: number, week: number) => `${year} Semana ${week}`,
|
||||
startWeek: 'Semana de início',
|
||||
endWeek: 'Semana de término',
|
||||
startMonth: 'Mês de início',
|
||||
endMonth: 'Mês de término',
|
||||
monthFormat: 'MM/YYYY'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'Início',
|
||||
endTime: 'Término',
|
||||
weeks: {
|
||||
sun: 'Dom',
|
||||
mon: 'Seg',
|
||||
tue: 'Ter',
|
||||
wed: 'Qua',
|
||||
thu: 'Qui',
|
||||
fri: 'Sex',
|
||||
sat: 'Sáb'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `Não pode selecionar mais que ${maxRange} dias`,
|
||||
rangePromptWeek: (maxRange: number) => `Não pode selecionar mais que ${maxRange} semanas`,
|
||||
rangePromptMonth: (maxRange: number) => `Não pode selecionar mais que ${maxRange} meses`,
|
||||
monthTitle: 'MM/YYYY',
|
||||
yearTitle: 'YYYY',
|
||||
month: 'Mês',
|
||||
hour: (value: number) => `${value} horas`,
|
||||
minute: (value: number) => `${value} minutos`,
|
||||
second: (value: number) => `${value} segundos`
|
||||
},
|
||||
collapse: {
|
||||
expand: 'Expandir',
|
||||
retract: 'Retrair'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'Por favor selecione',
|
||||
placeholder: 'Por favor selecione',
|
||||
select: 'Por favor selecione'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'Hora de início',
|
||||
end: 'Hora de término',
|
||||
to: 'até',
|
||||
placeholder: 'Por favor selecione',
|
||||
confirm: 'Concluir',
|
||||
cancel: 'Cancelar'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'Carregando...',
|
||||
finished: 'Carregamento concluído',
|
||||
error: 'Falha ao carregar',
|
||||
retry: 'Clique para tentar novamente'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'Por favor insira',
|
||||
confirm: 'Confirmar',
|
||||
cancel: 'Cancelar',
|
||||
inputNoValidate: 'Dados inseridos inválidos'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: 'Concluir'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'Página anterior',
|
||||
next: 'Próxima página',
|
||||
page: (value: number) => `Página atual: ${value}`,
|
||||
total: (total: number) => `Total de dados: ${total}`,
|
||||
size: (size: number) => `Tamanho da página: ${size}`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'Cancelar',
|
||||
done: 'Concluir',
|
||||
placeholder: 'Por favor selecione'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'Concluir',
|
||||
cancel: 'Cancelar'
|
||||
},
|
||||
search: {
|
||||
search: 'Buscar',
|
||||
cancel: 'Cancelar'
|
||||
},
|
||||
steps: {
|
||||
wait: 'Não iniciado',
|
||||
finished: 'Concluído',
|
||||
process: 'Em progresso',
|
||||
failed: 'Falhou'
|
||||
},
|
||||
tabs: {
|
||||
all: 'Todos'
|
||||
},
|
||||
upload: {
|
||||
error: 'Falha ao carregar'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'Por favor insira...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'Por favor selecione',
|
||||
placeholder: 'Por favor selecione',
|
||||
select: 'Por favor selecione',
|
||||
confirm: 'Confirmar',
|
||||
filterPlaceholder: 'Buscar'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'Por favor insira',
|
||||
add: 'Adicionar etiqueta'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'Por favor insira...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: 'Número'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'Concluir',
|
||||
clearText: 'Limpar',
|
||||
revokeText: 'Desfazer',
|
||||
restoreText: 'Restaurar'
|
||||
}
|
||||
}
|
||||
133
uni_modules/wot-design-uni/locale/lang/ru-RU.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/ru-RU.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'Выберите, пожалуйста',
|
||||
title: 'Выбор даты',
|
||||
day: 'День',
|
||||
week: 'Неделя',
|
||||
month: 'Месяц',
|
||||
confirm: 'Ок',
|
||||
startTime: 'Начало',
|
||||
endTime: 'Конец',
|
||||
to: 'до',
|
||||
timeFormat: 'DD.MM.YY HH:mm:ss',
|
||||
dateFormat: 'DD.MM.YYYY',
|
||||
weekFormat: (year: number, week: number) => `${year} Неделя ${week}`,
|
||||
startWeek: 'Начало недели',
|
||||
endWeek: 'Конец недели',
|
||||
startMonth: 'Начало месяца',
|
||||
endMonth: 'Конец месяца',
|
||||
monthFormat: 'MM.YYYY'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'Начало',
|
||||
endTime: 'Конец',
|
||||
weeks: {
|
||||
sun: 'Вс',
|
||||
mon: 'Пн',
|
||||
tue: 'Вт',
|
||||
wed: 'Ср',
|
||||
thu: 'Чт',
|
||||
fri: 'Пт',
|
||||
sat: 'Сб'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `Выбор не должен превышать ${maxRange} дня`,
|
||||
rangePromptWeek: (maxRange: number) => `Выбор не должен превышать ${maxRange} недели`,
|
||||
rangePromptMonth: (maxRange: number) => `Выбор не должен превышать ${maxRange} месяца`,
|
||||
monthTitle: 'Месяц YYYY-MM',
|
||||
yearTitle: 'Год YYYY',
|
||||
month: 'Месяц MM',
|
||||
hour: (value: number) => `${value} час`,
|
||||
minute: (value: number) => `${value} минут`,
|
||||
second: (value: number) => `${value} секунд`
|
||||
},
|
||||
collapse: {
|
||||
expand: 'Развернуть',
|
||||
retract: 'Свернуть'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'Выберите, пожалуйста',
|
||||
placeholder: 'Выберите, пожалуйста',
|
||||
select: 'Выберите'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'Начало',
|
||||
end: 'Конец',
|
||||
to: 'до',
|
||||
placeholder: 'Выберите, пожалуйста',
|
||||
confirm: 'Готово',
|
||||
cancel: 'Отмена'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'Загрузка...',
|
||||
finished: 'Загрузка завершена',
|
||||
error: 'Ошибка загрузки',
|
||||
retry: 'Повторить'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'Введите, пожалуйста',
|
||||
confirm: 'Ок',
|
||||
cancel: 'Отмена',
|
||||
inputNoValidate: 'Неверные данные'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: 'Готово'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'Предыдущая',
|
||||
next: 'Следующая',
|
||||
page: (value: number) => `Страница: ${value}`,
|
||||
total: (total: number) => `Всего: ${total} записи`,
|
||||
size: (size: number) => `Размер страницы: ${size}`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'Отмена',
|
||||
done: 'Готово',
|
||||
placeholder: 'Выберите, пожалуйста'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'Готово',
|
||||
cancel: 'Отмена'
|
||||
},
|
||||
search: {
|
||||
search: 'Поиск',
|
||||
cancel: 'Отмена'
|
||||
},
|
||||
steps: {
|
||||
wait: 'Не началось',
|
||||
finished: 'Завершено',
|
||||
process: 'В процессе',
|
||||
failed: 'Неудачно'
|
||||
},
|
||||
tabs: {
|
||||
all: 'Все'
|
||||
},
|
||||
upload: {
|
||||
error: 'Ошибка загрузки'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'Введите...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'Выберите, пожалуйста',
|
||||
placeholder: 'Выберите, пожалуйста',
|
||||
select: 'Выберите',
|
||||
confirm: 'Подтвердить',
|
||||
filterPlaceholder: 'Поиск'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'Введите',
|
||||
add: 'Добавить тег'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'Введите...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: '№'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'Подтвердить',
|
||||
clearText: 'Очистить',
|
||||
revokeText: 'Отменить',
|
||||
restoreText: 'Восстановить'
|
||||
}
|
||||
}
|
||||
133
uni_modules/wot-design-uni/locale/lang/th-TH.ts
Normal file
133
uni_modules/wot-design-uni/locale/lang/th-TH.ts
Normal file
@@ -0,0 +1,133 @@
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'เลือก',
|
||||
title: 'เลือกวันที่',
|
||||
day: 'วันที่',
|
||||
week: 'สัปดาห์',
|
||||
month: 'เดือน',
|
||||
confirm: 'ยืนยัน',
|
||||
startTime: 'วันที่เริ่มต้น',
|
||||
endTime: 'วันที่สิ้นสุด',
|
||||
to: 'ถึง',
|
||||
timeFormat: 'YY-MM-DD HH:mm:ss',
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
weekFormat: (year: number, week: number) => `${year} W${week}`,
|
||||
startWeek: 'เริ่มต้นสัปดาห์',
|
||||
endWeek: 'สิ้นสุดสัปดาห์',
|
||||
startMonth: 'เดือนเริ่มต้น',
|
||||
endMonth: 'สิ้นเดือน',
|
||||
monthFormat: 'YYYY-MM'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'เวลาเริ่มต้น',
|
||||
endTime: 'เวลาสิ้นสุด',
|
||||
weeks: {
|
||||
sun: 'อา',
|
||||
mon: 'จ',
|
||||
tue: 'อ',
|
||||
wed: 'พ',
|
||||
thu: 'พฤ',
|
||||
fri: 'ศ',
|
||||
sat: 'ส'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `จำนวนวันที่เลือกต้องไม่เกิน ${maxRange} วัน`,
|
||||
rangePromptWeek: (maxRange: number) => `จำนวนสัปดาห์ที่เลือกต้องไม่เกิน ${maxRange} สัปดาห์`,
|
||||
rangePromptMonth: (maxRange: number) => `เดือนที่เลือกต้องไม่เกิน ${maxRange} เดือน`,
|
||||
monthTitle: 'YYYY-MM',
|
||||
yearTitle: 'YYYY',
|
||||
month: 'MM',
|
||||
hour: (value: number) => `${value}`,
|
||||
minute: (value: number) => `${value}`,
|
||||
second: (value: number) => `${value}`
|
||||
},
|
||||
collapse: {
|
||||
expand: 'ดูเพิ่มเติม',
|
||||
retract: 'ย่อ'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'เลือก',
|
||||
placeholder: 'เลือก',
|
||||
select: 'เลือก'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'จาก',
|
||||
end: 'ถึง',
|
||||
to: 'ถึง',
|
||||
placeholder: 'เลือก',
|
||||
confirm: 'ยืนยัน',
|
||||
cancel: 'ยกเลิก'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'กำลังโหลด.. รอสักครู่..',
|
||||
finished: 'โหลดสำเร็จ',
|
||||
error: 'โหลดไม่สำเร็จ',
|
||||
retry: 'รีเฟรช'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'ยืนยัน',
|
||||
cancel: 'ยกเลิก'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'กรุณาใส่ข้อมูล',
|
||||
confirm: 'ยืนยัน',
|
||||
cancel: 'ยกเลิก',
|
||||
inputNoValidate: 'กรุณาตรวจสอบว่าคุณได้ใส่ข้อมูลที่ถูกต้อง'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confir: 'ตกลง'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'ก่อนหน้า',
|
||||
next: 'หน้าต่อไป',
|
||||
page: (value: number) => `หน้า: ${value}`,
|
||||
total: (total: number) => `ทั้งหมด: ${total} หน้า`,
|
||||
size: (size: number) => `${size}/ ต่อหน้า`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'ยกเลิก',
|
||||
done: 'ตกลง',
|
||||
placeholder: 'เลือก'
|
||||
},
|
||||
search: {
|
||||
search: 'ค้นหา',
|
||||
cancel: 'ยกเลิก'
|
||||
},
|
||||
steps: {
|
||||
wait: 'ยังไม่เริ่ม',
|
||||
finished: 'เสร็จสิ้น',
|
||||
process: 'กำลังดำเนินการ',
|
||||
failed: 'ไม่ผ่าน'
|
||||
},
|
||||
tabs: {
|
||||
all: 'ทั้งหมด'
|
||||
},
|
||||
upload: {
|
||||
error: 'อัปโหลดไม่สำเร็จ'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'กรุณาใส่ข้อมูล...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'เลือก',
|
||||
placeholder: 'เลือก',
|
||||
select: 'เลือก',
|
||||
confirm: 'ยืนยัน',
|
||||
filterPlaceholder: 'ค้นหา'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'กรุณาใส่',
|
||||
add: 'ป้ายใหม่'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'กรุณาใส่ข้อมูล...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: 'หมายเลขซีเรียล'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'ยืนยัน',
|
||||
clearText: 'ล้าง',
|
||||
revokeText: 'ย้อนกลับ',
|
||||
restoreText: 'เรียกคืน'
|
||||
}
|
||||
}
|
||||
138
uni_modules/wot-design-uni/locale/lang/tr-TR.ts
Normal file
138
uni_modules/wot-design-uni/locale/lang/tr-TR.ts
Normal file
@@ -0,0 +1,138 @@
|
||||
/**
|
||||
* This file contains the default export for the Turkish localization of the application.
|
||||
* It includes translations for various components such as calendar, datetime picker, pagination, etc.
|
||||
*/
|
||||
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'Lütfen seçin',
|
||||
title: 'Tarih seç',
|
||||
day: 'Gün',
|
||||
week: 'Hafta',
|
||||
month: 'Ay',
|
||||
confirm: 'Tamam',
|
||||
startTime: 'Başlangıç zamanı',
|
||||
endTime: 'Bitiş zamanı',
|
||||
to: 'ile',
|
||||
timeFormat: 'YY-MM-DD HH:mm:ss',
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
weekFormat: (year: number, week: number) => `${year} ${week}. Hafta`,
|
||||
startWeek: 'Başlangıç hafta',
|
||||
endWeek: 'Bitiş hafta',
|
||||
startMonth: 'Başlangıç ay',
|
||||
endMonth: 'Bitiş ay',
|
||||
monthFormat: 'YYYY-MM'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'Başlangıç',
|
||||
endTime: 'Bitiş',
|
||||
weeks: {
|
||||
sun: 'Paz',
|
||||
mon: 'Pzt',
|
||||
tue: 'Sal',
|
||||
wed: 'Çar',
|
||||
thu: 'Per',
|
||||
fri: 'Cum',
|
||||
sat: 'Cts'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `Seçilen gün sayısı ${maxRange} günü geçemez`,
|
||||
rangePromptWeek: (maxRange: number) => `Seçilen hafta sayısı ${maxRange} haftayı geçemez`,
|
||||
rangePromptMonth: (maxRange: number) => `Seçilen ay sayısı ${maxRange} ayı geçemez`,
|
||||
monthTitle: 'YYYY-MM',
|
||||
yearTitle: 'YYYY Yılı',
|
||||
month: 'MM Ay',
|
||||
hour: (value: number) => `${value} Saat`,
|
||||
minute: (value: number) => `${value} Dakika`,
|
||||
second: (value: number) => `${value} Saniye`
|
||||
},
|
||||
collapse: {
|
||||
expand: 'Genişlet',
|
||||
retract: 'Daralt'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'Lütfen seçin',
|
||||
placeholder: 'Lütfen seçin',
|
||||
select: 'Seç'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'Başlangıç zamanı',
|
||||
end: 'Bitiş zamanı',
|
||||
to: 'ile',
|
||||
placeholder: 'Lütfen seçin',
|
||||
confirm: 'Tamam',
|
||||
cancel: 'İptal'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'Yükleniyor...',
|
||||
finished: 'Yüklenme tamamlandı',
|
||||
error: 'Yükleme başarısız',
|
||||
retry: 'Tekrar deneyin'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'Lütfen girin',
|
||||
confirm: 'Tamam',
|
||||
cancel: 'İptal',
|
||||
inputNoValidate: 'Girilen veriler geçerli değil'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: 'Tamam'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'Önceki Sayfa',
|
||||
next: 'Sonraki Sayfa',
|
||||
page: (value: number) => `Şu anki Sayfa: ${value}`,
|
||||
total: (total: number) => `Toplam Veri: ${total} adet`,
|
||||
size: (size: number) => `Sayfa Boyutu: ${size}`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'İptal',
|
||||
done: 'Tamam',
|
||||
placeholder: 'Lütfen seçin'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'Tamam',
|
||||
cancel: 'İptal'
|
||||
},
|
||||
search: {
|
||||
search: 'Ara',
|
||||
cancel: 'İptal'
|
||||
},
|
||||
steps: {
|
||||
wait: 'Başlamadı',
|
||||
finished: 'Tamamlandı',
|
||||
process: 'Süreçte',
|
||||
failed: 'Başarısız'
|
||||
},
|
||||
tabs: {
|
||||
all: 'Hepsi'
|
||||
},
|
||||
upload: {
|
||||
error: 'Yükleme başarısız'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'Lütfen girin...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'Lütfen seçin',
|
||||
placeholder: 'Lütfen seçin',
|
||||
select: 'Seç',
|
||||
confirm: 'Onayla',
|
||||
filterPlaceholder: 'Ara'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'Lütfen girin',
|
||||
add: 'Yeni Etiket Ekle'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'Lütfen girin...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: 'Sıra No'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'İmzala',
|
||||
clearText: 'Temizle',
|
||||
revokeText: 'Geri Al',
|
||||
restoreText: 'Geri Yükle'
|
||||
}
|
||||
}
|
||||
137
uni_modules/wot-design-uni/locale/lang/ug-CN.ts
Normal file
137
uni_modules/wot-design-uni/locale/lang/ug-CN.ts
Normal file
@@ -0,0 +1,137 @@
|
||||
/**
|
||||
* This file contains localization strings for various components.
|
||||
*/
|
||||
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'تاللاڭ',
|
||||
title: 'چېسلا تاللاش',
|
||||
day: 'كۈن',
|
||||
week: 'ھەپتە',
|
||||
month: 'ئاي',
|
||||
confirm: 'جەزملەش',
|
||||
startTime: 'باشلىنىش ۋاقتى',
|
||||
endTime: 'ئاخىرلىشىش ۋاقتى',
|
||||
to: 'دىن',
|
||||
timeFormat: 'YY-MM-DD HH:mm:ss',
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
weekFormat: (year: number, week: number) => `${year}يىلى ${week}ھەپتە`,
|
||||
startWeek: 'باشلىنىش ھەپتىسى',
|
||||
endWeek: 'ئاخىرلىشىش ھەپتىسى',
|
||||
startMonth: 'باشلىنىش ئېيى',
|
||||
endMonth: 'ئاخىرلىشىش ئېيى',
|
||||
monthFormat: 'YYYYيىل MMئاي'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'باشلا',
|
||||
endTime: 'ئاخىرلاش',
|
||||
weeks: {
|
||||
sun: 'ي',
|
||||
mon: 'د',
|
||||
tue: 'س',
|
||||
wed: 'چ',
|
||||
thu: 'پ',
|
||||
fri: 'ج',
|
||||
sat: 'ش'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `تاللىغان كۈن سانى ${maxRange} كۈندىن ئېشىپ كەتمىسۇن`,
|
||||
rangePromptWeek: (maxRange: number) => `تاللىغان ھەپتە سانى ${maxRange} ھەپتىدىن ئېشىپ كەتمىسۇن`,
|
||||
rangePromptMonth: (maxRange: number) => `تاللىغان ئاي سانى ${maxRange} ئايدىن ئېشىپ كەتمىسۇن`,
|
||||
monthTitle: 'YYYYيىل Mئاي',
|
||||
yearTitle: 'YYYYيىل',
|
||||
month: 'Mئاي',
|
||||
hour: (value: number) => `${value} سائەت`,
|
||||
minute: (value: number) => `${value} مىنۇت`,
|
||||
second: (value: number) => `${value} سېكۇنت`
|
||||
},
|
||||
collapse: {
|
||||
expand: 'يايماق',
|
||||
retract: 'يىغماق'
|
||||
},
|
||||
colPicker: {
|
||||
title: 'تاللاڭ',
|
||||
placeholder: 'تاللاڭ',
|
||||
select: 'تاللاڭ'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: 'باشلىنىش ۋاقتى',
|
||||
end: 'ئاخىرلىشىش ۋاقتى',
|
||||
to: 'دىن',
|
||||
placeholder: 'تاللاڭ',
|
||||
confirm: 'تامام',
|
||||
cancel: 'بىكار قىلىش'
|
||||
},
|
||||
loadmore: {
|
||||
loading: 'يۈكلەۋاتىدۇ...',
|
||||
finished: 'يۈكلەش تامام',
|
||||
error: 'يۈكلەش مەغلۇپ بولدى',
|
||||
retry: 'قايتا سىناڭ'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: 'كىرگۈزۈڭ',
|
||||
confirm: 'جەزملەش',
|
||||
cancel: 'بىكار قىلىش',
|
||||
inputNoValidate: 'كىرگۈزۈلگەن سانلىق مەلۇمات ئىناۋەتسىز'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: 'تامام'
|
||||
},
|
||||
pagination: {
|
||||
prev: 'ئالدىنقى بەت',
|
||||
next: 'كېيىنكى بەت',
|
||||
page: (value: number) => `نۆۋەتتىكى بەت: ${value}`,
|
||||
total: (total: number) => `نۆۋەتتىكى سانلىق مەلۇمات: ${total} تۈر`,
|
||||
size: (size: number) => `ھەر بەتتىكى تۈر سانى: ${size}`
|
||||
},
|
||||
picker: {
|
||||
cancel: 'بىكار قىلىش',
|
||||
done: 'تامام',
|
||||
placeholder: 'تاللاڭ'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: 'تامام',
|
||||
cancel: 'بىكار قىلىش'
|
||||
},
|
||||
search: {
|
||||
search: 'ئىزدەش',
|
||||
cancel: 'بىكار قىلىش'
|
||||
},
|
||||
steps: {
|
||||
wait: 'باشلانمىدى',
|
||||
finished: 'تامام بولدى',
|
||||
process: 'ئېلىپ بېرىلىۋاتىدۇ',
|
||||
failed: 'مەغلۇپ بولدى'
|
||||
},
|
||||
tabs: {
|
||||
all: 'ھەممىسى'
|
||||
},
|
||||
upload: {
|
||||
error: 'يوللاش مەغلۇپ بولدى'
|
||||
},
|
||||
input: {
|
||||
placeholder: 'كىرگۈزۈڭ...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: 'تاللاڭ',
|
||||
placeholder: 'تاللاڭ',
|
||||
select: 'تاللاڭ',
|
||||
confirm: 'جەزملەش',
|
||||
filterPlaceholder: 'ئىزدەش'
|
||||
},
|
||||
tag: {
|
||||
placeholder: 'كىرگۈزۈڭ',
|
||||
add: 'يېڭى بەلگە قوشۇش'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: 'كىرگۈزۈڭ...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: 'تەرتىپ نومۇرى'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'جەزملەش',
|
||||
clearText: 'تازىلاش',
|
||||
revokeText: 'بىكار قىلىش',
|
||||
restoreText: 'ئەسلىگە كەلتۈرۈش'
|
||||
}
|
||||
}
|
||||
86
uni_modules/wot-design-uni/locale/lang/vi-VN.ts
Normal file
86
uni_modules/wot-design-uni/locale/lang/vi-VN.ts
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* @Author: 810505339
|
||||
* @Date: 2025-02-11 21:17:21
|
||||
* @LastEditors: 810505339
|
||||
* @LastEditTime: 2025-02-15 21:32:57
|
||||
* @FilePath: \wot-design-uni\src\uni_modules\wot-design-uni\locale\lang\vi-VN.ts
|
||||
* 记得注释
|
||||
*/
|
||||
/**
|
||||
* This file contains localization strings for various components in Vietnamese.
|
||||
*/
|
||||
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: 'Vui lòng chọn',
|
||||
title: 'Chọn ngày',
|
||||
day: 'Ngày',
|
||||
week: 'Tuần',
|
||||
month: 'Tháng',
|
||||
confirm: 'Xác nhận',
|
||||
startTime: 'Thời gian bắt đầu',
|
||||
endTime: 'Thời gian kết thúc',
|
||||
to: 'đến',
|
||||
timeFormat: 'YY-MM-DD HH:mm:ss',
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
weekFormat: (year: number, week: number) => `Tuần thứ ${week} năm ${year}`,
|
||||
startWeek: 'Tuần bắt đầu',
|
||||
endWeek: 'Tuần kết thúc',
|
||||
startMonth: 'Tháng bắt đầu',
|
||||
endMonth: 'Tháng kết thúc',
|
||||
monthFormat: 'Tháng YYYY MM'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: 'Bắt đầu',
|
||||
endTime: 'Kết thúc',
|
||||
weeks: { sun: 'CN', mon: 'T2', tue: 'T3', wed: 'T4', thu: 'T5', fri: 'T6', sat: 'T7' },
|
||||
rangePrompt: (maxRange: number) => `Không thể chọn quá ${maxRange} ngày`,
|
||||
rangePromptWeek: (maxRange: number) => `Không thể chọn quá ${maxRange} tuần`,
|
||||
rangePromptMonth: (maxRange: number) => `Không thể chọn quá ${maxRange} tháng`,
|
||||
monthTitle: 'Tháng YYYY M',
|
||||
yearTitle: 'Năm YYYY',
|
||||
month: 'MM',
|
||||
hour: (value: number) => `${value} giờ`,
|
||||
minute: (value: number) => `${value} phút`,
|
||||
second: (value: number) => `${value} giây`
|
||||
},
|
||||
collapse: { expand: 'Mở rộng', retract: 'Thu gọn' },
|
||||
colPicker: { title: 'Vui lòng chọn', placeholder: 'Vui lòng chọn', select: 'Vui lòng chọn' },
|
||||
datetimePicker: {
|
||||
start: 'Thời gian bắt đầu',
|
||||
end: 'Thời gian kết thúc',
|
||||
to: 'đến',
|
||||
placeholder: 'Vui lòng chọn',
|
||||
confirm: 'Hoàn thành',
|
||||
cancel: 'Hủy bỏ'
|
||||
},
|
||||
loadmore: { loading: 'Đang tải...', finished: 'Đã tải xong', error: 'Tải thất bại', retry: 'Nhấp để thử lại' },
|
||||
messageBox: { inputPlaceholder: 'Vui lòng nhập', confirm: 'Xác nhận', cancel: 'Hủy bỏ', inputNoValidate: 'Dữ liệu không hợp lệ' },
|
||||
numberKeyboard: { confirm: 'Hoàn thành' },
|
||||
pagination: {
|
||||
prev: 'Trang trước',
|
||||
next: 'Trang sau',
|
||||
page: (value: number) => `Trang hiện tại: ${value}`,
|
||||
total: (total: number) => `Tổng số dữ liệu: ${total}`,
|
||||
size: (size: number) => `Kích thước trang: ${size}`
|
||||
},
|
||||
picker: { cancel: 'Hủy bỏ', done: 'Hoàn thành', placeholder: 'Vui lòng chọn' },
|
||||
imgCropper: { confirm: 'Hoàn thành', cancel: 'Hủy bỏ' },
|
||||
search: { search: 'Tìm kiếm', cancel: 'Hủy bỏ' },
|
||||
steps: { wait: 'Chưa bắt đầu', finished: 'Đã hoàn thành', process: 'Đang tiến hành', failed: 'Thất bại' },
|
||||
tabs: { all: 'Tất cả' },
|
||||
upload: { error: 'Tải lên thất bại' },
|
||||
input: { placeholder: 'Vui lòng nhập...' },
|
||||
selectPicker: { title: 'Vui lòng chọn', placeholder: 'Vui lòng chọn', select: 'Xác nhận', confirm: 'Xác nhận', filterPlaceholder: 'Tìm kiếm' },
|
||||
tag: { placeholder: 'Vui lòng nhập', add: 'thêm' },
|
||||
textarea: { placeholder: 'Vui lòng nhập...' },
|
||||
tableCol: {
|
||||
indexLabel: 'Số sê-ri'
|
||||
},
|
||||
signature: {
|
||||
confirmText: 'Xác nhận',
|
||||
clearText: 'Xóa',
|
||||
revokeText: 'Hoàn tác',
|
||||
restoreText: 'Khôi phục'
|
||||
}
|
||||
}
|
||||
137
uni_modules/wot-design-uni/locale/lang/zh-CN.ts
Normal file
137
uni_modules/wot-design-uni/locale/lang/zh-CN.ts
Normal file
@@ -0,0 +1,137 @@
|
||||
/**
|
||||
* This file contains localization strings for various components.
|
||||
*/
|
||||
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: '请选择',
|
||||
title: '选择日期',
|
||||
day: '日',
|
||||
week: '周',
|
||||
month: '月',
|
||||
confirm: '确定',
|
||||
startTime: '开始时间',
|
||||
endTime: '结束时间',
|
||||
to: '至',
|
||||
timeFormat: 'YY年MM月DD日 HH:mm:ss',
|
||||
dateFormat: 'YYYY年MM月DD日',
|
||||
weekFormat: (year: number, week: number) => `${year} 第 ${week} 周`,
|
||||
startWeek: '开始周',
|
||||
endWeek: '结束周',
|
||||
startMonth: '开始月',
|
||||
endMonth: '结束月',
|
||||
monthFormat: 'YYYY年MM月'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: '开始',
|
||||
endTime: '结束',
|
||||
weeks: {
|
||||
sun: '日',
|
||||
mon: '一',
|
||||
tue: '二',
|
||||
wed: '三',
|
||||
thu: '四',
|
||||
fri: '五',
|
||||
sat: '六'
|
||||
},
|
||||
rangePrompt: (maxRange: number) => `选择天数不能超过${maxRange}天`,
|
||||
rangePromptWeek: (maxRange: number) => `选择周数不能超过${maxRange}周`,
|
||||
rangePromptMonth: (maxRange: number) => `选择月份不能超过${maxRange}个月`,
|
||||
monthTitle: 'YYYY年M月',
|
||||
yearTitle: 'YYYY年',
|
||||
month: 'M月',
|
||||
hour: (value: number) => `${value}时`,
|
||||
minute: (value: number) => `${value}分`,
|
||||
second: (value: number) => `${value}秒`
|
||||
},
|
||||
collapse: {
|
||||
expand: '展开',
|
||||
retract: '收起'
|
||||
},
|
||||
colPicker: {
|
||||
title: '请选择',
|
||||
placeholder: '请选择',
|
||||
select: '请选择'
|
||||
},
|
||||
datetimePicker: {
|
||||
start: '开始时间',
|
||||
end: '结束时间',
|
||||
to: '至',
|
||||
placeholder: '请选择',
|
||||
confirm: '完成',
|
||||
cancel: '取消'
|
||||
},
|
||||
loadmore: {
|
||||
loading: '正在努力加载中...',
|
||||
finished: '已加载完毕',
|
||||
error: '加载失败',
|
||||
retry: '点击重试'
|
||||
},
|
||||
messageBox: {
|
||||
inputPlaceholder: '请输入',
|
||||
confirm: '确定',
|
||||
cancel: '取消',
|
||||
inputNoValidate: '输入的数据不合法'
|
||||
},
|
||||
numberKeyboard: {
|
||||
confirm: '完成'
|
||||
},
|
||||
pagination: {
|
||||
prev: '上一页',
|
||||
next: '下一页',
|
||||
page: (value: number) => `当前页:${value}`,
|
||||
total: (total: number) => `当前数据:${total}条`,
|
||||
size: (size: number) => `分页大小:${size}`
|
||||
},
|
||||
picker: {
|
||||
cancel: '取消',
|
||||
done: '完成',
|
||||
placeholder: '请选择'
|
||||
},
|
||||
imgCropper: {
|
||||
confirm: '完成',
|
||||
cancel: '取消'
|
||||
},
|
||||
search: {
|
||||
search: '搜索',
|
||||
cancel: '取消'
|
||||
},
|
||||
steps: {
|
||||
wait: '未开始',
|
||||
finished: '已完成',
|
||||
process: '进行中',
|
||||
failed: '失败'
|
||||
},
|
||||
tabs: {
|
||||
all: '全部'
|
||||
},
|
||||
upload: {
|
||||
error: '上传失败'
|
||||
},
|
||||
input: {
|
||||
placeholder: '请输入...'
|
||||
},
|
||||
selectPicker: {
|
||||
title: '请选择',
|
||||
placeholder: '请选择',
|
||||
select: '请选择',
|
||||
confirm: '确认',
|
||||
filterPlaceholder: '搜索'
|
||||
},
|
||||
tag: {
|
||||
placeholder: '请输入',
|
||||
add: '新增标签'
|
||||
},
|
||||
textarea: {
|
||||
placeholder: '请输入...'
|
||||
},
|
||||
tableCol: {
|
||||
indexLabel: '序号'
|
||||
},
|
||||
signature: {
|
||||
confirmText: '确认',
|
||||
clearText: '清空',
|
||||
revokeText: '撤销',
|
||||
restoreText: '恢复'
|
||||
}
|
||||
}
|
||||
71
uni_modules/wot-design-uni/locale/lang/zh-HK.ts
Normal file
71
uni_modules/wot-design-uni/locale/lang/zh-HK.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* This file contains the default export for various UI components in Traditional Chinese.
|
||||
*/
|
||||
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: '請選擇',
|
||||
title: '選擇日期',
|
||||
day: '日',
|
||||
week: '週',
|
||||
month: '月',
|
||||
confirm: '確定',
|
||||
startTime: '開始時間',
|
||||
endTime: '結束時間',
|
||||
to: '至',
|
||||
timeFormat: 'YY年MM月DD日 HH:mm:ss',
|
||||
dateFormat: 'YYYY年MM月DD日',
|
||||
weekFormat: (year: number, week: number) => `${year} 第 ${week} 週`,
|
||||
startWeek: '開始週',
|
||||
endWeek: '結束週',
|
||||
startMonth: '開始月',
|
||||
endMonth: '結束月',
|
||||
monthFormat: 'YYYY年MM月'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: '開始',
|
||||
endTime: '結束',
|
||||
weeks: { sun: '日', mon: '一', tue: '二', wed: '三', thu: '四', fri: '五', sat: '六' },
|
||||
rangePrompt: (maxRange: number) => `選擇天數不能超過${maxRange}天`,
|
||||
rangePromptWeek: (maxRange: number) => `選擇週數不能超過${maxRange}週`,
|
||||
rangePromptMonth: (maxRange: number) => `選擇月份不能超過${maxRange}個月`,
|
||||
monthTitle: 'YYYY年M月',
|
||||
yearTitle: 'YYYY年',
|
||||
month: 'M月',
|
||||
hour: (value: number) => `${value}時`,
|
||||
minute: (value: number) => `${value}分`,
|
||||
second: (value: number) => `${value}秒`
|
||||
},
|
||||
collapse: { expand: '展開', retract: '收起' },
|
||||
colPicker: { title: '請選擇', placeholder: '請選擇', select: '請選擇' },
|
||||
datetimePicker: { start: '開始時間', end: '結束時間', to: '至', placeholder: '請選擇', confirm: '完成', cancel: '取消' },
|
||||
loadmore: { loading: '正在努力加載中...', finished: '已加載完畢', error: '加載失敗', retry: '點擊重試' },
|
||||
messageBox: { inputPlaceholder: '請輸入', confirm: '確定', cancel: '取消', inputNoValidate: '輸入的數據不合法' },
|
||||
numberKeyboard: { confirm: '完成' },
|
||||
pagination: {
|
||||
prev: '上一頁',
|
||||
next: '下一頁',
|
||||
page: (value: number) => `當前頁:${value}`,
|
||||
total: (total: number) => `當前數據:${total}條`,
|
||||
size: (size: number) => `分頁大小:${size}`
|
||||
},
|
||||
picker: { cancel: '取消', done: '完成', placeholder: '請選擇' },
|
||||
imgCropper: { confirm: '完成', cancel: '取消' },
|
||||
search: { search: '搜索', cancel: '取消' },
|
||||
steps: { wait: '未開始', finished: '已完成', process: '進行中', failed: '失敗' },
|
||||
tabs: { all: '全部' },
|
||||
upload: { error: '上傳失敗' },
|
||||
input: { placeholder: '請輸入...' },
|
||||
selectPicker: { title: '請選擇', placeholder: '請選擇', select: '確認', confirm: '確認', filterPlaceholder: '搜索' },
|
||||
tag: { placeholder: '請輸入', add: '新增標籤' },
|
||||
textarea: { placeholder: '請輸入...' },
|
||||
tableCol: {
|
||||
indexLabel: '序號'
|
||||
},
|
||||
signature: {
|
||||
confirmText: '確認',
|
||||
clearText: '清空',
|
||||
revokeText: '撤銷',
|
||||
restoreText: '恢復'
|
||||
}
|
||||
}
|
||||
75
uni_modules/wot-design-uni/locale/lang/zh-TW.ts
Normal file
75
uni_modules/wot-design-uni/locale/lang/zh-TW.ts
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* @Author: 810505339
|
||||
* @Date: 2025-02-11 21:17:21
|
||||
* @LastEditors: 810505339
|
||||
* @LastEditTime: 2025-02-18 13:05:10
|
||||
* @FilePath: \wot-design-uni\src\uni_modules\wot-design-uni\locale\lang\zh-TW.ts
|
||||
* 记得注释
|
||||
*/
|
||||
export default {
|
||||
calendar: {
|
||||
placeholder: '請選擇',
|
||||
title: '選擇日期',
|
||||
day: '日',
|
||||
week: '週',
|
||||
month: '月',
|
||||
confirm: '確定',
|
||||
startTime: '開始時間',
|
||||
endTime: '結束時間',
|
||||
to: '至',
|
||||
timeFormat: 'YY年MM月DD日 HH:mm:ss',
|
||||
dateFormat: 'YYYY年MM月DD日',
|
||||
weekFormat: (year: number, week: number) => `${year} 第 ${week} 週`,
|
||||
startWeek: '開始週',
|
||||
endWeek: '結束週',
|
||||
startMonth: '開始月',
|
||||
endMonth: '結束月',
|
||||
monthFormat: 'YYYY年MM月'
|
||||
},
|
||||
calendarView: {
|
||||
startTime: '開始',
|
||||
endTime: '結束',
|
||||
weeks: { sun: '日', mon: '一', tue: '二', wed: '三', thu: '四', fri: '五', sat: '六' },
|
||||
rangePrompt: (maxRange: number) => `選擇天數不能超過${maxRange} 天`,
|
||||
rangePromptWeek: (maxRange: number) => `選擇週數不能超過${maxRange} 週`,
|
||||
rangePromptMonth: (maxRange: number) => `選擇月份不能超過${maxRange} 個月`,
|
||||
monthTitle: 'YYYY年M月',
|
||||
yearTitle: 'YYYY年',
|
||||
month: 'M月',
|
||||
hour: (value: number) => `${value} 時`,
|
||||
minute: (value: number) => `${value} 分`,
|
||||
second: (value: number) => `${value} 秒`
|
||||
},
|
||||
collapse: { expand: '展開', retract: '收起' },
|
||||
colPicker: { title: '請選擇', placeholder: '請選擇', select: '請選擇' },
|
||||
datetimePicker: { start: '開始時間', end: '結束時間', to: '至', placeholder: '請選擇', confirm: '完成', cancel: '取消' },
|
||||
loadmore: { loading: '正在努力加載中...', finished: '已加載完畢', error: '加載失敗', retry: '點擊重試' },
|
||||
messageBox: { inputPlaceholder: '請輸入', confirm: '確定', cancel: '取消', inputNoValidate: '輸入的數據不合法' },
|
||||
numberKeyboard: { confirm: '完成' },
|
||||
pagination: {
|
||||
prev: '上一頁',
|
||||
next: '下一頁',
|
||||
page: (value: number) => `當前頁:${value}`,
|
||||
total: (total: number) => `當前數據:${total}條`,
|
||||
size: (size: number) => `分頁大小:${size}`
|
||||
},
|
||||
picker: { cancel: '取消', done: '完成', placeholder: '請選擇' },
|
||||
imgCropper: { confirm: '完成', cancel: '取消' },
|
||||
search: { search: '搜索', cancel: '取消' },
|
||||
steps: { wait: '未開始', finished: '已完成', process: '進行中', failed: '失敗' },
|
||||
tabs: { all: '全部' },
|
||||
upload: { error: '上傳失敗' },
|
||||
input: { placeholder: '請輸入...' },
|
||||
selectPicker: { title: '請選擇', placeholder: '請選擇', select: '確認', confirm: '確認', filterPlaceholder: '搜索' },
|
||||
tag: { placeholder: '請輸入', add: '新增標籤' },
|
||||
textarea: { placeholder: '請輸入...' },
|
||||
tableCol: {
|
||||
indexLabel: '序號'
|
||||
},
|
||||
signature: {
|
||||
confirmText: '確認',
|
||||
clearText: '清空',
|
||||
revokeText: '撤銷',
|
||||
restoreText: '恢復'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user