Repository: liqd/a4-meinberlin

Issue:
poll dashboard, missing translation
**URL:** https://meinberlin-dev.liqd.net/dashboard/modules/umfrage-39/poll/
**user:** initiator
**expected behaviour:** german
**behaviour:** englsih
**important screensize:**
**device & browser:** 
**Comment/Question:** should be: Offene Frage

Screenshot?

![Bildschirmfoto 2021-08-17 um 11 12 23](https://user-images.githubusercontent.com/35491681/129698372-78459c6a-dc1d-4c97-bad2-f61d16eac260.png)




Discussion:

Resolving patch:
diff --git a/meinberlin/apps/plans/migrations/0049_plan_contact_fields_help_texts.py b/meinberlin/apps/plans/migrations/0049_plan_contact_fields_help_texts.py
new file mode 100644
--- /dev/null
+++ b/meinberlin/apps/plans/migrations/0049_plan_contact_fields_help_texts.py
@@ -0,0 +1,40 @@
+# Generated by Django 2.2.24 on 2021-08-26 07:30
+
+import adhocracy4.images.fields
+import django.core.validators
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('meinberlin_plans', '0048_add_tile_image'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='plan',
+            name='contact_email',
+            field=models.EmailField(blank=True, max_length=254, verbose_name='Email'),
+        ),
+        migrations.AlterField(
+            model_name='plan',
+            name='contact_phone',
+            field=models.CharField(blank=True, max_length=20, validators=[django.core.validators.RegexValidator(message='Phone numbers can only contain digits, spaces and the following characters: -, +, (, ). It has to be between 8 and 20 characters long.', regex='^[\\d\\+\\(\\)\\- ]{8,20}$')], verbose_name='Phone'),
+        ),
+        migrations.AlterField(
+            model_name='plan',
+            name='contact_url',
+            field=models.URLField(blank=True, verbose_name='Website'),
+        ),
+        migrations.AlterField(
+            model_name='plan',
+            name='description_image_copyright',
+            field=models.CharField(blank=True, help_text='The name is displayed in the header image.', max_length=120, verbose_name='Header image copyright'),
+        ),
+        migrations.AlterField(
+            model_name='plan',
+            name='tile_image_copyright',
+            field=adhocracy4.images.fields.ImageCopyrightField(blank=True, help_text='The name is displayed in the tile image.', max_length=120, verbose_name='Tile image copyright'),
+        ),
+    ]
diff --git a/meinberlin/apps/plans/models.py b/meinberlin/apps/plans/models.py
--- a/meinberlin/apps/plans/models.py
+++ b/meinberlin/apps/plans/models.py
@@ -114,7 +114,8 @@ class Plan(ProjectContactDetailMixin, UserGeneratedContentModel):
     description_image_copyright = models.CharField(
         verbose_name=_('Header image copyright'),
         blank=True,
-        max_length=120
+        max_length=120,
+        help_text=_('The name is displayed in the header image.')
     )
     tile_image = ConfiguredImageField(
         'tileimage',
@@ -126,7 +127,8 @@ class Plan(ProjectContactDetailMixin, UserGeneratedContentModel):
         blank=True
     )
     tile_image_copyright = ImageCopyrightField(
-        image_name=_('Tile image')
+        verbose_name=_('Tile image copyright'),
+        help_text=_('The name is displayed in the tile image.')
     )
     topics = TopicField(
         verbose_name=_('Topics'),


Test patch:
diff --git a/tests/exports/test_item_exports.py b/tests/exports/test_item_exports.py
--- a/tests/exports/test_item_exports.py
+++ b/tests/exports/test_item_exports.py
@@ -27,7 +27,8 @@ def test_user_generated_content_mixin(idea):
     assert 'created' in virtual
 
     assert idea.creator.username == mixin.get_creator_data(idea)
-    assert idea.created.isoformat() == mixin.get_created_data(idea)
+    assert idea.created.astimezone().isoformat() \
+           == mixin.get_created_data(idea)
 
 
 @pytest.mark.django_db