fix subject confirmation email

This commit is contained in:
lesion
2019-07-09 01:37:35 +02:00
parent c24c33f722
commit bb8588cc11
4 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

@@ -2,6 +2,8 @@
### Gancio dev configuration ### Gancio dev configuration
config/development.json config/development.json
gancio_config.json
config.json
### Node template ### Node template
# Logs # Logs

View File

@@ -3,5 +3,6 @@
"email.register": "Abbiamo ricevuto la richiesta di registrazione. La confermeremo quanto prima.\n Ciao", "email.register": "Abbiamo ricevuto la richiesta di registrazione. La confermeremo quanto prima.\n Ciao",
"email.confirm": "Il tuo account su gancio è stato attivato e quindi puoi cominciare a pubblicare eventi", "email.confirm": "Il tuo account su gancio è stato attivato e quindi puoi cominciare a pubblicare eventi",
"email.recover": "Ciao, hai richiesto un recupero della password su gancio.", "email.recover": "Ciao, hai richiesto un recupero della password su gancio.",
"email.press_here": "Premi qui" "email.press_here": "Premi qui",
"email.confirm.subject": "Registrazione confermata"
} }

View File

@@ -0,0 +1 @@
| [#{config.title}] #{t('email.confirm.subject')}

View File

@@ -132,7 +132,6 @@ export const actions = {
async nuxtServerInit ({ commit }, { app, req } ) { async nuxtServerInit ({ commit }, { app, req } ) {
const settings = await app.$axios.$get('/settings') const settings = await app.$axios.$get('/settings')
commit('setSettings', settings) commit('setSettings', settings)
console.error('SETTINGS', settings)
const lang = req.acceptsLanguages('en', 'it') const lang = req.acceptsLanguages('en', 'it')
commit('setLocale', lang || 'it') commit('setLocale', lang || 'it')