1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-21 18:02:35 +01:00
lossless-cut/i18next-parser.config.mjs
2023-02-19 14:42:07 +08:00

22 lines
407 B
JavaScript

export default {
input: ['src/**/*.{js,jsx}', 'public/*.js'],
output: 'public/locales/$LOCALE/$NAMESPACE.json',
indentation: 4,
sort: true,
locales: ['en'],
lexers: {
js: ['JavascriptLexer'],
jsx: ['JsxLexer'],
},
defaultValue: (lng, ns, key) => key,
// Keep in sync between i18next-parser.config.js and i18n-common.js:
keySeparator: false,
namespaceSeparator: false,
};