← All changes
|
modules/link-in-bio/base/widget-link-in-bio-base.php
+6
-9
4.3.1
→
3.28.0-dev2
View file →
| @@ -223,11 +223,10 @@ | ||
| 223 | 223 | [ |
| 224 | 224 | 'type' => Controls_Manager::ALERT, |
| 225 | 225 | 'alert_type' => 'info', |
| 226 | 226 | 'content' => sprintf( |
| 227 | - /* translators: %s: Maximum number of images allowed. */ | |
| 228 | - esc_html__( 'Add up to %s Images', 'elementor' ), | |
| 229 | - '<b>' . $config['content']['image_links_section']['images_max'] . '</b>' | |
| 227 | + __( 'Add up to <b>%d</b> Images', 'elementor' ), | |
| 228 | + $config['content']['image_links_section']['images_max'] | |
| 230 | 229 | ), |
| 231 | 230 | ] |
| 232 | 231 | ); |
| 233 | 232 | } |
| @@ -311,11 +310,10 @@ | ||
| 311 | 310 | [ |
| 312 | 311 | 'type' => Controls_Manager::ALERT, |
| 313 | 312 | 'alert_type' => 'info', |
| 314 | 313 | 'content' => sprintf( |
| 315 | - /* translators: %s: Maximum number of CTA links allowed. */ | |
| 316 | - esc_html__( 'Add up to %s CTA links', 'elementor' ), | |
| 317 | - '<b>' . $config['content']['cta_section']['cta_max'] . '</b>' | |
| 314 | + __( 'Add up to <b>%d</b> CTA links', 'elementor' ), | |
| 315 | + $config['content']['cta_section']['cta_max'] | |
| 318 | 316 | ), |
| 319 | 317 | ] |
| 320 | 318 | ); |
| 321 | 319 | } |
| @@ -567,11 +565,10 @@ | ||
| 567 | 565 | [ |
| 568 | 566 | 'type' => Controls_Manager::ALERT, |
| 569 | 567 | 'alert_type' => 'info', |
| 570 | 568 | 'content' => sprintf( |
| 571 | - /* translators: %s: Maximum number of icons allowed. */ | |
| 572 | - esc_html__( 'Add up to %s icons', 'elementor' ), | |
| 573 | - '<b>' . $config['content']['icon_section']['platform']['limit'] . '</b>' | |
| 569 | + __( 'Add up to <b>%d</b> icons', 'elementor' ), | |
| 570 | + $config['content']['icon_section']['platform']['limit'] | |
| 574 | 571 | ), |
| 575 | 572 | ] |
| 576 | 573 | ); |
| 577 | 574 | } |