Repository navigation
Release v2.8.0
v2.8.0
Changelog
Item label translations as FormKit locale tabs (TranslatableMapType) instead of a JSON textarea; labels of other locales kept. See UPGRADING.
Changed
- Item label translations as locale tabs: the raw JSON textarea of the item form (
translations) is a FormKit
TranslatableMapType(one text field per locale, rendered as UiKit locale tabs in the page and the dialog). Tabs
come fromnowo_breadcrumb_kit.locales(empty: the FormKit locales, i.e.framework.enabled_locales), the default
tab fromdefault_locale. Labels of locales that are not tabs are kept on save and listed in the field help; an
emptied tab removes its label; no labels at all is stored asnullas before. Each label is limited to 512
characters (error on its tab). BreadcrumbItemTypetakes$localesand$defaultLocaleconstructor arguments (wired by the extension).- Demo locked to FormKit 2.13 / UiKit 2.5; README screenshot of the item dialog re-captured with the label tabs.
- Requires
nowo-tech/form-kit-bundle^2.13 (was ^2.0) andnowo-tech/ui-kit-bundle^2.5.1 (was ^2.2).
Added
- Translation key
form.breadcrumb_item.translations.help_other_locales;translations.label/.helpreworded
(no more JSON example) in every shipped locale.
What's Changed
- chore(deps): bump nowo-tech/phpstan-frankenphp from 1.2.3 to 1.3.0 by @dependabot[bot] in #54
Full Changelog: v2.7.2...v2.8.0