| @@ -233,27 +233,8 @@ | ||
| 233 | 233 | ], |
| 234 | 234 | ], |
| 235 | 235 | ], |
| 236 | 236 | ], |
| 237 | - 'scripts' => [ | |
| 238 | - [ | |
| 239 | - 'name' => 'swiper', | |
| 240 | - 'conditions' => [ | |
| 241 | - 'terms' => [ | |
| 242 | - [ | |
| 243 | - 'name' => 'gallery_link', | |
| 244 | - 'operator' => '===', | |
| 245 | - 'value' => 'file', | |
| 246 | - ], | |
| 247 | - [ | |
| 248 | - 'name' => 'open_lightbox', | |
| 249 | - 'operator' => '!==', | |
| 250 | - 'value' => 'no', | |
| 251 | - ], | |
| 252 | - ], | |
| 253 | - ], | |
| 254 | - ], | |
| 255 | - ], | |
| 256 | 237 | ], |
| 257 | 238 | ] |
| 258 | 239 | ); |
| 259 | 240 | |
| @@ -282,9 +263,9 @@ | ||
| 282 | 263 | |
| 283 | 264 | $this->add_control( |
| 284 | 265 | 'image_spacing', |
| 285 | 266 | [ |
| 286 | - 'label' => esc_html__( 'Gap', 'elementor' ), | |
| 267 | + 'label' => esc_html__( 'Spacing', 'elementor' ), | |
| 287 | 268 | 'type' => Controls_Manager::SELECT, |
| 288 | 269 | 'options' => [ |
| 289 | 270 | '' => esc_html__( 'Default', 'elementor' ), |
| 290 | 271 | 'custom' => esc_html__( 'Custom', 'elementor' ), |
| @@ -299,9 +280,9 @@ | ||
| 299 | 280 | |
| 300 | 281 | $this->add_control( |
| 301 | 282 | 'image_spacing_custom', |
| 302 | 283 | [ |
| 303 | - 'label' => esc_html__( 'Custom Gap', 'elementor' ), | |
| 284 | + 'label' => esc_html__( 'Custom Spacing', 'elementor' ), | |
| 304 | 285 | 'type' => Controls_Manager::SLIDER, |
| 305 | 286 | 'size_units' => [ 'px', 'em', 'rem', 'custom' ], |
| 306 | 287 | 'range' => [ |
| 307 | 288 | 'px' => [ |
| @@ -366,10 +347,10 @@ | ||
| 366 | 347 | [ |
| 367 | 348 | 'label' => esc_html__( 'Alignment', 'elementor' ), |
| 368 | 349 | 'type' => Controls_Manager::CHOOSE, |
| 369 | 350 | 'options' => [ |
| 370 | - 'start' => [ | |
| 371 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 351 | + 'left' => [ | |
| 352 | + 'title' => esc_html__( 'Left', 'elementor' ), | |
| 372 | 353 | 'icon' => 'eicon-text-align-left', |
| 373 | 354 | ], |
| 374 | 355 | 'center' => [ |
| 375 | 356 | 'title' => esc_html__( 'Center', 'elementor' ), |
| @@ -374,10 +355,10 @@ | ||
| 374 | 355 | 'center' => [ |
| 375 | 356 | 'title' => esc_html__( 'Center', 'elementor' ), |
| 376 | 357 | 'icon' => 'eicon-text-align-center', |
| 377 | 358 | ], |
| 378 | - 'end' => [ | |
| 379 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 359 | + 'right' => [ | |
| 360 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 380 | 361 | 'icon' => 'eicon-text-align-right', |
| 381 | 362 | ], |
| 382 | 363 | 'justify' => [ |
| 383 | 364 | 'title' => esc_html__( 'Justified', 'elementor' ), |
| @@ -382,13 +363,8 @@ | ||
| 382 | 363 | 'justify' => [ |
| 383 | 364 | 'title' => esc_html__( 'Justified', 'elementor' ), |
| 384 | 365 | 'icon' => 'eicon-text-align-justify', |
| 385 | 366 | ], |
| 386 | - ], | |
| 387 | - 'classes' => 'elementor-control-start-end', | |
| 388 | - 'selectors_dictionary' => [ | |
| 389 | - 'left' => is_rtl() ? 'end' : 'start', | |
| 390 | - 'right' => is_rtl() ? 'start' : 'end', | |
| 391 | 367 | ], |
| 392 | 368 | 'default' => 'center', |
| 393 | 369 | 'selectors' => [ |
| 394 | 370 | '{{WRAPPER}} .gallery-item .gallery-caption' => 'text-align: {{VALUE}};', |