Skip to content

Commit

Permalink
updated translations
Browse files Browse the repository at this point in the history
fix spelling errors
#504
  • Loading branch information
agmes4 committed Jan 22, 2025
1 parent c97a9ec commit 376975c
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 38 deletions.
2 changes: 1 addition & 1 deletion sipa/blueprints/usersuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def add_mpsk():
except ValueError:
flash(gettext("Invalide Mac Adresse!"), "error")
except MaximumNumberMPSKClients:
flash(gettext("Maximale anzahl an MPSK Clients bereits erstellt!"), "error")
flash(gettext("Maximale Anzahl an MPSK Clients bereits erstellt!"), "error")
except NoWiFiPasswordGenerated:
flash(gettext("Bevor MPSK Clients angelegt werden können muss ein WiFi Passwort erstellt werden!"), "error")

Expand Down
10 changes: 5 additions & 5 deletions sipa/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class ChangePasswordForm(FlaskForm):

class ChangeMailForm(FlaskForm):
password = PasswordField(
label=lazy_gettext("Passwort"),
label=lazy_gettext("Nutzer Passwort"),
validators=[DataRequired(lazy_gettext("Passwort nicht angegeben!"))])
email = EmailField(label=lazy_gettext("E-Mail-Adresse"))
forwarded = BooleanField(
Expand All @@ -291,7 +291,7 @@ def require_unicast_mac(form, field):

class ChangeMACForm(FlaskForm):
password = PasswordField(
label=lazy_gettext("Passwort"),
label=lazy_gettext("Nutzer Passwort"),
validators=[DataRequired(lazy_gettext("Passwort nicht angegeben!"))])
mac = StrippedStringField(
label=lazy_gettext("Neue MAC"),
Expand All @@ -311,7 +311,7 @@ class ChangeMACForm(FlaskForm):

class MPSKClientForm(FlaskForm):
password = PasswordField(
label=lazy_gettext("Passwort"),
label=lazy_gettext("Nutzer Passwort"),
validators=[DataRequired(lazy_gettext("Passwort nicht angegeben!"))])
mac = StrippedStringField(
label=lazy_gettext("Neue MPSK Wi-Fi MAC"),
Expand All @@ -330,13 +330,13 @@ class MPSKClientForm(FlaskForm):

class DeleteMPSKClientForm(FlaskForm):
password = PasswordField(
label=lazy_gettext("Passwort"),
label=lazy_gettext("Nutzer Passwort"),
validators=[DataRequired(lazy_gettext("Passwort nicht angegeben!"))])

Check warning on line 335 in sipa/forms.py

View check run for this annotation

Codecov / codecov/patch

sipa/forms.py#L335

Added line #L335 was not covered by tests

class ActivateNetworkAccessForm(FlaskForm):
password = PasswordField(
label=lazy_gettext("Passwort"),
label=lazy_gettext("Nutzer Passwort"),
validators=[DataRequired(lazy_gettext("Passwort nicht angegeben!"))])
mac = StrippedStringField(
label=lazy_gettext("MAC-Adresse"),
Expand Down
2 changes: 1 addition & 1 deletion sipa/templates/usersuite/mpsk_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{% block form_content %}
<div class="{{ form_input_offset_class }} {{ form_input_width_class }} alert alert-info">
{{ _('Bitte gehe sicher, dass es sich um die Wi-Fi MAC-Adresse deines Gerätes handelt.') }}
{{ _('Bitte gehe sicher, dass es sich um die Wlan MAC-Adresse deines Gerätes handelt.') }}
{{ _('Hinweis: Bei einer Änderung der MAC-Adresse wird automatisch eine Benachrichtigungsmail an uns gesandt.') }}
</div>
<div class="{{ form_input_offset_class }} {{ form_input_width_class }} alert alert-warning">
Expand Down
4 changes: 2 additions & 2 deletions sipa/templates/usersuite/mpsk_table.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% extends "base.html" %}

{% import "macros/forms.html" as forms %}
{% set page_title = _("MPSK Wi-Fi Geräte") %}
{% set page_title = _("MPSK Wlan Geräte") %}
{% block content %}
{% include "heading.html" %}
<table class="table table-striped">
<tr>
<th>{{ _("Greät") }}</th>
<th>{{ _("Wi-Fi MAC") }}</th>
<th>{{ _("Wlan MAC") }}</th>
<th>{{ _("Aktion") }}</th>
</tr>
{% for client in clients %}
Expand Down
Binary file modified sipa/translations/de/LC_MESSAGES/messages.mo
Binary file not shown.
29 changes: 22 additions & 7 deletions sipa/translations/de/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2025-01-19 23:38+0100\n"
"POT-Creation-Date: 2025-01-22 23:25+0100\n"
"PO-Revision-Date: 2019-09-10 15:06+0200\n"
"Last-Translator: \n"
"Language: de\n"
Expand Down Expand Up @@ -102,7 +102,7 @@ msgstr ""
msgid "Neue Passwörter stimmen nicht überein!"
msgstr ""

msgid "Passwort"
msgid "Nutzer Passwort"
msgstr ""

msgid "Passwort nicht angegeben!"
Expand Down Expand Up @@ -210,6 +210,9 @@ msgstr ""
msgid "Nutzername enthält ungültige Zeichen!"
msgstr ""

msgid "Passwort"
msgstr ""

msgid "Kein Passwort eingegeben!"
msgstr ""

Expand Down Expand Up @@ -469,7 +472,7 @@ msgstr ""
msgid "WLAN Passwort"
msgstr ""

msgid "WLAN mpsk clients"
msgid "WLAN MPSK Clients"
msgstr ""

msgid "Für Geräte die kein WPA-Enterprise Unterstützen"
Expand Down Expand Up @@ -559,7 +562,7 @@ msgstr ""
msgid "Invalide Mac Adresse!"
msgstr ""

msgid "Maximale anzahl an MPSK Clients bereits erstellt!"
msgid "Maximale Anzahl an MPSK Clients bereits erstellt!"
msgstr ""

msgid "Bevor MPSK Clients angelegt werden können muss ein WiFi Passwort erstellt werden!"
Expand Down Expand Up @@ -1027,16 +1030,16 @@ msgstr ""
msgid "MPSKs Form"
msgstr ""

msgid "Bitte gehe sicher, dass es sich um die Wi-Fi MAC-Adresse deines Gerätes handelt."
msgid "Bitte gehe sicher, dass es sich um die Wlan MAC-Adresse deines Gerätes handelt."
msgstr ""

msgid "MPSK Wi-Fi Geräte"
msgid "MPSK Wlan Geräte"
msgstr ""

msgid "Greät"
msgstr ""

msgid "Wi-Fi MAC"
msgid "Wlan MAC"
msgstr ""

msgid "Aktion"
Expand Down Expand Up @@ -1855,3 +1858,15 @@ msgstr "dieses Feld wird benötigt!"
#~ msgid "Maximale Anzahl von MPSK Clients erreicht!"
#~ msgstr ""

#~ msgid "WLAN mpsk Clients"
#~ msgstr ""

#~ msgid "Bitte gehe sicher, dass es sich um die Wi-Fi MAC-Adresse deines Gerätes handelt."
#~ msgstr ""

#~ msgid "MPSK Wi-Fi Geräte"
#~ msgstr ""

#~ msgid "Wi-Fi MAC"
#~ msgstr ""

Binary file modified sipa/translations/en/LC_MESSAGES/messages.mo
Binary file not shown.
48 changes: 26 additions & 22 deletions sipa/translations/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Sipa\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2025-01-19 23:38+0100\n"
"PO-Revision-Date: 2024-01-25 13:35+0100\n"
"POT-Creation-Date: 2025-01-22 23:25+0100\n"
"PO-Revision-Date: 2025-01-22 23:25+0100\n"
"Last-Translator: Lukas Juhrich <[email protected]>\n"
"Language: en\n"
"Language-Team: \n"
Expand Down Expand Up @@ -103,8 +103,8 @@ msgstr "Verification of your new password is missing!"
msgid "Neue Passwörter stimmen nicht überein!"
msgstr "Password verification was unsuccessful!"

msgid "Passwort"
msgstr "Password"
msgid "Nutzer Passwort"
msgstr "User password"

msgid "Passwort nicht angegeben!"
msgstr "No password submitted!"
Expand All @@ -122,7 +122,7 @@ msgid "Mac zu kurz!"
msgstr "MAC too short"

msgid "Neue MAC"
msgstr "New mac"
msgstr "New MAC"

msgid "MAC-Adresse nicht angegeben!"
msgstr "MAC address not supplied!"
Expand All @@ -145,9 +145,8 @@ msgstr "TL-WR841N, MacBook, FritzBox, PC, Laptop, etc."
msgid "Neue MPSK Wi-Fi MAC"
msgstr "New Wi-Fi MAC"

#, fuzzy
msgid "Neuer Gerätename"
msgstr "New device name (Optional)"
msgstr "New device name"

msgid "MAC-Adresse"
msgstr "MAC address"
Expand Down Expand Up @@ -212,6 +211,9 @@ msgstr "No username submitted!"
msgid "Nutzername enthält ungültige Zeichen!"
msgstr "Username contains invalid characters!"

msgid "Passwort"
msgstr "Password"

msgid "Kein Passwort eingegeben!"
msgstr "No password submitted!"

Expand Down Expand Up @@ -472,8 +474,8 @@ msgstr "E-Mail forwarding address"
msgid "WLAN Passwort"
msgstr "WiFi Password"

msgid "WLAN mpsk clients"
msgstr "WiFi MPSK Clients"
msgid "WLAN MPSK Clients"
msgstr "WiFi MPSK clients"

msgid "Für Geräte die kein WPA-Enterprise Unterstützen"
msgstr "Used for devices which do not support WPA-Enterprise Authentication (PS4, Smart Devices, ...)"
Expand Down Expand Up @@ -564,19 +566,19 @@ msgstr "MPSK device not found!"
msgid "Invalide Mac Adresse!"
msgstr "invalid MAC address"

msgid "Maximale anzahl an MPSK Clients bereits erstellt!"
msgid "Maximale Anzahl an MPSK Clients bereits erstellt!"
msgstr "Maximum of MPSK Clients reached"

msgid "Bevor MPSK Clients angelegt werden können muss ein WiFi Passwort erstellt werden!"
msgstr "Please generate a WiFi password before adding MPSK Clients!"

#, fuzzy
msgid "MPSK MAC wurde nicht gefunden!"
msgstr "User not found!"
msgstr "MPSK MAC was not found!"

#, fuzzy
msgid "MPSK Client wurde gelöscht!"
msgstr "Your MPSK Client has been deleted."
msgstr "Your MPSK client has been deleted."

msgid "Es sind nicht mehr genug freie IPv4 Adressen verfügbar. Bitte kontaktiere den Support."
msgstr "There are not enough free IPv4 addresses available. Please contact the support."
Expand Down Expand Up @@ -917,10 +919,10 @@ msgid "Webmailer"
msgstr "Webmailer"

msgid "Apple WLAN-Konfigurationsprofil herunterladen"
msgstr "Download Apple WLAN configuration profile"
msgstr "Download Apple WiFi configuration profile"

msgid "Du benötigst zuerst ein WLAN-Passwort. Erstelle eines"
msgstr "You need a WLAN password first. Create one"
msgstr "You need a WiFi password first. Create one"

msgid "hier"
msgstr "over here"
Expand Down Expand Up @@ -1036,17 +1038,19 @@ msgstr "Usersuite of "
msgid "MPSKs Form"
msgstr ""

msgid "Bitte gehe sicher, dass es sich um die Wi-Fi MAC-Adresse deines Gerätes handelt."
#, fuzzy
msgid "Bitte gehe sicher, dass es sich um die Wlan MAC-Adresse deines Gerätes handelt."
msgstr "Please make sure that it is the devices WiFi MAC address!"

msgid "MPSK Wi-Fi Geräte"
#, fuzzy
msgid "MPSK Wlan Geräte"
msgstr "MPSK WiFi device"

msgid "Greät"
msgstr "Device"

msgid "Wi-Fi MAC"
msgstr "WiFi MAC"
msgid "Wlan MAC"
msgstr "New WiFi MAC"

msgid "Aktion"
msgstr "action"
Expand Down Expand Up @@ -1174,9 +1178,9 @@ msgstr ""
#~ msgid "Aktualisieren"
#~ msgstr "Update"

#~ msgid "WLAN mpsks clients"
#~ msgstr ""
#~ msgid "WLAN MAC"
#~ msgstr "WiFi MAC"

#~ msgid "Maximale Anzahl von MPSK Clients erreicht!"
#~ msgstr ""
#~ msgid "Wi-Fi MAC"
#~ msgstr "New Wi-Fi MAC"

0 comments on commit 376975c

Please sign in to comment.