From fa2b3bcfcc174780cc647934d41ad9f84f6a7fb9 Mon Sep 17 00:00:00 2001 From: bubu Date: Thu, 1 Aug 2024 09:34:46 +0800 Subject: [PATCH] Adjust HTML template for Chinese translation order. --- netbox/templates/core/rq_worker_list.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/netbox/templates/core/rq_worker_list.html b/netbox/templates/core/rq_worker_list.html index d0d8b9149..92ea601ac 100644 --- a/netbox/templates/core/rq_worker_list.html +++ b/netbox/templates/core/rq_worker_list.html @@ -24,7 +24,12 @@ {% endblock page-header %} -{% block title %}{{ status|capfirst }} {% trans "Workers in " %}{{ queue.name }}{% endblock %} +{% block title %} + {{ status|capfirst }} + {% blocktrans trimmed with queue_name=queue.name %} + Workers in {{ queue_name }} + {% endblocktrans %} +{% endblock %} {% block controls %}{% endblock %}