Localize strings in translation page

This commit is contained in:
Kiril Kovachev 2024-10-15 19:16:41 +01:00
parent d87ec88780
commit 567a02bd24

View File

@ -9,7 +9,7 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<button id="add-string-button">Add string</button> <button id="add-string-button">{{ localize("add_string") }}</button>
<form method="post"> <form method="post">
{% for language, data in strings.items() %} {% for language, data in strings.items() %}
<div id="{{language}}-translation-section" class="translation-section" lang="{{language}}"> <div id="{{language}}-translation-section" class="translation-section" lang="{{language}}">
@ -21,7 +21,7 @@
{% endfor %} {% endfor %}
</div> </div>
{% endfor %} {% endfor %}
<button type="submit">Submit</button> <button type="submit">{{ localize("submit") }}</button>
</form> </form>
{% endblock %} {% endblock %}