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

@@ -9,8 +9,8 @@ class Pages {
function init() {
register_post_type('mailpoet_page', array(
'labels' => array(
'name' => __('MailPoet Page', MAILPOET),
'singular_name' => __('MailPoet Page', MAILPOET)
'name' => __('MailPoet Page', 'mailpoet'),
'singular_name' => __('MailPoet Page', 'mailpoet')
),
'public' => true,
'has_archive' => false,
@@ -34,7 +34,7 @@ class Pages {
'post_type' => 'mailpoet_page',
'post_author' => 1,
'post_content' => '[mailpoet_page]',
'post_title' => __('MailPoet Page', MAILPOET),
'post_title' => __('MailPoet Page', 'mailpoet'),
'post_name' => 'subscriptions'
));
flush_rewrite_rules();