diff --git a/invenio_theme_tugraz/config.py b/invenio_theme_tugraz/config.py index ac58bcb..49c0d3d 100644 --- a/invenio_theme_tugraz/config.py +++ b/invenio_theme_tugraz/config.py @@ -10,7 +10,7 @@ from flask_babelex import gettext as _ -INVENIO_THEME_TUGRAZ_DEFAULT_VALUE = "foobar" +INVENIO_THEME_TUGRAZ_DEFAULT_VALUE = _("TU Graz Repository") """Default value for the application.""" INVENIO_THEME_TUGRAZ_BASE_TEMPLATE = "invenio_theme_tugraz/base.html" @@ -39,9 +39,6 @@ THEME_SEARCHBAR = False THEME_HEADER_TEMPLATE = "invenio_theme_tugraz/header.html" """TU Graz header template""" -# THEME_FRONTPAGE_TEMPLATE = 'invenio_theme_tugraz/frontpage.html' -"""Frontpage template""" - THEME_FRONTPAGE = False """Use default frontpage.""" diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html index fe6a88d..b0ea481 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html @@ -5,14 +5,14 @@ {%- if config.SECURITY_REGISTERABLE %}
- Sign Up + {{_ ("Sign Up")}}
{%- endif %}
- Login + {{_ ("Log in")}}
diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html index 59d0ca5..fb500ed 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html @@ -32,7 +32,7 @@ -
Or
+
{{_ ("Or")}}
{%- endif %} {%- block form_outer %} diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html index fbb41ff..0eb299f 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html @@ -51,7 +51,7 @@ -
Or
+
{{_ ("Or")}}
{%- endif %} {%- block form_header %} diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html index 94c6d87..1449baf 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html @@ -1,6 +1,6 @@