Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EZP-28515: Section header don't contain section name #173

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/bundle/Resources/translations/forms.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@
<target state="new">Update</target>
<note>key: section_update_form.update</note>
</trans-unit>
<trans-unit id="1076fdadc49ac9198c278970f355457c26075975" resname="sections_delete_form.delete">
<source>Delete sections</source>
<target state="new">Delete sections</target>
<note>key: sections_delete_form.delete</note>
</trans-unit>
<trans-unit id="6880a88558bf821ff5ca3266f2f4f42b6d911283" resname="swap_location_form.swap">
<source>Select content item</source>
<target state="new">Select content item</target>
Expand Down
9 changes: 7 additions & 2 deletions src/bundle/Resources/translations/section.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
</header>
<body>
<trans-unit id="84413bc1ae3385c0aac1af7ea5665cb0c1eaf3ba" resname="section.assign_content">
<source>Assign content</source>
<target state="new">Assign content</target>
<note>key: section.assign_content</note>
</trans-unit>
<trans-unit id="2a6caa13cfd67503e2250af8e36f26a2f835a4a0" resname="section.assign_content.success">
<source>%contentItemsCount% content items were assigned to '%name%'</source>
<target state="new">%contentItemsCount% content items were assigned to '%name%'</target>
Expand Down Expand Up @@ -116,10 +121,10 @@
<target state="new">Editing Section "%identifier%"</target>
<note>key: section.update.title</note>
</trans-unit>
<trans-unit id="7ca9da842cdea433f0a9e05a8c6b135def0bc6e3" resname="section.view.title">
<trans-unit id="9266789d0a5e68e102410798a2db431137039aad" resname="section.view.title.identifier">
<source>Section: %identifier%</source>
<target state="new">Section: %identifier%</target>
<note>key: section.view.title</note>
<note>key: section.view.title.identifier</note>
</trans-unit>
</body>
</file>
Expand Down
4 changes: 2 additions & 2 deletions src/bundle/Resources/views/admin/section/view.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
{% include '@EzPlatformAdminUi/parts/breadcrumbs.html.twig' with { items: [
{ value: 'breadcrumb.admin'|trans(domain='messages')|desc('Admin') },
{ url: path('ezplatform.section.list'), value: 'section.list'|trans|desc('Sections') },
{ value: 'section.view.title'|trans({ '%identifier%': section.name })|desc('"%identifier%" Section') }
{ value: 'section.view.title.identifier'|trans({ '%identifier%': section.name })|desc('Section: %identifier%') }
]} %}
{% endblock %}

{% block pageTitle %}
{% include '@EzPlatformAdminUi/parts/page_title.html.twig' with {
title: 'section.view.title'|trans({ '%identifier%': section.name })|desc('"%identifier%" Section'),
title: 'section.view.title.identifier'|trans({ '%identifier%': section.name })|desc('Section: %identifier%'),
iconName: 'sections'
} %}
{% endblock %}
Expand Down