فهرست منبع

Revert "Updated Resources/views/Form/form_admin_fields.html.twig to use translation domain"

This reverts commit 889c9b31bbe4493863f6781ee10ea20524a354ca.
Thomas Rabaix 13 سال پیش
والد
کامیت
c7e8608fa0
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Resources/views/Form/form_admin_fields.html.twig

+ 2 - 2
Resources/views/Form/form_admin_fields.html.twig

@@ -1,12 +1,12 @@
 {% block sonata_security_roles_widget %}
 {% block sonata_security_roles_widget %}
 {% spaceless %}
 {% spaceless %}
     <div class="editable">
     <div class="editable">
-        <h4>{{ 'field.label_roles_editable'|trans({}, sonata.user.admin.user.translation_domain) }}</h4>
+        <h4>{{ 'field.label_roles_editable'|trans }}</h4>
         {{ block('choice_widget') }}
         {{ block('choice_widget') }}
     </div>
     </div>
     {% if read_only_choices|length > 0 %}
     {% if read_only_choices|length > 0 %}
     <div class="readonly">
     <div class="readonly">
-        <h4>{{ 'field.label_roles_readonly'|trans({}, sonata.user.admin.user.translation_domain) }}</h4>
+        <h4>{{ 'field.label_roles_readonly'|trans }}</h4>
         <ul>
         <ul>
         {% for choice in read_only_choices %}
         {% for choice in read_only_choices %}
             <li>{{ choice }}</li>
             <li>{{ choice }}</li>