chore: s/pretalx musicrate plugin/pretalx-musicrate/

This commit is contained in:
Luca 2023-12-14 19:36:50 +01:00
parent ab945b7ebc
commit 5ade964ac0
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# pretalx musicrate plugin
# pretalx-musicrate
This is a [pretalx] plugin for rating music.

View File

@ -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

View File

@ -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},

View File

@ -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)