From 92f0d06bb265cf0283cff4deab20130e3b51876e Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Mon, 24 Jun 2024 01:14:31 +0200 Subject: [PATCH] rename some labels --- dnscms/dnscms/blocks.py | 2 +- dnscms/images/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dnscms/dnscms/blocks.py b/dnscms/dnscms/blocks.py index 12307ed..03d13f5 100644 --- a/dnscms/dnscms/blocks.py +++ b/dnscms/dnscms/blocks.py @@ -25,7 +25,7 @@ class ImageWithTextBlock(blocks.StructBlock): label="Bildeformat", ) text = blocks.CharBlock( - label="Tekst", + label="Bildetekst", required=False, max_length=512, ) diff --git a/dnscms/images/models.py b/dnscms/images/models.py index abffdf7..835c2aa 100644 --- a/dnscms/images/models.py +++ b/dnscms/images/models.py @@ -10,7 +10,7 @@ class CustomImage(AbstractImage): alt = models.CharField( max_length=512, blank=True, - verbose_name="Alternativ bildetekst", + verbose_name="Alternativ tekst", help_text=( "Er ikke synlig på nettsiden, men leses opp for de som bruker skjermlesere. " "Viktig for SEO og tilgjengelighet. "