mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
* 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
15 lines
346 B
JavaScript
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 '';
|
|
},
|
|
};
|