[CP Staging] fix: use locale-specific separators#56340
[CP Staging] fix: use locale-specific separators#56340luacmartins merged 3 commits intoExpensify:mainfrom
Conversation
|
@brunovjk would you mind to review these changes? |
|
@kirillzyusko I found a bug, I can't save a value with decimal if the app is in Spanish, it keeps showing Screen.Recording.2025-02-04.at.10.37.11.movIn English everything works fine. I'm investigating it too. |
Fixed in 795f631 |
|
Reviewing |
Reviewer Checklist
Screenshots/VideosAndroid: Native56340_android_native.movAndroid: mWeb Chrome56340_android_web.moviOS: Native56340_ios_native.moviOS: mWeb Safari56340_ios_web.movMacOS: Chrome / Safari56340_web_chrome.movMacOS: Desktop56340_web_desktop.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…-for-spanish-locale [CP Staging] fix: use locale-specific separators (cherry picked from commit b90c4c6) (CP triggered by luacmartins)
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.0.94-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.94-25 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.94-25 🚀
|
Explanation of Change
Use separator conditionally based on current locale.
Fixed Issues
$ #56329
PROPOSAL: N/A
Tests
en;.is used as decimal separator;es;,is used as decimal separator;Offline tests
N/A
QA Steps
en;.is used as decimal separator;es;,is used as decimal separator;PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop