Remove unnecessary custom types from translations - batch 8#79891
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!
|
21c0f5b to
32607d9
Compare
|
@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] |
…ing in comparison to other workspaceActions
|
No product considerations, removing my review |
Reviewer Checklist
Screenshots/Videos |
QichenZhu
left a comment
There was a problem hiding this comment.
There are major conflicts with the main branch.
|
I also found that when you add the removed member back to the workspace, they appear on the list with that error message displayed below, so that could be a workaround to verify the message text for now (although the app sometimes crashes when adding the member back). Screen.Recording.2026-02-05.at.15.22.10.movThis is from current main, so it was not introduced in this PR |
|
@iwiznia looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Lint errors are not from changes in this PR |
|
🚧 @iwiznia has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.3.13-1 🚀
|
|
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.3.15-0 🚀
|
|
@mitarachim, thanks for flagging! Here is a workaround to unblock testing: #79891 (comment). |
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.3.15-10 🚀
|












Explanation of Change
Removing unnecessary custom types from translations (batch 8). Translations returning PluralForms are not flattened.
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.
ModifiedExpenseMessage.tsWorkspaceMembersPage.tsxOffline 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
ModifiedExpenseMessage.tsWorkspaceMembersPage.tsxiOS: mWeb Safari
MacOS: Chrome / Safari
ModifiedExpenseMessage.tsWorkspaceMembersPage.tsx