Skip to content

corrected 42 mismatched text domains in 7 files #780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
30 changes: 15 additions & 15 deletions includes/Classes/Plugin_Usage_Tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public function get_data() {
*/
$plugin = $this->plugin_data();
if( empty( $plugin ) ) {
$body['message'] .= __( 'We can\'t detect any plugin information. This is most probably because you have not included the code in the plugin main file.', 'disable-comments' );
$body['message'] .= __( 'We can\'t detect any plugin information. This is most probably because you have not included the code in the plugin main file.', 'essential-addons-for-elementor-lite' );
$body['status'] = 'NOT FOUND';
} else {
if( isset( $plugin['Name'] ) ) {
Expand Down Expand Up @@ -648,9 +648,9 @@ public function notice() {
*/
public function set_notice_options( $options = [] ){
$default_options = [
'consent_button_text' => __( 'What we collect.', 'disable-comments' ),
'yes' => __( 'Sure, I\'d like to help', 'disable-comments' ),
'no' => __( 'No Thanks.', 'disable-comments' ),
'consent_button_text' => __( 'What we collect.', 'essential-addons-for-elementor-lite' ),
'yes' => __( 'Sure, I\'d like to help', 'essential-addons-for-elementor-lite' ),
'no' => __( 'No Thanks.', 'essential-addons-for-elementor-lite' ),
];
$options = wp_parse_args( $options, $default_options );
$this->notice_options = $options;
Expand Down Expand Up @@ -747,20 +747,20 @@ public function deactivate_action_links( $links ) {
*/
public function deactivation_reasons() {
$form = array();
$form['heading'] = __( 'We Value Your Feedback', 'disable-comments' );
$form['body'] = __( "Could you please tell us why you're deactivating our plugin? Your insights will help us to improve.", 'disable-comments' );
$form['heading'] = __( 'We Value Your Feedback', 'essential-addons-for-elementor-lite' );
$form['body'] = __( "Could you please tell us why you're deactivating our plugin? Your insights will help us to improve.", 'essential-addons-for-elementor-lite' );

$form['options'] = array(
__( 'I no longer need the plugin', 'disable-comments' ),
__( 'I no longer need the plugin', 'essential-addons-for-elementor-lite' ),
[
'label' => __( 'I found a better plugin', 'disable-comments' ),
'extra_field' => __( 'Please share which plugin', 'disable-comments' )
'label' => __( 'I found a better plugin', 'essential-addons-for-elementor-lite' ),
'extra_field' => __( 'Please share which plugin', 'essential-addons-for-elementor-lite' )
],
__( "I couldn't get the plugin to work", 'disable-comments' ),
__( 'It\'s a temporary deactivation', 'disable-comments' ),
__( "I couldn't get the plugin to work", 'essential-addons-for-elementor-lite' ),
__( 'It\'s a temporary deactivation', 'essential-addons-for-elementor-lite' ),
[
'label' => __( 'Other', 'disable-comments' ),
'extra_field' => __( 'Please share the reason', 'disable-comments' ),
'label' => __( 'Other', 'essential-addons-for-elementor-lite' ),
'extra_field' => __( 'Please share the reason', 'essential-addons-for-elementor-lite' ),
'type' => 'textarea'
]
);
Expand Down Expand Up @@ -802,7 +802,7 @@ public function deactivate_reasons_form() {
$html .= '</ul></div><!-- .wpinsights-'. $class_plugin_name .'-goodbye-options -->';
}
$html .= '</div><!-- .wpinsights-goodbye-form-body -->';
$html .= '<p class="deactivating-spinner"><span class="spinner"></span> ' . __( 'Submitting form', 'disable-comments' ) . '</p>';
$html .= '<p class="deactivating-spinner"><span class="spinner"></span> ' . __( 'Submitting form', 'essential-addons-for-elementor-lite' ) . '</p>';

$wrapper_class = '.wpinsights-goodbye-form-wrapper-'. $class_plugin_name;

Expand Down Expand Up @@ -1045,7 +1045,7 @@ public function deactivate_reasons_form() {
var url = document.getElementById("wpinsights-goodbye-link-<?php echo $class_plugin_name; ?>");
$('body').toggleClass('wpinsights-form-active-<?php echo $class_plugin_name; ?>');
$(".wpinsights-goodbye-form-wrapper-<?php echo $class_plugin_name; ?> #wpinsights-goodbye-form").fadeIn();
$(".wpinsights-goodbye-form-wrapper-<?php echo $class_plugin_name; ?> #wpinsights-goodbye-form").html( '<?php echo $html; ?>' + '<div class="wpinsights-goodbye-form-footer"><div class="wpinsights-goodbye-form-buttons"><a id="wpinsights-submit-form-<?php echo $class_plugin_name; ?>" class="wpinsights-submit-btn" href="#"><?php _e( 'Submit and Deactivate', 'disable-comments' ); ?></a>&nbsp;<a class="wpsp-put-deactivate-btn" href="'+url+'"><?php _e( 'Just Deactivate', 'disable-comments' ); ?></a></div></div>');
$(".wpinsights-goodbye-form-wrapper-<?php echo $class_plugin_name; ?> #wpinsights-goodbye-form").html( '<?php echo $html; ?>' + '<div class="wpinsights-goodbye-form-footer"><div class="wpinsights-goodbye-form-buttons"><a id="wpinsights-submit-form-<?php echo $class_plugin_name; ?>" class="wpinsights-submit-btn" href="#"><?php _e( 'Submit and Deactivate', 'essential-addons-for-elementor-lite' ); ?></a>&nbsp;<a class="wpsp-put-deactivate-btn" href="'+url+'"><?php _e( 'Just Deactivate', 'essential-addons-for-elementor-lite' ); ?></a></div></div>');
$('#wpinsights-submit-form-<?php echo $class_plugin_name; ?>').on('click', function(e){
// As soon as we click, the body of the form should disappear
$("#wpinsights-goodbye-form-<?php echo $class_plugin_name; ?> .wpinsights-goodbye-form-body").fadeOut();
Expand Down
2 changes: 1 addition & 1 deletion includes/Elements/Dual_Color_Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ protected function register_controls()
$this->add_control(
'eael_dch_separator_icon',
[
'label' => __('Icon', 'text-domain'),
'label' => __('Icon', 'essential-addons-for-elementor-lite'),
'type' => \Elementor\Controls_Manager::ICONS,
'default' => [
'value' => 'fas fa-star',
Expand Down
2 changes: 1 addition & 1 deletion includes/Elements/Facebook_Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ protected function register_controls()
\Elementor\Group_Control_Box_Shadow::get_type(),
[
'name' => 'eael_section_facebook_feed_hover_shadow',
'label' => __('Box Shadow', 'plugin-domain'),
'label' => __('Box Shadow', 'essential-addons-for-elementor-lite'),
'selector' => '{{WRAPPER}} .eael-facebook-feed-item-inner:hover',
]
);
Expand Down
4 changes: 2 additions & 2 deletions includes/Elements/Image_Accordion.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ protected function register_controls() {
[
'label' => esc_html__( 'Enable Title Link', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::SWITCHER,
'label_on' => __( 'Show', 'your-plugin' ),
'label_off' => __( 'Hide', 'your-plugin' ),
'label_on' => __( 'Show', 'essential-addons-for-elementor-lite' ),
'label_off' => __( 'Hide', 'essential-addons-for-elementor-lite' ),
'return_value' => 'yes',
'default' => 'yes',
]
Expand Down
6 changes: 3 additions & 3 deletions includes/Elements/Pricing_Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ protected function register_controls()
$repeater->add_control(
'eael_pricing_item_tooltip_heading',
[
'label' => esc_html__( 'Tooltip', 'textdomain' ),
'label' => esc_html__( 'Tooltip', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::HEADING,
'separator' => 'before',
]
Expand Down Expand Up @@ -1051,7 +1051,7 @@ protected function register_controls()
$this->add_control(
'eael_pricing_table_header_radius',
[
'label' => __('Radius', 'essential-addons-elementor-lite'),
'label' => __('Radius', 'essential-addons-for-elementor-lite'),
'type' => Controls_Manager::DIMENSIONS,
'size_units' => ['px', '%', 'em'],
'selectors' => [
Expand All @@ -1066,7 +1066,7 @@ protected function register_controls()
Group_Control_Background::get_type(),
[
'name' => 'eael_pricing_table_header_bg',
'label' => __('Background', 'essential-addons-elementor-lite'),
'label' => __('Background', 'essential-addons-for-elementor-lite'),
'types' => ['classic', 'gradient'],
'selector' => '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item .header, {{WRAPPER}} .eael-pricing.style-5 .eael-pricing-item .header',
'condition' => [
Expand Down
34 changes: 17 additions & 17 deletions includes/Elements/Product_Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -707,13 +707,13 @@ protected function init_content_product_settings_controls()
$this->add_control(
'eael_product_rating_type',
[
'label' => esc_html__( 'Type', 'essential-addons-for-elementor' ),
'label' => esc_html__( 'Type', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::SELECT,
'default' => 'stars',
'options' => [
'stars' => esc_html__( '&#10029;&#10029;&#10029;&#10029;&#10027;', 'essential-addons-for-elementor' ),
'stars-number' => esc_html__( '&#10029; 4.7', 'essential-addons-for-elementor' ),
'number' => esc_html__( '4.7/5', 'essential-addons-for-elementor' ),
'stars' => esc_html__( '&#10029;&#10029;&#10029;&#10029;&#10027;', 'essential-addons-for-elementor-lite' ),
'stars-number' => esc_html__( '&#10029; 4.7', 'essential-addons-for-elementor-lite' ),
'number' => esc_html__( '4.7/5', 'essential-addons-for-elementor-lite' ),
],
'condition' => [
'eael_product_grid_rating' => 'yes',
Expand All @@ -738,13 +738,13 @@ protected function init_content_product_settings_controls()
$this->add_control(
'eael_product_sold_count_type',
[
'label' => esc_html__( 'Type', 'essential-addons-for-elementor' ),
'label' => esc_html__( 'Type', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::SELECT,
'default' => 'number',
'options' => [
'number' => esc_html__( 'Only Count', 'essential-addons-for-elementor' ),
'bar-number' => esc_html__( 'Count with Progress Bar', 'essential-addons-for-elementor' ),
'bar' => esc_html__( 'Only Progress Bar', 'essential-addons-for-elementor' ),
'number' => esc_html__( 'Only Count', 'essential-addons-for-elementor-lite' ),
'bar-number' => esc_html__( 'Count with Progress Bar', 'essential-addons-for-elementor-lite' ),
'bar' => esc_html__( 'Only Progress Bar', 'essential-addons-for-elementor-lite' ),
],
'condition' => [
'eael_product_sold_count' => 'yes',
Expand All @@ -756,7 +756,7 @@ protected function init_content_product_settings_controls()
$this->add_control(
'eael_product_sold_count_bar_width',
[
'label' => esc_html__( 'Width', 'essential-addons-for-elementor' ),
'label' => esc_html__( 'Width', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::SLIDER,
'size_units' => [ '%' ],
'range' => [
Expand All @@ -774,14 +774,14 @@ protected function init_content_product_settings_controls()
'eael_product_sold_count_type!' => 'number',
'eael_product_grid_style_preset!' => 'eael-product-default'
],
'description' => esc_html__( 'This width applied in progress bar for those products which stocks are not managed', 'essential-addons-for-elementor' ),
'description' => esc_html__( 'This width applied in progress bar for those products which stocks are not managed', 'essential-addons-for-elementor-lite' ),
]
);

$this->add_control(
'eael_product_sold_count_bar_height',
[
'label' => esc_html__( 'Height', 'essential-addons-for-elementor' ),
'label' => esc_html__( 'Height', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::SLIDER,
'size_units' => [ '%' ],
'range' => [
Expand All @@ -808,7 +808,7 @@ protected function init_content_product_settings_controls()
$this->add_control(
'eael_product_sold_count_text',
[
'label' => esc_html__( 'Text', 'essential-addons-for-elementor' ),
'label' => esc_html__( 'Text', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::TEXTAREA,
'default' => '[sold_count] Sold',
'condition' => [
Expand All @@ -819,26 +819,26 @@ protected function init_content_product_settings_controls()
'ai' => [
'active' => false
],
'description' => __( '<strong>[sold_count]</strong> Will be replaced with actual amount.', 'essential-addons-for-elementor' ),
'description' => __( '<strong>[sold_count]</strong> Will be replaced with actual amount.', 'essential-addons-for-elementor-lite' ),
]
);

$this->add_control(
'eael_product_sold_count_text_align',
[
'label' => esc_html__( 'Alignment', 'essential-addons-for-elementor' ),
'label' => esc_html__( 'Alignment', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::CHOOSE,
'options' => [
'left' => [
'title' => esc_html__( 'Left', 'essential-addons-for-elementor' ),
'title' => esc_html__( 'Left', 'essential-addons-for-elementor-lite' ),
'icon' => 'eicon-text-align-left',
],
'center' => [
'title' => esc_html__( 'Center', 'essential-addons-for-elementor' ),
'title' => esc_html__( 'Center', 'essential-addons-for-elementor-lite' ),
'icon' => 'eicon-text-align-center',
],
'right' => [
'title' => esc_html__( 'Right', 'essential-addons-for-elementor' ),
'title' => esc_html__( 'Right', 'essential-addons-for-elementor-lite' ),
'icon' => 'eicon-text-align-right',
],
],
Expand Down
4 changes: 2 additions & 2 deletions includes/Traits/Woo_Product_Comparable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ public function init_style_price_controls( $tbl = '' ) {
$this->add_control(
'price_heading',
[
'label' => __( 'Normal Price Style', 'plugin-name' ),
'label' => __( 'Normal Price Style', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::HEADING,
'separator' => 'before',
]
Expand Down Expand Up @@ -1556,7 +1556,7 @@ public function init_style_price_controls( $tbl = '' ) {
$this->add_control(
'sales_price_heading',
[
'label' => __( 'Sales Price Style', 'plugin-name' ),
'label' => __( 'Sales Price Style', 'essential-addons-for-elementor-lite' ),
'type' => Controls_Manager::HEADING,
'separator' => 'before',
]
Expand Down