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
{{ message }}
Repository navigation
[en-GB]: missing object bytes for language en-GB #558
TypeError: Cannot read property 'binarySuffixes' of undefined
at formatting.js:204
at formatting.js:202
at p (formatting.js:93)
at Object.format (formatting.js:815)
at e.value (numbro.js:40)
When looking a bit deeper, I dug this out: languages[en-GB].bytes is undefined
Activity
seedy commentedon Jul 8, 2020
ℹ️ I import and register language en-GB from
numbropackage:BenjaminVanRyseghem commentedon Jul 8, 2020
Thanks! Indeed, it appears that those where implemented only in french (language used by the contributor) and en-US (language used by the tests).
I will patch it so that there are default values for every languages.
BenjaminVanRyseghem commentedon Jul 8, 2020
@all-contributors please add @seedy for bug
allcontributors commentedon Jul 8, 2020
@BenjaminVanRyseghem
I've put up a pull request to add @seedy! 🎉
Fallback to default `bytes` when not provided