converted text domain to string instead of constant

This commit is contained in:
Jonathan Labreuille
2016-09-30 09:58:26 +02:00
parent 42202f676a
commit 7fbf84db1f
57 changed files with 365 additions and 366 deletions

View File

@@ -15,9 +15,9 @@ class Widget extends \WP_Widget {
function __construct () {
return parent::__construct(
'mailpoet_form',
__('MailPoet Form', MAILPOET),
__('MailPoet Form', 'mailpoet'),
array(
'description' => __('Add a newsletter subscription form', MAILPOET)
'description' => __('Add a newsletter subscription form', 'mailpoet')
)
);
}
@@ -40,7 +40,7 @@ class Widget extends \WP_Widget {
$instance = wp_parse_args(
(array)$instance,
array(
'title' => __("Subscribe to Our Newsletter", MAILPOET)
'title' => __("Subscribe to Our Newsletter", 'mailpoet')
)
);