From 8bc37f20421b2bee8ddd6f178a7990a94135e88d Mon Sep 17 00:00:00 2001 From: Carlos Miqueo Date: Thu, 12 Jun 2025 07:33:19 -0700 Subject: [PATCH 1/3] MWPW-174906: adds playVideo string to config.collection.i10n --- libs/blocks/caas/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/blocks/caas/utils.js b/libs/blocks/caas/utils.js index 1b11c733fe..91b4cddc63 100644 --- a/libs/blocks/caas/utils.js +++ b/libs/blocks/caas/utils.js @@ -707,6 +707,7 @@ export const getConfig = async (originalState, strs = {}) => { onErrorDescription: strs.onErrorDesc || 'Please try reloading the page or try coming back to the page another time.', lastModified: strs.lastModified || 'Last modified {date}', + playVideo: strs.playVideo || 'Play, {cardTitle}', }, detailsTextOption: state.detailsTextOption, hideDateInterval: state.hideDateInterval, From da9356d45e78cbbdfb8f6e2c912cbf6e331d8734 Mon Sep 17 00:00:00 2001 From: Carlos Miqueo Date: Thu, 12 Jun 2025 07:57:15 -0700 Subject: [PATCH 2/3] MWPW-174906: updates test files --- test/blocks/caas/utils.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/blocks/caas/utils.test.js b/test/blocks/caas/utils.test.js index 90a96927de..10fb6e127c 100644 --- a/test/blocks/caas/utils.test.js +++ b/test/blocks/caas/utils.test.js @@ -183,6 +183,7 @@ describe('getConfig', () => { i18n: { cardTitleAccessibilityLevel: 6, lastModified: 'Last modified {date}', + playVideo: 'Play, {cardTitle}', prettyDateIntervalFormat: '{ddd}, {LLL} {dd} | {timeRange} {timeZone}', totalResultsText: '{total} Results', title: '', @@ -452,6 +453,7 @@ describe('getConfig', () => { i18n: { cardTitleAccessibilityLevel: 6, lastModified: 'Last modified {date}', + playVideo: 'Play, {cardTitle}', prettyDateIntervalFormat: '{ddd}, {LLL} {dd} | {timeRange} {timeZone}', totalResultsText: '{total} Results', title: '', @@ -817,6 +819,7 @@ describe('getFloodgateCaasConfig', () => { i18n: { cardTitleAccessibilityLevel: 6, lastModified: 'Last modified {date}', + playVideo: 'Play, {cardTitle}', prettyDateIntervalFormat: '{ddd}, {LLL} {dd} | {timeRange} {timeZone}', totalResultsText: '{total} Results', title: '', From 4530664e55eca99563e35510f5be7f7100693bc5 Mon Sep 17 00:00:00 2001 From: Carlos Miqueo Date: Thu, 12 Jun 2025 08:07:18 -0700 Subject: [PATCH 3/3] MWPW-174906: updates test files --- test/blocks/caas-config/expectedConfigs/defaultConfig.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/blocks/caas-config/expectedConfigs/defaultConfig.js b/test/blocks/caas-config/expectedConfigs/defaultConfig.js index f6cd3776c2..b7dffd7f90 100644 --- a/test/blocks/caas-config/expectedConfigs/defaultConfig.js +++ b/test/blocks/caas-config/expectedConfigs/defaultConfig.js @@ -20,6 +20,7 @@ const defaultConfig = { i18n: { cardTitleAccessibilityLevel: 6, lastModified: 'Last modified {date}', + playVideo: 'Play, {cardTitle}', prettyDateIntervalFormat: '{ddd}, {LLL} {dd} | {timeRange} {timeZone}', totalResultsText: '{total} results', title: '',