You've already forked snikket-web-portal
Clean up some translation-related issues
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
{% block topbar_classes %}{{ super() }} admin{% endblock %}
|
||||
{% block topbar_left %}
|
||||
{{ super() }}
|
||||
<div class="admin-note">Admin area</div>
|
||||
<div class="admin-note">{% trans %}Admin area{% endtrans %}</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<dd>{{ target_user.phone }}</dd>
|
||||
</dl>
|
||||
{% call box("alert", _("Danger")) %}
|
||||
<p>The user and their data will be deleted irrevocably, permanently and immediately upon pushing thre below button. <strong>There is no way back!</strong></p>
|
||||
<p>{% trans %}The user and their data will be deleted irrevocably, permanently and immediately upon pushing thre below button. <strong>There is no way back!</strong>{% endtrans %}</p>
|
||||
{% endcall %}
|
||||
<div class="f-bbox">
|
||||
{%- call standard_button("back", url_for(".index"), class="secondary") %}{% trans %}Back{% endtrans %}{% endcall -%}
|
||||
|
||||
@@ -103,10 +103,8 @@ var copy_to_clipboard_btn = function(el) {
|
||||
}
|
||||
|
||||
var icon = "done";
|
||||
var label = "{% trans %}Copied to clipboard{% endtrans %}";
|
||||
if (!success) {
|
||||
icon = "cancel";
|
||||
label = "{% trans %}Copy operation failed{% endtrans %}";
|
||||
}
|
||||
var icon_bak = get_current_icon(el.firstChild);
|
||||
change_icon(el.firstChild, icon);
|
||||
|
||||
Reference in New Issue
Block a user