feat(tenant): add tenant name update functionality and enhance UI

Implemented a new API endpoint for updating tenant names, allowing owners to edit tenant information directly within the UI. The frontend now supports inline editing with success and error notifications. Additionally, internationalization files have been updated to include relevant messages for the new functionality across English, Korean, Russian, and Chinese languages, ensuring a consistent user experience.

Refs: #1303
This commit is contained in:
wizardchen
2026-05-16 04:09:30 +08:00
committed by lyingbug
parent 57fde55583
commit b2411542eb
7 changed files with 339 additions and 56 deletions
+10 -2
View File
@@ -1429,7 +1429,14 @@ export default {
statusLabel: 'Статус арендатора',
statusDescription: 'Текущий рабочий статус арендатора',
createdAtLabel: 'Время создания арендатора',
createdAtDescription: 'Дата и время создания арендатора'
createdAtDescription: 'Дата и время создания арендатора',
editName: 'Изменить имя',
editNamePlaceholder: 'Введите новое имя арендатора',
editNameConfirm: 'Сохранить',
editNameCancel: 'Отмена',
editNameRequired: 'Имя арендатора не может быть пустым',
editNameSuccess: 'Имя арендатора обновлено',
editNameFailed: 'Не удалось обновить имя арендатора'
},
storage: {
quotaLabel: 'Квота хранения',
@@ -1580,7 +1587,8 @@ export default {
tenant: {
listFailed: 'Не удалось получить список тенантов',
searchFailed: 'Не удалось выполнить поиск тенантов',
resetApiKeyFailed: 'Не удалось сбросить API Key'
resetApiKeyFailed: 'Не удалось сбросить API Key',
updateFailed: 'Не удалось обновить информацию об арендаторе'
},
initialization: {
checkFailed: 'Проверка не пройдена',