| @@ -46,12 +46,12 @@ | ||
| 46 | 46 | <# |
| 47 | 47 | } |
| 48 | 48 | let notice = wp.i18n.sprintf( wp.i18n.__( 'The <strong>%1$s</strong> widget has been deprecated since %2$s %3$s.', 'elementor' ), data.widget, data.plugin, data.since ); |
| 49 | 49 | if ( data.replacement ) { |
| 50 | - notice += '<br>' + wp.i18n.sprintf( wp.i18n.__( 'It has been replaced by <strong>%1$s</strong>.', 'elementor' ), data.replacement ); | |
| 50 | + notice += '<br>' + wp.i18n.sprintf( <?php __( 'It has been replaced by <strong>%1$s</strong>.', 'elementor' ); ?>, data.replacement ); | |
| 51 | 51 | } |
| 52 | 52 | if ( data.last ) { |
| 53 | - notice += '<br>' + wp.i18n.sprintf( wp.i18n.__( 'Note that %1$s will be completely removed once %2$s %3$s is released.', 'elementor' ), data.widget, data.plugin, data.last ); | |
| 53 | + notice += '<br>' + wp.i18n.sprintf( <?php __( 'Note that %1$s will be completely removed once %2$s %3$s is released.', 'elementor' ); ?>, data.widget, data.plugin, data.last ); | |
| 54 | 54 | } |
| 55 | 55 | #> |
| 56 | 56 | <div class="elementor-control-deprecated-notice elementor-panel-alert elementor-panel-alert-warning">{{{ notice }}}</div> |
| 57 | 57 | <?php |