Files
sm-menu-plugin/lang/en/lang.yaml
Jakub Zych 64215f2bf3 fix(17): WR-03 require a reference for a menu entry whose type takes one
An entry of a registry type with References saved without a reference
passed the dependent recheck (null is always among the options), then
resolved to nothing and vanished from the public tree with its children.
The admin save now refuses it (errors.reference_required).
2026-10-12 21:33:36 +02:00

50 lines
1.6 KiB
YAML

plugin:
name: Menus
description: Site menus with links, dividers and content entries.
permissions:
manage_menu: Manage site menus
models:
general:
id: ID
created_at: Created At
updated_at: Updated At
menu:
label: Menu
label_plural: Menus
name: Name
code: Code
css_class: CSS class
is_active: Active
menuentry:
label: Menu entry
label_plural: Menu entries
menu: Menu
menu_comment: Entries with a parent belong to the parent's menu; leave it empty to take the parent's. Moving an entry moves its sub-entries with it.
parent: Parent
type: Type
type_url: Link
type_divider: Divider
title: Title
url: URL
url_comment: Used by Link entries. Start with http://, https://, mailto:, tel:, / or #.
reference: Reference
reference_comment: The record this entry points to, for types that need one.
url_pattern: URL pattern
url_pattern_comment: Use :placeholder syntax, e.g. /blog/:slug
code: Code
icon: Icon
css_class: CSS class
target: Opens in
target_self: Same tab
target_blank: New tab
is_published: Published
reorder_title: Reorder menu entries
errors:
url_scheme: Use a link that starts with http://, https://, mailto:, tel:, / or #.
target: Choose Same tab or New tab.
type_unknown: Choose one of the listed types.
reference_required: Choose a reference for this type.
menu_required: Choose a menu or a parent entry.
parent_cycle: An entry cannot be placed under itself or one of its own entries.
parent_menu: The parent entry belongs to another menu. Choose a parent from the selected menu, or change the menu.