Sourced from i18next-cli's changelog.
1.75.3
- fix(extract): options passed in a variable are read like inline ones. With
const params = { count },t('key', params)now extracts the plural keys (and readscontext,ns,defaultValuethe same way), where it used to extract onlykey. A variable a file declares also no longer resolves to a same-named variable of another file:t('key', overwrittenParams)tooky=trueas its default value from an unrelated function-localoverwrittenParamsarray elsewhere. Fixes #307.
3c95734
1.75.3171c6f4
fix(extract): read t() options passed in a variable, and keep a file's
variab...