1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-26 04:02:51 +01:00
lossless-cut/i18next-scanner.config.js
2020-05-03 22:45:38 +08:00

25 lines
504 B
JavaScript

// See also i18n.js
module.exports = {
input: ['src/**/*.{js,jsx}'],
output: './public',
options: {
// debug: true,
defaultLng: 'en',
func: {
list: ['i18next.t', 'i18n.t', 't'],
},
defaultValue: (lng, ns, key) => key,
resource: {
loadPath: 'locales/{{lng}}/{{ns}}.json',
savePath: 'locales/{{lng}}/{{ns}}.json',
jsonIndent: 4,
},
nsSeparator: false,
keySeparator: false,
pluralSeparator: false,
contextSeparator: false,
},
};