From 5f6c0e1829333266627a522c5e3f5685b9591a59 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Wed, 11 Mar 2026 20:27:23 +0100 Subject: [PATCH] feat: add success messages for user removal in multiple languages in translation files --- apps/dashboard/src/lib/utils/translations/da.json | 3 ++- apps/dashboard/src/lib/utils/translations/de.json | 3 ++- apps/dashboard/src/lib/utils/translations/en.json | 3 ++- apps/dashboard/src/lib/utils/translations/es.json | 3 ++- apps/dashboard/src/lib/utils/translations/fr.json | 3 ++- apps/dashboard/src/lib/utils/translations/hi.json | 3 ++- apps/dashboard/src/lib/utils/translations/pl.json | 3 ++- apps/dashboard/src/lib/utils/translations/pt.json | 3 ++- apps/dashboard/src/lib/utils/translations/ru.json | 3 ++- apps/dashboard/src/lib/utils/translations/vi.json | 3 ++- 10 files changed, 20 insertions(+), 10 deletions(-) diff --git a/apps/dashboard/src/lib/utils/translations/da.json b/apps/dashboard/src/lib/utils/translations/da.json index a6d1baa7..32abfe5f 100644 --- a/apps/dashboard/src/lib/utils/translations/da.json +++ b/apps/dashboard/src/lib/utils/translations/da.json @@ -257,7 +257,8 @@ "invite_sent": "Invitation sendt!", "user_exists": "Brugeren findes allerede", "invite_fail": "Kunne ikke sende invitationen. Prøv venligst igen", - "remove_fail": "Kunne ikke fjerne bruger. Prøv venligst igen" + "remove_fail": "Kunne ikke fjerne bruger. Prøv venligst igen", + "remove_success": "Medlem fjernet" }, "lms": { "error": { diff --git a/apps/dashboard/src/lib/utils/translations/de.json b/apps/dashboard/src/lib/utils/translations/de.json index a13531fc..59765775 100644 --- a/apps/dashboard/src/lib/utils/translations/de.json +++ b/apps/dashboard/src/lib/utils/translations/de.json @@ -257,7 +257,8 @@ "invite_sent": "Einladung gesendet!", "user_exists": "Benutzer existiert bereits", "invite_fail": "Die Einladung konnte nicht gesendet werden. Bitte versuchen Sie es erneut", - "remove_fail": "Der Benutzer konnte nicht entfernt werden. Bitte versuchen Sie es erneut" + "remove_fail": "Der Benutzer konnte nicht entfernt werden. Bitte versuchen Sie es erneut", + "remove_success": "Mitglied erfolgreich entfernt" }, "lms": { "error": { diff --git a/apps/dashboard/src/lib/utils/translations/en.json b/apps/dashboard/src/lib/utils/translations/en.json index 5a66df36..071ed1ee 100644 --- a/apps/dashboard/src/lib/utils/translations/en.json +++ b/apps/dashboard/src/lib/utils/translations/en.json @@ -2254,7 +2254,8 @@ "invite_sent": "Invite Sent!", "user_exists": "User Already Exists", "invite_fail": "Failed to send invite, please try again", - "remove_fail": "Failed to remove user, please try again" + "remove_fail": "Failed to remove user, please try again", + "remove_success": "Member removed successfully" }, "tags": { diff --git a/apps/dashboard/src/lib/utils/translations/es.json b/apps/dashboard/src/lib/utils/translations/es.json index 75e5c5a6..040c390a 100644 --- a/apps/dashboard/src/lib/utils/translations/es.json +++ b/apps/dashboard/src/lib/utils/translations/es.json @@ -257,7 +257,8 @@ "invite_sent": "¡Invitación enviada!", "user_exists": "El usuario ya existe", "invite_fail": "No se pudo enviar la invitación, inténtelo de nuevo", - "remove_fail": "No se pudo eliminar el usuario, inténtelo de nuevo" + "remove_fail": "No se pudo eliminar el usuario, inténtelo de nuevo", + "remove_success": "Miembro eliminado correctamente" }, "lms": { "error": { diff --git a/apps/dashboard/src/lib/utils/translations/fr.json b/apps/dashboard/src/lib/utils/translations/fr.json index 942f5230..20c5f4cc 100644 --- a/apps/dashboard/src/lib/utils/translations/fr.json +++ b/apps/dashboard/src/lib/utils/translations/fr.json @@ -257,7 +257,8 @@ "invite_sent": "Invitation envoyée !", "user_exists": "L'utilisateur existe déjà", "invite_fail": "Échec de l'envoi de l'invitation, veuillez réessayer", - "remove_fail": "Échec de la suppression de l'utilisateur, veuillez réessayer" + "remove_fail": "Échec de la suppression de l'utilisateur, veuillez réessayer", + "remove_success": "Membre supprimé avec succès" }, "lms": { "error": { diff --git a/apps/dashboard/src/lib/utils/translations/hi.json b/apps/dashboard/src/lib/utils/translations/hi.json index 1f8ab2a7..6908f812 100644 --- a/apps/dashboard/src/lib/utils/translations/hi.json +++ b/apps/dashboard/src/lib/utils/translations/hi.json @@ -257,7 +257,8 @@ "invite_sent": "आमंत्रण भेजा गया!", "user_exists": "उपयोगकर्ता पहले से मौजूद है", "invite_fail": "आमंत्रण भेजने में विफल, कृपया पुनः प्रयास करें", - "remove_fail": "उपयोगकर्ता को हटाने में विफल, कृपया पुनः प्रयास करें" + "remove_fail": "उपयोगकर्ता को हटाने में विफल, कृपया पुनः प्रयास करें", + "remove_success": "सदस्य सफलतापूर्वक हटाया गया" }, "lms": { "error": { diff --git a/apps/dashboard/src/lib/utils/translations/pl.json b/apps/dashboard/src/lib/utils/translations/pl.json index b3817aa6..1de4d4fd 100644 --- a/apps/dashboard/src/lib/utils/translations/pl.json +++ b/apps/dashboard/src/lib/utils/translations/pl.json @@ -257,7 +257,8 @@ "invite_sent": "Zaproszenie wysłane!", "user_exists": "Użytkownik już istnieje", "invite_fail": "Nie udało się wysłać zaproszenia. Spróbuj ponownie", - "remove_fail": "Nie udało się usunąć użytkownika. Spróbuj ponownie" + "remove_fail": "Nie udało się usunąć użytkownika. Spróbuj ponownie", + "remove_success": "Członek usunięty pomyślnie" }, "lms": { "error": { diff --git a/apps/dashboard/src/lib/utils/translations/pt.json b/apps/dashboard/src/lib/utils/translations/pt.json index 79cdf9c1..7b88a8a7 100644 --- a/apps/dashboard/src/lib/utils/translations/pt.json +++ b/apps/dashboard/src/lib/utils/translations/pt.json @@ -257,7 +257,8 @@ "invite_sent": "Convite enviado!", "user_exists": "O usuário já existe", "invite_fail": "Falha ao enviar o convite. Tente novamente", - "remove_fail": "Falha ao remover usuário. Tente novamente" + "remove_fail": "Falha ao remover usuário. Tente novamente", + "remove_success": "Membro removido com sucesso" }, "lms": { "error": { diff --git a/apps/dashboard/src/lib/utils/translations/ru.json b/apps/dashboard/src/lib/utils/translations/ru.json index 20a9f9b9..53d03dd5 100644 --- a/apps/dashboard/src/lib/utils/translations/ru.json +++ b/apps/dashboard/src/lib/utils/translations/ru.json @@ -257,7 +257,8 @@ "invite_sent": "Приглашение отправлено!", "user_exists": "Пользователь уже существует", "invite_fail": "Не удалось отправить приглашение. Повторите попытку.", - "remove_fail": "Не удалось удалить пользователя. Повторите попытку." + "remove_fail": "Не удалось удалить пользователя. Повторите попытку.", + "remove_success": "Участник успешно удалён" }, "lms": { "error": { diff --git a/apps/dashboard/src/lib/utils/translations/vi.json b/apps/dashboard/src/lib/utils/translations/vi.json index 8b447708..2c289400 100644 --- a/apps/dashboard/src/lib/utils/translations/vi.json +++ b/apps/dashboard/src/lib/utils/translations/vi.json @@ -257,7 +257,8 @@ "invite_sent": "Đã gửi lời mời!", "user_exists": "Người dùng đã tồn tại", "invite_fail": "Không gửi được lời mời, vui lòng thử lại", - "remove_fail": "Không xóa được người dùng, vui lòng thử lại" + "remove_fail": "Không xóa được người dùng, vui lòng thử lại", + "remove_success": "Đã xóa thành viên thành công" }, "lms": { "error": {