diff --git a/classes/class-pmpromc-mailchimp-api.php b/classes/class-pmpromc-mailchimp-api.php index ac2c4a6..ea47224 100644 --- a/classes/class-pmpromc-mailchimp-api.php +++ b/classes/class-pmpromc-mailchimp-api.php @@ -112,6 +112,7 @@ public function connect() { case 401: $this->set_error_msg( $response, + /* translators: %s - Mailchimp API response message */ __('Sorry, but Mailchimp was unable to verify your API key. Mailchimp gave this response:

%s

Please try entering your API key again.', 'pmpro-mailchimp') ); return false; @@ -120,6 +121,7 @@ public function connect() { default: $this->set_error_msg( $response, + /* translators: %s - Mailchimp API response message */ __('Error while communicating with the Mailchimp servers:

%s

', 'pmpro-mailchimp') ); return false; diff --git a/includes/settings.php b/includes/settings.php index 892552c..738fa8b 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -67,7 +67,12 @@ function pmpromc_options_page()

-

Paid Memberships Pro installed, you can subscribe members to one or more Mailchimp audiences based on their membership level or specify "Opt-in Audiences" that members can select at membership checkout. Get a Free Mailchimp account.', 'pmpro-mailchimp'), 'https://www.paidmembershipspro.com', 'http://eepurl.com/k4aAH');?>

+

+ Paid Memberships Pro installed, you can subscribe members to one or more Mailchimp audiences based on their membership level or specify "Opt-in Audiences" that members can select at membership checkout. Get a Free Mailchimp account.', 'pmpro-mailchimp'), 'https://www.paidmembershipspro.com', 'http://eepurl.com/k4aAH'); + ?> +


@@ -101,7 +106,12 @@ function pmpromc_options_page()
  • -

    click here to read our documentation on importing existing members into Mailchimp.', 'pmpro-mailchimp'), 'http://www.paidmembershipspro.com/import-level-name-id-existing-members-using-new-merge-fields-pmpro-mailchimp-v2-0/');?>

    +

    + click here to read our documentation on importing existing members into Mailchimp.', 'pmpro-mailchimp'), 'http://www.paidmembershipspro.com/import-level-name-id-existing-members-using-new-merge-fields-pmpro-mailchimp-v2-0/'); + ?> +

    @@ -132,7 +142,7 @@ function pmpromc_update_export_link() {
    - +
    @@ -367,7 +377,11 @@ function pmpromc_option_logging_enabled() { -

    ' . esc_html( pmpromc_get_log_file_path() ) . '' ); ?> +

    + ' . esc_html( pmpromc_get_log_file_path() ) . '' ); + ?>

    -

    created some levels in Paid Memberships Pro, you will be able to assign Mailchimp audiences to them here.", 'pmpro-mailchimp'), 'admin.php?page=pmpro-membershiplevels');?>

    +

    + created some levels in Paid Memberships Pro, you will be able to assign Mailchimp audiences to them here.", 'pmpro-mailchimp'), 'admin.php?page=pmpro-membershiplevels'); + ?> +

    @@ -399,12 +418,22 @@ function pmpromc_section_levels() if (file_exists(dirname(__FILE__) . "/../paid-memberships-pro/paid-memberships-pro.php")) { //just deactivated ?> -

    Activate Paid Memberships Pro to add membership functionality to your site and finer control over your Mailchimp audiences.', 'pmpro-mailchimp'), 'plugins.php?plugin_status=inactive');?>

    +

    + Activate Paid Memberships Pro to add membership functionality to your site and finer control over your Mailchimp audiences.', 'pmpro-mailchimp'), 'plugins.php?plugin_status=inactive'); + ?> +

    -

    Install Paid Memberships Pro to add membership functionality to your site and finer control over your Mailchimp audiences.', 'pmpro-mailchimp'), 'plugin-install.php?tab=search&type=term&s=paid+memberships+pro&plugin-search-input=Search+Plugins');?>

    +

    + Install Paid Memberships Pro to add membership functionality to your site and finer control over your Mailchimp audiences.', 'pmpro-mailchimp'), 'plugin-install.php?tab=search&type=term&s=paid+memberships+pro&plugin-search-input=Search+Plugins'); + ?> +