Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new tDom fn to gen script #2

Merged
merged 1 commit into from
Jan 5, 2022
Merged

Conversation

kerryarchibald
Copy link
Contributor

@kerryarchibald kerryarchibald commented Dec 10, 2021

matrix-org/matrix-react-sdk#7323

Adds new translation function, _tDom, that attributes fallback locale on fallback translations by wrapping translated text in a span. _tDom potentially returns jsx while _t returns plain text

@kerryarchibald kerryarchibald merged commit a8a0180 into master Jan 5, 2022
@kerryarchibald kerryarchibald deleted the pse-182/add-tdom branch January 5, 2022 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants