Skip to content

Commit

Permalink
EZP-28515: Section header don't contain section name
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk committed Dec 13, 2017
1 parent 6e16d6e commit 44e8f98
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
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
5 changes: 5 additions & 0 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
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'|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'|trans({ '%identifier%': section.name })|desc('Section: %identifier%'),
iconName: 'sections'
} %}
{% endblock %}
Expand Down

0 comments on commit 44e8f98

Please sign in to comment.