1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-24 19:32:29 +01:00
lossless-cut/i18next-parser.config.mjs

23 lines
467 B
JavaScript
Raw Normal View History

2024-02-20 15:48:40 +01:00
// eslint-disable-line unicorn/filename-case
2023-02-19 07:37:03 +01:00
export default {
2024-03-21 16:28:25 +01:00
input: ['src/renderer/**/*.{js,jsx,ts,tsx}', 'src/main/*.{js,ts}'],
2023-02-19 07:37:03 +01:00
2024-05-14 12:18:11 +02:00
output: 'locales/$LOCALE/$NAMESPACE.json',
2023-02-19 07:37:03 +01:00
indentation: 4,
sort: true,
locales: ['en'],
lexers: {
js: ['JavascriptLexer'],
jsx: ['JsxLexer'],
},
defaultValue: (lng, ns, key) => key,
2024-03-21 16:28:25 +01:00
// Keep in sync between i18next-parser.config.js and i18nCommon.js:
2023-02-19 07:37:03 +01:00
keySeparator: false,
namespaceSeparator: false,
};