Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ export function CloudTenantForm({
setName('')
setConfig(emptyConfig(fields))
onSaved()
toast.success(
isEditing
? t('integrations.setup.cloud.tenants.updateSuccess')
: t('integrations.setup.cloud.tenants.createSuccess'),
)
},
onError: (err) => {
const fallback = isEditing
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/shared/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2852,7 +2852,9 @@
"fileLoaded": "Datei geladen",
"invalidJson": "Die Datei konnte nicht als JSON gelesen werden.",
"createError": "Der Mandant konnte nicht erstellt werden. Bitte erneut versuchen.",
"updateError": "Der Mandant konnte nicht aktualisiert werden. Bitte erneut versuchen."
"updateError": "Der Mandant konnte nicht aktualisiert werden. Bitte erneut versuchen.",
"createSuccess": "Mandant erfolgreich erstellt.",
"updateSuccess": "Mandant erfolgreich aktualisiert."
},
"google": {
"sections": {
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/shared/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2852,7 +2852,9 @@
"fileLoaded": "File loaded",
"invalidJson": "Could not parse the file as JSON.",
"createError": "Could not create the tenant. Please try again.",
"updateError": "Could not update the tenant. Please try again."
"updateError": "Could not update the tenant. Please try again.",
"createSuccess": "Tenant created successfully.",
"updateSuccess": "Tenant updated successfully."
},
"google": {
"intro": {
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/shared/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2852,7 +2852,9 @@
"fileLoaded": "Archivo cargado",
"invalidJson": "No se pudo procesar el archivo como JSON.",
"createError": "No se pudo crear el tenant. Inténtalo de nuevo.",
"updateError": "No se pudo actualizar el tenant. Inténtalo de nuevo."
"updateError": "No se pudo actualizar el tenant. Inténtalo de nuevo.",
"createSuccess": "Tenant creado correctamente.",
"updateSuccess": "Tenant actualizado correctamente."
},
"google": {
"sections": {
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/shared/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2852,7 +2852,9 @@
"fileLoaded": "Fichier chargé",
"invalidJson": "Impossible de lire le fichier comme JSON.",
"createError": "Impossible de créer le tenant. Veuillez réessayer.",
"updateError": "Impossible de mettre à jour le tenant. Veuillez réessayer."
"updateError": "Impossible de mettre à jour le tenant. Veuillez réessayer.",
"createSuccess": "Tenant créé avec succès.",
"updateSuccess": "Tenant mis à jour avec succès."
},
"google": {
"sections": {
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/shared/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -2852,7 +2852,9 @@
"fileLoaded": "File caricato",
"invalidJson": "Impossibile interpretare il file come JSON.",
"createError": "Impossibile creare il tenant. Riprova.",
"updateError": "Impossibile aggiornare il tenant. Riprova."
"updateError": "Impossibile aggiornare il tenant. Riprova.",
"createSuccess": "Tenant creato con successo.",
"updateSuccess": "Tenant aggiornato con successo."
},
"google": {
"sections": {
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/shared/i18n/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -2852,7 +2852,9 @@
"fileLoaded": "Arquivo carregado",
"invalidJson": "Não foi possível ler o arquivo como JSON.",
"createError": "Não foi possível criar o tenant. Tente novamente.",
"updateError": "Não foi possível atualizar o tenant. Tente novamente."
"updateError": "Não foi possível atualizar o tenant. Tente novamente.",
"createSuccess": "Tenant criado com sucesso.",
"updateSuccess": "Tenant atualizado com sucesso."
},
"google": {
"sections": {
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/shared/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,9 @@
"fileLoaded": "Файл загружен",
"invalidJson": "Не удалось прочитать файл как JSON.",
"createError": "Не удалось создать тенант. Повторите попытку.",
"updateError": "Не удалось обновить тенант. Повторите попытку."
"updateError": "Не удалось обновить тенант. Повторите попытку.",
"createSuccess": "Тенант успешно создан.",
"updateSuccess": "Тенант успешно обновлён."
},
"google": {
"sections": {
Expand Down
Loading