Skip to content
Snippets Groups Projects
Commit 8069ad6f authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Add more help messages

parent baca96d3
No related branches found
No related tags found
No related merge requests found
Pipeline #64621 passed
...@@ -17,24 +17,36 @@ class MatrixInviterForm(SettingsForm): ...@@ -17,24 +17,36 @@ class MatrixInviterForm(SettingsForm):
label=_("Ask Matrix ID for"), label=_("Ask Matrix ID for"),
required=True, required=True,
choices=[], choices=[],
help_text=_("These products will ask for a Matrix ID."),
) )
matrix_inviter_authorization_token = CharField( matrix_inviter_authorization_token = CharField(
label=_("Authorization token"), label=_("Authorization token"),
strip=True, strip=True,
help_text=_(
"This should be the authorization token of a user that can invite attendees to the target Room or Space. "
"Please note that other administrators of this event will be able to see this token, it should not be from "
"your own Matrix account but from a dedicated Matrix account."
),
) )
matrix_inviter_matrix_server = CharField( matrix_inviter_matrix_server = CharField(
label=_("Matrix server"), label=_("Matrix server"),
strip=True, strip=True,
help_text=_("The matrix server the above authorization token is valid for."),
) )
matrix_inviter_hint = I18nFormField( matrix_inviter_hint = I18nFormField(
widget=I18nTextInput, widget=I18nTextInput,
label=_("Help text for the Matrix ID field"), label=_("Matrix ID field help text"),
required=True, required=True,
help_text=_(
"This will be shown as help text on the Matrix ID field. It is recommended to inform your attendees to "
"which room they will be invited to and what that room will be used for."
),
) )
matrix_inviter_reason = I18nFormField( matrix_inviter_reason = I18nFormField(
widget=I18nTextInput, widget=I18nTextInput,
label=_("Invitation message"), label=_("Invitation message"),
required=False, required=False,
help_text=_("This message will be added to the invitation to the Matrix room."),
) )
matrix_inviter_matrix_room = RegexField( matrix_inviter_matrix_room = RegexField(
label=_("Matrix room"), label=_("Matrix room"),
......
...@@ -2,7 +2,7 @@ msgid "" ...@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-08 00:44+0100\n" "POT-Creation-Date: 2022-02-08 20:24+0100\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: Felix Schäfer\n" "Last-Translator: Felix Schäfer\n"
"Language-Team: \n" "Language-Team: \n"
...@@ -21,52 +21,79 @@ msgid "" ...@@ -21,52 +21,79 @@ msgid ""
"Space." "Space."
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:14 #: pretix_matrix_inviter/forms.py:17
msgid "Ask Matrix ID for" msgid "Ask Matrix ID for"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:19 #: pretix_matrix_inviter/forms.py:20
msgid "Authorization token" msgid "These products will ask for a Matrix ID."
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:23 #: pretix_matrix_inviter/forms.py:23
msgid "Authorization token"
msgstr ""
#: pretix_matrix_inviter/forms.py:26
msgid ""
"This should be the authorization token of a user that can invite attendees "
"to the target Room or Space. Please note that other administrators of this "
"event will be able to see this token, it should not be from your own Matrix "
"account but from a dedicated Matrix account."
msgstr ""
#: pretix_matrix_inviter/forms.py:32
msgid "Matrix server" msgid "Matrix server"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:28 #: pretix_matrix_inviter/forms.py:34
msgid "Help text for the Matrix ID field" msgid "The matrix server the above authorization token is valid for."
msgstr ""
#: pretix_matrix_inviter/forms.py:38
msgid "Matrix ID field help text"
msgstr ""
#: pretix_matrix_inviter/forms.py:41
msgid ""
"This will be shown as help text on the Matrix ID field. It is recommended to "
"inform your attendees to which room they will be invited to and what that "
"room will be used for."
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:33 #: pretix_matrix_inviter/forms.py:47
msgid "Invitation message" msgid "Invitation message"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:46 #: pretix_matrix_inviter/forms.py:49
msgid "This message will be added to the invitation to the Matrix room."
msgstr ""
#: pretix_matrix_inviter/forms.py:52
msgid "Matrix room"
msgstr ""
#: pretix_matrix_inviter/forms.py:66
#, python-brace-format #, python-brace-format
msgid "\"{name}\" (<code>{canonical_alias}</code>)" msgid "\"{name}\" (<code>{canonical_alias}</code>)"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:48 #: pretix_matrix_inviter/forms.py:68
#, python-brace-format #, python-brace-format
msgid "\"{name}\"" msgid "\"{name}\""
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:52 #: pretix_matrix_inviter/forms.py:72
#, python-brace-format #, python-brace-format
msgid "" msgid ""
"\"{name}\" (<code>{room_id}</code>, main alias: <code>{canonical_alias}</" "\"{name}\" (<code>{room_id}</code>, main alias: <code>{canonical_alias}</"
"code>)" "code>)"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:55 #: pretix_matrix_inviter/forms.py:75
#, python-brace-format #, python-brace-format
msgid "\"{name}\" (<code>{room_id}</code>)" msgid "\"{name}\" (<code>{room_id}</code>)"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:58
msgid "Matrix room"
msgstr ""
#: pretix_matrix_inviter/signals.py:22 #: pretix_matrix_inviter/signals.py:22
msgid "You will be invited to the event's Matrix Space." msgid "You will be invited to the event's Matrix Space."
msgstr "" msgstr ""
......
...@@ -2,7 +2,7 @@ msgid "" ...@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-08 00:44+0100\n" "POT-Creation-Date: 2022-02-08 20:24+0100\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: Felix Schäfer\n" "Last-Translator: Felix Schäfer\n"
"Language-Team: \n" "Language-Team: \n"
...@@ -21,52 +21,79 @@ msgid "" ...@@ -21,52 +21,79 @@ msgid ""
"Space." "Space."
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:14 #: pretix_matrix_inviter/forms.py:17
msgid "Ask Matrix ID for" msgid "Ask Matrix ID for"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:19 #: pretix_matrix_inviter/forms.py:20
msgid "Authorization token" msgid "These products will ask for a Matrix ID."
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:23 #: pretix_matrix_inviter/forms.py:23
msgid "Authorization token"
msgstr ""
#: pretix_matrix_inviter/forms.py:26
msgid ""
"This should be the authorization token of a user that can invite attendees "
"to the target Room or Space. Please note that other administrators of this "
"event will be able to see this token, it should not be from your own Matrix "
"account but from a dedicated Matrix account."
msgstr ""
#: pretix_matrix_inviter/forms.py:32
msgid "Matrix server" msgid "Matrix server"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:28 #: pretix_matrix_inviter/forms.py:34
msgid "Help text for the Matrix ID field" msgid "The matrix server the above authorization token is valid for."
msgstr ""
#: pretix_matrix_inviter/forms.py:38
msgid "Matrix ID field help text"
msgstr ""
#: pretix_matrix_inviter/forms.py:41
msgid ""
"This will be shown as help text on the Matrix ID field. It is recommended to "
"inform your attendees to which room they will be invited to and what that "
"room will be used for."
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:33 #: pretix_matrix_inviter/forms.py:47
msgid "Invitation message" msgid "Invitation message"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:46 #: pretix_matrix_inviter/forms.py:49
msgid "This message will be added to the invitation to the Matrix room."
msgstr ""
#: pretix_matrix_inviter/forms.py:52
msgid "Matrix room"
msgstr ""
#: pretix_matrix_inviter/forms.py:66
#, python-brace-format #, python-brace-format
msgid "\"{name}\" (<code>{canonical_alias}</code>)" msgid "\"{name}\" (<code>{canonical_alias}</code>)"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:48 #: pretix_matrix_inviter/forms.py:68
#, python-brace-format #, python-brace-format
msgid "\"{name}\"" msgid "\"{name}\""
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:52 #: pretix_matrix_inviter/forms.py:72
#, python-brace-format #, python-brace-format
msgid "" msgid ""
"\"{name}\" (<code>{room_id}</code>, main alias: <code>{canonical_alias}</" "\"{name}\" (<code>{room_id}</code>, main alias: <code>{canonical_alias}</"
"code>)" "code>)"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:55 #: pretix_matrix_inviter/forms.py:75
#, python-brace-format #, python-brace-format
msgid "\"{name}\" (<code>{room_id}</code>)" msgid "\"{name}\" (<code>{room_id}</code>)"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:58
msgid "Matrix room"
msgstr ""
#: pretix_matrix_inviter/signals.py:22 #: pretix_matrix_inviter/signals.py:22
msgid "You will be invited to the event's Matrix Space." msgid "You will be invited to the event's Matrix Space."
msgstr "" msgstr ""
......
...@@ -8,7 +8,7 @@ msgid "" ...@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-08 00:44+0100\n" "POT-Creation-Date: 2022-02-08 20:24+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -27,52 +27,79 @@ msgid "" ...@@ -27,52 +27,79 @@ msgid ""
"Space." "Space."
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:14 #: pretix_matrix_inviter/forms.py:17
msgid "Ask Matrix ID for" msgid "Ask Matrix ID for"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:19 #: pretix_matrix_inviter/forms.py:20
msgid "Authorization token" msgid "These products will ask for a Matrix ID."
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:23 #: pretix_matrix_inviter/forms.py:23
msgid "Authorization token"
msgstr ""
#: pretix_matrix_inviter/forms.py:26
msgid ""
"This should be the authorization token of a user that can invite attendees "
"to the target Room or Space. Please note that other administrators of this "
"event will be able to see this token, it should not be from your own Matrix "
"account but from a dedicated Matrix account."
msgstr ""
#: pretix_matrix_inviter/forms.py:32
msgid "Matrix server" msgid "Matrix server"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:28 #: pretix_matrix_inviter/forms.py:34
msgid "Help text for the Matrix ID field" msgid "The matrix server the above authorization token is valid for."
msgstr ""
#: pretix_matrix_inviter/forms.py:38
msgid "Matrix ID field help text"
msgstr ""
#: pretix_matrix_inviter/forms.py:41
msgid ""
"This will be shown as help text on the Matrix ID field. It is recommended to "
"inform your attendees to which room they will be invited to and what that "
"room will be used for."
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:33 #: pretix_matrix_inviter/forms.py:47
msgid "Invitation message" msgid "Invitation message"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:46 #: pretix_matrix_inviter/forms.py:49
msgid "This message will be added to the invitation to the Matrix room."
msgstr ""
#: pretix_matrix_inviter/forms.py:52
msgid "Matrix room"
msgstr ""
#: pretix_matrix_inviter/forms.py:66
#, python-brace-format #, python-brace-format
msgid "\"{name}\" (<code>{canonical_alias}</code>)" msgid "\"{name}\" (<code>{canonical_alias}</code>)"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:48 #: pretix_matrix_inviter/forms.py:68
#, python-brace-format #, python-brace-format
msgid "\"{name}\"" msgid "\"{name}\""
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:52 #: pretix_matrix_inviter/forms.py:72
#, python-brace-format #, python-brace-format
msgid "" msgid ""
"\"{name}\" (<code>{room_id}</code>, main alias: <code>{canonical_alias}</" "\"{name}\" (<code>{room_id}</code>, main alias: <code>{canonical_alias}</"
"code>)" "code>)"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:55 #: pretix_matrix_inviter/forms.py:75
#, python-brace-format #, python-brace-format
msgid "\"{name}\" (<code>{room_id}</code>)" msgid "\"{name}\" (<code>{room_id}</code>)"
msgstr "" msgstr ""
#: pretix_matrix_inviter/forms.py:58
msgid "Matrix room"
msgstr ""
#: pretix_matrix_inviter/signals.py:22 #: pretix_matrix_inviter/signals.py:22
msgid "You will be invited to the event's Matrix Space." msgid "You will be invited to the event's Matrix Space."
msgstr "" msgstr ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment