[Experimental] Product Gallery block: Rename media setting to "Open pop-up when clicked" (#43302)
* Rename media setting to "Open pop-up when clicked" * Add changefile(s) from automation for the following project(s): woocommerce-blocks --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
aa0f1b14b3
commit
65d9c6764c
|
@ -75,7 +75,7 @@ export const ProductGalleryBlockSettings = ( {
|
|||
}
|
||||
/>
|
||||
<ToggleControl
|
||||
label={ __( 'Full-screen when clicked', 'woocommerce' ) }
|
||||
label={ __( 'Open pop-up when clicked', 'woocommerce' ) }
|
||||
help={ __(
|
||||
'Clicking on the large image will open a full-screen gallery experience.',
|
||||
'woocommerce'
|
||||
|
|
|
@ -493,7 +493,7 @@ test.describe( `${ blockData.name }`, () => {
|
|||
} );
|
||||
} );
|
||||
|
||||
test.describe( 'full-screen when clicked option', () => {
|
||||
test.describe( 'open pop-up when clicked option', () => {
|
||||
test( 'should be enabled by default', async ( {
|
||||
pageObject,
|
||||
editor,
|
||||
|
|
|
@ -10,7 +10,7 @@ const selectors = {
|
|||
zoomWhileHoveringSetting:
|
||||
"xpath=//label[contains(text(), 'Zoom while hovering')]/preceding-sibling::span/input",
|
||||
fullScreenOnClickSetting:
|
||||
"xpath=//label[contains(text(), 'Full-screen when clicked')]/preceding-sibling::span/input",
|
||||
"xpath=//label[contains(text(), 'Open pop-up when clicked')]/preceding-sibling::span/input",
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Rename the media setting from "Full-screen when clicked" to "Open pop-up when clicked"
|
||||
|
Loading…
Reference in New Issue