From 49a3c65ad93e31fb63f7e2ac6044b6256133a923 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Fri, 21 Jul 2023 11:08:31 +0200 Subject: [PATCH 1/2] TASK: Translated using Weblate (Dutch) Currently translated at 100.0% (119 of 119 strings) Co-authored-by: Mark Kuiphuis Translate-URL: https://hosted.weblate.org/projects/neos/neos-ui-main-9-0/nl/ Translation: Neos/Neos.Ui - Main - 9.0 --- Resources/Private/Translations/nl/Main.xlf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Private/Translations/nl/Main.xlf b/Resources/Private/Translations/nl/Main.xlf index 01f9b75b11..f06c28a1fc 100644 --- a/Resources/Private/Translations/nl/Main.xlf +++ b/Resources/Private/Translations/nl/Main.xlf @@ -517,7 +517,7 @@ Format options - Opmaakopties + Opmaakopties From 17361011b1adc5367d77dea632f97df9f7f7703c Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Fri, 28 Jul 2023 16:31:36 +0200 Subject: [PATCH 2/2] TASK: Replace getService method with new buildService method to build service of a content repository --- Classes/Controller/BackendController.php | 2 +- Classes/Fusion/Helper/ContentDimensionsHelper.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/Controller/BackendController.php b/Classes/Controller/BackendController.php index 845c494cb2..fdfbe4b711 100644 --- a/Classes/Controller/BackendController.php +++ b/Classes/Controller/BackendController.php @@ -155,7 +155,7 @@ public function indexAction(string $node = null) $this->redirectToUri($this->uriBuilder->uriFor('index', [], 'Login', 'Neos.Neos')); } - $backendControllerInternals = $this->contentRepositoryRegistry->getService( + $backendControllerInternals = $this->contentRepositoryRegistry->buildService( $siteDetectionResult->contentRepositoryId, new BackendControllerInternalsFactory() ); diff --git a/Classes/Fusion/Helper/ContentDimensionsHelper.php b/Classes/Fusion/Helper/ContentDimensionsHelper.php index 05095965d2..7008f58a68 100644 --- a/Classes/Fusion/Helper/ContentDimensionsHelper.php +++ b/Classes/Fusion/Helper/ContentDimensionsHelper.php @@ -34,7 +34,7 @@ class ContentDimensionsHelper implements ProtectedContextAwareInterface */ public function contentDimensionsByName(ContentRepositoryId $contentRepositoryId): array { - $contentDimensionHelperInternals = $this->contentRepositoryRegistry->getService($contentRepositoryId, new ContentDimensionsHelperInternalsFactory()); + $contentDimensionHelperInternals = $this->contentRepositoryRegistry->buildService($contentRepositoryId, new ContentDimensionsHelperInternalsFactory()); assert($contentDimensionHelperInternals instanceof ContentDimensionsHelperInternals); $contentDimensionSource = $contentDimensionHelperInternals->contentDimensionSource; @@ -70,7 +70,7 @@ public function contentDimensionsByName(ContentRepositoryId $contentRepositoryId */ public function allowedPresetsByName(DimensionSpacePoint $dimensions, ContentRepositoryId $contentRepositoryId): array { - $contentDimensionHelperInternals = $this->contentRepositoryRegistry->getService($contentRepositoryId, new ContentDimensionsHelperInternalsFactory()); + $contentDimensionHelperInternals = $this->contentRepositoryRegistry->buildService($contentRepositoryId, new ContentDimensionsHelperInternalsFactory()); $contentDimensionSource = $contentDimensionHelperInternals->contentDimensionSource; // TODO: re-implement this here; currently EVERYTHING is allowed!!