feat(locale): add Viet language (#2986)

This commit is contained in:
Horu
2024-12-26 21:43:42 +07:00
committed by GitHub
parent 5550d184bb
commit ffba108291
3 changed files with 55 additions and 0 deletions

View File

@@ -19,5 +19,6 @@ export { default as sk } from './sk'
export { default as th } from './th'
export { default as tr } from './tr'
export { default as uk } from './uk'
export { default as vi } from './vi'
export { default as zh_hans } from './zh_hans'
export { default as zh_hant } from './zh_hant'

53
src/runtime/locale/vi.ts Normal file
View File

@@ -0,0 +1,53 @@
import { defineLocale } from '../composables/defineLocale'
export default defineLocale({
name: 'Tiếng Việt',
code: 'vi',
messages: {
inputMenu: {
noMatch: 'Không có kết quả phù hợp',
noData: 'Không có dữ liệu',
create: 'Tạo "{label}"'
},
calendar: {
prevYear: 'Năm trước',
nextYear: 'Năm sau',
prevMonth: 'Tháng trước',
nextMonth: 'Tháng sau'
},
inputNumber: {
increment: 'Tăng',
decrement: 'Giảm'
},
commandPalette: {
noMatch: 'Không có kết quả phù hợp',
noData: 'Không có dữ liệu',
close: 'Đóng'
},
selectMenu: {
noMatch: 'Không có kết quả phù hợp',
noData: 'Không có dữ liệu',
create: 'Tạo "{label}"'
},
toast: {
close: 'Đóng'
},
carousel: {
prev: 'Trước',
next: 'Sau',
goto: 'Đi tới ô {slide}'
},
modal: {
close: 'Đóng'
},
slideover: {
close: 'Đóng'
},
alert: {
close: 'Đóng'
},
table: {
noData: 'Không có dữ liệu'
}
}
})