diff --git a/netbox/templates/core/job.html b/netbox/templates/core/job.html index fb57d070d..e8b8c41b2 100644 --- a/netbox/templates/core/job.html +++ b/netbox/templates/core/job.html @@ -54,7 +54,7 @@
{% trans "Are you sure you want to delete this console port from" %} {{ consoleport.device }}?
+{% blocktranslate %}Are you sure you want to delete this console port from {{ consoleport.device }}?{% endblocktranslate %}
{% endblock %} diff --git a/netbox/templates/dcim/consoleserverport_delete.html b/netbox/templates/dcim/consoleserverport_delete.html index 68dda99ee..3fe493c5b 100644 --- a/netbox/templates/dcim/consoleserverport_delete.html +++ b/netbox/templates/dcim/consoleserverport_delete.html @@ -2,8 +2,8 @@ {% load form_helpers %} {% load i18n %} -{% block title %}{% trans "Delete console server port" %} {{ consoleserverport }}?{% endblock %} +{% block title %}{% blocktranslate %}Delete console server port {{ consoleserverport }}?{% endblocktranslate %}{% endblock %} {% block message %} -{% trans "Are you sure you want to delete this console server port from" %} {{ consoleserverport.device }}?
+{% blocktranslate %}Are you sure you want to delete this console server port from {{ consoleserverport.device }}?{% endblocktranslate %}
{% endblock %} diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index ecb66b3f6..de360f67d 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -295,7 +295,7 @@{% trans "Are you sure you want to delete this device bay from" %} {{ devicebay.device }}?
+{% blocktranslate %}Are you sure you want to delete this device bay from {{ devicebay.device }}?{% endblocktranslate %}
{% endblock %} diff --git a/netbox/templates/dcim/devicebay_depopulate.html b/netbox/templates/dcim/devicebay_depopulate.html index f20203a50..8f9629f22 100644 --- a/netbox/templates/dcim/devicebay_depopulate.html +++ b/netbox/templates/dcim/devicebay_depopulate.html @@ -2,8 +2,8 @@ {% load form_helpers %} {% load i18n %} -{% block title %}{% trans "Remove" %} {{ device_bay.installed_device }} {% trans "from" %} {{ device_bay }}?{% endblock %} +{% block title %}{% blocktranslate %}Remove {{ device_bay.installed_device }} from {{ device_bay }}?{% endblocktranslate %}{% endblock %} {% block message %} -{% trans "Are you sure you want to remove" %} {{ device_bay.installed_device }} {% trans "from" %} {{ device_bay }}?
+{% blocktranslate %}Are you sure you want to remove {{ device_bay.installed_device }} from {{ device_bay }}?{% endblocktranslate %}
{% endblock %} diff --git a/netbox/templates/dcim/devicetype/component_templates.html b/netbox/templates/dcim/devicetype/component_templates.html index 9a5210762..b075e1522 100644 --- a/netbox/templates/dcim/devicetype/component_templates.html +++ b/netbox/templates/dcim/devicetype/component_templates.html @@ -27,7 +27,7 @@ diff --git a/netbox/templates/dcim/inc/nonracked_devices.html b/netbox/templates/dcim/inc/nonracked_devices.html index bf6c16fa1..ec32395e8 100644 --- a/netbox/templates/dcim/inc/nonracked_devices.html +++ b/netbox/templates/dcim/inc/nonracked_devices.html @@ -34,11 +34,11 @@ {% if total_nonracked_devices_count > nonracked_devices.count %} {% if object|meta:'verbose_name' == 'site' %}{% trans "Are you sure you want to delete this interface from" %} {{ interface.device }}?
+{% blocktranslate %}Are you sure you want to delete this interface from {{ interface.device }}?{% endblocktranslate %}
{% endblock %} diff --git a/netbox/templates/dcim/inventoryitem_delete.html b/netbox/templates/dcim/inventoryitem_delete.html index 04263b07c..73a0fe27c 100644 --- a/netbox/templates/dcim/inventoryitem_delete.html +++ b/netbox/templates/dcim/inventoryitem_delete.html @@ -2,8 +2,8 @@ {% load form_helpers %} {% load i18n %} -{% block title %}{% trans "Delete inventory item" %} {{ inventoryitem }}?{% endblock %} +{% block title %}{% blocktranslate %}Delete inventory item {{ inventoryitem }}?{% endblocktranslate %}{% endblock %} {% block message %} -{% trans "Are you sure you want to delete this inventory item from" %} {{ inventoryitem.device }}?
+{% blocktranslate %}Are you sure you want to delete this inventory item from {{ inventoryitem.device }}?{% endblocktranslate %}
{% endblock %} diff --git a/netbox/templates/dcim/moduletype/component_templates.html b/netbox/templates/dcim/moduletype/component_templates.html index bb54a33f9..8acc6943d 100644 --- a/netbox/templates/dcim/moduletype/component_templates.html +++ b/netbox/templates/dcim/moduletype/component_templates.html @@ -27,7 +27,7 @@ diff --git a/netbox/templates/dcim/poweroutlet_delete.html b/netbox/templates/dcim/poweroutlet_delete.html index bb9fb19c9..333a83006 100644 --- a/netbox/templates/dcim/poweroutlet_delete.html +++ b/netbox/templates/dcim/poweroutlet_delete.html @@ -2,8 +2,8 @@ {% load form_helpers %} {% load i18n %} -{% block title %}{% trans "Delete power outlet" %} {{ poweroutlet }}?{% endblock %} +{% block title %}{% blocktranslate %}Delete power outlet {{ poweroutlet }}?{% endblocktranslate %}{% endblock %} {% block message %} -{% trans "Are you sure you want to delete this power outlet from" %} {{ poweroutlet.device }}?
+{% blocktranslate %}Are you sure you want to delete this power outlet from {{ poweroutlet.device }}?{% endblocktranslate %}
{% endblock %} diff --git a/netbox/templates/dcim/powerport_delete.html b/netbox/templates/dcim/powerport_delete.html index 07403453e..02976399b 100644 --- a/netbox/templates/dcim/powerport_delete.html +++ b/netbox/templates/dcim/powerport_delete.html @@ -2,8 +2,8 @@ {% load form_helpers %} {% load i18n %} -{% block title %}{% trans "Delete power port" %} {{ powerport }}?{% endblock %} +{% block title %}{% blocktranslate %}Delete power port {{ powerport }}?{% endblocktranslate %}{% endblock %} {% block message %} -{% trans "Are you sure you want to delete this power port from" %} {{ powerport.device }}?
+{% blocktranslate %}Are you sure you want to delete this power port from {{ powerport.device }}?{% endblocktranslate %}
{% endblock %} diff --git a/netbox/templates/dcim/rack/base.html b/netbox/templates/dcim/rack/base.html index 2f4eb227c..fd1a96b9a 100644 --- a/netbox/templates/dcim/rack/base.html +++ b/netbox/templates/dcim/rack/base.html @@ -1,7 +1,7 @@ {% extends 'generic/object.html' %} {% load i18n %} -{% block title %}{% trans "Rack" %} {{ object }}{% endblock %} +{% block title %}{% blocktranslate %}Rack {{ object }}{% endblocktranslate %}{% endblock %} {% block breadcrumbs %} {{ block.super }} diff --git a/netbox/templates/dcim/rack_elevation_list.html b/netbox/templates/dcim/rack_elevation_list.html index cd3b92294..55a55c55e 100644 --- a/netbox/templates/dcim/rack_elevation_list.html +++ b/netbox/templates/dcim/rack_elevation_list.html @@ -24,7 +24,7 @@