瀏覽代碼

Adjust HTML template for Chinese translation order.

bubu 1 年之前
父節點
當前提交
fa2b3bcfcc
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      netbox/templates/core/rq_worker_list.html

+ 6 - 1
netbox/templates/core/rq_worker_list.html

@@ -24,7 +24,12 @@
   </div>
 {% 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 %}