[Translation Migration] Fix split or incomplete translations in violations #72795
[Translation Migration] Fix split or incomplete translations in violations #72795thienlnam merged 4 commits intoExpensify:mainfrom
Conversation
Codecov Report❌ Patch coverage is
... and 27 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridApp72795_ios_native.moviOS: mWeb SafariMacOS: Chrome / Safari72795_web_chrome.movMacOS: Desktop72795_web_desktop.mov |
| }; | ||
|
|
||
| function BrokenConnectionDescription({transactionID, policy, report}: BrokenConnectionDescriptionProps) { | ||
| const styles = useThemeStyles(); |
There was a problem hiding this comment.
We can’t modify the styles of the HTML rendered by RenderHTML the same way as in the PR you mentioned. It looks like the component applies its own default styles, so adding styles outside of it won’t have any effect. The only reliable way I found to style the rendered content is by using custom HTML elements, such as <muted-text-label>.
src/languages/es.ts
Outdated
| brokenConnection530Error: 'Recibo pendiente debido a una conexión bancaria rota', | ||
| adminBrokenConnectionError: 'Recibo pendiente debido a una conexión bancaria rota. Por favor, resuélvelo en ', | ||
| adminBrokenConnectionError: ({workspaceCompanyCardRoute}: {workspaceCompanyCardRoute: string}) => | ||
| `<muted-text-label>Recibo pendiente debido a una conexión bancaria interrumpida. Por favor, resuélvelo en <a href="${workspaceCompanyCardRoute}">Tarjetas de empresa</a>.</muted-text-label>`, |
There was a problem hiding this comment.
@ra-md Why did we change rota to interrumpida? Did we confirm this in Slack? Sorry, I didn't see it.
There was a problem hiding this comment.
Oops, my bad — I’ll switch it back.
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 9.2.38-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.2.38-5 🚀
|
Explanation of Change
Fixed Issues
$ #72055
PROPOSAL: #72055 (comment)
Tests
Offline tests
Same as tests.
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
I’m unable to provide a screenshot or video on native iOS due to an Xcode error. I’ll need some time to resolve the issue.
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop