| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2019-04-29 | 454 Bytes | |
| Version 0.2.0 source code.tar.gz | 2019-04-29 | 35.0 kB | |
| Version 0.2.0 source code.zip | 2019-04-29 | 46.4 kB | |
| Totals: 3 Items | 81.9 kB | 0 | |
⚡️ Fixed performance regression using nested keys
✨ Add params and locale to onMissingKey parameters.
It's now possible to use nested key in translations table.
:::js
frenchkiss.onMissingKey((key, params, locale) => {
// Send error to your server
sendReport(`Missing the key "${key}" in ${locale} language.`);
// Returns the text you want
return `An error happened (${key})`;
});