Skip to content

Commit

Permalink
refactor(i18n): restructure user pat view localization keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiinaKin committed Dec 4, 2024
1 parent 36e3471 commit a0d73cf
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 85 deletions.
97 changes: 59 additions & 38 deletions ui/src/locales/zh_cn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,44 +186,65 @@ myProfileView:
profileIsDefaultImagePrivateTrue: ""
profileIsDefaultImagePrivateFalse: ""
myPatView:
myPATCreateButton: "创建令牌"
myPATTablePATId: "令牌ID"
myPATTablePATName: "令牌名"
myPATTableCreateTime: "创建时间"
myPATTableExpireTime: "过期时间"
myPATTableOpsTitle: "操作"
myPATTableOpsEdit: "编辑"
myPATTableOpsDelete: "删除"
myPATCreateDialogTitle: "创建令牌"
myPATCreateDialogPATName: "令牌名"
myPATCreateDialogPATNameRequirements: "令牌名不能为空"
myPATCreateDialogPATDesc: "令牌描述"
myPATCreateDialogPATExpireTime: "过期时间"
myPATCreateDialogPATExpireTimeRequirements: "过期时间不能为空"
myPATCreateDialogCancelButton: "取消"
myPATCreateDialogSubmitButton: "创建"
myPATCreateDialogSuccessTitle: "创建成功"
myPATCreateDialogFailedTitle: "创建失败"
myPATTokenDisplayDialogTitle: "令牌信息"
myPATTokenDisplayDialogToken: "令牌值"
myPATTokenDisplayDialogCopyButton: "复制"
myPATTokenDisplayDialogCopySuccessTitle: "复制成功"
myPATTokenDisplayDialogCopySuccessContent: "令牌已复制到剪贴板"
myPATDeleteConfirmDialogTitle: "确认删除"
myPATDeleteConfirmDialogWarningTitle: "你确定要删除这个令牌吗?"
myPATDeleteConfirmDialogWarningContent: "真的会删除,对应令牌会立刻失效"
myPATDeleteConfirmDialogCancelButton: "取消"
myPATDeleteConfirmDialogSubmitButton: "确认删除"
myPATDeleteConfirmDialogSuccessTitle: "删除成功"
myPATDeleteConfirmDialogFailedTitle: "删除失败"
myPATEditDialogTitle: "修改令牌"
myPATEditDialogPATName: "令牌名"
myPATEditDialogPATDesc: "令牌描述"
myPATEditDialogCancelButton: "取消"
myPATEditDialogSubmitButton: "修改"
myPATEditDialogSuccessTitle: "修改成功"
myPATEditDialogFailedTitle: "修改失败"
myPATEditDialogValidationFailedMessage: "令牌名和描述不能同时为空"
toolbar:
createButton: "创建令牌"
table:
patId: "令牌ID"
patName: "令牌名"
createTime: "创建时间"
expireTime: "过期时间"
ops:
title: "操作"
edit: "编辑"
delete: "删除"
create:
dialog:
title: "创建令牌"
form:
patName: "令牌名"
description: "令牌描述"
expireTime: "过期时间"
cancelButton: "取消"
submitButton: "创建"
verify:
patName:
required: "令牌名不能为空"
expireTime:
required: "过期时间不能为空"
toast:
successTitle: "创建成功"
failedTitle: "创建失败"
createdDetail:
dialog:
title: "令牌信息"
token: "令牌值"
copyButton: "复制"
toast:
copySuccessTitle: "复制成功"
copySuccessContent: "令牌已复制到剪贴板"
delete:
dialog:
title: "确认删除"
warningTitle: "你确定要删除这个令牌吗?"
warningContent: "真的会删除,对应令牌会立刻失效"
cancelButton: "取消"
submitButton: "确认删除"
toast:
successTitle: "删除成功"
failedTitle: "删除失败"
edit:
dialog:
title: "修改令牌"
form:
patName: "令牌名"
patDescription: "令牌描述"
cancelButton: "取消"
submitButton: "修改"
verify:
atLeastOneField: "令牌名和描述不能同时为空"
toast:
successTitle: "修改成功"
failedTitle: "修改失败"
adminField:
menu:
overview: "概览"
Expand Down
Loading

0 comments on commit a0d73cf

Please sign in to comment.