Merge pull request #1640 from robintown/fix-i18n-parser
Fix the i18n string scanner
This commit is contained in:
@@ -18,5 +18,6 @@ export default {
|
|||||||
output: "public/locales/$LOCALE/$NAMESPACE.json",
|
output: "public/locales/$LOCALE/$NAMESPACE.json",
|
||||||
input: ["src/**/*.{ts,tsx}"],
|
input: ["src/**/*.{ts,tsx}"],
|
||||||
sort: true,
|
sort: true,
|
||||||
useKeysAsDefaultValue: true,
|
// The key becomes the English version of the string
|
||||||
|
defaultValue: (_l, _ns, key) => key,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user