diff --git a/resources/lang/de_DE/default.po b/resources/lang/de_DE/default.po index 54b07ca5..29fc9c27 100644 --- a/resources/lang/de_DE/default.po +++ b/resources/lang/de_DE/default.po @@ -32,6 +32,9 @@ msgstr "" msgid "password.email.message" msgstr "Um dein Passwort zurückzusetzen, besuche %s" +msgid "page.error.title" +msgstr "Fehler %s" + msgid "page.403.title" msgstr "Nicht erlaubt" diff --git a/resources/lang/en_US/default.po b/resources/lang/en_US/default.po index 37b1dd3f..f2fc3e86 100644 --- a/resources/lang/en_US/default.po +++ b/resources/lang/en_US/default.po @@ -46,6 +46,9 @@ msgstr "You are not allowed to access this page" msgid "page.403.login" msgstr "Please log in." +msgid "page.error.title" +msgstr "Error %s" + msgid "page.404.title" msgstr "Page not found" diff --git a/resources/views/errors/default.twig b/resources/views/errors/default.twig index e3c76d15..60770611 100644 --- a/resources/views/errors/default.twig +++ b/resources/views/errors/default.twig @@ -1,6 +1,6 @@ {% extends "layouts/app.twig" %} -{% block title %}Error {{ status }}{% endblock %} +{% block title %}{{ __('page.error.title', [status]) }}{% endblock %} {% block content %}