summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail/PostmanWooCommerce.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Postman-Mail/PostmanWooCommerce.php')
-rw-r--r--Postman/Postman-Mail/PostmanWooCommerce.php42
1 files changed, 21 insertions, 21 deletions
diff --git a/Postman/Postman-Mail/PostmanWooCommerce.php b/Postman/Postman-Mail/PostmanWooCommerce.php
index a6a2e82..feee32e 100644
--- a/Postman/Postman-Mail/PostmanWooCommerce.php
+++ b/Postman/Postman-Mail/PostmanWooCommerce.php
@@ -28,7 +28,7 @@ if ( ! class_exists( 'PostmanWoocommerce' ) ) {
return array(
- array( 'title' => __( 'Email notifications', Postman::TEXT_DOMAIN ), 'desc' => __( 'Email notifications sent from WooCommerce are listed below. Click on an email to configure it.', Postman::TEXT_DOMAIN ), 'type' => 'title', 'id' => 'email_notification_settings' ),
+ array( 'title' => __( 'Email notifications', 'post-smtp' ), 'desc' => __( 'Email notifications sent from WooCommerce are listed below. Click on an email to configure it.', 'post-smtp' ), 'type' => 'title', 'id' => 'email_notification_settings' ),
array( 'type' => 'email_notification' ),
@@ -36,11 +36,11 @@ if ( ! class_exists( 'PostmanWoocommerce' ) ) {
array( 'type' => 'sectionend', 'id' => 'email_recipient_options' ),
- array( 'title' => __( 'Email sender options', Postman::TEXT_DOMAIN ), 'type' => 'title', 'desc' => '', 'id' => 'email_options' ),
+ array( 'title' => __( 'Email sender options', 'post-smtp' ), 'type' => 'title', 'desc' => '', 'id' => 'email_options' ),
array(
- 'title' => __( '"From" name', Postman::TEXT_DOMAIN ),
- 'desc' => __( 'How the sender name appears in outgoing WooCommerce emails.', Postman::TEXT_DOMAIN ),
+ 'title' => __( '"From" name', 'post-smtp' ),
+ 'desc' => __( 'How the sender name appears in outgoing WooCommerce emails.', 'post-smtp' ),
'id' => 'woocommerce_email_from_name',
'type' => 'text',
'css' => 'min-width:300px;',
@@ -50,8 +50,8 @@ if ( ! class_exists( 'PostmanWoocommerce' ) ) {
),
array(
- 'title' => __( '"From" address', Postman::TEXT_DOMAIN ),
- 'desc' => __( 'This is overided by the account configured on Post SMTP plugin configuration.', Postman::TEXT_DOMAIN ),
+ 'title' => __( '"From" address', 'post-smtp' ),
+ 'desc' => __( 'This is overided by the account configured on Post SMTP plugin configuration.', 'post-smtp' ),
'id' => 'woocommerce_email_from_address',
'type' => 'email',
'custom_attributes' => array(
@@ -66,26 +66,26 @@ if ( ! class_exists( 'PostmanWoocommerce' ) ) {
array( 'type' => 'sectionend', 'id' => 'email_options' ),
- array( 'title' => __( 'Email template', Postman::TEXT_DOMAIN ), 'type' => 'title', 'desc' => sprintf( __( 'This section lets you customize the WooCommerce emails. <a href="%s" target="_blank">Click here to preview your email template</a>.', Postman::TEXT_DOMAIN ), wp_nonce_url( admin_url( '?preview_woocommerce_mail=true' ), 'preview-mail' ) ), 'id' => 'email_template_options' ),
+ array( 'title' => __( 'Email template', 'post-smtp' ), 'type' => 'title', 'desc' => sprintf( __( 'This section lets you customize the WooCommerce emails. <a href="%s" target="_blank">Click here to preview your email template</a>.', 'post-smtp' ), wp_nonce_url( admin_url( '?preview_woocommerce_mail=true' ), 'preview-mail' ) ), 'id' => 'email_template_options' ),
array(
- 'title' => __( 'Header image', Postman::TEXT_DOMAIN ),
- 'desc' => __( 'URL to an image you want to show in the email header. Upload images using the media uploader (Admin > Media).', Postman::TEXT_DOMAIN ),
+ 'title' => __( 'Header image', 'post-smtp' ),
+ 'desc' => __( 'URL to an image you want to show in the email header. Upload images using the media uploader (Admin > Media).', 'post-smtp' ),
'id' => 'woocommerce_email_header_image',
'type' => 'text',
'css' => 'min-width:300px;',
- 'placeholder' => __( 'N/A', Postman::TEXT_DOMAIN ),
+ 'placeholder' => __( 'N/A', 'post-smtp' ),
'default' => '',
'autoload' => false,
'desc_tip' => true,
),
array(
- 'title' => __( 'Footer text', Postman::TEXT_DOMAIN ),
- 'desc' => __( 'The text to appear in the footer of WooCommerce emails.', Postman::TEXT_DOMAIN ),
+ 'title' => __( 'Footer text', 'post-smtp' ),
+ 'desc' => __( 'The text to appear in the footer of WooCommerce emails.', 'post-smtp' ),
'id' => 'woocommerce_email_footer_text',
'css' => 'width:300px; height: 75px;',
- 'placeholder' => __( 'N/A', Postman::TEXT_DOMAIN ),
+ 'placeholder' => __( 'N/A', 'post-smtp' ),
'type' => 'textarea',
/* translators: %s: site name */
'default' => get_bloginfo( 'name', 'display' ),
@@ -94,9 +94,9 @@ if ( ! class_exists( 'PostmanWoocommerce' ) ) {
),
array(
- 'title' => __( 'Base color', Postman::TEXT_DOMAIN ),
+ 'title' => __( 'Base color', 'post-smtp' ),
/* translators: %s: default color */
- 'desc' => sprintf( __( 'The base color for WooCommerce email templates. Default %s.', Postman::TEXT_DOMAIN ), '<code>#96588a</code>' ),
+ 'desc' => sprintf( __( 'The base color for WooCommerce email templates. Default %s.', 'post-smtp' ), '<code>#96588a</code>' ),
'id' => 'woocommerce_email_base_color',
'type' => 'color',
'css' => 'width:6em;',
@@ -106,9 +106,9 @@ if ( ! class_exists( 'PostmanWoocommerce' ) ) {
),
array(
- 'title' => __( 'Background color', Postman::TEXT_DOMAIN ),
+ 'title' => __( 'Background color', 'post-smtp' ),
/* translators: %s: default color */
- 'desc' => sprintf( __( 'The background color for WooCommerce email templates. Default %s.', Postman::TEXT_DOMAIN ), '<code>#f7f7f7</code>' ),
+ 'desc' => sprintf( __( 'The background color for WooCommerce email templates. Default %s.', 'post-smtp' ), '<code>#f7f7f7</code>' ),
'id' => 'woocommerce_email_background_color',
'type' => 'color',
'css' => 'width:6em;',
@@ -118,9 +118,9 @@ if ( ! class_exists( 'PostmanWoocommerce' ) ) {
),
array(
- 'title' => __( 'Body background color', Postman::TEXT_DOMAIN ),
+ 'title' => __( 'Body background color', 'post-smtp' ),
/* translators: %s: default color */
- 'desc' => sprintf( __( 'The main body background color. Default %s.', Postman::TEXT_DOMAIN ), '<code>#ffffff</code>' ),
+ 'desc' => sprintf( __( 'The main body background color. Default %s.', 'post-smtp' ), '<code>#ffffff</code>' ),
'id' => 'woocommerce_email_body_background_color',
'type' => 'color',
'css' => 'width:6em;',
@@ -130,9 +130,9 @@ if ( ! class_exists( 'PostmanWoocommerce' ) ) {
),
array(
- 'title' => __( 'Body text color', Postman::TEXT_DOMAIN ),
+ 'title' => __( 'Body text color', 'post-smtp' ),
/* translators: %s: default color */
- 'desc' => sprintf( __( 'The main body text color. Default %s.', Postman::TEXT_DOMAIN ), '<code>#3c3c3c</code>' ),
+ 'desc' => sprintf( __( 'The main body text color. Default %s.', 'post-smtp' ), '<code>#3c3c3c</code>' ),
'id' => 'woocommerce_email_text_color',
'type' => 'color',
'css' => 'width:6em;',