Skip to content

Commit 32b756b

Browse files
committed
mpsk: Fix some translation issues
- Add transalations for creating and editing mpsk clients. - Fix singular/plural typos - Add examples for devices incapable of WPA-Enterprise in german
1 parent 9ff8922 commit 32b756b

File tree

5 files changed

+30
-16
lines changed

5 files changed

+30
-16
lines changed

sipa/templates/usersuite/_index_status.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,16 @@ <h2 id="hot-buttons">{{ _("Häufige Aktionen") }}</h2>
6464
</div>
6565

6666
<div>
67-
{% if current_user.mpsk_clients %}
68-
<a href="{{ url_for('.view_mpsk') }}">Create clients</a>
67+
{% if not current_user.mpsk_clients %}
68+
<a href="{{ url_for('.view_mpsk') }}" class="btn btn-outline-secondary" title="{{ _('Erstellen IOT Geräte') }}">
69+
<span class="bi-wifi"></span>
70+
{{ _('Erstellen IOT Geräte') }}
71+
</a>
6972
{% else %}
70-
<a href="{{ url_for('.view_mpsk') }}" class="btn btn-outline-secondary" title="{{ _('Editieren IOT Geräte') }}">Clients </a>
73+
<a href="{{ url_for('.view_mpsk') }}" class="btn btn-outline-secondary" title="{{ _('Editieren IOT Geräte') }}">
74+
<span class="bi-wifi"></span>
75+
{{ _('Editieren IOT Geräte') }}
76+
</a>
7177
{% endif %}
7278
</div>
7379

262 Bytes
Binary file not shown.

sipa/translations/de/LC_MESSAGES/messages.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: PROJECT VERSION\n"
99
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10-
"POT-Creation-Date: 2025-01-23 13:17+0100\n"
10+
"POT-Creation-Date: 2025-01-23 13:44+0100\n"
1111
"PO-Revision-Date: 2019-09-10 15:06+0200\n"
1212
"Last-Translator: \n"
1313
"Language: de\n"
@@ -476,7 +476,7 @@ msgid "WLAN MPSK Clients"
476476
msgstr ""
477477

478478
msgid "Für Geräte die kein WPA-Enterprise Unterstützen"
479-
msgstr ""
479+
msgstr "Für Geräte die kein WPA-Enterprise Unterstützen (PS4, Smart Geräte, ...)"
480480

481481
msgid "MySQL Datenbank"
482482
msgstr ""
@@ -919,8 +919,11 @@ msgstr ""
919919
msgid "hier"
920920
msgstr ""
921921

922+
msgid "Erstellen IOT Geräte"
923+
msgstr "IOT Geräte anlegen"
924+
922925
msgid "Editieren IOT Geräte"
923-
msgstr ""
926+
msgstr "IOT Geräte editieren"
924927

925928
msgid "Kontaktformular"
926929
msgstr ""
536 Bytes
Binary file not shown.

sipa/translations/en/LC_MESSAGES/messages.po

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,19 @@
55
#
66
msgid ""
77
msgstr ""
8-
"Project-Id-Version: Sipa\n"
8+
"Project-Id-Version: Sipa\n"
99
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10-
"POT-Creation-Date: 2025-01-22 23:35+0100\n"
10+
"POT-Creation-Date: 2025-01-23 13:44+0100\n"
1111
"PO-Revision-Date: 2025-01-22 23:35+0100\n"
1212
"Last-Translator: Lukas Juhrich <[email protected]>\n"
13-
"Language-Team: \n"
1413
"Language: en\n"
14+
"Language-Team: \n"
15+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=utf-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"Generated-By: Babel 2.13.1\n"
20-
"X-Source-Language: de\n"
21-
"X-Generator: Poedit 3.5\n"
20+
"X-Source-Language: de"
2221

2322
msgid "Kleinbuchstaben (a-z)"
2423
msgstr "lower case letters (a-z)"
@@ -830,11 +829,13 @@ msgstr "Older"
830829
msgid "Achtung:"
831830
msgstr "Attention:"
832831

833-
msgid "Hier wird dir\n"
832+
msgid ""
833+
"Hier wird dir\n"
834834
" nicht mit deinem Anschluss geholfen! Dieses Formular ist\n"
835835
" nur für die Kommunikation mit unseren Partnern gedacht. Bei\n"
836836
" Missbrauch kann dein Account gesperrt werden."
837-
msgstr "Here, nobody will help you with your connection! This form is reserved for communication with our partners.\n"
837+
msgstr ""
838+
"Here, nobody will help you with your connection! This form is reserved for communication with our partners.\n"
838839
"Abuse may be punished by blocking your account."
839840

840841
msgid "Deine Nutzer-ID lautet"
@@ -922,8 +923,11 @@ msgstr "You need a WiFi password first. Create one"
922923
msgid "hier"
923924
msgstr "over here"
924925

926+
msgid "Erstellen IOT Geräte"
927+
msgstr "Create IOT devices"
928+
925929
msgid "Editieren IOT Geräte"
926-
msgstr "edit IOT devices"
930+
msgstr "Edit IOT devices"
927931

928932
msgid "Kontaktformular"
929933
msgstr "Contact form"
@@ -1037,7 +1041,7 @@ msgid "Bitte gehe sicher, dass es sich um die WLAN MAC-Adresse deines Gerätes h
10371041
msgstr "Please make sure that it is the devices WiFi MAC address!"
10381042

10391043
msgid "MPSK WLAN Geräte"
1040-
msgstr "MPSK WiFi device"
1044+
msgstr "MPSK WiFi devices"
10411045

10421046
msgid "Greät"
10431047
msgstr "Device"
@@ -1176,3 +1180,4 @@ msgstr ""
11761180

11771181
#~ msgid "Wi-Fi MAC"
11781182
#~ msgstr "New Wi-Fi MAC"
1183+

0 commit comments

Comments
 (0)