diff --git a/pretix_matrix_inviter/__init__.py b/pretix_matrix_inviter/__init__.py index 01167ef3595a301ab51d2018201deedf4f0c2f45..e5fddb09e0be0d4b8572991b9c1720d7805c08ba 100644 --- a/pretix_matrix_inviter/__init__.py +++ b/pretix_matrix_inviter/__init__.py @@ -10,10 +10,10 @@ __version__ = "1.1.0" class PluginApp(PluginConfig): name = "pretix_matrix_inviter" - verbose_name = "Matrix Inviter" + verbose_name = "Matrix inviter" class PretixPluginMeta: - name = gettext_lazy("Matrix Inviter") + name = gettext_lazy("Matrix inviter") author = "Felix Schäfer" description = gettext_lazy( "Ask participants for their Matrix ID and invite them to a Matrix Room or Space." diff --git a/pretix_matrix_inviter/forms.py b/pretix_matrix_inviter/forms.py index 37a2324896e7a8f76daee1d9d991f88e022f3de2..401a63435256c789742068028dc930764ee15fb2 100644 --- a/pretix_matrix_inviter/forms.py +++ b/pretix_matrix_inviter/forms.py @@ -20,10 +20,10 @@ class MatrixInviterForm(SettingsForm): help_text=_("These products will ask for a Matrix ID."), ) matrix_inviter_authorization_token = CharField( - label=_("Authorization token"), + label=_("Access token"), strip=True, help_text=_( - "This should be the authorization token of a user that can invite attendees to the target Room or Space. " + "This should be the access 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." ), @@ -31,14 +31,14 @@ class MatrixInviterForm(SettingsForm): matrix_inviter_matrix_server = CharField( label=_("Matrix server"), strip=True, - help_text=_("The matrix server the above authorization token is valid for."), + help_text=_("The matrix server the above access token is valid for."), ) matrix_inviter_hint = I18nFormField( widget=I18nTextInput, label=_("Matrix ID field help text"), required=True, help_text=_( - "This will be shown as help text on the Matrix ID field. It is recommended to inform your attendees to " + "This will be shown as help text on the Matrix ID field. It is recommended to inform your attendees " "which room they will be invited to and what that room will be used for." ), ) @@ -63,13 +63,15 @@ class MatrixInviterForm(SettingsForm): room_info = matrix_room_info_for_event(self.obj) if self.obj.settings.matrix_inviter_matrix_room.startswith("!"): if room_info["canonical_alias"]: - room_help_text = _('"{name}" (<code>{canonical_alias}</code>)') + room_help_text = _( + '"{name}" (main address: <code>{canonical_alias}</code>)' + ) else: room_help_text = _('"{name}"') else: if room_info["canonical_alias"]: room_help_text = _( - '"{name}" (<code>{room_id}</code>, main alias: <code>{canonical_alias}</code>)' + '"{name}" (<code>{room_id}</code>, main address: <code>{canonical_alias}</code>)' ) else: room_help_text = _('"{name}" (<code>{room_id}</code>)')