summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/mode.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-03-22 10:26:28 +0100
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-03-22 11:19:36 +0100
commit62feecad1fbf6a78b4af4026ef56c1d6c34a25a6 (patch)
tree23b7982bf0d3cfc1b16398d68ac8f6d191c79524 /ogcp/templates/actions/mode.html
parentee6880a9f291b24da09b2e2844deeb0dfe14a5b6 (diff)
Add missing gettext functions
Otherwise, this strings are not translatable.
Diffstat (limited to 'ogcp/templates/actions/mode.html')
-rw-r--r--ogcp/templates/actions/mode.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ogcp/templates/actions/mode.html b/ogcp/templates/actions/mode.html
index 44de8ac..131097a 100644
--- a/ogcp/templates/actions/mode.html
+++ b/ogcp/templates/actions/mode.html
@@ -11,7 +11,9 @@
{% set ip_list = form.ips.data.split(' ') %}
{% set ip_count = ip_list | length %}
-<h1 class="m-5">Changing boot mode of {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}</h1>
+<h1 class="m-5">
+ {{ _('Changing boot mode of %(ip_count)d computer(s)', ip_count=ip_count) }}
+</h1>
{{ macros.cmd_selected_clients(selected_clients) }}