fix: title for editing apikey

This commit is contained in:
jialin
2026-03-16 14:48:46 +08:00
committed by jialin
parent 3f57cf21f7
commit 85ea619b18
5 changed files with 5 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@ export default {
'apikeys.title': 'API Keys',
'apikeys.table.apikeys': 'keys',
'apikeys.button.create': 'Add API Key',
'apikeys.button.edit': 'Edit API Key',
'apikeys.title.save': 'Save API Key',
'apikeys.form.expiretime': 'Expiration',
'apikeys.form.apikey': 'API Key',
+1
View File
@@ -2,6 +2,7 @@ export default {
'apikeys.title': 'APIキー',
'apikeys.table.apikeys': 'キー',
'apikeys.button.create': '新しいAPIキーを作成',
'apikeys.button.edit': 'APIキーを編集',
'apikeys.title.save': 'APIキーを保存',
'apikeys.form.expiretime': '有効期限',
'apikeys.form.apikey': 'APIキー',
+1
View File
@@ -2,6 +2,7 @@ export default {
'apikeys.title': 'API-ключи',
'apikeys.table.apikeys': 'Ключи',
'apikeys.button.create': 'Создать API-ключ',
'apikeys.button.edit': 'Редактировать API-ключ',
'apikeys.title.save': 'Сохранить API-ключ',
'apikeys.form.expiretime': 'Срок действия',
'apikeys.form.apikey': 'API-ключ',
+1
View File
@@ -2,6 +2,7 @@ export default {
'apikeys.title': 'API 密钥',
'apikeys.table.apikeys': '密钥',
'apikeys.button.create': '添加 API 密钥',
'apikeys.button.edit': '编辑 API 密钥',
'apikeys.title.save': '保存 API 密钥',
'apikeys.form.expiretime': '过期时间',
'apikeys.form.apikey': 'API 密钥',
+1 -1
View File
@@ -62,7 +62,7 @@ const APIKeys: React.FC = () => {
const handleEditKey = (record: ListItem) => {
setOpenAddModal({
open: true,
title: 'Edit API Key',
title: intl.formatMessage({ id: 'apikeys.button.edit' }),
action: PageAction.EDIT,
currentData: record
});