fix: HTML sitemap headings follow each locale until an editor sets one

Settings > Sitemaps no longer prefills a content type's heading with its
label in the administrator's language, so a save that did not touch the
heading stores none and each locale's HTML sitemap keeps the label
translated into it. The field's comment says so.
This commit is contained in:
Jakub Zych
2026-11-04 23:08:38 +01:00
parent b37b2265ed
commit da32044d5b
5 changed files with 137 additions and 5 deletions

View File

@@ -33,6 +33,7 @@ settings:
type_slug: File name
type_slug_comment: Files are named sitemap-<name>-1.xml, sitemap-<name>-2.xml and so on.
type_title: Heading in the HTML sitemap
type_title_comment: "Leave empty to show the content type's name in each language's HTML sitemap."
extra_urls: Additional addresses
extra_urls_add: Add address
extra_urls_comment: Addresses that no content type lists, e.g. the site's static pages. They go into the sitemap-pages files.