With the removal of the (standalone) Firefox building code in PR 9566 (a year and a half ago), these files are now completely unused in the GitHub repository[1].
Hence it doesn't really seem necessary to keep fetching them with `gulp importl10n`, and the existing files in the `l10n` folder can also be removed (thanks to version control, they're easy enough to restore should the need ever arise).
The patch also allows an additional simplification, for the `gulp locale` and `gulp mozcentral` commands, since it's now possible to stop writing `l10n` files to the `extensions/firefox/` folder and instead just copy them similar to other build targets.
---
[1] They're obviously still used in `mozilla-central`, for fallback messages displayed through `PdfStreamConverter.jsm`, but that doesn't make it necessary to keep them *here* as far as I'm concerned.
With the removal of the (standalone) Firefox building code in PR 9566 (a year and a half ago), these files are now completely unused.
Hence it doesn't really make sense to keep building them as part of `gulp locale`, and the existing files in the `l10n` folder can also be removed (thanks to version control, they're easy enough to restore should the need ever arise).
This required changing the import script in two ways:
- we should use the `default` branch and not the `tip` tag since the
latter may refer to another branch than `default` (this is the case for
the `vi` locale, which caused in the files to be overwritten with
incorrect contents since `tip` referred to the
`THUNDERBIRD600b1_2018031614_RELBRANCH` branch);
- we should check if the response code is indeed 200 because recently a
script removed all empty localization files upstream (refer to
https://bugzilla.mozilla.org/show_bug.cgi?id=1443175).
Thanks @xhr and @silviupostavaru for helping with this.
commit fcadb2cc7891d33214213011091e2bc8e29bdb51
Author: Ionuț G. Stan <ionut.g.stan@gmail.com>
Date: Wed May 9 13:41:35 2012 +0300
Change Romanian localization for "bookmark"
commit b0f152fe88d7591492d09d094608b73605985859
Author: Ionuț G. Stan <ionut.g.stan@gmail.com>
Date: Wed May 9 13:40:25 2012 +0300
Don't use titlecase for the Romanian localization
commit f312dd76314db685cc2b4a7e3ae7ecdbc8ca36f0
Author: Ionuț G. Stan <ionut.g.stan@gmail.com>
Date: Wed May 9 13:38:35 2012 +0300
Change Romanian localization for "print"
commit 242b1ff9970790b3ec2557239dcdba9a5ef77028
Author: Ionuț G. Stan <ionut.g.stan@gmail.com>
Date: Wed May 9 13:32:41 2012 +0300
Add Romanian localization files