From 62feecad1fbf6a78b4af4026ef56c1d6c34a25a6 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Tue, 22 Mar 2022 10:26:28 +0100 Subject: Add missing gettext functions Otherwise, this strings are not translatable. --- ogcp/templates/actions/oglive.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ogcp/templates/actions/oglive.html') diff --git a/ogcp/templates/actions/oglive.html b/ogcp/templates/actions/oglive.html index 9a4467f..6b8e8b3 100644 --- a/ogcp/templates/actions/oglive.html +++ b/ogcp/templates/actions/oglive.html @@ -11,7 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

Changing ogLive of {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}

+

+ {{ _('Changing ogLive of %(ip_count)d computer(s)', ip_count=ip_count) }} +

{{ macros.cmd_selected_clients(selected_clients) }} -- cgit v1.2.3-18-g5258