1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 02:12:30 +01:00
lossless-cut/i18next-parser.config.mjs
2024-03-21 23:28:25 +08:00

23 lines
476 B
JavaScript

// eslint-disable-line unicorn/filename-case
export default {
input: ['src/renderer/**/*.{js,jsx,ts,tsx}', 'src/main/*.{js,ts}'],
output: 'src/main/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 i18nCommon.js:
keySeparator: false,
namespaceSeparator: false,
};