Closed kbecciv closed 10 months ago
"My note" should be translated when changing language to Spanish
We have some places hard-coding "My note". Therefore, when changing the language to Spanish, they will not be translated. https://github.com/Expensify/App/blob/76c1559fb3fbee1d07c8f210b522b63edd03920e/src/pages/PrivateNotes/PrivateNotesEditPage.js#L90
We should make use of translate()
and create translations for them.
translate('privateNotes.myNote')
Job added to Upwork: https://www.upwork.com/jobs/~01a01358f997cc9909
Triggered auto assignment to @alexpensify (External
), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (External
)
My note not translated in spanish
We are missing Localization logic for PrivateNotesFeature in PrivateNotesEditPage.js
, PrivateNotesListPage.js
and PrivateNotesViewPage.js
The messages in this feature should refer to en.ts
and spanish translation to es.ts
Then we will be using the useLocalize()
hook
const {translate} = useLocalize();
to add Localization feature:
subtitle={translate('privateNotes.myNote')}
title: Number(lodashGet(session, 'accountID', null)) === Number(accountID) ? translate('privateNotes.myNote') : lodashGet(personalDetailsList, [accountID, 'login'],
subtitle={isCurrentUserNote ? translate('privateNotes.myNote') : `${lodashGet(personalDetailsList, [route.params.accountID, 'login'], '')} note`}
@neonbhai How is your proposal different from what @namhihi237 proposed earlier?
Hi @allroundexperts, added clear implementation details and line changes.
@neonbhai Adding implementation details with a duplicated approach won't lead to your proposal getting accepted. One can write pseudo code only as well as long as the approach is clear enough. I would suggest you to write proposals that are different from the already existing ones.
@namhihi237's proposal looks good to me!
π π π C+ reviewed
Triggered auto assignment to @tgolen, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
π£ @allroundexperts Please request via NewDot manual requests for the Reviewer role ($500)
π£ @namhihi237 π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
π£ @gadhiyamanan π An offer has been automatically sent to your Upwork account for the Reporter role π Thanks for contributing to the Expensify app!
π― β‘οΈ Woah @allroundexperts / @namhihi237, great job pushing this forwards! β‘οΈ
The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus π
On to the next one π
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.72-11 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-09-29. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
@tgolen, @alexpensify, @allroundexperts, @namhihi237 Whoops! This issue is 2 days overdue. Let's get this updated quick!
@alexpensify Can you issue payment for this, please?
Here is the payment summary:
Upwork Job: https://www.upwork.com/jobs/~01a01358f997cc9909
*If applicable, the bonuses will be applied on the final payment
Extra Notes regarding payment: There is an urgency bonus here and will be applied during the payment process.
@allroundexperts please complete the checklist and request the payment.
Right now, everyone who is paid in Upwork has been paid there and I closed the job.
Verify that My note
is seen as translated into Spanish as Mi notas
Do we π or π ?
Closing - the regression test request has been created for this case. I'm going to close this GH.
$750 payment approved for @allroundexperts based on BZ summary.
Reopening this issue because the current translation in app is not correct. It's showing "Mi notas" which is incorrect in Spanish.
It should either be:
Thank you for spotting this, Isa! @namhihi237 Can you please fix that?
I looked and I can't find a record of either me nor @allroundexperts checking to make sure that was an official translation. That's something we can learn from and do better at next time.
Sure I will raise PR next hours.
@tgolen PR already for review
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one π
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.88-11 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-10-30. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
@allroundexperts and @gadhiyamanan - I'm considering closing with no payment updates. This is not a regression but was a quick fix. Everyone has already paid out already with bonuses in September. Let me know if you disagree.
cc: @tgolen
Absolutely @alexpensify. That was my expectation as well.
Thanks! Closing for now.
If you havenβt already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
My note should be translated in Spanish
Actual Result:
My note not translated in Spanish
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: Dev 1.3.70.5 Reproducible in staging?: n Reproducible in production?: n If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/90f18795-c638-4a0f-aebd-904d79d4b485
Expensify/Expensify Issue URL: Issue reported by: @gadhiyamanan Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694784868918699
View all open jobs on GitHub
Upwork Automation - Do Not Edit