mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-01 04:37:57 +01:00
feat(locale): translate chinese (#2580)
This commit is contained in:
@@ -2,3 +2,5 @@ export { default as de } from './de'
|
|||||||
export { default as en } from './en'
|
export { default as en } from './en'
|
||||||
export { default as fr } from './fr'
|
export { default as fr } from './fr'
|
||||||
export { default as ru } from './ru'
|
export { default as ru } from './ru'
|
||||||
|
export { default as zh_hans } from './zh_hans'
|
||||||
|
export { default as zh_hant } from './zh_hant'
|
||||||
|
|||||||
37
src/runtime/locale/zh_hans.ts
Normal file
37
src/runtime/locale/zh_hans.ts
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
import { defineLocale } from '../composables/defineLocale'
|
||||||
|
|
||||||
|
export default defineLocale('简体中文', {
|
||||||
|
inputMenu: {
|
||||||
|
noMatch: '没有匹配的数据',
|
||||||
|
noData: '没有数据'
|
||||||
|
},
|
||||||
|
commandPalette: {
|
||||||
|
noMatch: '没有匹配的数据',
|
||||||
|
noData: '没有数据',
|
||||||
|
close: '关闭'
|
||||||
|
},
|
||||||
|
selectMenu: {
|
||||||
|
noMatch: '没有匹配的数据',
|
||||||
|
noData: '没有数据'
|
||||||
|
},
|
||||||
|
toast: {
|
||||||
|
close: '关闭'
|
||||||
|
},
|
||||||
|
carousel: {
|
||||||
|
prev: '上一页',
|
||||||
|
next: '下一页',
|
||||||
|
goto: '跳转到第 {slide} 页'
|
||||||
|
},
|
||||||
|
modal: {
|
||||||
|
close: '关闭'
|
||||||
|
},
|
||||||
|
slideover: {
|
||||||
|
close: '关闭'
|
||||||
|
},
|
||||||
|
alert: {
|
||||||
|
close: '关闭'
|
||||||
|
},
|
||||||
|
table: {
|
||||||
|
noData: '没有数据'
|
||||||
|
}
|
||||||
|
})
|
||||||
37
src/runtime/locale/zh_hant.ts
Normal file
37
src/runtime/locale/zh_hant.ts
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
import { defineLocale } from '../composables/defineLocale'
|
||||||
|
|
||||||
|
export default defineLocale('繁体中文', {
|
||||||
|
inputMenu: {
|
||||||
|
noMatch: '沒有匹配的資料',
|
||||||
|
noData: '沒有資料'
|
||||||
|
},
|
||||||
|
commandPalette: {
|
||||||
|
noMatch: '沒有匹配的資料',
|
||||||
|
noData: '沒有資料',
|
||||||
|
close: '關閉'
|
||||||
|
},
|
||||||
|
selectMenu: {
|
||||||
|
noMatch: '沒有匹配的資料',
|
||||||
|
noData: '沒有資料'
|
||||||
|
},
|
||||||
|
toast: {
|
||||||
|
close: '關閉'
|
||||||
|
},
|
||||||
|
carousel: {
|
||||||
|
prev: '上一頁',
|
||||||
|
next: '下一頁',
|
||||||
|
goto: '跳轉到第 {slide} 頁'
|
||||||
|
},
|
||||||
|
modal: {
|
||||||
|
close: '關閉'
|
||||||
|
},
|
||||||
|
slideover: {
|
||||||
|
close: '關閉'
|
||||||
|
},
|
||||||
|
alert: {
|
||||||
|
close: '關閉'
|
||||||
|
},
|
||||||
|
table: {
|
||||||
|
noData: '沒有資料'
|
||||||
|
}
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user