From a2ebe773e88209d3768e574b782a0d7409642c00 Mon Sep 17 00:00:00 2001 From: mikolaj Date: Wed, 23 Aug 2023 10:15:58 +0200 Subject: [PATCH 1/4] Renamed domain names --- ...ldtype.en.xliff => ibexa_matrix_fieldtype.en.xliff} | 10 ++++++++++ .../content_edit_form_fields.html.twig | 4 ++-- .../admin/matrix_fieldtype/content_fields.html.twig | 2 +- .../admin/matrix_fieldtype/field_types.html.twig | 3 ++- src/lib/FieldType/Mapper/MatrixFormMapper.php | 4 ++-- src/lib/Form/Type/ColumnType.php | 2 +- src/lib/Form/Type/FieldType/MatrixFieldType.php | 2 +- 7 files changed, 19 insertions(+), 8 deletions(-) rename src/bundle/Resources/translations/{matrix_fieldtype.en.xliff => ibexa_matrix_fieldtype.en.xliff} (85%) diff --git a/src/bundle/Resources/translations/matrix_fieldtype.en.xliff b/src/bundle/Resources/translations/ibexa_matrix_fieldtype.en.xliff similarity index 85% rename from src/bundle/Resources/translations/matrix_fieldtype.en.xliff rename to src/bundle/Resources/translations/ibexa_matrix_fieldtype.en.xliff index b4a73d7..146b71a 100644 --- a/src/bundle/Resources/translations/matrix_fieldtype.en.xliff +++ b/src/bundle/Resources/translations/ibexa_matrix_fieldtype.en.xliff @@ -16,6 +16,16 @@ Delete key: ezmatrix.remove + + Add new + Add new + key: field.column.add_new + + + Delete + Delete + key: field.column.delete + Identifier Identifier diff --git a/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_edit_form_fields.html.twig b/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_edit_form_fields.html.twig index ce3f69b..aa3d7a4 100644 --- a/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_edit_form_fields.html.twig +++ b/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_edit_form_fields.html.twig @@ -1,4 +1,4 @@ -{% trans_default_domain 'matrix_fieldtype' %} +{% trans_default_domain 'ibexa_matrix_fieldtype' %} {% block ezplatform_fieldtype_ezmatrix_widget %} {% set readonly = attr.readonly|default(false) %} @@ -29,7 +29,7 @@ } %} {% block header %} {% embed '@ibexadesign/ui/component/table/table_header.html.twig' %} - {% trans_default_domain 'matrix_fieldtype' %} + {% trans_default_domain 'ibexa_matrix_fieldtype' %} {% block actions %}