From ef55e32b6b234e86d85a8db7259e35d7e8c15567 Mon Sep 17 00:00:00 2001 From: Eduardo Robles Date: Tue, 13 Feb 2024 09:20:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20default=20translation=20appears?= =?UTF-8?q?=20when=20switching=20language=20for=20the=20first=20time=20(#3?= =?UTF-8?q?52)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Parent issue: https://github.com/sequentech/meta/issues/315 --- config.yml | 6 +++--- doc/devel/auth1.config.yml | 6 +++--- doc/devel/auth2.config.yml | 6 +++--- doc/devel/sequent.config.yml | 6 +++--- doc/production/config.auth.yml | 6 +++--- doc/production/config.master.yml | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/config.yml b/config.yml index 73e0ee0..4fb2bf6 100644 --- a/config.yml +++ b/config.yml @@ -728,7 +728,7 @@ config: # default template election for gui-admin election_template: >- { - title: $i18next('avAdmin.sidebar.newel'), + title: $i18next.t('avAdmin.sidebar.newel'), description: 'This is the description of the election. You can add simple html like bold or links to websites.\\n\\n

You need to use two br element for new paragraphs.', authorities: ConfigService.authorities, director: ConfigService.director, @@ -773,8 +773,8 @@ config: admin_fields: ConfigService.adminFields, config: { allow_user_resend: false, - msg: $i18next(ConfigService.auth_msg.msg), - subject: $i18next( + msg: $i18next.t(ConfigService.auth_msg.msg), + subject: $i18next.t( ConfigService.auth_msg.subject, { name: ConfigService.organization.orgName diff --git a/doc/devel/auth1.config.yml b/doc/devel/auth1.config.yml index 94eda03..aa7719e 100644 --- a/doc/devel/auth1.config.yml +++ b/doc/devel/auth1.config.yml @@ -697,7 +697,7 @@ config: # default template election for gui-admin election_template: >- { - title: $i18next('avAdmin.sidebar.newel'), + title: $i18next.t('avAdmin.sidebar.newel'), description: 'This is the description of the election. You can add simple html like bold or links to websites.\\n\\n

You need to use two br element for new paragraphs.', authorities: ConfigService.authorities, director: ConfigService.director, @@ -742,8 +742,8 @@ config: admin_fields: ConfigService.adminFields, config: { allow_user_resend: false, - msg: $i18next(ConfigService.auth_msg.msg), - subject: $i18next( + msg: $i18next.t(ConfigService.auth_msg.msg), + subject: $i18next.t( ConfigService.auth_msg.subject, { name: ConfigService.organization.orgName diff --git a/doc/devel/auth2.config.yml b/doc/devel/auth2.config.yml index cd1179c..576e387 100644 --- a/doc/devel/auth2.config.yml +++ b/doc/devel/auth2.config.yml @@ -704,7 +704,7 @@ config: # default template election for gui-admin election_template: >- { - title: $i18next('avAdmin.sidebar.newel'), + title: $i18next.t('avAdmin.sidebar.newel'), description: 'This is the description of the election. You can add simple html like bold or links to websites.\\n\\n

You need to use two br element for new paragraphs.', authorities: ConfigService.authorities, director: ConfigService.director, @@ -749,8 +749,8 @@ config: admin_fields: ConfigService.adminFields, config: { allow_user_resend: false, - msg: $i18next(ConfigService.auth_msg.msg), - subject: $i18next( + msg: $i18next.t(ConfigService.auth_msg.msg), + subject: $i18next.t( ConfigService.auth_msg.subject, { name: ConfigService.organization.orgName diff --git a/doc/devel/sequent.config.yml b/doc/devel/sequent.config.yml index 55cb9f3..d796db5 100644 --- a/doc/devel/sequent.config.yml +++ b/doc/devel/sequent.config.yml @@ -711,7 +711,7 @@ config: # default template election for gui-admin election_template: >- { - title: $i18next('avAdmin.sidebar.newel'), + title: $i18next.t('avAdmin.sidebar.newel'), description: 'This is the description of the election. You can add simple html like bold or links to websites.\\n\\n

You need to use two br element for new paragraphs.', authorities: ConfigService.authorities, director: ConfigService.director, @@ -756,8 +756,8 @@ config: admin_fields: ConfigService.adminFields, config: { allow_user_resend: false, - msg: $i18next(ConfigService.auth_msg.msg), - subject: $i18next( + msg: $i18next.t(ConfigService.auth_msg.msg), + subject: $i18next.t( ConfigService.auth_msg.subject, { name: ConfigService.organization.orgName diff --git a/doc/production/config.auth.yml b/doc/production/config.auth.yml index 3e69a5a..9545085 100644 --- a/doc/production/config.auth.yml +++ b/doc/production/config.auth.yml @@ -713,7 +713,7 @@ config: # default template election for gui-admin election_template: >- { - title: $i18next('avAdmin.sidebar.newel'), + title: $i18next.t('avAdmin.sidebar.newel'), description: 'This is the description of the election. You can add simple html like bold or links to websites.\\n\\n

You need to use two br element for new paragraphs.', authorities: ConfigService.authorities, director: ConfigService.director, @@ -758,8 +758,8 @@ config: admin_fields: ConfigService.adminFields, config: { allow_user_resend: false, - msg: $i18next(ConfigService.auth_msg.msg), - subject: $i18next( + msg: $i18next.t(ConfigService.auth_msg.msg), + subject: $i18next.t( ConfigService.auth_msg.subject, { name: ConfigService.organization.orgName diff --git a/doc/production/config.master.yml b/doc/production/config.master.yml index f056bcb..1630f7d 100644 --- a/doc/production/config.master.yml +++ b/doc/production/config.master.yml @@ -713,7 +713,7 @@ config: # default template election for gui-admin election_template: >- { - title: $i18next('avAdmin.sidebar.newel'), + title: $i18next.t('avAdmin.sidebar.newel'), description: 'This is the description of the election. You can add simple html like bold or links to websites.\\n\\n

You need to use two br element for new paragraphs.', authorities: ConfigService.authorities, director: ConfigService.director, @@ -758,8 +758,8 @@ config: admin_fields: ConfigService.adminFields, config: { allow_user_resend: false, - msg: $i18next(ConfigService.auth_msg.msg), - subject: $i18next( + msg: $i18next.t(ConfigService.auth_msg.msg), + subject: $i18next.t( ConfigService.auth_msg.subject, { name: ConfigService.organization.orgName