You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2025-02-04] [$75] Expense - Cancelled spelling is different & full stop in system message is shown #55218
Version Number: V9.0.85-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both If this was caught during regression testing, add the test name, ID and link from TestRail: N Email or phone of affected tester (no customers): N Issue reported by: Applause Internal Team Device used: Redmi note 10s android 13 App Component: Money Requests
What changes do you think we should make in order to solve the problem?
To fix this issue, we must update cancelled to canceled to ensure consistency with other instances and remove the period at the end. It should look something like this
adminCanceledRequest: ({manager, amount}: AdminCanceledRequestParams)=>`${manager ? `${manager}: ` : ''}canceló el pago de ${amount}.`,
To make it consistent, we should remove the period at the end for violationDismissal.rter, iou.adminCanceledRequest, etc. We should remove the period at the end in both en and es
Note: My proposal differs from the previous proposal because the previous proposal only fixes one case, but we have two cases: the difference in canceled and the dot at the end
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
This is a UI bug and does not require testing.
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
@jamesdeanexpensify Jaaaaaames. Can you confirm here before I move it on? Is it:
Canceled should only use one l because America is so great, yada yada yada.
The system message should not have a full stop. (Btw, a full stop is what we call a period.. just to avoid you having to use google translate for that mate 😏 😛).
changed the title [-]Expense - Cancelled spelling is different & full stop in system message is shown[/-][+][$75] Expense - Cancelled spelling is different & full stop in system message is shown[/+]on Jan 15, 2025
@mollfpr@trjExpensify@mollfpr The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
1a. Result of the original design (eg. a case wasn't considered)
1b. Mistake during implementation
1c. Backend bug
1z. Other:
Where bug was reported:
2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
2b. Reported on staging (eg. found during regression or PR testing)
2d. Reported on a PR
2z. Other:
Who reported the bug:
3a. Expensify user
3b. Expensify employee
3c. Contributor
3d. QA
3z. Other:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: No offending PR.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: Not a critical issue.
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Activity
melvin-bot commentedon Jan 14, 2025
Triggered auto assignment to @trjExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.github-actions commentedon Jan 14, 2025
huult commentedon Jan 14, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-01-16 18:04:29 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Cancelled spelling is different & full stop in system message is shown
What is the root cause of that problem?
This is a translation issue. The issue uses 'cancelled' and includes a period at the end.
App/src/languages/en.ts
Line 973 in ae97b24
What changes do you think we should make in order to solve the problem?
To fix this issue, we must update
cancelledtocanceledto ensure consistency with other instances and remove the period at the end. It should look something like thisApp/src/languages/en.ts
Line 973 in ae97b24
adminCanceledRequest: ({manager, amount}: AdminCanceledRequestParams) => `${manager ? `${manager}: ` : ''}canceled the ${amount} payment`,And we should remove the period at the end for ‘es’ as well.
App/src/languages/es.ts
Line 969 in 3db57e8
To make it consistent, we should remove the period at the end for
violationDismissal.rter,iou.adminCanceledRequest, etc. We should remove the period at the end in bothenandesNote: My proposal differs from the previous proposal because the previous proposal only fixes one case, but we have two cases: the difference in canceled and the dot at the end
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
This is a UI bug and does not require testing.
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
trjExpensify commentedon Jan 15, 2025
@jamesdeanexpensify Jaaaaaames. Can you confirm here before I move it on? Is it:
lbecause America is so great, yada yada yada.Here's a still from the OP for ease:
jamesdeanexpensify commentedon Jan 15, 2025
Right on both (fortunately or unfortunately lol)
[-]Expense - Cancelled spelling is different & full stop in system message is shown[/-][+][$75] Expense - Cancelled spelling is different & full stop in system message is shown[/+]melvin-bot commentedon Jan 15, 2025
trjExpensify commentedon Jan 15, 2025
lolol. Updated the OP. Dropping the price for this small copy update.
melvin-bot commentedon Jan 15, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021879342639421320206
55 remaining items
melvin-bot commentedon Jan 28, 2025
@mollfpr @trjExpensify @mollfpr The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
mollfpr commentedon Feb 3, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: No offending PR.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: Not a critical issue.
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
I don't think we need to create a new test case, probably update this test https://expensify.testrail.io/index.php?/cases/view/1179977 with correct copy.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
trjExpensify commentedon Feb 3, 2025
Yeah, agreed we don't need a new test for this.
Payment summary as follows:
@Themoonalsofall can you give me your Upwork profile, please? Thanks!
melvin-bot commentedon Feb 4, 2025
Payment Summary
Upwork Job
BugZero Checklist (@trjExpensify)
trjExpensify commentedon Feb 5, 2025
Thanks, sent you an offer!
trjExpensify commentedon Feb 5, 2025
Paid, closing!
garrettmknight commentedon Feb 11, 2025
$250 approved for @mollfpr