diff --git a/server/src/core/server/locales/en-US/common.ftl b/server/src/core/server/locales/en-US/common.ftl index 81fedc75f1..c00e2db535 100644 --- a/server/src/core/server/locales/en-US/common.ftl +++ b/server/src/core/server/locales/en-US/common.ftl @@ -153,3 +153,6 @@ notifications-dsaReportDecisionMade-body-withInfo = common-accountDeleted = User account was deleted. + +common-userBanned = + User was banned. diff --git a/server/src/core/server/services/users/users.ts b/server/src/core/server/services/users/users.ts index 6858dec264..02c486b913 100644 --- a/server/src/core/server/services/users/users.ts +++ b/server/src/core/server/services/users/users.ts @@ -1471,8 +1471,8 @@ export async function ban( const bundle = i18n.getBundle(tenant.locale); const tranlsatedExplanation = translate( bundle, - "common-userBanned", - "User banned." + "User was banned.", + "common-userBanned" ); const rejectionReason = { code: GQLREJECTION_REASON_CODE.OTHER, @@ -1706,8 +1706,8 @@ export async function updateUserBan( const bundle = i18n.getBundle(tenant.locale); const detailedExplanation = translate( bundle, - "common-userBanned", - "User was banned." + "User was banned.", + "common-userBanned" ); await rejector.add({ tenantID: tenant.id,