Closed Bug 1828418 Opened 2 years ago Closed 2 years ago

Read brand files from fluent linter and lint for all brands, not just hardcoded list

Categories

(Core :: Internationalization: Localization, defect)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

Attachments

(1 file)

I'm seeing that people forget to use brand names for things other than "Firefox", "Thunderbird" and "Mozilla", so it seems sensible to extend the brand list by actually reading the brandings file(s).

I have a local patch for this, but I've only tested it locally against a few single files, not against m-c, and also not against Thunderbird's repo. I assume the Thunderbird check is hardcoded for the same reasons as the Firefox one, and if we could point to the right brandings file, it could also go away, but I've kept it as-is for now.

Because of this, and because I'm not sure how to check for Thunderbird and/or if reading the browser/ brand file is even going to work in a TB repo, I'm going to ping some TB folks for reviews here as well.

Depends on: 1828443
Attachment #9328814 - Attachment description: Bug 1828418 - read brand files to determine what brands should be replaced in fluent files, r?flod!,mkmelin! → Bug 1828418 - read brand files to determine what brands should be replaced in fluent files, r?flod!,rjl!
See Also: → 1828777
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/624d3bb8be7a read brand files to determine what brands should be replaced in fluent files, r=flod,rjl
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: