Closed kavimuru closed 1 year ago
Triggered auto assignment to @conorpendergrast (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are ✅)Looks like this was introduced alongside https://github.com/Expensify/App/issues/15127, where reacted with
is hardcoded in, rather than in the translation file.
@stitesExpensify and @hannojg , I will put this thorough the usual Extenal process, unless you two want to take it for some other reason?
Job added to Upwork: https://www.upwork.com/jobs/~01a0a0323d7f5b83e2
Current assignee @conorpendergrast is eligible for the External assigner, not assigning anyone new.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External
)
Reacted emoji tooltip does not translate reacted with
word in to Spanish
Within ReactionTooltipContent.js
at line 65 'reacted with' text hardcoded. This is the root cause of the problem.
https://github.com/Expensify/App/blob/0efe6acf41eb985a0d6e42b47a8d91ab9cef6559/src/components/Reactions/ReactionTooltipContent.js#L65
We have to add translation key within en.js and es.js and update line 65 as shown below.
Within src/languages/en.js
add below translation key
reportActionContextMenu: {
...
reactedWith: ({emojiName}) => `reacted with :${emojiName}:`,
},
Within src/languages/es.js
add below translation key
reportActionContextMenu: {
...
reactedWith: ({emojiName}) => `reaccionó con :${emojiName}:`,
},
Within ReactionTooltipContent.js
at line 65 change code as shown below
{ props.translate('reportActionContextMenu.reactedWith', {emojiName: props.emojiName}) }
None
Triggered auto assignment to @jasperhuangg (External
), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Proposal
Issue Root Cause: Spanish translation is not available in es.js file
Solution: Adding translation string in es.js & en.js file and modify the code by removing hard coded English text and updating translation trigger point in ReactionTooltipContent.js file’s 65th line., “reacted with” text is translated into Spanish text.
Below are the changes in es.js & en.js language files.
Expected Output:
@stitesExpensify and @hannojg , I will put this thorough the usual Extenal process, unless you two want to take it for some other reason?
I think this is a straightforward enough fix that proposals aren't required. Sorry to those that have already submitted proposals, but this seems like cleanup from a new feature that was added recently, so I'm removing the External
and Help Wanted
labels.
@stitesExpensify @jasperhuangg I have a related issue where the Emoji reaction names are not in Spanish language https://github.com/Expensify/App/issues/16086
Should we treat these separately or get both fixed here?
@stitesExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
@stitesExpensify Eep! 4 days overdue now. Issues have feelings too...
@stitesExpensify any advice on the above comment?
Apologies for the delay, I'm currently sick and (mostly) OOO. These are definitely separate issues @tjferriss .
I'll fix this internally next week.
PR is up
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.2.91-1 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-04-05. :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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
@stitesExpensify can you confirm we're not paying out @eVoloshchak for the contributor plus role?
@tjferriss puneet decided that we actually did want a contributor plus here, so we should pay them for a review
Thank you for confirming. @dhanashree-sawant and @eVoloshchak I've sent you both offers via Upworks.
Hi @tjferriss , ping for upwork.
@stitesExpensify Eep! 4 days overdue now. Issues have feelings too...
@stitesExpensify Eep! 4 days overdue now. Issues have feelings too...
Sorry @dhanashree-sawant @eVoloshchak I missed this before heading out of office. I just invited you both to the job on Upworks: https://www.upwork.com/jobs/~013ae3f2bb593b09f0
Hi @tjferriss , sure that's okay, there is already a job with offer for the same task. I will message you on upwork in that offer. If possible, can you only accept that offer?
Same thing, I already have an active job for this task
Got it. Payments have been sent using the original job post.
@stitesExpensify can you complete the check list?
@stitesExpensify Still overdue 6 days?! Let's take care of this!
Completed checklist! Closing
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:
App should translate 'reacted with' text as it translates 'You' above it
Actual Result:
App only translates 'You' in tooltip and does not translate 'reacted with' to spanish
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.86-1 Reproducible in staging?: y Reproducible in production?: y 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:
https://user-images.githubusercontent.com/43996225/225697504-de080bb4-37e8-4291-ac5f-01672b8a13f9.mp4
Expensify/Expensify Issue URL: Issue reported by: @dhanashree-sawant Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678961850453749
View all open jobs on GitHub
Upwork Automation - Do Not Edit