diff --git a/config.yml b/config.yml
index d958bde..377d6ab 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 e0d4bd6..ac59abe 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 da1e709..ff3bd01 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 2784e27..578bed4 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 73b7727..685c940 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 3452685..acdbc7a 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