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

23 lines
464 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-02-14 17:18:46 +01:00
input: ['src/**/*.{js,jsx,ts,tsx}', 'public/*.{js,ts}'],
2023-02-19 07:37:03 +01:00
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,
};