diff --git a/app/src/web/conn_table.py b/app/src/web/conn_table.py index f1122e0..278227b 100644 --- a/app/src/web/conn_table.py +++ b/app/src/web/conn_table.py @@ -1,6 +1,6 @@ from inverter_base import InverterBase from quart import render_template -from quart_babel import format_datetime +from quart_babel import format_datetime, _ from infos import Infos from . import web @@ -17,7 +17,7 @@ def _get_device_icon(client_mode: bool): def _get_cloud_icon(emu_mode: bool): '''returns the icon for the cloud conntection''' if emu_mode: - return 'fa-cloud-arrow-down-alt' + return 'fa-cloud-arrow-up-alt' return 'fa-cloud' @@ -54,9 +54,9 @@ def get_table_data(): "w3-hide-small w3-hide-medium", "w3-hide-large", ], "thead": [[ - 'Device-IP:Port', 'Device-IP', - "Serial-No", - "Cloud-IP:Port", "Cloud-IP" + _('Device-IP:Port'), _('Device-IP'), + _("Serial-No"), + _("Cloud-IP:Port"), _("Cloud-IP") ]], "tbody": [] } diff --git a/app/translations/de/LC_MESSAGES/messages.po b/app/translations/de/LC_MESSAGES/messages.po index 0c49d7f..a18f69e 100644 --- a/app/translations/de/LC_MESSAGES/messages.po +++ b/app/translations/de/LC_MESSAGES/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: tsun-gen3-proxy 0.14.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2025-04-28 20:37+0200\n" +"POT-Creation-Date: 2025-04-28 21:00+0200\n" "PO-Revision-Date: 2025-04-18 16:24+0200\n" "Last-Translator: FULL NAME \n" "Language: de\n" @@ -19,6 +19,26 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.17.0\n" +#: src/web/conn_table.py:57 +msgid "Device-IP:Port" +msgstr "Geräte-IP:Port" + +#: src/web/conn_table.py:57 +msgid "Device-IP" +msgstr "Geräte-IP" + +#: src/web/conn_table.py:58 +msgid "Serial-No" +msgstr "Seriennummer" + +#: src/web/conn_table.py:59 +msgid "Cloud-IP:Port" +msgstr "Cloud-IP:Port" + +#: src/web/conn_table.py:59 +msgid "Cloud-IP" +msgstr "Cloud-IP" + #: src/web/templates/base.html.j2:37 msgid "Updated:" msgstr "Aktualisiert:"