| @@ -56,18 +56,18 @@ | ||
| 56 | 56 | protected function init_fields() { |
| 57 | 57 | $fields = []; |
| 58 | 58 | |
| 59 | 59 | $fields['border'] = [ |
| 60 | - 'label' => esc_html__( 'Border Type', 'elementor' ), | |
| 60 | + 'label' => esc_html_x( 'Border Type', 'Border Control', 'elementor' ), | |
| 61 | 61 | 'type' => Controls_Manager::SELECT, |
| 62 | 62 | 'options' => [ |
| 63 | 63 | '' => esc_html__( 'Default', 'elementor' ), |
| 64 | 64 | 'none' => esc_html__( 'None', 'elementor' ), |
| 65 | - 'solid' => esc_html__( 'Solid', 'elementor' ), | |
| 66 | - 'double' => esc_html__( 'Double', 'elementor' ), | |
| 67 | - 'dotted' => esc_html__( 'Dotted', 'elementor' ), | |
| 68 | - 'dashed' => esc_html__( 'Dashed', 'elementor' ), | |
| 69 | - 'groove' => esc_html__( 'Groove', 'elementor' ), | |
| 65 | + 'solid' => esc_html_x( 'Solid', 'Border Control', 'elementor' ), | |
| 66 | + 'double' => esc_html_x( 'Double', 'Border Control', 'elementor' ), | |
| 67 | + 'dotted' => esc_html_x( 'Dotted', 'Border Control', 'elementor' ), | |
| 68 | + 'dashed' => esc_html_x( 'Dashed', 'Border Control', 'elementor' ), | |
| 69 | + 'groove' => esc_html_x( 'Groove', 'Border Control', 'elementor' ), | |
| 70 | 70 | ], |
| 71 | 71 | 'selectors' => [ |
| 72 | 72 | '{{SELECTOR}}' => 'border-style: {{VALUE}};', |
| 73 | 73 | ], |
| @@ -73,11 +73,10 @@ | ||
| 73 | 73 | ], |
| 74 | 74 | ]; |
| 75 | 75 | |
| 76 | 76 | $fields['width'] = [ |
| 77 | - 'label' => esc_html__( 'Border Width', 'elementor' ), | |
| 77 | + 'label' => esc_html_x( 'Width', 'Border Control', 'elementor' ), | |
| 78 | 78 | 'type' => Controls_Manager::DIMENSIONS, |
| 79 | - 'size_units' => [ 'px', 'em', 'rem', 'vw', 'custom' ], | |
| 80 | 79 | 'selectors' => [ |
| 81 | 80 | '{{SELECTOR}}' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', |
| 82 | 81 | ], |
| 83 | 82 | 'condition' => [ |
| @@ -86,9 +85,9 @@ | ||
| 86 | 85 | 'responsive' => true, |
| 87 | 86 | ]; |
| 88 | 87 | |
| 89 | 88 | $fields['color'] = [ |
| 90 | - 'label' => esc_html__( 'Border Color', 'elementor' ), | |
| 89 | + 'label' => esc_html_x( 'Color', 'Border Control', 'elementor' ), | |
| 91 | 90 | 'type' => Controls_Manager::COLOR, |
| 92 | 91 | 'default' => '', |
| 93 | 92 | 'selectors' => [ |
| 94 | 93 | '{{SELECTOR}}' => 'border-color: {{VALUE}};', |