You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently my script for linting production locales is "weak" at best, and only looked at l10n errors and not "missingEntity"...
Fixing my script locally and rerunning gives me the following output:
$ npm run lint-locales:prod
> firefox-send@1.0.4 lint-locales:prod /Users/pdehaan/dev/github/mozilla/something-awesome
> npm run lint-locales -- --production
> firefox-send@1.0.4 lint-locales /Users/pdehaan/dev/github/mozilla/something-awesome
> node scripts/lint-locales "--production"
compare-locales l10n.toml . az ca cs cy de dsb el en-US es-CL es-ES es-MX fr fy-NL hsb hu id it ja kab ms nb-NO nl nn-NO pt-BR pt-PT ru sk sl sr sv-SE tr uk zh-CN zh-TW --data=json
cs/send.ftl
- missing entity: notSupportedLink
cy/send.ftl
- missing entity: notSupportedLink
es-ES/send.ftl
- missing entity: notSupportedLink
kab/send.ftl
- missing entity: notSupportedLink
sv-SE/send.ftl
- missing entity: notSupportedLink
I don't know what our threshold for production locales is. Is 1-2 missing strings acceptable, or should we remove anything from package.json's availableLanguages array if it falls below 100%.
Ref: #414, which added the new notSupportedLink string.
Apparently my script for linting production locales is "weak" at best, and only looked at l10n errors and not "missingEntity"...
Fixing my script locally and rerunning gives me the following output:
I don't know what our threshold for production locales is. Is 1-2 missing strings acceptable, or should we remove anything from package.json's
availableLanguagesarray if it falls below 100%.Ref: #414, which added the new
notSupportedLinkstring.