-
Notifications
You must be signed in to change notification settings - Fork 611
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(locale): translate chinese (#2580)
- Loading branch information
1 parent
20379f5
commit febda5c
Showing
3 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: '没有数据' | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: '沒有資料' | ||
} | ||
}) |