Sourced from i18next-cli's changelog.
1.73.3
- fix(extract): default values that are not string literals are now resolved statically instead of being dropped.
t('greeting', STRINGS.greeting),t('bye', FAREWELL),t('k', `${GREETING} there`)and the same expressions insidedefaultValue/defaultValue_one/defaultValue_otheroptions pick up the value from a module-scope const, object map or enum. Ambiguous expressions such as ternaries still fall back to the key. Fixes #293.
c72a000
1.73.39f4b358
fix(extract): resolve non-literal default values like t("key",
STRINGS.key) i...