From 4777fcaee68ba5aca9b4270d6946ca6e62934cfb Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Tue, 11 Jan 2022 15:46:08 +0100 Subject: Add gettext to dashboard strings Otherwise, this texts could not be translated. --- ogcp/templates/dashboard.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html index 4774804..bf2fa09 100644 --- a/ogcp/templates/dashboard.html +++ b/ogcp/templates/dashboard.html @@ -6,7 +6,7 @@
- Connected clients (ogClient) + {{ _('Connected clients (ogClient)') }}

{{ clients['clients'] | length }}

@@ -18,7 +18,7 @@
- Latest images + {{ _('Latest images') }}
{% for image in images[:10] %}
    @@ -37,22 +37,22 @@
    - Disk stats + {{ _('Disk stats') }}
    • - Disk size + {{ _('Disk size') }}
    • - used + {{ _('used') }}
    • - available + {{ _('available') }}
    • - use(%) + {{ _('use') }}(%)
      @@ -71,7 +71,7 @@
    - Number of images + {{ _('Number of images') }}

    {{ images | length }}

    @@ -90,7 +90,7 @@
  • {{ oglive['directory'] }} {% if loop.index0 == oglive_list['default'] %} - (default) + ({{ _('default') }}) {% endif %}
  • {% endfor %} -- cgit v1.2.3-18-g5258