Closed
Bug 911061
Opened 12 years ago
Closed 12 years ago
FHR mobile page did not ignore identical indicator {OK} in string
Categories
(Firefox Health Report Graveyard :: Web: Health Report, defect)
Firefox Health Report Graveyard
Web: Health Report
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 26
People
(Reporter: petercpg, Assigned: flod)
References
()
Details
(Whiteboard: [qa-])
Attachments
(1 file)
In https://fhr-dev.allizom.org/zh-TW/mobile/#configuration, there shows:
xpcomabi: {OK}
OS: {OK}
<space>{OK} should be removed.
| Assignee | ||
Comment 1•12 years ago
|
||
I think that's because it's spelled uppercase.
If you click "Configurazione" you won't see {ok} for "xpcomabi" but it's in the string.
https://fhr-dev.allizom.org/it/mobile/
We solved a similar problem for bedrock (bug 903216), I'll check if the same fix can be applied here.
| Assignee | ||
Comment 2•12 years ago
|
||
I think it's an external library, so not sure where to fix it
https://github.com/mozilla/fhr-jelly/blob/master/vendor/dotlang/translate.py#L16
Control was moved from .endswith (like Bedrock) to a regular expression to check in the whole string.
METADATA_MARKERS = re.compile(r'\s?{(ok|l10n-extra)}\s?')
It should be enough to change it to
METADATA_MARKERS = re.compile(r'\s?{(ok|l10n-extra)}\s?', re.IGNORECASE)
Flags: needinfo?(schalk.neethling.bugs)
| Assignee | ||
Comment 3•12 years ago
|
||
Pointer to Github pull-request
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(schalk.neethling.bugs)
Resolution: --- → FIXED
| Assignee | ||
Comment 4•12 years ago
|
||
Checked on dev, OS: {OK} is correctly displayed as OS:
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Assignee: nobody → francesco.lodolo
Target Milestone: --- → Firefox 26
Updated•11 years ago
|
Whiteboard: [qa-]
Updated•7 years ago
|
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•