fix: title for editing apikey
This commit is contained in:
@@ -2,6 +2,7 @@ export default {
|
|||||||
'apikeys.title': 'API Keys',
|
'apikeys.title': 'API Keys',
|
||||||
'apikeys.table.apikeys': 'keys',
|
'apikeys.table.apikeys': 'keys',
|
||||||
'apikeys.button.create': 'Add API Key',
|
'apikeys.button.create': 'Add API Key',
|
||||||
|
'apikeys.button.edit': 'Edit API Key',
|
||||||
'apikeys.title.save': 'Save API Key',
|
'apikeys.title.save': 'Save API Key',
|
||||||
'apikeys.form.expiretime': 'Expiration',
|
'apikeys.form.expiretime': 'Expiration',
|
||||||
'apikeys.form.apikey': 'API Key',
|
'apikeys.form.apikey': 'API Key',
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ export default {
|
|||||||
'apikeys.title': 'APIキー',
|
'apikeys.title': 'APIキー',
|
||||||
'apikeys.table.apikeys': 'キー',
|
'apikeys.table.apikeys': 'キー',
|
||||||
'apikeys.button.create': '新しいAPIキーを作成',
|
'apikeys.button.create': '新しいAPIキーを作成',
|
||||||
|
'apikeys.button.edit': 'APIキーを編集',
|
||||||
'apikeys.title.save': 'APIキーを保存',
|
'apikeys.title.save': 'APIキーを保存',
|
||||||
'apikeys.form.expiretime': '有効期限',
|
'apikeys.form.expiretime': '有効期限',
|
||||||
'apikeys.form.apikey': 'APIキー',
|
'apikeys.form.apikey': 'APIキー',
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ export default {
|
|||||||
'apikeys.title': 'API-ключи',
|
'apikeys.title': 'API-ключи',
|
||||||
'apikeys.table.apikeys': 'Ключи',
|
'apikeys.table.apikeys': 'Ключи',
|
||||||
'apikeys.button.create': 'Создать API-ключ',
|
'apikeys.button.create': 'Создать API-ключ',
|
||||||
|
'apikeys.button.edit': 'Редактировать API-ключ',
|
||||||
'apikeys.title.save': 'Сохранить API-ключ',
|
'apikeys.title.save': 'Сохранить API-ключ',
|
||||||
'apikeys.form.expiretime': 'Срок действия',
|
'apikeys.form.expiretime': 'Срок действия',
|
||||||
'apikeys.form.apikey': 'API-ключ',
|
'apikeys.form.apikey': 'API-ключ',
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ export default {
|
|||||||
'apikeys.title': 'API 密钥',
|
'apikeys.title': 'API 密钥',
|
||||||
'apikeys.table.apikeys': '密钥',
|
'apikeys.table.apikeys': '密钥',
|
||||||
'apikeys.button.create': '添加 API 密钥',
|
'apikeys.button.create': '添加 API 密钥',
|
||||||
|
'apikeys.button.edit': '编辑 API 密钥',
|
||||||
'apikeys.title.save': '保存 API 密钥',
|
'apikeys.title.save': '保存 API 密钥',
|
||||||
'apikeys.form.expiretime': '过期时间',
|
'apikeys.form.expiretime': '过期时间',
|
||||||
'apikeys.form.apikey': 'API 密钥',
|
'apikeys.form.apikey': 'API 密钥',
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ const APIKeys: React.FC = () => {
|
|||||||
const handleEditKey = (record: ListItem) => {
|
const handleEditKey = (record: ListItem) => {
|
||||||
setOpenAddModal({
|
setOpenAddModal({
|
||||||
open: true,
|
open: true,
|
||||||
title: 'Edit API Key',
|
title: intl.formatMessage({ id: 'apikeys.button.edit' }),
|
||||||
action: PageAction.EDIT,
|
action: PageAction.EDIT,
|
||||||
currentData: record
|
currentData: record
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user