summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/wol.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/wol.html
parentee6880a9f291b24da09b2e2844deeb0dfe14a5b6 (diff)
Add missing gettext functions
Otherwise, this strings are not translatable.
Diffstat (limited to 'ogcp/templates/actions/wol.html')
-rw-r--r--ogcp/templates/actions/wol.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ogcp/templates/actions/wol.html b/ogcp/templates/actions/wol.html
index e93927b..adeb2e0 100644
--- a/ogcp/templates/actions/wol.html
+++ b/ogcp/templates/actions/wol.html
@@ -11,7 +11,9 @@
{% set ip_list = form.ips.data.split(' ') %}
{% set ip_count = ip_list | length %}
-<h1 class="m-5">Powering on {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}</h1>
+<h1 class="m-5">
+ {{ _('Powering on %(ip_count)d computer(s)', ip_count=ip_count) }}
+</h1>
{{ macros.cmd_selected_clients(selected_clients) }}