diff --git a/netbox/templates/403.html b/netbox/templates/403.html index 259206f21..de8791fa1 100644 --- a/netbox/templates/403.html +++ b/netbox/templates/403.html @@ -1,9 +1,10 @@ {% extends 'base/40x.html' %} +{% load i18n %} -{% block title %}Access Denied{% endblock %} +{% block title %}{% trans "Access Denied" %}{% endblock %} {% block icon %}{% endblock %} {% block message %} - You do not have permission to access this page. + {% trans "You do not have permission to access this page" %}. {% endblock %} diff --git a/netbox/templates/404.html b/netbox/templates/404.html index 766d81732..4956c2cdc 100644 --- a/netbox/templates/404.html +++ b/netbox/templates/404.html @@ -1,9 +1,10 @@ {% extends 'base/40x.html' %} +{% load i18n %} -{% block title %}Page Not Found{% endblock %} +{% block title %}{% trans "Page Not Found" %}{% endblock %} {% block icon %}{% endblock %} {% block message %} - The requested page does not exist. + {% trans "The requested page does not exist" %}. {% endblock %} diff --git a/netbox/templates/500.html b/netbox/templates/500.html index 6cface941..f3354688e 100644 --- a/netbox/templates/500.html +++ b/netbox/templates/500.html @@ -1,9 +1,10 @@ +{% load i18n %} {% load static %}
-- There was a problem with your request. Please contact an administrator. + {% trans "There was a problem with your request. Please contact an administrator" %}.
{% endblock %}- The complete exception is provided below: + {% trans "The complete exception is provided below" %}:
{{ exception }}+{% trans "Python version" %}: {{ python_version }} +{% trans "NetBox version" %}: {{ netbox_version }}
{{ error }} -Python version: {{ python_version }} -NetBox version: {{ netbox_version }}
- If further assistance is required, please post to the NetBox discussion forum on GitHub. + {% trans "If further assistance is required, please post to the" %} {% trans "NetBox discussion forum" %} {% trans "on GitHub" %}.
- Background Tasks + {% trans "Background Tasks" %} |
---|
- Installed plugins + {% trans "Installed plugins" %} |