diff --git a/app/src/Lang/ar.json b/app/src/Lang/ar.json index 091d274..4af9b22 100644 --- a/app/src/Lang/ar.json +++ b/app/src/Lang/ar.json @@ -80,5 +80,15 @@ "user_delete_success": "Auto-translated 'User ''{username}'' deleted successfully.' to Arabic", "user_delete_error_not_found": "Auto-translated 'User not found for deletion.' to Arabic", "user_delete_error_db": "Auto-translated 'Error deleting user from the database.' to Arabic", - "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Arabic" + "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Arabic", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" } diff --git a/app/src/Lang/de.json b/app/src/Lang/de.json index 90c16d4..6a5b1ac 100644 --- a/app/src/Lang/de.json +++ b/app/src/Lang/de.json @@ -80,5 +80,15 @@ "user_delete_success": "Benutzer '{username}' erfolgreich gelöscht.", "user_delete_error_not_found": "Benutzer zum Löschen nicht gefunden.", "user_delete_error_db": "Fehler beim Löschen des Benutzers aus der Datenbank.", - "self_delete_not_allowed": "Sie können sich nicht selbst löschen." + "self_delete_not_allowed": "Sie können sich nicht selbst löschen.", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" } diff --git a/app/src/Lang/en.json b/app/src/Lang/en.json index 6951f8a..53e4348 100644 --- a/app/src/Lang/en.json +++ b/app/src/Lang/en.json @@ -80,5 +80,15 @@ "user_delete_success": "User '{username}' deleted successfully.", "user_delete_error_not_found": "User not found for deletion.", "user_delete_error_db": "Error deleting user from the database.", - "self_delete_not_allowed": "You cannot delete yourself." + "self_delete_not_allowed": "You cannot delete yourself.", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" } diff --git a/app/src/Lang/es.json b/app/src/Lang/es.json index 66cb7ab..fc628a2 100644 --- a/app/src/Lang/es.json +++ b/app/src/Lang/es.json @@ -80,5 +80,15 @@ "user_delete_success": "Usuario '{username}' eliminado correctamente.", "user_delete_error_not_found": "Usuario no encontrado para la eliminación.", "user_delete_error_db": "Error al eliminar el usuario de la base de datos.", - "self_delete_not_allowed": "No puedes eliminarte a ti mismo." + "self_delete_not_allowed": "No puedes eliminarte a ti mismo.", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" } diff --git a/app/src/Lang/hi.json b/app/src/Lang/hi.json index a2f7b86..bdee1a4 100644 --- a/app/src/Lang/hi.json +++ b/app/src/Lang/hi.json @@ -80,5 +80,15 @@ "user_delete_success": "Auto-translated 'User ''{username}'' deleted successfully.' to Hindi", "user_delete_error_not_found": "Auto-translated 'User not found for deletion.' to Hindi", "user_delete_error_db": "Auto-translated 'Error deleting user from the database.' to Hindi", - "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Hindi" + "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Hindi", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" } diff --git a/app/src/Lang/it.json b/app/src/Lang/it.json index 2145aa9..b30a72f 100644 --- a/app/src/Lang/it.json +++ b/app/src/Lang/it.json @@ -80,5 +80,15 @@ "user_delete_success": "Utente '{username}' eliminato con successo.", "user_delete_error_not_found": "Utente non trovato per l'eliminazione.", "user_delete_error_db": "Errore durante l'eliminazione dell'utente dal database.", - "self_delete_not_allowed": "Non puoi eliminare te stesso." + "self_delete_not_allowed": "Non puoi eliminare te stesso.", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" } diff --git a/app/src/Lang/ja.json b/app/src/Lang/ja.json index bccf65c..4b1fc53 100644 --- a/app/src/Lang/ja.json +++ b/app/src/Lang/ja.json @@ -80,5 +80,15 @@ "user_delete_success": "Auto-translated 'User ''{username}'' deleted successfully.' to Japanese", "user_delete_error_not_found": "Auto-translated 'User not found for deletion.' to Japanese", "user_delete_error_db": "Auto-translated 'Error deleting user from the database.' to Japanese", - "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Japanese" + "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Japanese", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" } diff --git a/app/src/Lang/pt.json b/app/src/Lang/pt.json index 1ff5920..9e7e453 100644 --- a/app/src/Lang/pt.json +++ b/app/src/Lang/pt.json @@ -80,5 +80,15 @@ "user_delete_success": "Utilizador '{username}' eliminado com sucesso.", "user_delete_error_not_found": "Utilizador não encontrado para eliminação.", "user_delete_error_db": "Erro ao eliminar utilizador da base de dados.", - "self_delete_not_allowed": "Não pode eliminar-se a si mesmo." + "self_delete_not_allowed": "Não pode eliminar-se a si mesmo.", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" } diff --git a/app/src/Lang/ru.json b/app/src/Lang/ru.json index 4deb99e..940f10d 100644 --- a/app/src/Lang/ru.json +++ b/app/src/Lang/ru.json @@ -80,5 +80,15 @@ "user_delete_success": "Auto-translated 'User ''{username}'' deleted successfully.' to Russian", "user_delete_error_not_found": "Auto-translated 'User not found for deletion.' to Russian", "user_delete_error_db": "Auto-translated 'Error deleting user from the database.' to Russian", - "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Russian" + "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Russian", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" } diff --git a/app/src/Lang/zh.json b/app/src/Lang/zh.json index e8b19b2..af88502 100644 --- a/app/src/Lang/zh.json +++ b/app/src/Lang/zh.json @@ -80,5 +80,15 @@ "user_delete_success": "Auto-translated 'User ''{username}'' deleted successfully.' to Chinese", "user_delete_error_not_found": "Auto-translated 'User not found for deletion.' to Chinese", "user_delete_error_db": "Auto-translated 'Error deleting user from the database.' to Chinese", - "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Chinese" + "self_delete_not_allowed": "Auto-translated 'You cannot delete yourself.' to Chinese", + "user_role_error_id_missing": "User ID missing for role modification.", + "user_not_found": "User not found.", + "cannot_change_admin_role": "The main administrator's role or your own role cannot be modified.", + "cannot_remove_last_admin_role": "Cannot remove administrator status from the last administrator.", + "user_role_updated_success": "User '{username}' role has been successfully changed to '{role}'.", + "user_role_update_error_db": "Database error while updating user role.", + "confirm_toggle_admin_role": "Are you sure you want to modify this user's role?", + "remove_admin_status": "Remove Admin", + "pass_to_admin": "Make Admin", + "cannot_change_main_admin_role": "Role not modifiable" }