From 1fe1e4f2bf80c4a413bed4a2a74e6316479b3918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net> Date: Sun, 8 Sep 2019 23:02:35 +0200 Subject: [PATCH] Clean up a bit --- pretix_public_registrations/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pretix_public_registrations/__init__.py b/pretix_public_registrations/__init__.py index f88154e..4aff776 100644 --- a/pretix_public_registrations/__init__.py +++ b/pretix_public_registrations/__init__.py @@ -1,4 +1,4 @@ -from django.utils.translation import ugettext_lazy +from django.utils.translation import ugettext_lazy as _ try: from pretix.base.plugins import PluginConfig except ImportError: @@ -10,9 +10,9 @@ class PluginApp(PluginConfig): verbose_name = 'Pretix public registrations' class PretixPluginMeta: - name = ugettext_lazy('Pretix public registrations') + name = _('Pretix public registrations') author = 'Felix Schäfer, Dominik Weitz' - description = ugettext_lazy('This plugin will give the option to attendees of an event to mark their registration as public. Public registrations will be shown along their answers to questions marked as public by the organizers on a world-readable page.') + description = _('This plugin will give the option to attendees of an event to mark their registration as public. Public registrations will be shown along their answers to questions marked as public by the organizers on a world-readable page.') visible = True version = '1.0.0' compatibility = "pretix>=2.7.0" -- GitLab