diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-03-22 10:26:28 +0100 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-03-22 11:19:36 +0100 |
commit | 62feecad1fbf6a78b4af4026ef56c1d6c34a25a6 (patch) | |
tree | 23b7982bf0d3cfc1b16398d68ac8f6d191c79524 /ogcp/templates/actions/image_restore.html | |
parent | ee6880a9f291b24da09b2e2844deeb0dfe14a5b6 (diff) |
Add missing gettext functions
Otherwise, this strings are not translatable.
Diffstat (limited to 'ogcp/templates/actions/image_restore.html')
-rw-r--r-- | ogcp/templates/actions/image_restore.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ogcp/templates/actions/image_restore.html b/ogcp/templates/actions/image_restore.html index 8a5d22e..939ab74 100644 --- a/ogcp/templates/actions/image_restore.html +++ b/ogcp/templates/actions/image_restore.html @@ -11,7 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -<h1 class="m-5">Restore partition image to {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}</h1> +<h1 class="m-5"> + {{ _('Restore partition image to %(ip_count)d computer(s)', ip_count=ip_count) }} +</h1> {{ macros.cmd_selected_clients(selected_clients) }} |