Conversation
| subtitleTranslationKey: 'workspace.moreFeatures.taxes.subtitle', | ||
| isActive: (policy?.tax?.trackingEnabled ?? false) || isSyncTaxEnabled, | ||
| disabled: isSyncTaxEnabled || policy?.connections?.quickbooksOnline.data.country === CONST.COUNTRY.US, | ||
| disabled: isSyncTaxEnabled || policy?.connections?.quickbooksOnline?.data?.country === CONST.COUNTRY.US, |
There was a problem hiding this comment.
This was crashing because data was undefined.
There was a problem hiding this comment.
ah yep because we're not yet fetching the connections data when the More Features page is opened 👍
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
I think this is the same crash seen here: #41129
| return 'Importing your QuickBooks Online data'; | ||
| case 'startingImport': | ||
| return 'Importing your QuickBooks Online data'; | ||
| case 'quickbooksOnlineSyncTitle': |
There was a problem hiding this comment.
you're planning to use the constant defined in CONST.ts here?
There was a problem hiding this comment.
I wasn't planing to refactor, for some reason we haven't been using CONST 🤷 , so I'm just keeping it consistent
|
This looks like it just adds translations. Does this need a C+ review? |
@c3024 It doesn't and I made this ready for review by mistake :P, sorry about that |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
I said this in Slack, but I think we should get rid of the switch statement, create individual keys and use translateIfPhraseKey instead. Not gonna block this PR since the switch statement is already there. |
Follow up issue here: #41248 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 1.4.67-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.68-0 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 1.4.67-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.4.68-3 🚀
|

Needs the following PRs:
Details
More context: #41018 (comment)
Add missing translations coming from the Sync QBO job
The stages names come from here:
https://github.com/Expensify/Integration-Server/blob/7ef13d7fc79a24863e4310e71e5ea348457508c3/src/expensify/progress/ProgressStepMessage.java#L49-L54
These are the same translations from Web-Expensify:
https://github.com/Expensify/Web-Expensify/blob/dd2b65fb6dd4fd0941fa5c462710aa6fc3d9cef6/site/app/global/pushNotificationsTemplates.js#L70-L77
Fixed Issues
$ #41015
$ #41129 (crash)
PROPOSAL:
Tests
It should look like this:
Screen.Recording.2024-04-25.at.11.42.14.PM.mov
Offline tests
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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