From 8649af0eefde38d5e5800db2df51a0b3960b4e71 Mon Sep 17 00:00:00 2001 From: Andreas Nielsen Date: Thu, 5 Sep 2024 13:45:17 +0200 Subject: [PATCH 1/2] Added new translatation for the advanced search remove row button. --- .../dpl_react_apps/src/Controller/DplReactAppsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/modules/custom/dpl_react_apps/src/Controller/DplReactAppsController.php b/web/modules/custom/dpl_react_apps/src/Controller/DplReactAppsController.php index 377f5b65d..6e8bb5860 100644 --- a/web/modules/custom/dpl_react_apps/src/Controller/DplReactAppsController.php +++ b/web/modules/custom/dpl_react_apps/src/Controller/DplReactAppsController.php @@ -210,6 +210,7 @@ public function advancedSearch(): array { 'advanced-search-preview-empty-text' => $this->t('-', [], ['context' => 'advanced search']), 'advanced-search-preview-headline-text' => $this->t('CQL search string', [], ['context' => 'advanced search']), 'advanced-search-publisher-text' => $this->t('publisher', [], ['context' => 'advanced search']), + 'advanced-search-remove-row-text' => $this->t('remove row @inputNumber', [], ['context' => 'advanced search']), 'advanced-search-reset-text' => $this->t('reset', [], ['context' => 'advanced search']), 'advanced-search-search-button-text' => $this->t('search', [], ['context' => 'advanced search']), 'advanced-search-source-text' => $this->t('source', [], ['context' => 'advanced search']), From cfb4cf119e74d327080540aa77069f7d593e2092 Mon Sep 17 00:00:00 2001 From: Andreas Nielsen Date: Thu, 5 Sep 2024 14:23:19 +0200 Subject: [PATCH 2/2] Updated dpl-react dependency to point to the changes done in react. --- composer.json | 8 ++++---- composer.lock | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 47aa72b34..e507eefc6 100644 --- a/composer.json +++ b/composer.json @@ -40,10 +40,10 @@ "type": "package", "package": { "name": "danskernesdigitalebibliotek/dpl-react", - "version": "2024.36.0", + "version": "0.0.0-dev", "type": "drupal-library", "dist": { - "url": "https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/2024.36.0/dist-2024-36-0-980a9ceb8b46195dfe6633b6e66a1f0c4167f4ec.zip", + "url": "https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/branch-DDFLSBP-671-add-aria-label-to-delete-row-button/dist-ddflsbp-671-add-aria-label-to-delete-row-button.zip", "type": "zip" }, "require": { @@ -90,8 +90,8 @@ "composer/installers": "1.12.0", "cweagans/composer-patches": "1.7.3", "danskernesdigitalebibliotek/cms-api": "*", - "danskernesdigitalebibliotek/dpl-design-system": "2024.36.0", - "danskernesdigitalebibliotek/dpl-react": "2024.36.0", + "danskernesdigitalebibliotek/dpl-design-system": "^2024.36", + "danskernesdigitalebibliotek/dpl-react": "0.0.0-dev", "danskernesdigitalebibliotek/fbs-client": "*", "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", "deoliveiralucas/array-keys-case-transform": "^1.1", diff --git a/composer.lock b/composer.lock index e3fa32855..218e22869 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "148432ecd280b58c756f149b96f2a7ab", + "content-hash": "3e3993b518169580e245698f36dd6464", "packages": [ { "name": "amazeeio/drupal_integrations", @@ -1175,10 +1175,10 @@ }, { "name": "danskernesdigitalebibliotek/dpl-react", - "version": "2024.36.0", + "version": "0.0.0-dev", "dist": { "type": "zip", - "url": "https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/2024.36.0/dist-2024-36-0-980a9ceb8b46195dfe6633b6e66a1f0c4167f4ec.zip" + "url": "https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/branch-DDFLSBP-671-add-aria-label-to-delete-row-button/dist-ddflsbp-671-add-aria-label-to-delete-row-button.zip" }, "require": { "composer/installers": "^1.2.0"