u
This commit is contained in:
1 parent
32d423b759
commit
78eb811ff7
102 files changed
+12067
-209
No files matched your search
@@ -61,6 +61,53 @@ export interface Locale {
|
||||
max: string
|
||||
invalid: string
|
||||
}
|
||||
/** 验证码类组件文案。 */
|
||||
captcha: {
|
||||
/** 滑块验证:未通过时的提示 */
|
||||
slide: string
|
||||
/** 滑块验证:通过后的文案 */
|
||||
verified: string
|
||||
/** 滑块验证:手柄的可访问名称(读屏 / 键盘聚焦时播报) */
|
||||
sliderLabel: string
|
||||
}
|
||||
/**
|
||||
* 附件管理器文案,`{count}` / `{name}` / `{size}` 为占位符。
|
||||
*/
|
||||
attachment: {
|
||||
allCategory: string
|
||||
selectAll: string
|
||||
selected: string
|
||||
select: string
|
||||
upload: string
|
||||
download: string
|
||||
remove: string
|
||||
preview: string
|
||||
pending: string
|
||||
pendingCount: string
|
||||
total: string
|
||||
empty: string
|
||||
emptyHint: string
|
||||
limitAccept: string
|
||||
limitSize: string
|
||||
limitCount: string
|
||||
dropHint: string
|
||||
previewEmpty: string
|
||||
prev: string
|
||||
next: string
|
||||
removeConfirm: string
|
||||
removeConfirmSingle: string
|
||||
invalidAccept: string
|
||||
invalidMaxSize: string
|
||||
invalidMaxCount: string
|
||||
}
|
||||
/** 结果 / 缺省页文案(403 / 404 / 500 / 离线 / 空状态)。 */
|
||||
result: {
|
||||
'403': { title: string; desc: string }
|
||||
'404': { title: string; desc: string }
|
||||
'500': { title: string; desc: string }
|
||||
offline: { title: string; desc: string }
|
||||
empty: { title: string; desc: string }
|
||||
}
|
||||
}
|
||||
|
||||
export const zhCN: Locale = {
|
||||
@@ -119,6 +166,60 @@ export const zhCN: Locale = {
|
||||
max: '{label}长度不能超过 {max}',
|
||||
invalid: '{label}校验未通过',
|
||||
},
|
||||
captcha: {
|
||||
slide: '按住滑块拖动',
|
||||
verified: '验证通过',
|
||||
sliderLabel: '滑动验证',
|
||||
},
|
||||
attachment: {
|
||||
allCategory: '全部',
|
||||
selectAll: '全选',
|
||||
selected: '已选 {count} 项',
|
||||
select: '选择',
|
||||
upload: '上传',
|
||||
download: '下载',
|
||||
remove: '删除',
|
||||
preview: '预览',
|
||||
pending: '待上传',
|
||||
pendingCount: '待上传 {count} 个',
|
||||
total: '共 {count} 个文件',
|
||||
empty: '暂无文件',
|
||||
emptyHint: '拖拽文件到此处,或点击选择',
|
||||
limitAccept: '支持格式:{accept}',
|
||||
limitSize: '单个文件不超过 {size}',
|
||||
limitCount: '最多 {count} 个待上传',
|
||||
dropHint: '释放文件到此处',
|
||||
previewEmpty: '选择文件查看预览',
|
||||
prev: '上一个',
|
||||
next: '下一个',
|
||||
removeConfirm: '确定删除选中的 {count} 个文件?',
|
||||
removeConfirmSingle: '确定删除「{name}」?',
|
||||
invalidAccept: '「{name}」类型不支持',
|
||||
invalidMaxSize: '「{name}」超过大小限制({size})',
|
||||
invalidMaxCount: '待上传文件最多 {count} 个',
|
||||
},
|
||||
result: {
|
||||
'403': {
|
||||
title: '无权访问',
|
||||
desc: '你没有访问该页面的权限,请联系管理员',
|
||||
},
|
||||
'404': {
|
||||
title: '页面不存在',
|
||||
desc: '你访问的页面不存在或已被移除',
|
||||
},
|
||||
'500': {
|
||||
title: '页面出错了',
|
||||
desc: '服务暂时不可用,请稍后重试',
|
||||
},
|
||||
offline: {
|
||||
title: '网络已断开',
|
||||
desc: '请检查网络连接后重试',
|
||||
},
|
||||
empty: {
|
||||
title: '暂无数据',
|
||||
desc: '',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export const enUS: Locale = {
|
||||
@@ -176,4 +277,58 @@ export const enUS: Locale = {
|
||||
max: '{label} length must be at most {max}',
|
||||
invalid: '{label} failed validation',
|
||||
},
|
||||
captcha: {
|
||||
slide: 'Slide to verify',
|
||||
verified: 'Verified',
|
||||
sliderLabel: 'Slide verification',
|
||||
},
|
||||
attachment: {
|
||||
allCategory: 'All',
|
||||
selectAll: 'Select all',
|
||||
selected: '{count} selected',
|
||||
select: 'Choose',
|
||||
upload: 'Upload',
|
||||
download: 'Download',
|
||||
remove: 'Delete',
|
||||
preview: 'Preview',
|
||||
pending: 'Pending',
|
||||
pendingCount: '{count} pending',
|
||||
total: '{count} files',
|
||||
empty: 'No files',
|
||||
emptyHint: 'Drop files here, or click to choose',
|
||||
limitAccept: 'Accepted: {accept}',
|
||||
limitSize: 'Up to {size} per file',
|
||||
limitCount: 'At most {count} pending',
|
||||
dropHint: 'Drop files here',
|
||||
previewEmpty: 'Select a file to preview',
|
||||
prev: 'Previous',
|
||||
next: 'Next',
|
||||
removeConfirm: 'Delete the {count} selected files?',
|
||||
removeConfirmSingle: 'Delete "{name}"?',
|
||||
invalidAccept: '"{name}" is not an accepted file type',
|
||||
invalidMaxSize: '"{name}" exceeds the size limit ({size})',
|
||||
invalidMaxCount: 'At most {count} pending files',
|
||||
},
|
||||
result: {
|
||||
'403': {
|
||||
title: 'Access Denied',
|
||||
desc: 'You do not have permission to view this page. Please contact an administrator.',
|
||||
},
|
||||
'404': {
|
||||
title: 'Page Not Found',
|
||||
desc: 'The page you visited does not exist or has been removed',
|
||||
},
|
||||
'500': {
|
||||
title: 'Something Went Wrong',
|
||||
desc: 'The service is temporarily unavailable. Please try again later.',
|
||||
},
|
||||
offline: {
|
||||
title: 'You Are Offline',
|
||||
desc: 'Please check your network connection and try again',
|
||||
},
|
||||
empty: {
|
||||
title: 'No Data',
|
||||
desc: '',
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user