mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
fix: use 'en' as fallback locale in email, fix #374
This commit is contained in:
parent
49dd7175fc
commit
80efc69946
1 changed files with 3 additions and 2 deletions
|
@ -44,9 +44,10 @@ const mail = {
|
||||||
directory: path.join(__dirname, '..', '..', 'locales', 'email'),
|
directory: path.join(__dirname, '..', '..', 'locales', 'email'),
|
||||||
objectNotation: true,
|
objectNotation: true,
|
||||||
syncFiles: false,
|
syncFiles: false,
|
||||||
|
retryInDefaultLocale: true,
|
||||||
updateFiles: false,
|
updateFiles: false,
|
||||||
defaultLocale: settings.instance_locale || 'en',
|
defaultLocale: 'en',
|
||||||
locale,
|
locale: settings.instance_locale,
|
||||||
locales: Object.keys(locales)
|
locales: Object.keys(locales)
|
||||||
},
|
},
|
||||||
transport: settings.smtp || {}
|
transport: settings.smtp || {}
|
||||||
|
|
Loading…
Reference in a new issue