From d79309e498cdc1358c81367ce2a93a5731e517d1 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 18 Feb 2024 02:41:40 +0300 Subject: web_kbn: use i18n in j2 templates --- web/kbn_templates/pump.j2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'web/kbn_templates/pump.j2') diff --git a/web/kbn_templates/pump.j2 b/web/kbn_templates/pump.j2 index 28d5c9d..40836ca 100644 --- a/web/kbn_templates/pump.j2 +++ b/web/kbn_templates/pump.j2 @@ -1,17 +1,17 @@ {% extends "base.j2" %} {% block content %} -{{ breadcrumbs([{'text': 'Насос'}]) }} +{{ breadcrumbs([{'text': 'pump'|lang}]) }}
- Сейчас насос + {{ "pump_now_is"|lang }} {% if status == 'on' %} - включен.

- + {{ "pump_now_on"|lang }}.

+ {% else %} - выключен.

- + {{ "pump_now_off"|lang }}.

+ {% endif %}
{% endblock %} -- cgit v1.2.3