← All changes
|
modules/floating-buttons/base/widget-contact-button-base.php
+5
-7
4.3.0
→
3.28.0-dev2
View file →
| @@ -747,12 +747,11 @@ | ||
| 747 | 747 | [ |
| 748 | 748 | 'type' => Controls_Manager::ALERT, |
| 749 | 749 | 'alert_type' => 'info', |
| 750 | 750 | 'content' => sprintf( |
| 751 | - /* translators: 1: Minimum items, 2: Items limit. */ | |
| 752 | - esc_html__( 'Add between %1$s to %2$s contact buttons', 'elementor' ), | |
| 753 | - '<b>' . $config['content']['contact_section']['platform']['min_items'] . '</b>', | |
| 754 | - '<b>' . $config['content']['contact_section']['platform']['limit'] . '</b>' | |
| 751 | + __( 'Add between <b>%1$d</b> to <b>%2$d</b> contact buttons', 'elementor' ), | |
| 752 | + $config['content']['contact_section']['platform']['min_items'], | |
| 753 | + $config['content']['contact_section']['platform']['limit'] | |
| 755 | 754 | ), |
| 756 | 755 | ] |
| 757 | 756 | ); |
| 758 | 757 | } else { |
| @@ -761,11 +760,10 @@ | ||
| 761 | 760 | [ |
| 762 | 761 | 'type' => Controls_Manager::ALERT, |
| 763 | 762 | 'alert_type' => 'info', |
| 764 | 763 | 'content' => sprintf( |
| 765 | - /* translators: %s: Items limit. */ | |
| 766 | - esc_html__( 'Add up to %s contact buttons', 'elementor' ), | |
| 767 | - '<b>' . $config['content']['contact_section']['platform']['limit'] . '</b>' | |
| 764 | + __( 'Add up to <b>%d</b> contact buttons', 'elementor' ), | |
| 765 | + $config['content']['contact_section']['platform']['limit'] | |
| 768 | 766 | ), |
| 769 | 767 | ] |
| 770 | 768 | ); |
| 771 | 769 | } |