Release v0.3.5
Release 0.3.5
Changelog
Added
- Translation domain: Bundle uses domain NowoDashboardMenuBundle for all UI strings (dashboard, form labels, validation). Constant
NowoDashboardMenuBundle::TRANSLATION_DOMAINfor use in code; form types and controller use it. - Docs: USAGE documents overriding templates (
templates/bundles/NowoDashboardMenuBundle/) and translations (translations/NowoDashboardMenuBundle.{locale}.yamlwith same key structure).
Changed
- Translations (breaking for overrides): Bundle translation files are now
NowoDashboardMenuBundle.{locale}.yaml(replacingmessages.*andvalidators.*). To override strings in your app, createtranslations/NowoDashboardMenuBundle.{locale}.yamlwith the same keys (e.g.dashboard.title,form.copy_menu_type.code.regex_message). See UPGRADING. - Extension:
DashboardMenuExtensionno longer prepends Twig or translator paths; Symfony’s default behaviour applies so your app’stemplates/bundles/NowoDashboardMenuBundle/and translation files take precedence over the bundle’s. - Dashboard layout:
{% trans_default_domain 'NowoDashboardMenuBundle' %}set in the bundle’s dashboard layout so all dashboard views use the bundle domain.
Fixed
- Tests: Additional coverage for PermissionCheckerPass (config/order/labels not array), AutoTagPermissionCheckersPass (empty or non-string constant), MenuImporter and MenuRepository edge cases.
Full Changelog: v0.3.4...v0.3.5