This PR localizes the string passes as the explanation of the rejection reason when rejecting a users comments as part of the account deletion flow.
These changes will impact:
[ ] commenters
[x] moderators
[x] admins
[ ] developers
What changes to the GraphQL/Database Schema does this PR introduce?
None.
Does this PR introduce any new environment variables or feature flags?
No.
If any indexes were added, were they added to INDEXES.md?
n/a
How do I test this PR?
Change your tenants locale to something other than english.
In the FTL file for that locale, add a translation for common-accountDeleted.
Delete a user's account, observe that the moderation actions for the resulting rejected comments have a detailedExplanation field matching your FTL entry.
Where any tests migrated to React Testing Library?
What does this PR do?
This PR localizes the string passes as the explanation of the rejection reason when rejecting a users comments as part of the account deletion flow.
These changes will impact:
What changes to the GraphQL/Database Schema does this PR introduce?
None.
Does this PR introduce any new environment variables or feature flags?
No.
If any indexes were added, were they added to
INDEXES.md
?n/a
How do I test this PR?
Change your tenants locale to something other than english. In the FTL file for that locale, add a translation for
common-accountDeleted
. Delete a user's account, observe that the moderation actions for the resulting rejected comments have adetailedExplanation
field matching your FTL entry.Where any tests migrated to React Testing Library?
No.
How do we deploy this PR?
No special considerations should be needed