Files
actual/packages/desktop-client/i18next-parser.config.js
Julian Dominguez-Schatz 9213ed75b5 Upload translations on builds of master (#4002)
* fix: translations were not being loaded properly

* fix: support running GitHub actions locally with `act`

* feat: upload new strings on master build

* Add release notes

* PR feedback: security
2024-12-24 12:48:41 -05:00

15 lines
346 B
JavaScript

module.exports = {
input: ['src/**/*.{js,jsx,ts,tsx}', '../loot-core/src/**/*.{js,jsx,ts,tsx}'],
output: 'locale/$LOCALE.json',
locales: ['en'],
sort: true,
keySeparator: false,
namespaceSeparator: false,
defaultValue: (locale, ns, key, value) => {
if (locale === 'en') {
return value || key;
}
return '';
},
};