diff --git a/netbox/templates/core/datafile.html b/netbox/templates/core/datafile.html index 38316ddf6..19ac3ab14 100644 --- a/netbox/templates/core/datafile.html +++ b/netbox/templates/core/datafile.html @@ -49,7 +49,7 @@
{% blocktrans %}Are you sure you want to disconnect these {{ selected_objects|length }} {{ obj_type_plural }}?{% endblocktrans %}
diff --git a/netbox/templates/dcim/cable_trace.html b/netbox/templates/dcim/cable_trace.html index b7d780cc4..c8b54c201 100644 --- a/netbox/templates/dcim/cable_trace.html +++ b/netbox/templates/dcim/cable_trace.html @@ -28,7 +28,7 @@ {% with viewname=next_node|viewname:"trace" %}- {% trans "A module import error occurred during this request. Common causes include the following" %}: + {% trans "A module import error occurred during this request. Common causes include the following:" %}
- {% trans "Missing required packages" %} - {% trans "This installation of NetBox might be
- missing one or more required Python packages. These packages are listed in" %} {% trans "requirements.txt" %}
{% trans "and" %}
- {% trans "local_requirements.txt" %}
, {% trans "and are normally installed as part of the installation or upgrade process. To
- verify installed packages, run" %} {% trans "pip freeze" %}
{% trans "from the console and compare the output to the list of
- required packages" %}.
+
+ {% blocktrans %}
+ Missing required packages. This installation of NetBox might be missing one or more required
+ Python packages. These packages are listed in requirements.txt
and
+ local_requirements.txt
, and are normally installed as part of the installation or upgrade process.
+ To verify installed packages, run pip freeze
from the console and compare the output to the list of
+ required packages.
+ {% endblocktrans %}
- {% trans "WSGI service not restarted after upgrade" %} - {% trans "If this installation has - recently been upgraded, check that the WSGI service (e.g. gunicorn or uWSGI) has been restarted. This ensures that - the new code is running" %}. + + {% blocktrans %} + WSGI service not restarted after upgrade. If this installation has recently been upgraded, check + that the WSGI service (e.g. gunicorn or uWSGI) has been restarted. This ensures that the new code is running. + {% endblocktrans %}
{% endblock message %} diff --git a/netbox/templates/exceptions/permission_error.html b/netbox/templates/exceptions/permission_error.html index 4946e5f81..3df6ad5c8 100644 --- a/netbox/templates/exceptions/permission_error.html +++ b/netbox/templates/exceptions/permission_error.html @@ -3,11 +3,14 @@ {% block message %}- {% trans "A file permission error was detected while processing this request. Common causes include the following" %}: + {% trans "A file permission error was detected while processing this request. Common causes include the following:" %}
- {% trans "Insufficient write permission to the media root" %} - {% trans "The configured
- media root is" %} {{ settings.MEDIA_ROOT }}
. {% trans "Ensure that the user NetBox runs as has access to write files
- to all locations within this path" %}.
+
+ {% blocktrans with media_root=settings.MEDIA_ROOT %}
+ Insufficient write permission to the media root. The configured media root is
+ {{ media_root }}
. Ensure that the user NetBox runs as has access to write files to all locations
+ within this path.
+ {% endblocktrans %}
- {% trans "A database programming error was detected while processing this request. Common causes include the following" %}: + {% trans "A database programming error was detected while processing this request. Common causes include the following:" %}
- {% trans "Database migrations missing" %} - {% trans "When upgrading to a new NetBox release,
- the upgrade script must be run to apply any new database migrations. You can run migrations manually by executing" %}
- {% trans "python3 manage.py migrate" %}
{% trans "from the command line" %}.
+
+ {% blocktrans %}
+ Database migrations missing. When upgrading to a new NetBox release, the upgrade script must be
+ run to apply any new database migrations. You can run migrations manually by executing
+ python3 manage.py migrate
from the command line.
+ {% endblocktrans %}
- {% trans "Unsupported PostgreSQL version" %} - {% trans "Ensure that PostgreSQL version 10
- or later is in use. You can check this by connecting to the database using NetBox's credentials and issuing a query
- for" %} {% trans "SELECT VERSION" %}()
.
+
+ {% blocktrans %}
+ Unsupported PostgreSQL version. Ensure that PostgreSQL version 12 or later is in use. You can
+ check this by connecting to the database using NetBox's credentials and issuing a query for
+ SELECT VERSION()
.
+ {% endblocktrans %}
{{ file_path }}
could not be loaded.
+ {% endblocktrans %}