| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | use Elementor\Settings; |
| 5 | 5 | use Elementor\Tools; |
| 6 | 6 | |
| 7 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 8 | - exit; // Exit if accessed directly. | |
| 8 | + exit; // Exit if accessed directly | |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | class Inspector { |
| 12 | 12 | |
| @@ -45,17 +45,17 @@ | ||
| 45 | 45 | */ |
| 46 | 46 | public function register_admin_tools_fields( Tools $tools ) { |
| 47 | 47 | $tools->add_fields( Settings::TAB_GENERAL, 'tools', [ |
| 48 | 48 | 'enable_inspector' => [ |
| 49 | - 'label' => esc_html__( 'Debug Bar', 'elementor' ), | |
| 49 | + 'label' => __( 'Debug Bar', 'elementor' ), | |
| 50 | 50 | 'field_args' => [ |
| 51 | 51 | 'type' => 'select', |
| 52 | 52 | 'std' => $this->is_enabled ? 'enable' : '', |
| 53 | 53 | 'options' => [ |
| 54 | - '' => esc_html__( 'Disable', 'elementor' ), | |
| 55 | - 'enable' => esc_html__( 'Enable', 'elementor' ), | |
| 54 | + '' => __( 'Disable', 'elementor' ), | |
| 55 | + 'enable' => __( 'Enable', 'elementor' ), | |
| 56 | 56 | ], |
| 57 | - 'desc' => esc_html__( 'Debug Bar adds an admin bar menu that lists all the templates that are used on a page that is being displayed.', 'elementor' ), | |
| 57 | + 'desc' => __( 'Debug Bar adds an admin bar menu that lists all the templates that are used on a page that is being displayed.', 'elementor' ), | |
| 58 | 58 | ], |
| 59 | 59 | ], |
| 60 | 60 | ] ); |
| 61 | 61 | } |
| @@ -111,9 +111,9 @@ | ||
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | $wp_admin_bar->add_node( [ |
| 114 | 114 | 'id' => 'elementor_inspector', |
| 115 | - 'title' => esc_html__( 'Elementor Debugger', 'elementor' ), | |
| 115 | + 'title' => __( 'Elementor Debugger', 'elementor' ), | |
| 116 | 116 | ] ); |
| 117 | 117 | |
| 118 | 118 | foreach ( $this->log as $module => $log ) { |
| 119 | 119 | $module_id = sanitize_key( $module ); |