1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-23 10:52:34 +01:00
lossless-cut/i18next-parser.config.mjs
2024-05-14 12:41:55 +02:00

23 lines
467 B
JavaScript

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