plural hold expenses message#73717
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] |
Codecov Report❌ Patch coverage is
... and 132 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
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 |
|
@Krishna2323 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] |
|
LGTM |
|
@mukhrr test steps are missing. Also, this is not a layout/style fix so I believe you should add proper recording showing it displays "expense" when selecting a single translation and "expenses" when multiple. |
- fixed IOU hold expenses also
|
@Krishna2323 it's ready |
… across multiple languages
|
@Krishna2323 I didn't run what it suggests. BUt, yes, I used AI to generate translations |
|
I believe we do need to use the same script. @puneetlath could you please confirm this? @mukhrr I think you should remove the translations from all the file except for the en. |
|
@mukhrr update the tests to also include the changes for the button and header. |
|
@mukhrr update the test steps to also include the changes for the button and header. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid_native.mp4Android: mWeb Chromeandroid_chrome.mp4iOS: HybridAppios_native.mp4iOS: mWeb Safariios_safari.mp4MacOS: Chrome / Safariweb_chrome.mp4MacOS: Desktopdesktop_app.mp4 |
|
Yes, that's correct. That's the method we should be using to generate translations. |
ah okay. thanks. pushed now |
Krishna2323
left a comment
There was a problem hiding this comment.
LGTM! The remaining translations will be added and ESLint will pass once Generate static translations is triggered by @puneetlath.
|
Hmm, getting an error when trying to generate translations: |
@puneetlath I think this is a bug from |
JmillsExpensify
left a comment
There was a problem hiding this comment.
Out of scope for product reviews, so I'm unsubscribing.
|
@puneetlath, should we run the script locally and add the translations? @mukhrr, you were able to successfully run the script locally after fixing the issue and generate the translations, right? |
|
Yes, previous commit before the last one included those generated translations. I can revert them |
|
Besides, I think we'd be better fix TSCompilerUtils.ts bug in another issue?! @puneetlath what do you think?! |
|
Ok, let's do that, thanks. |
@puneetlath okay. Could you create an issue and assign me there?! thanks |
|
@Krishna2323 I am reverting my previous generated translations here |
…ation in multiple languages
…pluralization in multiple languages" This reverts commit ca54f37.
…alization across multiple languages
|
@mukhrr typescript checks are failing. |
|
@Krishna2323 it's finally ready |
|
@puneetlath this one is ready to be merged 🚀 |
|
puneetlath, please let us know if you'd like us to fix this issue. @mukhrr and I can work on it. Thanks! |
|
Can you raise that bug in the #open-source channel? I don't really understand it. |
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 9.2.47-0 🚀
|
cannot reproduce it anymore |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.2.47-1 🚀
|
| onSubmit={onSubmit} | ||
| validate={validate} | ||
| backTo={backTo} | ||
| expenseCount={selectedTransactionIDs.length} |
There was a problem hiding this comment.
this change caused
we should remove it.
Explanation of Change
Fixed Issues
$ #73381
PROPOSAL: #73381 (comment)
Tests
The same as QA.
Offline tests
QA Steps
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_native.mp4
Android: mWeb Chrome
android-mWeb.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_mWeb.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4