summaryrefslogtreecommitdiff
path: root/web/kbn_templates/inverter.j2
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-18 02:41:40 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-18 02:41:40 +0300
commitd79309e498cdc1358c81367ce2a93a5731e517d1 (patch)
tree675f200a986dfacd7d80787aa08570ef418ffa0a /web/kbn_templates/inverter.j2
parent688add1242be632837aad63832ebf7605f424079 (diff)
web_kbn: use i18n in j2 templates
Diffstat (limited to 'web/kbn_templates/inverter.j2')
-rw-r--r--web/kbn_templates/inverter.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/web/kbn_templates/inverter.j2 b/web/kbn_templates/inverter.j2
index 26491f3..e84bffc 100644
--- a/web/kbn_templates/inverter.j2
+++ b/web/kbn_templates/inverter.j2
@@ -1,16 +1,16 @@
{% extends "base.j2" %}
{% block content %}
-{{ breadcrumbs([{'text': 'Инвертор'}]) }}
+{{ breadcrumbs([{'text': 'inverter'|lang}]) }}
-<h6 class="text-primary">Статус</h6>
+<h6 class="text-primary">{{ "inverter_status"|lang }}</h6>
<div id="inverter_status">
{{ html|safe }}
</div>
<div class="pt-3">
<a href="/inverter.cgi?do=set-osp&amp;value={{ 'sub' if rated.output_source_priority == 'Solar-Battery-Utility' else 'sbu' }}">
- <button type="button" class="btn btn-primary">Переключить на <b>{{ 'Solar-Utility-Battery' if rated.output_source_priority == 'Solar-Battery-Utility' else 'Solar-Battery-Utility' }}</b></button>
+ <button type="button" class="btn btn-primary">{{ "inverter_switch_to"|lang }} <b>{{ 'Solar-Utility-Battery' if rated.output_source_priority == 'Solar-Battery-Utility' else 'Solar-Battery-Utility' }}</b></button>
</a>
</div>
{% endblock %}