diff --git a/sipa/blueprints/usersuite.py b/sipa/blueprints/usersuite.py index cdfde400..5ebfd35d 100644 --- a/sipa/blueprints/usersuite.py +++ b/sipa/blueprints/usersuite.py @@ -111,7 +111,7 @@ def index(): ("mail_confirmed", [gettext("Status deiner E-Mail-Adresse")]), ("mail_forwarded", [gettext("E-Mail-Weiterleitung")]), ("wifi_password", [gettext("WLAN Passwort")]), - ("mpsk_clients", [gettext("WLAN mpsk clients"), gettext("Für Geräte die kein WPA-Enterprise Unterstützen") ]), + ("mpsk_clients", [gettext("WLAN MPSK Clients"), gettext("Für Geräte die kein WPA-Enterprise Unterstützen") ]), # ('hostname', gettext("Hostname")), # ('hostalias', gettext("Hostalias")), ("userdb_status", [gettext("MySQL Datenbank")]), @@ -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") diff --git a/sipa/forms.py b/sipa/forms.py index ba19e974..ca7d296c 100644 --- a/sipa/forms.py +++ b/sipa/forms.py @@ -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( @@ -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"), @@ -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"), @@ -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!"))]) 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"), diff --git a/sipa/templates/usersuite/mpsk_client.html b/sipa/templates/usersuite/mpsk_client.html index 12ca5c08..0ab99cd2 100644 --- a/sipa/templates/usersuite/mpsk_client.html +++ b/sipa/templates/usersuite/mpsk_client.html @@ -3,7 +3,7 @@ {% block form_content %}
{{ _("Greät") }} | -{{ _("Wi-Fi MAC") }} | +{{ _("WLAN MAC") }} | {{ _("Aktion") }} |
---|