Files
sm-sitemap-plugin/lang/en/lang.yaml
Jakub Zych c42bc265c8 fix(17): CR-01 refuse non-http sitemap URLs on save, import and output
A url item stored as javascript://%0aalert(1)%0a//x passed Url::to and
reached <loc>, which sitemap.xsl renders as a link on the site origin.

- The definitions form refuses, per row, a url that is not a path or an
  http(s) URL (classes.AllowedItemURL) and a urlPattern that is not a
  path (signpost.ValidItemPattern), keyed data.<i>.url / .urlPattern.
- Generator.addItem drops a loc or alternate that is not http(s).
- sitemap:import-winter drops such url items and clears such patterns
  with a report line; sitemap:import refuses such an entry.
2026-10-12 21:28:28 +02:00

69 lines
3.5 KiB
YAML

plugin:
name: Sitemap
description: Generate a sitemap.xml file for your website.
permissions:
access_settings: Access sitemap configuration settings
access_definitions: Access sitemap definitions page
item:
location: 'Location:'
priority: Priority
changefreq: Change frequency
always: always
hourly: hourly
daily: daily
weekly: weekly
monthly: monthly
yearly: yearly
never: never
editor_title: Edit Sitemap Item
type: Type
allow_nested_items: Allow nested items
allow_nested_items_comment: Nested items could be generated dynamically by static page and some other item types
url: URL
reference: Reference
title_required: The title is required
unknown_type: Unknown item type
unnamed: Unnamed item
add_item: Add item
new_item: New item
reference_required: The item reference is required.
url_required: The URL is required
url_pattern: URL Pattern
url_pattern_comment: Use :placeholder syntax, e.g. /blog/:slug
url_pattern_required: Please enter a URL pattern
page: Page
check: Check
definition: Definition
save_definition: Saving Definition...
load_indicator: Emptying Definition...
empty_confirm: Empty this definition?
errors:
url_scheme: Use a path such as /about, or a link that starts with http:// or https://.
url_pattern: Use a path that starts with a single /, for example /blog/:slug.
definition:
not_found: No sitemap definition was found. Try creating one first.
title: Sitemap definition
view: View sitemap.xml
settings:
label: Sitemap settings
description: Frontend URL, locale and priority options.
category: CMS
frontend_url: Frontend URL
frontend_url_comment: The public URL of the frontend app (e.g. https://www.example.com). When set, sitemap URLs use this domain instead of the backend URL.
frontend_default_locale: Frontend Default Locale
frontend_default_locale_comment: The unprefixed locale on the frontend (e.g. pl for a prefix_except_default strategy). Other locales get a /{code}/ prefix in sitemap URLs.
updates_manifest_path: Updates Manifest Path
updates_manifest_path_comment: Absolute path to a JSON file mapping URL path => ISO 8601 last-modified date, produced by the frontend build. Used as the <lastmod> for URL items that have no date of their own (e.g. static pages). When empty or unreadable, those items omit <lastmod>. Dynamic sets keep their own dates.
enable_priority_tiers: Enable Priority Tiers
enable_priority_tiers_comment: When enabled, priorities are auto-assigned based on the URL path rules in the config, overriding per-item priorities. When disabled, per-item priorities are used.
priority_homepage: Homepage Priority
priority_homepage_comment: Used for URLs that match the homepage tier rules in the config. Default 1.0. Applies only when priority tiers are enabled.
priority_services: Services & Work Priority
priority_services_comment: Used for URLs that match the services tier rules in the config. Default 0.8. Applies only when priority tiers are enabled.
priority_blog: Blog Posts Priority
priority_blog_comment: Used for URLs that match the blog tier rules in the config. Default 0.6. Applies only when priority tiers are enabled.
priority_categories: Categories & Hub Pages Priority
priority_categories_comment: Used for URLs that match the categories tier rules in the config. Default 0.4. Applies only when priority tiers are enabled.
priority_legal: Legal Pages Priority
priority_legal_comment: Used for URLs that match the legal tier rules in the config. Default 0.2. Applies only when priority tiers are enabled.