Fix missing spanish translation account same error#73733
Conversation
|
Hey, I noticed you changed Please look at the code and make sure there are no malicious changes before running the workflow. If you have the K2 extension, you can simply click: [this button] |
|
@ZhenjaHorbach 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] |
|
@ZhenjaHorbach Do you know how I can connect to an Expensify Card? |
| const currentLocale = IntlStore.getCurrentLocale(); | ||
| if (currentLocale && currentLocale !== CONST.LOCALES.EN) { | ||
| if (error === 'The deposit and withdrawal accounts are the same.') { | ||
| return translateLocal('bankAccount.error.sameDepositAndWithdrawalAccount'); |
There was a problem hiding this comment.
Could you fix eslint issue, please?
There was a problem hiding this comment.
And let's write some tests for that
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
#73733 (comment) @ZhenjaHorbach could you check it? |
You can try now |
…panish-translation-account-same-error
|
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 |
|
@ZhenjaHorbach Here’s my employee account: zkebl.255@inbox.testmail.app. Could you add it to the same Expensify card as the admin? |
|
@ZhenjaHorbach Can I share two test emails zkebl.testsameaccount01@inbox.testmail.app and zkebl.testsameaccount02@inbox.testmail.app . I’ll send you the OTPs so you can help me set up the same Expensify account for both, to test and verify this ticket. |
…panish-translation-account-same-error
…panish-translation-account-same-error
|
@ZhenjaHorbach Could you help me when you have time? |
Sorry for the delay |
@ZhenjaHorbach It seems you still haven’t added it yet |
|
@MarioExpensify |
|
Ad hoc build triggered. Once its done I'll request help from QA. |
|
🚧 @MarioExpensify has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
The build is completed. Waiting for QA to help verify the issue |
|
@MarioExpensify Could you please ask QA for help? |
|
@MarioExpensify many thanks |
|
@huult the ad-hoc is requesting update, we'll probably need to merge main and generate a new version, can you merge main and let me know? |
…panish-translation-account-same-error
|
@MarioExpensify it's done |
|
Ad-hoc requested. Will request QA as soon as it finishes. |
|
🚧 @MarioExpensify 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, Desktop, and Web. Happy testing! 🧪🧪
|
…panish-translation-account-same-error
|
@ZhenjaHorbach @MarioExpensify I’ve successfully set up the card and updated the code and screenshot. Could you check again? Screen.Recording.2025-12-11.at.15.39.19.mp4 |
|
LGTM! |
|
Awesome @huult, thank you!! Reviewing it now! |
|
🚀 Deployed to staging by https://github.com/MarioExpensify in version: 9.2.79-0 🚀
|
|
🚀 Deployed to staging by https://github.com/MarioExpensify 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 🚀
|
Details
Fixed Issues
$ #67639
PROPOSAL: #67639 (comment)
Tests
Same QA step
Offline tests
QA Steps
Preconditions:
The app is set to Spanish (for the Admin).
Create a workspace as an Admin and add an employee.
Set up the same bank account for both the Admin and the Employee.
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
Screen.Recording.2025-12-11.at.15.44.16.mp4
Android: mWeb Chrome
Screen.Recording.2025-12-11.at.15.45.56.mp4
iOS: Native
Screen.Recording.2025-12-11.at.15.47.49.mp4
iOS: mWeb Safari
Screen.Recording.2025-12-11.at.15.49.50.mp4
MacOS: Chrome / Safari
Screen.Recording.2025-12-11.at.15.39.19.mp4