From 5ade964ac08839577f518c405cc30f586ad8d401 Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 14 Dec 2023 19:36:50 +0100 Subject: [PATCH] chore: s/pretalx musicrate plugin/pretalx-musicrate/ --- README.md | 2 +- pretalx_musicrate/apps.py | 4 ++-- pretalx_musicrate/signals.py | 2 +- pretalx_musicrate/views.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fe04dc4..1f88c1b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# pretalx musicrate plugin +# pretalx-musicrate This is a [pretalx] plugin for rating music. diff --git a/pretalx_musicrate/apps.py b/pretalx_musicrate/apps.py index af2506e..ea2789c 100644 --- a/pretalx_musicrate/apps.py +++ b/pretalx_musicrate/apps.py @@ -6,10 +6,10 @@ from . import __version__ class PluginApp(AppConfig): name = "pretalx_musicrate" - verbose_name = "pretalx musicrate plugin" + verbose_name = "pretalx-musicrate" class PretalxPluginMeta: - name = gettext_lazy("pretalx musicrate plugin") + name = gettext_lazy("pretalx-musicrate") author = "Luca" description = gettext_lazy("pretalx plugin for rating music") visible = True diff --git a/pretalx_musicrate/signals.py b/pretalx_musicrate/signals.py index 9cd0437..189b14f 100644 --- a/pretalx_musicrate/signals.py +++ b/pretalx_musicrate/signals.py @@ -9,7 +9,7 @@ def pretalx_musicrate_settings(sender, request, **kwargs): return [] return [ { - "label": "pretalx musicrate plugin", + "label": "pretalx-musicrate", "url": reverse( "plugins:pretalx_musicrate:settings", kwargs={"event": request.event.slug}, diff --git a/pretalx_musicrate/views.py b/pretalx_musicrate/views.py index e1fa627..d43e583 100644 --- a/pretalx_musicrate/views.py +++ b/pretalx_musicrate/views.py @@ -25,6 +25,6 @@ class MusicrateSettingsView(PermissionRequired, FormView): def form_valid(self, form): form.save() messages.success( - self.request, _("The pretalx musicrate plugin settings were updated.") + self.request, _("The pretalx-musicrate settings were updated.") ) return super().form_valid(form)