Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Build Docs

on:
push:
branches:
- master
release:
types: [published]
types: [released]
workflow_dispatch:

permissions:
Expand Down
1 change: 1 addition & 0 deletions css/gallery-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions css/gallery.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions js/gallery-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/gallery.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '92c1913a2ab581c0270f');
<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'e09fae43ef7020fbad7b');
1 change: 1 addition & 0 deletions js/gallery.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions languages/cloudinary.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Cloudinary STABLETAG\n"
"Report-Msgid-Bugs-To: https://github.com/cloudinary/cloudinary_wordpress\n"
"POT-Creation-Date: 2026-08-12 10:35:06+00:00\n"
"POT-Creation-Date: 2026-08-21 07:17:30+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -768,7 +768,7 @@ msgid "Cloudinary only"
msgstr ""

#: php/class-sync.php:1343 php/delivery/class-lazy-load.php:543
#: php/media/class-gallery.php:443 ui-definitions/components/header.php:19
#: php/media/class-gallery.php:454 ui-definitions/components/header.php:19
#: ui-definitions/settings-image.php:263 ui-definitions/settings-pages.php:207
#: ui-definitions/settings-pages.php:223 ui-definitions/settings-pages.php:224
#: ui-definitions/settings-video.php:306
Expand Down Expand Up @@ -961,36 +961,36 @@ msgstr ""
msgid "Attachment Display Settings"
msgstr ""

#: php/media/class-gallery.php:392 php/media/class-gallery.php:393
#: php/media/class-gallery.php:403 php/media/class-gallery.php:404
msgid "Gallery settings"
msgstr ""

#: php/media/class-gallery.php:401
#: php/media/class-gallery.php:412
msgid "Gallery Settings"
msgstr ""

#: php/media/class-gallery.php:411
#: php/media/class-gallery.php:422
msgid "Replace WooCommerce Gallery"
msgstr ""

#: php/media/class-gallery.php:412
#: php/media/class-gallery.php:423
msgid ""
"Replace the default WooCommerce gallery with the Cloudinary Gallery on "
"product pages."
msgstr ""

#: php/media/class-gallery.php:420
#: php/media/class-gallery.php:431
msgid "Cloudinary Gallery block defaults"
msgstr ""

#: php/media/class-gallery.php:423
#: php/media/class-gallery.php:434
msgid ""
"The Cloudinary Gallery is available as a new block type which can be "
"inserted to any post or page. Note, this is not available when using the "
"classic editor."
msgstr ""

#: php/media/class-gallery.php:446
#: php/media/class-gallery.php:457
#. Translators: The HTML for opening and closing link tags.
msgid ""
"Watch free lessons on how to use the Gallery Settings in the %1$sCloudinary "
Expand Down
11 changes: 11 additions & 0 deletions php/media/class-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,17 @@ public function enqueue_admin_scripts() {
$this->plugin->version
);

// Styles for the shared gallery controls (e.g. the Layout radio group)
// used by the settings page preview app. These live in `gallery.scss`,
// which is bundled with the `gallery` (settings) entry but is not
// auto-enqueued, so load it explicitly here.
wp_enqueue_style(
'cloudinary-gallery-controls-css',
$this->plugin->dir_url . 'css/gallery.css',
array(),
$this->plugin->version
);

$script = array(
'slug' => 'gallery_config',
'src' => $this->plugin->dir_url . 'js/gallery.js',
Expand Down
1 change: 1 addition & 0 deletions src/js/components/settings-gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { createRoot, render, useEffect, useState } from '@wordpress/element';
/**
* Internal dependencies
*/
import '../../css/gallery.scss';
import GalleryControls from '../gallery-block/controls';
import {
convertColors,
Expand Down
Loading