Closed Bug 2070639 Opened 1 month ago Closed 1 month ago

Strip whitespace when translating role

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

Attachments

(1 external file)

In bug 1894410 I stripped the whitespace from the tokens in the cached hash of tokens to localized strings. I didn't do the same when we actually do the translation. The test case I wrote mistakenly used a token without any whitespaces so it was guaranteed to pass.

Assignee: nobody → eitan
Status: NEW → ASSIGNED
Severity: -- → S3

There is an r+ patch which didn't land and no activity in this bug for 1 week.
:eeejay, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(jteh)
Flags: needinfo?(eitan)
Flags: needinfo?(jteh)
Pushed by eisaacson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/41e8f0386975 https://hg.mozilla.org/integration/autoland/rev/54f6fb291aa2 Strip whitespaces from role names when retreiving localized versions. r=Jamie,geckoview-reviewers,m_kato
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
Flags: needinfo?(eitan)
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: