diff --git a/src/bundle/Resources/translations/messages.en.xliff b/src/bundle/Resources/translations/messages.en.xliff index 64848e32c2..58253df269 100644 --- a/src/bundle/Resources/translations/messages.en.xliff +++ b/src/bundle/Resources/translations/messages.en.xliff @@ -769,21 +769,6 @@ Are you sure you want to send this Content item to Trash? key: trash.modal.send_to_trash.message - - Any Content Types - Any Content Types - key: trash.search.any_content_types - - - Any time - Any time - key: trash.search.any_time - - - Any Section - Any Section - key: trash.search.section.any - If you wish to delete these assets too, first make sure they are not used by other content. To check, go to the asset preview and look at its content Relations in the Relations tab. If you wish to delete these assets too, first make sure they are not used by other content. To check, go to the asset preview and look at its content Relations in the Relations tab. diff --git a/src/bundle/Resources/translations/trash.en.xliff b/src/bundle/Resources/translations/trash.en.xliff index 0e4c45972c..9b5de69345 100644 --- a/src/bundle/Resources/translations/trash.en.xliff +++ b/src/bundle/Resources/translations/trash.en.xliff @@ -91,6 +91,21 @@ Restored content to its original Location. key: trash.restore_original_location.success + + Any Content Types + Any Content Types + key: trash.search.any_content_types + + + Any time + Any time + key: trash.search.any_time + + + Any Section + Any Section + key: trash.search.section.any + Section Section diff --git a/src/lib/Form/Type/Search/TrashSearchType.php b/src/lib/Form/Type/Search/TrashSearchType.php index cc9f5f5668..e32b46acd1 100644 --- a/src/lib/Form/Type/Search/TrashSearchType.php +++ b/src/lib/Form/Type/Search/TrashSearchType.php @@ -98,6 +98,7 @@ public function configureOptions(OptionsResolver $resolver) 'data_class' => TrashSearchData::class, 'method' => Request::METHOD_GET, 'csrf_protection' => false, + 'translation_domain' => 'trash', ]); } }