Skip to content

Commit 57e8f04

Browse files
authored
IBX-6475: Fix translation variable visible in UI (#920)
1 parent abf657c commit 57e8f04

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/bundle/Resources/translations/ibexa_content_create.en.xliff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<note>key: creating</note>
1313
</trans-unit>
1414
<trans-unit id="750bead6705b295c7b7d66c27b2768c1b9329ed5" resname="editing_details">
15-
<source>Location: %location% Translation: %language</source>
16-
<target state="new">Location: %location% Translation: %language</target>
15+
<source>Location: %location% Translation: %language%</source>
16+
<target state="new">Location: %location% Translation: %language%</target>
1717
<note>key: editing_details</note>
1818
</trans-unit>
1919
<trans-unit id="32d50c07b2eacd6fa72742ff1c1f5963c26a251d" resname="new_content_item">

src/bundle/Resources/translations/ibexa_content_edit.en.xliff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<note>key: editing</note>
2828
</trans-unit>
2929
<trans-unit id="750bead6705b295c7b7d66c27b2768c1b9329ed5" resname="editing_details">
30-
<source>Location: %location% Translation: %language</source>
31-
<target state="new">Location: %location% Translation: %language</target>
30+
<source>Location: %location% Translation: %language%</source>
31+
<target state="new">Location: %location% Translation: %language%</target>
3232
<note>key: editing_details</note>
3333
</trans-unit>
3434
<trans-unit id="009667fab56f0bec66634f009a75ffd9425f2987" resname="fieldtype.translation_is_disabled">

src/bundle/Resources/views/themes/admin/content/create/create.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
subtitle: 'editing_details'|trans({
2323
'%location%': parent_location.contentInfo.name,
2424
'%language%': language.name
25-
})|desc('Location: %location% Translation: %language' ),
25+
})|desc('Location: %location% Translation: %language%' ),
2626
context_actions: knp_menu_render(content_create_sidebar_right, {'template': '@ibexadesign/ui/menu/context_menu.html.twig'})
2727
} %}
2828
{% endblock %}

src/bundle/Resources/views/themes/admin/content/edit/edit.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
subtitle: 'editing_details'|trans({
2626
'%location%': parent_location.contentInfo.name,
2727
'%language%': language.name
28-
})|desc('Location: %location% Translation: %language'),
28+
})|desc('Location: %location% Translation: %language%'),
2929
context_actions: knp_menu_render(content_edit_sidebar_right, { 'template': '@ibexadesign/ui/menu/context_menu.html.twig' })
3030
} %}
3131
{% endblock %}

src/bundle/Resources/views/themes/admin/ui/on_the_fly/edit_on_the_fly.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
content_type_name: content_type.name,
3636
show_autosave_status: true,
3737
description: content_type.description,
38-
subtitle: 'editing_details'|trans({ '%location%': parent_location.contentInfo.name, '%language%': language.name })|desc('Location: %location% Translation: %language'),
38+
subtitle: 'editing_details'|trans({ '%location%': parent_location.contentInfo.name, '%language%': language.name })|desc('Location: %location% Translation: %language%'),
3939
context_actions: context_actions,
4040
} %}
4141
{% endblock %}

0 commit comments

Comments
 (0)