20261008173212
This commit is contained in:
1 parent
ac65b75c73
commit
f572dce2f6
48 files changed
+1698
-507
No files matched your search
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* 语言包出口。
|
||||
*
|
||||
* 组件不得硬编码中文文案,一律从 locale 取,便于整站切换 / 定制。
|
||||
*/
|
||||
export interface Locale {
|
||||
name: string
|
||||
/** 空状态等通用文案。 */
|
||||
empty: {
|
||||
description: string
|
||||
}
|
||||
[key: string]: unknown
|
||||
}
|
||||
|
||||
export const zhCN: Locale = {
|
||||
name: 'zh-CN',
|
||||
empty: { description: '暂无数据' },
|
||||
}
|
||||
|
||||
export const enUS: Locale = {
|
||||
name: 'en-US',
|
||||
empty: { description: 'No data' },
|
||||
}
|
||||
Reference in new issue
Block a user