diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2024-02-19 03:44:40 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2024-02-19 03:44:40 +0300 |
commit | 840cbe4729ac8960c0dc0d23aca0405335f9ecb4 (patch) | |
tree | 3c6c0af54c947c9dac3aa7fafc027e79db8e25b4 /web/kbn_templates/modem_data.j2 | |
parent | 838b01c548939158f99529a714fe105249d70675 (diff) |
user language support, other important fixes
Diffstat (limited to 'web/kbn_templates/modem_data.j2')
-rw-r--r-- | web/kbn_templates/modem_data.j2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/kbn_templates/modem_data.j2 b/web/kbn_templates/modem_data.j2 index 7f97b77..f96a197 100644 --- a/web/kbn_templates/modem_data.j2 +++ b/web/kbn_templates/modem_data.j2 @@ -1,13 +1,13 @@ {% with level=modem_data.level %} - <span class="text-secondary">Сигнал:</span> {% include 'signal_level.j2' %}<br> + <span class="text-secondary">{{ "modem_signal"|lang }}:</span> {% include 'signal_level.j2' %}<br> {% endwith %} -<span class="text-secondary">Тип сети:</span> <b>{{ modem_data.type }}</b><br> +<span class="text-secondary">{{ "modem_network_type"|lang }}:</span> <b>{{ modem_data.type }}</b><br> <span class="text-secondary">RSSI:</span> {{ modem_data.rssi }}<br/> {% if modem_data.sinr %} <span class="text-secondary">SINR:</span> {{ modem_data.sinr }}<br/> {% endif %} -<span class="text-secondary">Время соединения:</span> {{ modem_data.connected_time }}<br> -<span class="text-secondary">Принято/передано:</span> {{ modem_data.downloaded }} / {{ modem_data.uploaded }} +<span class="text-secondary">{{ "modem_connection_time"|lang }}:</span> {{ modem_data.connected_time }}<br> +<span class="text-secondary">{{ "modem_tx_rx"|lang }}:</span> {{ modem_data.downloaded }} / {{ modem_data.uploaded }} <br> -<a href="/modems/verbose.cgi?id={{ modem }}">Подробная информация</a> +<a href="/modems/verbose.cgi?id={{ modem }}">{{ "modem_verbose_info"|lang }}</a> |