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. This is a [pretalx] plugin for rating music.

View File

@ -6,10 +6,10 @@ from . import __version__
class PluginApp(AppConfig): class PluginApp(AppConfig):
name = "pretalx_musicrate" name = "pretalx_musicrate"
verbose_name = "pretalx musicrate plugin" verbose_name = "pretalx-musicrate"
class PretalxPluginMeta: class PretalxPluginMeta:
name = gettext_lazy("pretalx musicrate plugin") name = gettext_lazy("pretalx-musicrate")
author = "Luca" author = "Luca"
description = gettext_lazy("pretalx plugin for rating music") description = gettext_lazy("pretalx plugin for rating music")
visible = True visible = True

View File

@ -9,7 +9,7 @@ def pretalx_musicrate_settings(sender, request, **kwargs):
return [] return []
return [ return [
{ {
"label": "pretalx musicrate plugin", "label": "pretalx-musicrate",
"url": reverse( "url": reverse(
"plugins:pretalx_musicrate:settings", "plugins:pretalx_musicrate:settings",
kwargs={"event": request.event.slug}, kwargs={"event": request.event.slug},

View File

@ -25,6 +25,6 @@ class MusicrateSettingsView(PermissionRequired, FormView):
def form_valid(self, form): def form_valid(self, form):
form.save() form.save()
messages.success( messages.success(
self.request, _("The pretalx musicrate plugin settings were updated.") self.request, _("The pretalx-musicrate settings were updated.")
) )
return super().form_valid(form) return super().form_valid(form)