chore: s/pretalx musicrate plugin/pretalx-musicrate/
This commit is contained in:
parent
ab945b7ebc
commit
5ade964ac0
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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},
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue