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)

defect
Not set
normal

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.
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.
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)
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(schalk.neethling.bugs)
Resolution: --- → FIXED
Checked on dev, OS: {OK} is correctly displayed as OS:
Status: RESOLVED → VERIFIED
Assignee: nobody → francesco.lodolo
Target Milestone: --- → Firefox 26
Whiteboard: [qa-]
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: