| @@ -3,10 +3,9 @@ | ||
| 3 | 3 | protected $message = ""; |
| 4 | 4 | |
| 5 | 5 | public function __construct($message = "") { |
| 6 | 6 | if(empty($message)) { |
| 7 | - // translators: %element% is the field label. | |
| 8 | - $this->message = __( "Attention: '%element%' must be a color in hexadecimal format like '#0080FF'.", 'contact-forms' ); | |
| 7 | + $this->message = __("Attention: '%element%' must be a color in hexadecimal format like '#0080FF'.", 'contact-forms'); | |
| 9 | 8 | } else { |
| 10 | 9 | $this->message = $message; |
| 11 | 10 | } |
| 12 | 11 | } |