Render Legal Hold translations with React [WPB-27666] - #22451
Merged
Conversation
screendriver
enabled auto-merge
September 11, 2026 07:44
screendriver
marked this pull request as draft
September 11, 2026 07:45
auto-merge was automatically disabled
September 11, 2026 07:45
Pull request was converted to draft
screendriver
force-pushed
the
legal-hold-react-translations
branch
from
September 11, 2026 08:08
4b2c686 to
4a6697b
Compare
screendriver
marked this pull request as ready for review
September 11, 2026 08:11
screendriver
enabled auto-merge
September 11, 2026 08:11
zskhan
approved these changes
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request continues the localized rich-text rendering migration from #22411, #22431, #22433, and #22444.
It moves the remaining direct Legal Hold UI translations to React-based rendering behind the existing startup feature toggle:
Changes
This batch covers:
The Legal Hold request message now renders its translated line break and fingerprint placeholder as React nodes. The actual fingerprint remains ordinary React text and is kept separate from translation formatting.
The informational Legal Hold descriptions retain compatibility with their existing
<br />translation token, which is mapped explicitly to a React line break rather than treating the translation as arbitrary HTML.The blocked-user Legal Hold message now renders its translated
[link]...[/link]content as a real React link while keeping the destination and link attributes application-controlled.Translation compatibility
The Sinhala
legalHoldModalTexttranslation is aligned with the shared[fingerprint]marker used by the other locales.The existing French Legal Hold description containing line-break characters remains unchanged and is treated as ordinary translated text.