Skip to content

Commit

Permalink
Add comments on translation texts
Browse files Browse the repository at this point in the history
  • Loading branch information
cornelinux committed Apr 5, 2019
1 parent 0ca9b2f commit 1c8a363
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 33 deletions.
2 changes: 1 addition & 1 deletion po/de.po
Expand Up @@ -4087,7 +4087,7 @@ msgid ""
"With the PUSH token privacyIDEA sends a notification to your registered "
"smartphone asking\n"
" if you want to approve the authentication step.\n"
" You can accept of deny the authentication on your smartphone."
" You can accept or deny the authentication on your smartphone."
msgstr ""
"Mit dem PUSH Token sendet privacyIDEA eine Benachrichtigung an das "
"registrierte Smartphone.\n"
Expand Down
2 changes: 1 addition & 1 deletion po/template.pot
Expand Up @@ -3607,7 +3607,7 @@ msgstr ""
msgid ""
"With the PUSH token privacyIDEA sends a notification to your registered smartphone asking\n"
" if you want to approve the authentication step.\n"
" You can accept of deny the authentication on your smartphone."
" You can accept or deny the authentication on your smartphone."
msgstr ""

#: privacyidea/static/components/config/views/config.resolvers.sql.html:121
Expand Down
8 changes: 4 additions & 4 deletions privacyidea/lib/eventhandler/base.py
Expand Up @@ -129,23 +129,23 @@ def conditions(cls):
cond = {
CONDITION.REALM: {
"type": "str",
"desc": _("The user realm, for which this event should apply."),
"desc": _("The realm of the user, for which this event should apply."),
"value": list(realms)
},
CONDITION.RESOLVER: {
"type": "str",
"desc": _("The user resolver, for which this event should apply."),
"desc": _("The resolver of the user, for which this event should apply."),
"value": list(resolvers)
},
CONDITION.TOKENREALM: {
"type": "multi",
"desc": _("The token realm, for which this event should "
"desc": _("The realm of the token, for which this event should "
"apply."),
"value": [{"name": r} for r in realms]
},
CONDITION.TOKENRESOLVER: {
"type": "multi",
"desc": _("The token resolver, for which this event should "
"desc": _("The resolver of the token, for which this event should "
"apply."),
"value": [{"name": r} for r in resolvers]
},
Expand Down
4 changes: 2 additions & 2 deletions privacyidea/lib/smsprovider/FirebaseProvider.py
Expand Up @@ -129,12 +129,12 @@ def parameters(cls):
FIREBASE_CONFIG.APP_ID: {
"required": True,
"description": _(
"The APP ID, that the client should use. Get it from your Firebase console.")
"The App ID, that the client should use. Get it from your Firebase console.")
},
FIREBASE_CONFIG.API_KEY: {
"required": True,
"description": _(
"The API KEY, that the client should use. Get it from your Firebase console.")
"The API Key, that the client should use. Get it from your Firebase console.")
},
FIREBASE_CONFIG.JSON_CONFG: {
"required": True,
Expand Down
2 changes: 1 addition & 1 deletion privacyidea/lib/tokens/pushtoken.py
Expand Up @@ -62,7 +62,7 @@
log = logging.getLogger(__name__)

DEFAULT_CHALLENGE_TEXT = _("Please confirm the authentication on your mobile device!")
DEFAULT_MOBILE_TEXT = _("Do you want to confirm login?")
DEFAULT_MOBILE_TEXT = _("Do you want to confirm the login?")
PRIVATE_KEY_SERVER = "private_key_server"
PUBLIC_KEY_SERVER = "public_key_server"
PUBLIC_KEY_SMARTPHONE = "public_key_smartphone"
Expand Down
16 changes: 8 additions & 8 deletions privacyidea/messages.pot
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-04-04 12:50+0200\n"
"POT-Creation-Date: 2019-04-05 10:32+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -737,19 +737,19 @@ msgid "please enter otp: "
msgstr ""

#: lib/eventhandler/base.py:132
msgid "The user realm, for which this event should apply."
msgid "The realm of the user, for which this event should apply."
msgstr ""

#: lib/eventhandler/base.py:137
msgid "The user resolver, for which this event should apply."
msgid "The resolver of the user, for which this event should apply."
msgstr ""

#: lib/eventhandler/base.py:142
msgid "The token realm, for which this event should apply."
msgid "The realm of the token, for which this event should apply."
msgstr ""

#: lib/eventhandler/base.py:148
msgid "The token resolver, for which this event should apply."
msgid "The resolver of the token, for which this event should apply."
msgstr ""

#: lib/eventhandler/base.py:154
Expand Down Expand Up @@ -1072,12 +1072,12 @@ msgid ""
msgstr ""

#: lib/smsprovider/FirebaseProvider.py:131
msgid "The APP ID, that the client should use. Get it from your Firebase console."
msgid "The App ID, that the client should use. Get it from your Firebase console."
msgstr ""

#: lib/smsprovider/FirebaseProvider.py:136
msgid ""
"The API KEY, that the client should use. Get it from your Firebase "
"The API Key, that the client should use. Get it from your Firebase "
"console."
msgstr ""

Expand Down Expand Up @@ -1338,7 +1338,7 @@ msgid "Please confirm the authentication on your mobile device!"
msgstr ""

#: lib/tokens/pushtoken.py:65
msgid "Do you want to confirm login?"
msgid "Do you want to confirm the login?"
msgstr ""

#: lib/tokens/pushtoken.py:207
Expand Down
@@ -1,7 +1,7 @@
<p class="help-block" translate>
With the PUSH token privacyIDEA sends a notification to your registered smartphone asking
if you want to approve the authentication step.
You can accept of deny the authentication on your smartphone.
You can accept or deny the authentication on your smartphone.
</p>
<p class="help-block" translate>
For the enrollment process and for the authentication process your smartphone needs an internet connection
Expand Down
2 changes: 1 addition & 1 deletion privacyidea/static/components/translation/translations.js

Large diffs are not rendered by default.

Binary file modified privacyidea/translations/de/LC_MESSAGES/messages.mo
Binary file not shown.
55 changes: 41 additions & 14 deletions privacyidea/translations/de/LC_MESSAGES/messages.po
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-04-04 12:50+0200\n"
"PO-Revision-Date: 2019-04-04 13:00+0200\n"
"POT-Creation-Date: 2019-04-05 10:32+0200\n"
"PO-Revision-Date: 2019-04-05 10:33+0200\n"
"Last-Translator: Cornelius Kölbel <cornelius.koelbel@netknights.it>\n"
"Language: de\n"
"Language-Team: de <LL@li.org>\n"
Expand Down Expand Up @@ -628,19 +628,19 @@ msgid "please enter otp: "
msgstr "Bitte geben Sie einen OTP-Wert ein: "

#: lib/eventhandler/base.py:132
msgid "The user realm, for which this event should apply."
msgstr "Benutzer-Realm, für den das Event greifen soll."
msgid "The realm of the user, for which this event should apply."
msgstr "Der Realm des Benutzers, für den diese Ereignis-Definition greift."

#: lib/eventhandler/base.py:137
msgid "The user resolver, for which this event should apply."
msgid "The resolver of the user, for which this event should apply."
msgstr "Der Resolver des Benutzers, für den diese Ereignis-Definition greift."

#: lib/eventhandler/base.py:142
msgid "The token realm, for which this event should apply."
msgstr "Token-Ream, für den das Event greifen soll."
msgid "The realm of the token, for which this event should apply."
msgstr "Der Realm des Tokens, für den diese Ereignis-Definition greift."

#: lib/eventhandler/base.py:148
msgid "The token resolver, for which this event should apply."
msgid "The resolver of the token, for which this event should apply."
msgstr "Der Resolver des Tokens, für den diese Ereignis-Definition greift."

#: lib/eventhandler/base.py:154
Expand Down Expand Up @@ -896,26 +896,26 @@ msgstr "Die LDAP-Konfiguration scheint in Ordnung zu sein. Es wurden {0!s} Benut

#: lib/smsprovider/FirebaseProvider.py:114
msgid "The URL the Push App should contact in the second enrollment step. Usually it is the endpoint /ttype/push of the privacyIDEA server."
msgstr "Die URL für den zweiten Ausrollschritt. Diese URL ruft das Smartphone auf, nachdem der Benutzer den QR-Code gescannt hat. Überlicher Weise ist das der Endpunkt /ttype/push des privacyIDEA Servers."
msgstr "Die URL für den zweiten Ausrollschritt. Diese URL ruft das Smartphone auf, nachdem der Benutzer den QR-Code gescannt hat. Überlicherweise ist das der Endpunkt /ttype/push des privacyIDEA Servers."

#: lib/smsprovider/FirebaseProvider.py:118
msgid "How long should the second step of the enrollment be accepted (in minutes)."
msgstr "Die Zeit, für die die Antwort im zweiten Schritt beim Ausrollen akzeptiert wird (in Minuten)."
msgstr "Die Zeit, für wie lange die Antwort im zweiten Schritt beim Ausrollen noch akzeptiert wird (in Minuten)."

#: lib/smsprovider/FirebaseProvider.py:122
msgid "The project ID, that the client should use. Get it from your Firebase console."
msgstr "Die Firebase Projekt ID. Diese finden Sie in Ihrer Firebase Konsole."

#: lib/smsprovider/FirebaseProvider.py:126
msgid "The project number, that the client should use. Get it from your Firebase console."
msgstr "Die Firebase Projekt Nummber. Diese finden Sie in Ihrer Firebase Konsole."
msgstr "Die Firebase Projektnummer. Diese finden Sie in Ihrer Firebase Konsole."

#: lib/smsprovider/FirebaseProvider.py:131
msgid "The APP ID, that the client should use. Get it from your Firebase console."
msgid "The App ID, that the client should use. Get it from your Firebase console."
msgstr "Die Firebase App ID. Diese finden Sie in Ihrer Firebase Konsole."

#: lib/smsprovider/FirebaseProvider.py:136
msgid "The API KEY, that the client should use. Get it from your Firebase console."
msgid "The API Key, that the client should use. Get it from your Firebase console."
msgstr "Der Firebase API Key. Diesen finden Sie in Ihrer Firebase Konsole."

#: lib/smsprovider/FirebaseProvider.py:141
Expand Down Expand Up @@ -1151,7 +1151,7 @@ msgid "Please confirm the authentication on your mobile device!"
msgstr "Bitte bestätigen Sie die Anmeldung auf Ihrem Mobilgerät!"

#: lib/tokens/pushtoken.py:65
msgid "Do you want to confirm login?"
msgid "Do you want to confirm the login?"
msgstr "Wollen Sie die Anmeldung bestätigen?"

#: lib/tokens/pushtoken.py:207
Expand Down Expand Up @@ -1376,3 +1376,30 @@ msgstr "Yubikey AES Mode: Einmalpasswort mit dem Yubikey."
#~ msgstr ""
#~ "Die Aktion wird ausgeführt, wenn der "
#~ "Token-Counter diesem Wert entspricht."

#~ msgid "The user realm, for which this event should apply."
#~ msgstr "Benutzer-Realm, für den das Event greifen soll."

#~ msgid "The user resolver, for which this event should apply."
#~ msgstr "Der Resolver des Benutzers, für den diese Ereignis-Definition greift."

#~ msgid "The token realm, for which this event should apply."
#~ msgstr "Token-Ream, für den das Event greifen soll."

#~ msgid "The token resolver, for which this event should apply."
#~ msgstr "Der Resolver des Tokens, für den diese Ereignis-Definition greift."

#~ msgid ""
#~ "The APP ID, that the client should"
#~ " use. Get it from your Firebase "
#~ "console."
#~ msgstr "Die Firebase App ID. Diese finden Sie in Ihrer Firebase Konsole."

#~ msgid ""
#~ "The API KEY, that the client "
#~ "should use. Get it from your "
#~ "Firebase console."
#~ msgstr "Der Firebase API Key. Diesen finden Sie in Ihrer Firebase Konsole."

#~ msgid "Do you want to confirm login?"
#~ msgstr "Wollen Sie die Anmeldung bestätigen?"

0 comments on commit 1c8a363

Please sign in to comment.