Changeset 3457320
- Timestamp:
- 02/09/2026 05:46:34 PM (8 weeks ago)
- Location:
- luxe-gallery/trunk
- Files:
-
- 5 edited
-
includes/class-luxe-gallery-shortcode.php (modified) (1 diff)
-
luxe-gallery.php (modified) (3 diffs)
-
public/css/luxe-gallery-public.css (modified) (1 diff)
-
public/js/luxe-gallery-public.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
luxe-gallery/trunk/includes/class-luxe-gallery-shortcode.php
r3457310 r3457320 267 267 268 268 // Single CSS file (includes slider + lightbox styles — no external libraries). 269 wp_enqueue_style( 'luxe-gallery-public', plugin_dir_url( __FILE__ ) . '../public/css/luxe-gallery-public.css', array(), '2.0. 4', 'all' );269 wp_enqueue_style( 'luxe-gallery-public', plugin_dir_url( __FILE__ ) . '../public/css/luxe-gallery-public.css', array(), '2.0.5', 'all' ); 270 270 271 271 // Single JS file (includes custom slider + lightbox — no jQuery, Swiper, or PhotoSwipe). 272 wp_enqueue_script( 'luxe-gallery-public-js', plugin_dir_url( __FILE__ ) . '../public/js/luxe-gallery-public.js', array(), '2.0. 4', true );272 wp_enqueue_script( 'luxe-gallery-public-js', plugin_dir_url( __FILE__ ) . '../public/js/luxe-gallery-public.js', array(), '2.0.5', true ); 273 273 274 274 // Pass translatable strings to JavaScript. -
luxe-gallery/trunk/luxe-gallery.php
r3457310 r3457320 4 4 * Plugin URI: https://jajasolutions.de/luxe-gallery 5 5 * Description: Premium gallery with category management - Ideal for real estate, vacation rentals and portfolios. Features customizable hero grid, automatic categorization, WebP optimization and immersive fullscreen view for professional presentations. 6 * Version: 2.0. 46 * Version: 2.0.5 7 7 * Author: Janni Hares 8 8 * Author URI: https://jajasolutions.de … … 27 27 28 28 /** 29 * Load plugin textdomain for internationalization 29 * Load plugin textdomain for internationalization. 30 * 31 * WordPress auto-loads translations from translate.wordpress.org, but newly added 32 * strings may not exist there yet. We merge our bundled .mo on top so that any 33 * string missing from WP.org is still translated from the bundled file. 30 34 * 31 35 * @since 1.0.0 … … 33 37 */ 34 38 function luxe_gallery_load_textdomain() { 35 load_plugin_textdomain( 'luxe-gallery', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); 39 $locale = determine_locale(); 40 $mofile = plugin_dir_path( __FILE__ ) . 'languages/luxe-gallery-' . $locale . '.mo'; 41 42 if ( file_exists( $mofile ) ) { 43 load_textdomain( 'luxe-gallery', $mofile ); 44 } 36 45 } 37 46 add_action( 'init', 'luxe_gallery_load_textdomain' ); -
luxe-gallery/trunk/public/css/luxe-gallery-public.css
r3457310 r3457320 2 2 * Luxe Gallery Frontend Styles - Optimized Build 3 3 * Includes custom slider + lightbox styles (replaces Swiper CSS + PhotoSwipe CSS) 4 * @version 2.0. 44 * @version 2.0.5 5 5 */ 6 6 -
luxe-gallery/trunk/public/js/luxe-gallery-public.js
r3457310 r3457320 2 2 * Luxe Gallery Public JavaScript - Zero-Dependency Optimized Build 3 3 * Custom slider (replaces Swiper 151KB) + Custom lightbox (replaces PhotoSwipe 68KB) 4 * @version 2.0. 44 * @version 2.0.5 5 5 */ 6 6 -
luxe-gallery/trunk/readme.txt
r3457310 r3457320 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 2.0. 48 Stable tag: 2.0.5 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 156 156 157 157 == Changelog == 158 159 = 2.0.5 = 160 * Fixed translations not working: bundled .mo now loads via load_textdomain() before WP.org JIT translations can override with incomplete data 161 * "Show all X photos" button now correctly displays in German (and other languages) 158 162 159 163 = 2.0.4 =
Note: See TracChangeset
for help on using the changeset viewer.