Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Force use existing translation strings in breadcrumb for Message entity #331

Merged
merged 1 commit into from
May 24, 2018

Conversation

covex-nn
Copy link
Contributor

I am targeting this branch, because this is BC patch.

See sonata-project/media-orm-pack#3, this PR solves similar issue

Changelog

### Changed
- Force use existing translation strings in breadcrump for Message entity in Admin panel

Subject

If a last part of Message class name differs from Message, then Admin will try to use non-existing translation string for breadcrumbs instead of breadcrumb.link_message_list, i.e. it will use breadcrumb.link_sonata_notification_message_list for SonataNotificationMessage.

With this PR Admin will be forced to use existing translation strings.

@OskarStark OskarStark merged commit 77cb82c into sonata-project:3.x May 24, 2018
@OskarStark
Copy link
Member

Thank you @covex-nn 👍

@covex-nn covex-nn deleted the breadcrumb branch May 24, 2018 05:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants