prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Wrong translation
  <!-- Do you want to ask a question? Are you looking for support? The system administrator can help you: admin@utn.se -->
  
  ### Prerequisites
  
  * [ ] Put an X between the brackets on this line if you have done all of the
  following:
      * Reproduced the problem with clear cache.
      * (If running the application locally:) Made sure your running the newest version on the development branch
      * Checked that your issue isn't already filed: https://github.com/UTNkar/moore/issues
  
  ### Description
  
  In the banner editing section it says "engelsk bannertext" on both descriptions, so I do not know which one is the english and which one is the swedish. 
  
  
  ### Steps to Reproduce
  
  1. [First Step]
  2. [Second Step]
  3. [and so on...]
  
  <!-- Please select the appropriate "topic category"/blue and "issue type"/yellow label -->
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `website/home/models.py`
  Content:
  ```
  1 from __future__ import absolute_import, unicode_literals
  2 
  3 from django.db import models
  4 from django.utils.translation import ugettext_lazy as _
  5 from modelcluster.fields import ParentalKey
  6 from wagtail.wagtailadmin.edit_handlers import InlinePanel, MultiFieldPanel, \
  7     FieldRowPanel, FieldPanel, StreamFieldPanel, TabbedInterface, ObjectList
  8 from wagtail.wagtailcore.fields import StreamField
  9 from wagtail.wagtailcore.models import Page, Orderable
  10 from wagtail.wagtailimages.edit_handlers import ImageChooserPanel
  11 
  12 from blocks.models import WAGTAIL_STATIC_BLOCKTYPES
  13 from google.models import GoogleFormBlock, GoogleDriveBlock
  14 from utils.translation import TranslatedField
  15 
  16 
  17 class HomePage(Page):
  18     # ---- General Page information ------
  19     title_sv = models.CharField(max_length=255)
  20     translated_title = TranslatedField('title', 'title_sv')
  21 
  22     body_en = StreamField(
  23         WAGTAIL_STATIC_BLOCKTYPES,
  24         blank=True,
  25     )
  26     body_sv = StreamField(
  27         WAGTAIL_STATIC_BLOCKTYPES,
  28         blank=True,
  29     )
  30     body = TranslatedField('body_en', 'body_sv')
  31 
  32     banner_panels = [InlinePanel('banners', label=_('Banner'))]
  33 
  34     content_panels_en = Page.content_panels + [
  35         StreamFieldPanel('body_en'),
  36     ]
  37 
  38     content_panels_sv = [
  39         FieldPanel('title_sv', classname="full title"),
  40         StreamFieldPanel('body_sv'),
  41     ]
  42 
  43     edit_handler = TabbedInterface([
  44         ObjectList(banner_panels, heading=_('Banners')),
  45         ObjectList(content_panels_en, heading=_('English')),
  46         ObjectList(content_panels_sv, heading=_('Swedish')),
  47         ObjectList(Page.promote_panels, heading=_('Promote')),
  48     ])
  49 
  50 
  51 class Banner(Orderable):
  52     page = ParentalKey(
  53         HomePage,
  54         related_name='banners',
  55         on_delete=models.CASCADE,
  56         blank=False,
  57     )
  58 
  59     image = models.ForeignKey(
  60         'wagtailimages.Image',
  61         null=True,
  62         blank=True,
  63         on_delete=models.SET_NULL,
  64         related_name='+'
  65     )
  66 
  67     title_en = models.CharField(
  68         max_length=255,
  69         verbose_name=_('English banner title'),
  70         help_text=_('Enter the title to be shown on the banner.'),
  71         blank=True,
  72     )
  73 
  74     title_sv = models.CharField(
  75         max_length=255,
  76         verbose_name=_('Swedish banner title'),
  77         help_text=_('Enter the title to be shown on the banner.'),
  78         blank=True,
  79     )
  80 
  81     title = TranslatedField('title_en', 'title_sv')
  82 
  83     text_en = models.TextField(
  84         verbose_name=_('English banner text'),
  85         help_text=_('Enter a text to be shown on the banner.'),
  86         blank=True,
  87     )
  88 
  89     text_sv = models.TextField(
  90         verbose_name=_('Swedish banner text'),
  91         help_text=_('Enter a text to be shown on the banner.'),
  92         blank=True,
  93     )
  94 
  95     text = TranslatedField('text_en', 'text_sv')
  96 
  97     link = models.URLField(
  98         verbose_name=_('Button URL'),
  99         blank=True,
  100     )
  101 
  102     button_en = models.TextField(
  103         verbose_name=_('English button text'),
  104         help_text=_('Enter the text to be displayed on the button.'),
  105         blank=True,
  106     )
  107 
  108     button_sv = models.TextField(
  109         verbose_name=_('Swedish button text'),
  110         help_text=_('Enter the text to be displayed on the button.'),
  111         blank=True,
  112     )
  113 
  114     button = TranslatedField('button_en', 'button_sv')
  115 
  116     # ------ Administrator settings ------
  117     panels = [MultiFieldPanel([
  118         ImageChooserPanel('image'),
  119         FieldRowPanel([
  120             FieldPanel('title_en'),
  121             FieldPanel('title_sv'),
  122         ]),
  123         FieldPanel('text_en'),
  124         FieldPanel('text_en'),
  125         FieldPanel('link'),
  126         FieldRowPanel([
  127             FieldPanel('button_en'),
  128             FieldPanel('button_sv'),
  129         ]),
  130     ])]
  131 
  132 
  133 class WebPage(Page):
  134     # ---- General Page information ------
  135     title_sv = models.CharField(max_length=255)
  136     translated_title = TranslatedField('title', 'title_sv')
  137 
  138     body_en = StreamField(
  139         WAGTAIL_STATIC_BLOCKTYPES + [
  140             ('google_form', GoogleFormBlock()),
  141             ('google_drive', GoogleDriveBlock()),
  142         ],
  143         blank=True,
  144     )
  145     body_sv = StreamField(
  146         WAGTAIL_STATIC_BLOCKTYPES + [
  147             ('google_form', GoogleFormBlock()),
  148             ('google_drive', GoogleDriveBlock()),
  149         ],
  150         blank=True,
  151     )
  152     body = TranslatedField('body_en', 'body_sv')
  153 
  154     content_panels_en = Page.content_panels + [
  155         StreamFieldPanel('body_en'),
  156     ]
  157 
  158     content_panels_sv = [
  159         FieldPanel('title_sv', classname="full title"),
  160         StreamFieldPanel('body_sv'),
  161     ]
  162 
  163     edit_handler = TabbedInterface([
  164         ObjectList(content_panels_en, heading=_('English')),
  165         ObjectList(content_panels_sv, heading=_('Swedish')),
  166         ObjectList(Page.promote_panels, heading=_('Promote')),
  167     ])
  168
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/website/home/models.py b/website/home/models.py
  --- a/website/home/models.py
  +++ b/website/home/models.py
  @@ -121,7 +121,7 @@
               FieldPanel('title_sv'),
           ]),
           FieldPanel('text_en'),
  -        FieldPanel('text_en'),
  +        FieldPanel('text_sv'),
           FieldPanel('link'),
           FieldRowPanel([
               FieldPanel('button_en'),
  
verification_info: {"golden_diff": "diff --git a/website/home/models.py b/website/home/models.py\n--- a/website/home/models.py\n+++ b/website/home/models.py\n@@ -121,7 +121,7 @@\n             FieldPanel('title_sv'),\n         ]),\n         FieldPanel('text_en'),\n-        FieldPanel('text_en'),\n+        FieldPanel('text_sv'),\n         FieldPanel('link'),\n         FieldRowPanel([\n             FieldPanel('button_en'),\n", "issue": "Wrong translation\n<!-- Do you want to ask a question? Are you looking for support? The system administrator can help you: admin@utn.se -->\r\n\r\n### Prerequisites\r\n\r\n* [ ] Put an X between the brackets on this line if you have done all of the\r\nfollowing:\r\n    * Reproduced the problem with clear cache.\r\n    * (If running the application locally:) Made sure your running the newest version on the development branch\r\n    * Checked that your issue isn't already filed: https://github.com/UTNkar/moore/issues\r\n\r\n### Description\r\n\r\nIn the banner editing section it says \"engelsk bannertext\" on both descriptions, so I do not know which one is the english and which one is the swedish. \r\n\r\n\r\n### Steps to Reproduce\r\n\r\n1. [First Step]\r\n2. [Second Step]\r\n3. [and so on...]\r\n\r\n<!-- Please select the appropriate \"topic category\"/blue and \"issue type\"/yellow label -->\n", "before_files": [{"content": "from __future__ import absolute_import, unicode_literals\n\nfrom django.db import models\nfrom django.utils.translation import ugettext_lazy as _\nfrom modelcluster.fields import ParentalKey\nfrom wagtail.wagtailadmin.edit_handlers import InlinePanel, MultiFieldPanel, \\\n    FieldRowPanel, FieldPanel, StreamFieldPanel, TabbedInterface, ObjectList\nfrom wagtail.wagtailcore.fields import StreamField\nfrom wagtail.wagtailcore.models import Page, Orderable\nfrom wagtail.wagtailimages.edit_handlers import ImageChooserPanel\n\nfrom blocks.models import WAGTAIL_STATIC_BLOCKTYPES\nfrom google.models import GoogleFormBlock, GoogleDriveBlock\nfrom utils.translation import TranslatedField\n\n\nclass HomePage(Page):\n    # ---- General Page information ------\n    title_sv = models.CharField(max_length=255)\n    translated_title = TranslatedField('title', 'title_sv')\n\n    body_en = StreamField(\n        WAGTAIL_STATIC_BLOCKTYPES,\n        blank=True,\n    )\n    body_sv = StreamField(\n        WAGTAIL_STATIC_BLOCKTYPES,\n        blank=True,\n    )\n    body = TranslatedField('body_en', 'body_sv')\n\n    banner_panels = [InlinePanel('banners', label=_('Banner'))]\n\n    content_panels_en = Page.content_panels + [\n        StreamFieldPanel('body_en'),\n    ]\n\n    content_panels_sv = [\n        FieldPanel('title_sv', classname=\"full title\"),\n        StreamFieldPanel('body_sv'),\n    ]\n\n    edit_handler = TabbedInterface([\n        ObjectList(banner_panels, heading=_('Banners')),\n        ObjectList(content_panels_en, heading=_('English')),\n        ObjectList(content_panels_sv, heading=_('Swedish')),\n        ObjectList(Page.promote_panels, heading=_('Promote')),\n    ])\n\n\nclass Banner(Orderable):\n    page = ParentalKey(\n        HomePage,\n        related_name='banners',\n        on_delete=models.CASCADE,\n        blank=False,\n    )\n\n    image = models.ForeignKey(\n        'wagtailimages.Image',\n        null=True,\n        blank=True,\n        on_delete=models.SET_NULL,\n        related_name='+'\n    )\n\n    title_en = models.CharField(\n        max_length=255,\n        verbose_name=_('English banner title'),\n        help_text=_('Enter the title to be shown on the banner.'),\n        blank=True,\n    )\n\n    title_sv = models.CharField(\n        max_length=255,\n        verbose_name=_('Swedish banner title'),\n        help_text=_('Enter the title to be shown on the banner.'),\n        blank=True,\n    )\n\n    title = TranslatedField('title_en', 'title_sv')\n\n    text_en = models.TextField(\n        verbose_name=_('English banner text'),\n        help_text=_('Enter a text to be shown on the banner.'),\n        blank=True,\n    )\n\n    text_sv = models.TextField(\n        verbose_name=_('Swedish banner text'),\n        help_text=_('Enter a text to be shown on the banner.'),\n        blank=True,\n    )\n\n    text = TranslatedField('text_en', 'text_sv')\n\n    link = models.URLField(\n        verbose_name=_('Button URL'),\n        blank=True,\n    )\n\n    button_en = models.TextField(\n        verbose_name=_('English button text'),\n        help_text=_('Enter the text to be displayed on the button.'),\n        blank=True,\n    )\n\n    button_sv = models.TextField(\n        verbose_name=_('Swedish button text'),\n        help_text=_('Enter the text to be displayed on the button.'),\n        blank=True,\n    )\n\n    button = TranslatedField('button_en', 'button_sv')\n\n    # ------ Administrator settings ------\n    panels = [MultiFieldPanel([\n        ImageChooserPanel('image'),\n        FieldRowPanel([\n            FieldPanel('title_en'),\n            FieldPanel('title_sv'),\n        ]),\n        FieldPanel('text_en'),\n        FieldPanel('text_en'),\n        FieldPanel('link'),\n        FieldRowPanel([\n            FieldPanel('button_en'),\n            FieldPanel('button_sv'),\n        ]),\n    ])]\n\n\nclass WebPage(Page):\n    # ---- General Page information ------\n    title_sv = models.CharField(max_length=255)\n    translated_title = TranslatedField('title', 'title_sv')\n\n    body_en = StreamField(\n        WAGTAIL_STATIC_BLOCKTYPES + [\n            ('google_form', GoogleFormBlock()),\n            ('google_drive', GoogleDriveBlock()),\n        ],\n        blank=True,\n    )\n    body_sv = StreamField(\n        WAGTAIL_STATIC_BLOCKTYPES + [\n            ('google_form', GoogleFormBlock()),\n            ('google_drive', GoogleDriveBlock()),\n        ],\n        blank=True,\n    )\n    body = TranslatedField('body_en', 'body_sv')\n\n    content_panels_en = Page.content_panels + [\n        StreamFieldPanel('body_en'),\n    ]\n\n    content_panels_sv = [\n        FieldPanel('title_sv', classname=\"full title\"),\n        StreamFieldPanel('body_sv'),\n    ]\n\n    edit_handler = TabbedInterface([\n        ObjectList(content_panels_en, heading=_('English')),\n        ObjectList(content_panels_sv, heading=_('Swedish')),\n        ObjectList(Page.promote_panels, heading=_('Promote')),\n    ])\n", "path": "website/home/models.py"}], "after_files": [{"content": "from __future__ import absolute_import, unicode_literals\n\nfrom django.db import models\nfrom django.utils.translation import ugettext_lazy as _\nfrom modelcluster.fields import ParentalKey\nfrom wagtail.wagtailadmin.edit_handlers import InlinePanel, MultiFieldPanel, \\\n    FieldRowPanel, FieldPanel, StreamFieldPanel, TabbedInterface, ObjectList\nfrom wagtail.wagtailcore.fields import StreamField\nfrom wagtail.wagtailcore.models import Page, Orderable\nfrom wagtail.wagtailimages.edit_handlers import ImageChooserPanel\n\nfrom blocks.models import WAGTAIL_STATIC_BLOCKTYPES\nfrom google.models import GoogleFormBlock, GoogleDriveBlock\nfrom utils.translation import TranslatedField\n\n\nclass HomePage(Page):\n    # ---- General Page information ------\n    title_sv = models.CharField(max_length=255)\n    translated_title = TranslatedField('title', 'title_sv')\n\n    body_en = StreamField(\n        WAGTAIL_STATIC_BLOCKTYPES,\n        blank=True,\n    )\n    body_sv = StreamField(\n        WAGTAIL_STATIC_BLOCKTYPES,\n        blank=True,\n    )\n    body = TranslatedField('body_en', 'body_sv')\n\n    banner_panels = [InlinePanel('banners', label=_('Banner'))]\n\n    content_panels_en = Page.content_panels + [\n        StreamFieldPanel('body_en'),\n    ]\n\n    content_panels_sv = [\n        FieldPanel('title_sv', classname=\"full title\"),\n        StreamFieldPanel('body_sv'),\n    ]\n\n    edit_handler = TabbedInterface([\n        ObjectList(banner_panels, heading=_('Banners')),\n        ObjectList(content_panels_en, heading=_('English')),\n        ObjectList(content_panels_sv, heading=_('Swedish')),\n        ObjectList(Page.promote_panels, heading=_('Promote')),\n    ])\n\n\nclass Banner(Orderable):\n    page = ParentalKey(\n        HomePage,\n        related_name='banners',\n        on_delete=models.CASCADE,\n        blank=False,\n    )\n\n    image = models.ForeignKey(\n        'wagtailimages.Image',\n        null=True,\n        blank=True,\n        on_delete=models.SET_NULL,\n        related_name='+'\n    )\n\n    title_en = models.CharField(\n        max_length=255,\n        verbose_name=_('English banner title'),\n        help_text=_('Enter the title to be shown on the banner.'),\n        blank=True,\n    )\n\n    title_sv = models.CharField(\n        max_length=255,\n        verbose_name=_('Swedish banner title'),\n        help_text=_('Enter the title to be shown on the banner.'),\n        blank=True,\n    )\n\n    title = TranslatedField('title_en', 'title_sv')\n\n    text_en = models.TextField(\n        verbose_name=_('English banner text'),\n        help_text=_('Enter a text to be shown on the banner.'),\n        blank=True,\n    )\n\n    text_sv = models.TextField(\n        verbose_name=_('Swedish banner text'),\n        help_text=_('Enter a text to be shown on the banner.'),\n        blank=True,\n    )\n\n    text = TranslatedField('text_en', 'text_sv')\n\n    link = models.URLField(\n        verbose_name=_('Button URL'),\n        blank=True,\n    )\n\n    button_en = models.TextField(\n        verbose_name=_('English button text'),\n        help_text=_('Enter the text to be displayed on the button.'),\n        blank=True,\n    )\n\n    button_sv = models.TextField(\n        verbose_name=_('Swedish button text'),\n        help_text=_('Enter the text to be displayed on the button.'),\n        blank=True,\n    )\n\n    button = TranslatedField('button_en', 'button_sv')\n\n    # ------ Administrator settings ------\n    panels = [MultiFieldPanel([\n        ImageChooserPanel('image'),\n        FieldRowPanel([\n            FieldPanel('title_en'),\n            FieldPanel('title_sv'),\n        ]),\n        FieldPanel('text_en'),\n        FieldPanel('text_sv'),\n        FieldPanel('link'),\n        FieldRowPanel([\n            FieldPanel('button_en'),\n            FieldPanel('button_sv'),\n        ]),\n    ])]\n\n\nclass WebPage(Page):\n    # ---- General Page information ------\n    title_sv = models.CharField(max_length=255)\n    translated_title = TranslatedField('title', 'title_sv')\n\n    body_en = StreamField(\n        WAGTAIL_STATIC_BLOCKTYPES + [\n            ('google_form', GoogleFormBlock()),\n            ('google_drive', GoogleDriveBlock()),\n        ],\n        blank=True,\n    )\n    body_sv = StreamField(\n        WAGTAIL_STATIC_BLOCKTYPES + [\n            ('google_form', GoogleFormBlock()),\n            ('google_drive', GoogleDriveBlock()),\n        ],\n        blank=True,\n    )\n    body = TranslatedField('body_en', 'body_sv')\n\n    content_panels_en = Page.content_panels + [\n        StreamFieldPanel('body_en'),\n    ]\n\n    content_panels_sv = [\n        FieldPanel('title_sv', classname=\"full title\"),\n        StreamFieldPanel('body_sv'),\n    ]\n\n    edit_handler = TabbedInterface([\n        ObjectList(content_panels_en, heading=_('English')),\n        ObjectList(content_panels_sv, heading=_('Swedish')),\n        ObjectList(Page.promote_panels, heading=_('Promote')),\n    ])\n", "path": "website/home/models.py"}]}