Open hachi opened 1 week ago
Another note, possibly should be in another ticket... there is no validation that the directory names are well formed names (the locales standards say dashes, but firefox specifically or browsers in general want underscore and disallow dashes)
This does not result in a startup error, but the locales just "don't work" in that case, which could be unexpected behavior when browser.i18n.*Language functions all return the locale strings with dashes.
Is this a feature request or a bug?
Bug... ish?
What is the current behavior?
mkdir _locales/en_AQ
web-ext lint gives no warnings or errors, but web-ext run is unable to launch firefox
No indication is given from firefox on why the extension is invalid... I cannot find where a person might even begin to report this bug in firefox too.
What is the expected or desired behavior?
Some sort of lint output to tell you that an empty locale directory is invalid and will not work at all.
It's also possible that runtime reload errors need to be exposed to the user somehow, there is no output from web-ext if you create an empty locales directory, but reloading stops.
Version information (for bug reports)