From e74fec35a15e7cfcb757db16cd8dfb79e07a6383 Mon Sep 17 00:00:00 2001 From: Mark Walker Date: Wed, 30 Aug 2023 10:24:15 +0100 Subject: [PATCH] Changing quote types due to issues in French translation --- applications/migrations/0001_initial.py | 5 ++--- applications/models.py | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/applications/migrations/0001_initial.py b/applications/migrations/0001_initial.py index bc90b8208..ba1524925 100644 --- a/applications/migrations/0001_initial.py +++ b/applications/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] @@ -154,7 +153,7 @@ class Migration(migrations.Migration): models.TextField( blank=True, default="", - help_text="Used only with 'Choices' question type", + help_text='Used only with "Choices" question type', verbose_name="List all available options, separated with semicolon (;)", ), ), @@ -162,7 +161,7 @@ class Migration(migrations.Migration): "is_multiple_choice", models.BooleanField( default=False, - help_text="Used only with 'Choices' question type", + help_text='Used only with "Choices" question type', verbose_name="Are there multiple choices allowed?", ), ), diff --git a/applications/models.py b/applications/models.py index 627631d10..b6c6c8583 100644 --- a/applications/models.py +++ b/applications/models.py @@ -91,12 +91,12 @@ class Question(models.Model): blank=True, default="", verbose_name=_("List all available options, separated with semicolon (;)"), - help_text=_("Used only with 'Choices' question type"), + help_text=_('Used only with "Choices" question type'), ) is_multiple_choice = models.BooleanField( default=False, verbose_name=_("Are there multiple choices allowed?"), - help_text=_("Used only with 'Choices' question type"), + help_text=_('Used only with "Choices" question type'), ) order = models.PositiveIntegerField(help_text=_("Position of the question"))