fix: i18n, password edit, and key count issues

- Add i18n to all components (zh-CN/en)
- Fix password not showing when editing connection
- Fix key count showing 0 by adding getInfo function
This commit is contained in:
2026-07-04 22:26:32 +08:00
parent 86b0eff95b
commit 3b402771d5
13 changed files with 155 additions and 100 deletions
+9
View File
@@ -61,6 +61,8 @@ export default {
batchConfirm: '删除 {n} 个键?',
batchDeleted: '已删除 {n} 个键',
selected: '已选 {n} 项',
selectKey: '选择一个键查看详情',
unsupported: '类型 "{type}" 查看器尚未实现',
},
types: {
string: '字符串',
@@ -78,6 +80,7 @@ export default {
push: '推入',
addField: '添加字段',
addMember: '添加成员',
addEntry: '添加条目',
filter: '过滤...',
refresh: '刷新',
elements: '{n} 个元素',
@@ -86,9 +89,15 @@ export default {
field: '字段',
value: '值',
score: '分数',
member: '成员',
remove: '移除',
removed: '已移除',
added: '已添加',
trim: '裁剪',
trimConfirm: '裁剪流?',
entryId: 'ID (使用 * 自动生成)',
fields: '字段',
maxLength: '最大长度',
},
cli: {
title: 'CLI',