mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-25 11:43:17 +01:00
31 lines
598 B
JavaScript
31 lines
598 B
JavaScript
// See also i18n.js
|
|
module.exports = {
|
|
input: ['src/**/*.{js,jsx}', 'public/*.js'],
|
|
output: './public',
|
|
|
|
options: {
|
|
sort: true,
|
|
|
|
// 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,
|
|
|
|
trans: {
|
|
fallbackKey: (ns, value) => value,
|
|
},
|
|
},
|
|
};
|