11{% extends "admin/base_site.html" %}
2- {% load i18n static %}
2+ {% load static %}
33
44{% block extrastyle %}
55 {{ block.super }}
173173
174174{% block breadcrumbs %}
175175< div class ="breadcrumbs ">
176- < a href ="{% url 'admin:index' %} "> {% trans ' Home' %} </ a >
177- › {% trans ' System Self-Tests' %}
176+ < a href ="{% url 'admin:index' %} "> Home</ a >
177+ › System Self-Tests
178178</ div >
179179{% endblock %}
180180
181181{% block content %}
182182< div class ="selftest-container ">
183183 {% if not run_tests %}
184- < a href ="?run=true " class ="run-tests-btn "> {% trans " Run All Tests" %} </ a >
184+ < a href ="?run=true " class ="run-tests-btn "> Run All Tests</ a >
185185 {% else %}
186- < a href ="{% url 'admin:selftest' %} " class ="run-tests-btn " style ="opacity: 0.8; "> {% trans " Reset" %} </ a >
186+ < a href ="{% url 'admin:selftest' %} " class ="run-tests-btn " style ="opacity: 0.8; "> Reset</ a >
187187 {% endif %}
188188
189189 {% if run_tests %}
190190 {% if all_passed is not None %}
191191 < div class ="selftest-module ">
192192 < div class ="overall-status {% if all_passed %}success{% else %}failure{% endif %} ">
193193 {% if all_passed %}
194- ✅ {% trans " All tests passed successfully!" %}
194+ ✅ All tests passed successfully!
195195 {% else %}
196- ❌ {% trans " Some tests failed. Please check the details below." %}
196+ ❌ Some tests failed. Please check the details below.
197197 {% endif %}
198198 </ div >
199199 </ div >
200200 {% endif %}
201201
202202 < div class ="selftest-module ">
203- < h2 > {% trans " Test Results" %} </ h2 >
203+ < h2 > Test Results</ h2 >
204204 < div class ="module-content ">
205205 {% for result in results %}
206206 < div class ="test-item ">
207207 < div class ="test-header ">
208208 < span class ="test-name "> {{ result.name }}</ span >
209209 < span class ="test-status {% if result.success %}success{% else %}failure{% endif %} ">
210210 {% if result.success %}
211- ✓ {% trans " Pass" %}
211+ ✓ Pass
212212 {% else %}
213- ✗ {% trans " Fail" %}
213+ ✗ Fail
214214 {% endif %}
215215 </ span >
216216 </ div >
@@ -223,7 +223,7 @@ <h2>{% trans "Test Results" %}</h2>
223223 </ div >
224224 {% if result.details %}
225225 < div class ="test-details ">
226- < strong > {% trans " Details:" %} </ strong >
226+ < strong > Details:</ strong >
227227 < dl >
228228 {% for key, value in result.details.items %}
229229 < dt > {{ key }}:</ dt >
@@ -239,9 +239,9 @@ <h2>{% trans "Test Results" %}</h2>
239239 </ div >
240240 {% else %}
241241 < div class ="selftest-module ">
242- < h2 > {% trans " Available Tests" %} </ h2 >
242+ < h2 > Available Tests</ h2 >
243243 < div class ="module-content ">
244- < p > {% trans " Click 'Run All Tests' to execute the following system health checks:" %} </ p >
244+ < p > Click 'Run All Tests' to execute the following system health checks:</ p >
245245 < ul class ="available-tests-list ">
246246 {% for test in available_tests %}
247247 < li >
@@ -255,4 +255,3 @@ <h2>{% trans "Available Tests" %}</h2>
255255 {% endif %}
256256</ div >
257257{% endblock %}
258-
0 commit comments