Remove unnecessary custom types with single parameter from translations - 2nd batch#76995
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@QichenZhu Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Reverted the changes that removed usages of ConnectionNameParams following this comment |
Reviewer Checklist
Screenshots/Videos |
JmillsExpensify
left a comment
There was a problem hiding this comment.
Product behaviors in the testing steps look good.
|
Oh you got conflicts |
|
This PR cannot be merged before PR#77501, as it contains a fix for caching the translated phrases. |
f26dc92
|
@iwiznia looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Those were onyx.connect that already existed and are being fixed separately |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.2.79-0 🚀
|
|
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.2.81-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.2.81-5 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.2.81-5 🚀
|















Explanation of Change
Removing unnecessary custom types from translations - types with single parameter (batch 2)
Fixed Issues
$ #76429
PROPOSAL: #76429 (comment)
Tests
Testing every modified component is not necessary since the changes are all related to types only, and TypeScript already checks types and enforces correct parameter usage.
MoneyReportHeader.tsxmoreand add another expense identical to the first one.CategoryUtils.tsMore featuresand enableRulesRules.Categories.AdvancedSearchFilters.tsxReportstabOffline tests
N/A
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
MoneyReportHeader.tsxCategoryUtils.tsAdvancedSearchFilters.tsxiOS: mWeb Safari
MacOS: Chrome / Safari
MoneyReportHeader.tsxCategoryUtils.tsAdvancedSearchFilters.tsx