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'),
|
||||
objectNotation: true,
|
||||
syncFiles: false,
|
||||
retryInDefaultLocale: true,
|
||||
updateFiles: false,
|
||||
defaultLocale: settings.instance_locale || 'en',
|
||||
locale,
|
||||
defaultLocale: 'en',
|
||||
locale: settings.instance_locale,
|
||||
locales: Object.keys(locales)
|
||||
},
|
||||
transport: settings.smtp || {}
|
||||
|
|
Loading…
Reference in a new issue