Plugin Directory

Changeset 2774938


Ignore:
Timestamp:
08/24/2022 01:33:52 PM (4 years ago)
Author:
EmailOctopus
Message:

Adding version 3.0.0.

Location:
emailoctopus
Files:
51 added
17 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • emailoctopus/trunk/emailoctopus.php

    r2467399 r2774938  
    44 * Plugin URI:        https://emailoctopus.com
    55 * Description:       Email marketing widget; easily add subscribers to an EmailOctopus list. Fully customisable.
    6  * Version:           2.2.2
     6 * Version:           3.0.0
    77 * Author:            EmailOctopus
    88 * Author URI:        https://emailoctopus.com
     
    1111 * License URI:       http://www.gnu.org/licenses/gpl-2.0.txt
    1212 * Domain Path:       /languages
     13 * Requires PHP:      7.4
    1314 */
    1415
    1516// Exit if accessed directly.
    16 if (!defined('ABSPATH')) {
     17if ( ! defined( 'ABSPATH' ) )
     18{
    1719    exit;
    1820}
    1921
    20 // If the user does not have a sufficient version of PHP, exit.
    21 if (version_compare(PHP_VERSION, '5.6.0', '<')) {
    22     /**
    23      * Add admin message about old version of PHP.
    24      *
    25      * Prints an update nag when site uses PHP version prior to 5.6.
    26      *
    27      * @TODO: Once plugin requires WP 5.2+, switch to built-in function validate_plugin_requirements().
    28      */
    29     function emailoctopus_upgrade_notice()
    30     {
    31         // Only to administrators.
    32         if (!current_user_can('activate_plugins')){
    33             return;
    34         }
    35         $error_message = sprintf(
    36             /* translators: 1: Current PHP version, 2: Required PHP version. */
    37             __('<strong>Error:</strong> Current PHP version (%1$s) does not meet minimum requirements for EmailOctopus. The plugin requires PHP %2$s.', 'emailoctopus'),
    38             phpversion(),
    39             '5.6'
    40         );
    41         $php_update_message = sprintf(
    42             /* translators: %s: URL to Update PHP page. */
    43             __('<a href="%s">Learn more about updating PHP</a>.', 'emailoctopus'),
    44             esc_url(_x('https://wordpress.org/support/update-php/', 'localized PHP upgrade information page', 'emailoctopus'))
    45         );
    46         printf('<div class="error"><p>%s</p><p>%s</p></div>', $error_message, $php_update_message);
    47     }
    48     add_action('all_admin_notices', 'emailoctopus_upgrade_notice');
    49     return;
     22if ( version_compare( PHP_VERSION, '7.4', '<' ) ) {
     23    deactivate_plugins( plugin_basename( __FILE__ ) );
     24    wp_die( esc_html__( 'EmailOctopus requires PHP version 7.4 or higher.', 'emailoctopus' ) );
    5025}
    5126
    52 use EmailOctopus\Admin\Admin_Container as Admin;
    53 use EmailOctopus\Frontend\Frontend_Container as Frontend;
     27define( 'EMAILOCTOPUS_VERSION', '3.0.0' );
     28define( 'EMAILOCTOPUS_FILE', __FILE__ );
     29define( 'EMAILOCTOPUS_DIR', plugin_dir_path( EMAILOCTOPUS_FILE ) );
     30define( 'EMAILOCTOPUS_URL', plugin_dir_url( EMAILOCTOPUS_FILE ) );
    5431
    55 if (!class_exists('EmailOctopus')) :
     32$emailoctopus_autoloader = dirname( EMAILOCTOPUS_FILE ) . '/vendor/autoload.php';
     33$emailoctopus_functions  = dirname( EMAILOCTOPUS_FILE ) . '/functions.php';
    5634
    57     /**
    58      * Main plugin class.
    59      */
    60     final class EmailOctopus
    61     {
    62         private static $instance = null;
    63         private $slug = 'emailoctopus';
    64         private $url = '';
    65         private $file = __FILE__;
     35if ( ! is_readable( $emailoctopus_autoloader ) )
     36{
     37    /* Translators: Placeholder is the current directory. */
     38    throw new Exception( sprintf( __( 'Please run `composer install` in the plugin folder "%s" and try activating this plugin again.', 'emailoctopus' ), dirname( EMAILOCTOPUS_FILE ) ) );
     39}
    6640
    67         /**
    68          * Holds admin container class instance.
    69          *
    70          * @var \EmailOctopus\Admin\Admin_Container
    71          */
    72         public $admin;
     41require_once $emailoctopus_autoloader;
     42require_once $emailoctopus_functions;
    7343
    74         /**
    75          * Holds frontend container class instance.
    76          *
    77          * @var \EmailOctopus\Frontend\Frontend_Container
    78          */
    79         public $public;
     44$emailoctopus_plugin = \EmailOctopus\Plugin::get_instance();
    8045
    81         /**
    82          * Class constructor.
    83          *
    84          * Set up internationalization, auto-loader, and plugin initialization.
    85          */
    86         private function __construct()
    87         {
    88             // Init internationalization.
    89             load_plugin_textdomain('emailoctopus', false, dirname(plugin_basename(__FILE__)) . '/languages/');
    90 
    91             // Load the plugin.
    92             add_action('init', [$this, 'init'], 0);
    93         }
    94 
    95         /**
    96          * Retrieve a class instance.
    97          *
    98          * @return EmailOctopus Instance of the class.
    99          */
    100         public static function get_instance()
    101         {
    102             if (!isset(self::$instance) && !(self::$instance instanceof EmailOctopus)) {
    103                 self::$instance = new self();
    104                 self::$instance->setup_constants();
    105                 self::$instance->require_global();
    106             }
    107 
    108             return self::$instance;
    109         }
    110 
    111         /**
    112          * Loads all global files into scope.
    113          */
    114         public function require_global()
    115         {
    116             require_once trailingslashit(EMAILOCTOPUS_DIR) . 'Functions/common.php';
    117         }
    118 
    119         /**
    120          * Setup environmental constants for EmailOctopus.
    121          *
    122          * @return void
    123          */
    124         public function setup_constants()
    125         {
    126             $this->define('EMAILOCTOPUS_VERSION', '2.2.2');
    127             $this->define('EMAILOCTOPUS_URL', $this->url);
    128             $this->define('EMAILOCTOPUS_SLUG', $this->slug);
    129             $this->define('EMAILOCTOPUS_FILE', $this->file);
    130             $this->define('EMAILOCTOPUS_DIR', plugin_dir_path(__FILE__));
    131             $this->define('EMAILOCTOPUS_URL', plugin_dir_url(__FILE__));
    132         }
    133 
    134         /**
    135          * Replaces mb_substr.
    136          *
    137          * @static
    138          *
    139          * @param string $string The string.
    140          * @param int    $offset The offset.
    141          * @param int    $length The length.
    142          *
    143          * @return string
    144          */
    145         public static function mb_substr($string, $offset, $length)
    146         {
    147             $arr = preg_split('//u', $string);
    148             $slice = array_slice($arr, $offset + 1, $length);
    149 
    150             return implode('', $slice);
    151         }
    152 
    153         /**
    154          * Autoload function.
    155          *
    156          * @static
    157          *
    158          * @param mixed $class The class.
    159          *
    160          * @return void
    161          */
    162         public static function autoload($class)
    163         {
    164             // Prepare variables.
    165             $prefix = 'EmailOctopus';
    166             $base_dir = __DIR__ . '/';
    167             $length = mb_strlen($prefix);
    168 
    169             // If the class is not using the namespace prefix, return.
    170             if (0 !== strncmp($prefix, $class, $length)) {
    171                 return;
    172             }
    173 
    174             // Prepare classes to be autoloaded.
    175             $relative_class = self::mb_substr($class, 0, strlen($class));
    176             $relative_class = str_replace('EmailOctopus\\', '', $relative_class);
    177             $file = $base_dir . str_replace('\\', '/', $relative_class) . '.php';
    178 
    179             // If the file exists, load it.
    180             if (file_exists($file)) {
    181                 require $file;
    182             }
    183         }
    184 
    185         /**
    186          * Loads the plugin into WordPress.
    187          */
    188         public function init()
    189         {
    190             // Kick off the frontend.
    191             $this->public = new Frontend();
    192 
    193             // Load admin only components.
    194             if (is_admin()) {
    195                 // Kick off the Admin.
    196                 $this->admin = new Admin();
    197             }
    198         }
    199 
    200         /**
    201          * Helper Method to define constants.
    202          *
    203          * @param string $name  The name.
    204          * @param mixed  $value The value.
    205          *
    206          * @return void
    207          */
    208         public function define($name, $value)
    209         {
    210             if (!defined($name)) {
    211                 define($name, $value);
    212             }
    213         }
    214     }
    215 
    216     spl_autoload_register('EmailOctopus::autoload');
    217 
    218     /**
    219      * Init function.
    220      *
    221      * @return EmailOctopus
    222      */
    223     function emailoctopus_start()
    224     {
    225         return EmailOctopus::get_instance();
    226     }
    227 
    228     add_action('plugins_loaded', 'emailoctopus_start');
    229 
    230 endif;
     46$emailoctopus_plugin->run();
  • emailoctopus/trunk/languages/emailoctopus.pot

    r2467399 r2774938  
    1 # Copyright (C) 2021 EmailOctopus
    2 # This file is distributed under the same license as the EmailOctopus package.
     1# Copyright (C) 2022 EmailOctopus
     2# This file is distributed under the GPL-2.0+.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: EmailOctopus\n"
    6 "Report-Msgid-Bugs-To: https://wordpress.org/plugins/emailoctopus/\n"
     5"Project-Id-Version: EmailOctopus 3.0.0\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/emailoctopus-wordpress-plugin\n"
     7"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     8"Language-Team: LANGUAGE <[email protected]>\n"
    79"MIME-Version: 1.0\n"
    810"Content-Type: text/plain; charset=UTF-8\n"
    911"Content-Transfer-Encoding: 8bit\n"
    10 "PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
    11 "Last-Translator: EmailOctopus <[email protected]>\n"
    12 "Language-Team: EmailOctopus <[email protected]>\n"
    13 "X-Poedit-Basepath: ..\n"
    14 "X-Poedit-SourceCharset: UTF-8\n"
    15 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    16 "X-Poedit-SearchPath-0: .\n"
    17 "X-Poedit-SearchPathExcluded-0: *.js\n"
    18 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
    19 
    20 #: src/Admin/Admin_Container.php:86
    21 msgid "Please enter an API key for <a href=\"%s\">EmailOctopus</a>"
    22 msgstr ""
    23 
    24 #: src/Admin/Admin.php:410
    25 msgid "Your API key is connected."
    26 msgstr ""
    27 
    28 #: src/Admin/Admin.php:419
     12"POT-Creation-Date: 2022-08-24T12:56:19+00:00\n"
     13"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
     14"X-Generator: WP-CLI 2.6.0\n"
     15"X-Domain: emailoctopus\n"
     16
     17#. Plugin Name of the plugin
     18#. Author of the plugin
     19#: src/Admin.php:170
     20#: src/Admin.php:171
     21msgid "EmailOctopus"
     22msgstr ""
     23
     24#. Plugin URI of the plugin
     25#. Author URI of the plugin
     26msgid "https://emailoctopus.com"
     27msgstr ""
     28
     29#. Description of the plugin
     30msgid "Email marketing widget; easily add subscribers to an EmailOctopus list. Fully customisable."
     31msgstr ""
     32
     33#: emailoctopus.php:24
     34msgid "EmailOctopus requires PHP version 7.4 or higher."
     35msgstr ""
     36
     37#. Translators: Placeholder is the current directory.
     38#: emailoctopus.php:38
     39msgid "Please run `composer install` in the plugin folder \"%s\" and try activating this plugin again."
     40msgstr ""
     41
     42#: public/views/component-welcome.php:5
     43#: public/views/page-form.php:34
     44#: public/views/page-forms.php:68
     45#: public/views/page-settings.php:33
     46msgid "EmailOctopus logo"
     47msgstr ""
     48
     49#: public/views/component-welcome.php:9
     50msgid "Email marketing made easy"
     51msgstr ""
     52
     53#: public/views/component-welcome.php:13
     54msgid "To set up your forms, create an EmailOctopus account or connect an existing one."
     55msgstr ""
     56
     57#: public/views/component-welcome.php:18
     58msgid "Create an account for free"
     59msgstr ""
     60
     61#: public/views/component-welcome.php:21
     62msgid "Connect an existing account"
     63msgstr ""
     64
     65#: public/views/page-form.php:27
     66msgid "Display settings saved."
     67msgstr ""
     68
     69#: public/views/page-form.php:37
     70#: src/Admin.php:202
     71#: src/Admin.php:203
     72msgid "Form Display Settings"
     73msgstr ""
     74
     75#: public/views/page-form.php:43
     76#: public/views/page-settings.php:42
     77msgid "You'll need to enter a valid API key first."
     78msgstr ""
     79
     80#: public/views/page-form.php:45
     81msgid "Enter EmailOctopus API Key"
     82msgstr ""
     83
     84#: public/views/page-form.php:52
     85msgid "Invalid form ID."
     86msgstr ""
     87
     88#: public/views/page-form.php:54
     89#: public/views/page-form.php:68
     90#: public/views/page-form.php:75
     91msgid "Back to forms"
     92msgstr ""
     93
     94#: public/views/page-form.php:66
     95msgid "Could not load form. Check this form hasn't been deleted and that your internet connection is working."
     96msgstr ""
     97
     98#: public/views/page-form.php:73
     99msgid "<a href=\"https://emailoctopus.com/forms/embedded/"
     100msgstr ""
     101
     102#: public/views/page-form.php:86
     103#: public/views/page-forms.php:85
     104#: public/views/page-forms.php:117
     105msgid "Form"
     106msgstr ""
     107
     108#: public/views/page-form.php:91
     109#: public/views/page-form.php:125
     110msgid "Untitled"
     111msgstr ""
     112
     113#: public/views/page-form.php:95
     114msgid "hello bar"
     115msgstr ""
     116
     117#: public/views/page-form.php:98
     118msgid "inline"
     119msgstr ""
     120
     121#: public/views/page-form.php:101
     122msgid "pop-up"
     123msgstr ""
     124
     125#: public/views/page-form.php:104
     126msgid "slide-in"
     127msgstr ""
     128
     129#: public/views/page-form.php:122
     130#: public/views/page-forms.php:86
     131#: public/views/page-forms.php:118
     132msgid "List"
     133msgstr ""
     134
     135#: public/views/page-form.php:131
     136msgid "Shortcode"
     137msgstr ""
     138
     139#: public/views/page-form.php:139
     140msgid "Place this shortcode on any page or post where you want the form to appear:"
     141msgstr ""
     142
     143#: public/views/page-form.php:143
     144msgid "Place this shortcode anywhere you want the form to appear:"
     145msgstr ""
     146
     147#: public/views/page-form.php:154
     148msgid "Automatically Display"
     149msgstr ""
     150
     151#: public/views/page-form.php:160
     152#: public/views/page-form.php:164
     153#: src/Admin.php:132
     154msgid "Nowhere (shortcode only)"
     155msgstr ""
     156
     157#: public/views/page-form.php:161
     158#: src/Admin.php:134
     159msgid "At top of selected post types"
     160msgstr ""
     161
     162#: public/views/page-form.php:162
     163#: src/Admin.php:135
     164msgid "At bottom of selected post types"
     165msgstr ""
     166
     167#: public/views/page-form.php:165
     168#: src/Admin.php:133
     169msgid "On selected post types"
     170msgstr ""
     171
     172#: public/views/page-form.php:171
     173msgid "Post Types"
     174msgstr ""
     175
     176#: public/views/page-forms.php:74
     177msgid "Add New"
     178msgstr ""
     179
     180#: public/views/page-forms.php:76
     181msgid "Refresh Data"
     182msgstr ""
     183
     184#: public/views/page-forms.php:87
     185#: public/views/page-forms.php:119
     186#: src/Admin.php:117
     187msgid "Display settings"
     188msgstr ""
     189
     190#: public/views/page-forms.php:104
     191msgid "You don't have any forms yet. <a href=\"https://emailoctopus.com/forms/embedded/list\" target=\"_blank\" rel=\"nofollow\">Create one</a>."
     192msgstr ""
     193
     194#: public/views/page-settings.php:36
     195msgid "EmailOctopus Settings"
     196msgstr ""
     197
     198#: public/views/page-settings.php:72
     199msgid "Status"
     200msgstr ""
     201
     202#: public/views/page-settings.php:75
     203msgid "Connected"
     204msgstr ""
     205
     206#: public/views/page-settings.php:78
     207msgid "Disconnect"
     208msgstr ""
     209
     210#: public/views/page-settings.php:82
     211msgid "Not connected"
     212msgstr ""
     213
     214#: public/views/page-settings.php:87
     215msgid "API Key"
     216msgstr ""
     217
     218#. Translators: %s: <a> tags for EmailOctopus API documentation page link.
     219#: public/views/page-settings.php:100
     220msgid "Your %1$sEmailOctopus API key%2$s, used to connect to your account."
     221msgstr ""
     222
     223#: public/views/page-settings.php:107
     224#: src/Admin.php:138
     225msgid "Save Changes"
     226msgstr ""
     227
     228#: src/Admin.php:115
     229msgctxt "Fallback title for forms with no title"
     230msgid "Untitled"
     231msgstr ""
     232
     233#: src/Admin.php:116
     234msgid "View on EmailOctopus"
     235msgstr ""
     236
     237#: src/Admin.php:125
     238msgid "Copy Shortcode"
     239msgstr ""
     240
     241#: src/Admin.php:126
     242msgid "Shortcode copied to clipboard!"
     243msgstr ""
     244
     245#: src/Admin.php:127
     246msgid "Failed to copy; view form settings for shortcode"
     247msgstr ""
     248
     249#: src/Admin.php:128
     250msgid "Hello bar"
     251msgstr ""
     252
     253#: src/Admin.php:129
     254msgid "Inline"
     255msgstr ""
     256
     257#: src/Admin.php:130
     258msgid "Pop-up"
     259msgstr ""
     260
     261#: src/Admin.php:131
     262msgid "Slide-in"
     263msgstr ""
     264
     265#: src/Admin.php:137
     266msgid "Saving…"
     267msgstr ""
     268
     269#: src/Admin.php:139
     270msgid "Your API key cannot be blank."
     271msgstr ""
     272
     273#: src/Admin.php:180
     274#: src/Admin.php:181
     275msgid "Forms"
     276msgstr ""
     277
     278#: src/Admin.php:191
     279#: src/Admin.php:192
     280msgid "Settings"
     281msgstr ""
     282
     283#: src/Ajax/Ajax_Handler.php:47
     284msgid "Could not verify the request."
     285msgstr ""
     286
     287#: src/Ajax/Update_Settings.php:63
    29288msgid "Your API key is invalid."
    30289msgstr ""
    31290
    32 #: src/Admin/Admin.php:435, src/Admin/Admin.php:435
    33 msgid "EmailOctopus"
    34 msgstr ""
    35 
    36 #: src/Admin/Admin.php:437, src/Admin/Admin.php:437, src/js/gutenberg/form.js:274
    37 msgid "Forms"
    38 msgstr ""
    39 
    40 #: src/Admin/Admin.php:439, src/Admin/Admin.php:439
    41 msgid "API Key"
    42 msgstr ""
    43 
    44 #: src/Admin/Admin.php:481
    45 msgid "Title"
    46 msgstr ""
    47 
    48 #: src/Admin/Admin.php:482
    49 msgid "Description"
    50 msgstr ""
    51 
    52 #: src/Admin/Admin.php:483
    53 msgid "List"
    54 msgstr ""
    55 
    56 #: src/Admin/Admin.php:484
    57 msgid "Select a list"
    58 msgstr ""
    59 
    60 #: src/Admin/Admin.php:485
    61 msgid "Please select a list."
    62 msgstr ""
    63 
    64 #: src/Admin/Admin.php:486
    65 msgid "Builder"
    66 msgstr ""
    67 
    68 #: src/Admin/Admin.php:487, src/Admin/Admin.php:602
    69 msgid "Settings"
    70 msgstr ""
    71 
    72 #: src/Admin/Admin.php:488
    73 msgid "Appearance"
    74 msgstr ""
    75 
    76 #: src/Admin/Admin.php:489
    77 msgid "Messages"
    78 msgstr ""
    79 
    80 #: src/Admin/Admin.php:490
    81 msgid "Available fields"
    82 msgstr ""
    83 
    84 #: src/Admin/Admin.php:491
    85 msgid "Preview"
    86 msgstr ""
    87 
    88 #: src/Admin/Admin.php:492
    89 msgid "Submit"
    90 msgstr ""
    91 
    92 #: src/Admin/Admin.php:493, src/Admin/Admin.php:524
    93 msgid "Subscribe"
    94 msgstr ""
    95 
    96 #: src/Admin/Admin.php:494
    97 msgid "Email address"
    98 msgstr ""
    99 
    100 #: src/Admin/Admin.php:495
    101 msgid "It looks like you've already added all your fields to your form"
    102 msgstr ""
    103 
    104 #: src/Admin/Admin.php:496
    105 msgid "Double opt-in enabled"
    106 msgstr ""
    107 
    108 #: src/Admin/Admin.php:497
    109 msgid "Double opt-in must be enabled in your account for this to work"
    110 msgstr ""
    111 
    112 #: src/Admin/Admin.php:498
    113 msgid "Instead of thanking the user for subscribing, redirect them to a URL"
    114 msgstr ""
    115 
    116 #: src/Admin/Admin.php:499
    117 msgid "Enter URL"
    118 msgstr ""
    119 
    120 #: src/Admin/Admin.php:500
    121 msgid "Include a consent checkbox"
    122 msgstr ""
    123 
    124 #: src/Admin/Admin.php:501
    125 msgid "I consent to receiving your weekly newsletter and special offers via email"
    126 msgstr ""
    127 
    128 #: src/Admin/Admin.php:502, src/js/gutenberg/form.js:297
    129 msgid "Show EmailOctopus branding"
    130 msgstr ""
    131 
    132 #: src/Admin/Admin.php:505
    133 msgid "Powered by"
    134 msgstr ""
    135 
    136 #: src/Admin/Admin.php:506, src/js/gutenberg/form.js:226
    137 msgid "Select a theme"
    138 msgstr ""
    139 
    140 #: src/Admin/Admin.php:507
    141 msgid "Inherit from theme (default)"
    142 msgstr ""
    143 
    144 #: src/Admin/Admin.php:508, src/js/gutenberg/form.js:241
    145 msgid "Light theme"
    146 msgstr ""
    147 
    148 #: src/Admin/Admin.php:509, src/js/gutenberg/form.js:242
    149 msgid "Dark theme"
    150 msgstr ""
    151 
    152 #: src/Admin/Admin.php:510
    153 msgid "Custom colors"
    154 msgstr ""
    155 
    156 #: src/Admin/Admin.php:511
    157 msgid "Add a class to your form"
    158 msgstr ""
    159 
    160 #: src/Admin/Admin.php:512
    161 msgid "Class name"
    162 msgstr ""
    163 
    164 #: src/Admin/Admin.php:513
    165 msgid "Background color"
    166 msgstr ""
    167 
    168 #: src/Admin/Admin.php:514
    169 msgid "Text color"
    170 msgstr ""
    171 
    172 #: src/Admin/Admin.php:515
    173 msgid "Button color"
    174 msgstr ""
    175 
    176 #: src/Admin/Admin.php:516
    177 msgid "Button text color"
    178 msgstr ""
    179 
    180 #: src/Admin/Admin.php:517
    181 msgid "Submit button"
    182 msgstr ""
    183 
    184 #: src/Admin/Admin.php:518
    185 msgid "Success message"
    186 msgstr ""
    187 
    188 #: src/Admin/Admin.php:519
    189 msgid "Missing email error"
    190 msgstr ""
    191 
    192 #: src/Admin/Admin.php:520
    193 msgid "Invalid email error"
    194 msgstr ""
    195 
    196 #: src/Admin/Admin.php:521
    197 msgid "Bot submission error"
    198 msgstr ""
    199 
    200 #: src/Admin/Admin.php:522
    201 msgid "Missing consent error"
    202 msgstr ""
    203 
    204 #: src/Admin/Admin.php:523
    205 msgid "Unknown error"
    206 msgstr ""
    207 
    208 #: src/Admin/Admin.php:525
    209 msgid "Thanks for subscribing!"
    210 msgstr ""
    211 
    212 #: src/Admin/Admin.php:526
    213 msgid "Your email address is required."
    214 msgstr ""
    215 
    216 #: src/Admin/Admin.php:527
    217 msgid "Your email address looks incorrect. Please try again."
    218 msgstr ""
    219 
    220 #: src/Admin/Admin.php:528
    221 msgid "This doesn't look like a human submission."
    222 msgstr ""
    223 
    224 #: src/Admin/Admin.php:529
    225 msgid "Please check the checkbox to indicate your consent."
    226 msgstr ""
    227 
    228 #: src/Admin/Admin.php:530
    229 msgid "Sorry, an unknown error has occurred. Please try again later."
    230 msgstr ""
    231 
    232 #: src/Admin/Admin.php:531
    233 msgid "Please enter a title before saving."
    234 msgstr ""
    235 
    236 #: src/Admin/Admin.php:532
    237 msgid "Save"
    238 msgstr ""
    239 
    240 #: src/Admin/Admin.php:533, src/Admin/Admin.php:560
    241 msgid "Saving..."
    242 msgstr ""
    243 
    244 #: src/Admin/Admin.php:534
    245 msgid "Save form"
    246 msgstr ""
    247 
    248 #: src/Admin/Admin.php:535
    249 msgid "Delete form"
    250 msgstr ""
    251 
    252 #: src/Admin/Admin.php:536
    253 msgid "Deleting..."
    254 msgstr ""
    255 
    256 #: src/Admin/Admin.php:537
    257 msgid "Shortcode"
    258 msgstr ""
    259 
    260 #: src/Admin/Admin.php:538
    261 msgid "This form ID does not exist."
    262 msgstr ""
    263 
    264 #: src/Admin/Admin.php:539
    265 msgid "Create new form."
    266 msgstr ""
    267 
    268 #: src/Admin/Admin.php:543, src/Templates/Forms_List.php:33
    269 msgctxt "form"
    270 msgid "Add new"
    271 msgstr ""
    272 
    273 #: src/Admin/Admin.php:545
    274 msgid "Copied!"
    275 msgstr ""
    276 
    277 #: src/Admin/Admin.php:546
    278 msgid "Enable double opt-in (managed in your EmailOctopus dashboard)"
    279 msgstr ""
    280 
    281 #: src/Admin/Admin.php:547
    282 msgid "Select color"
    283 msgstr ""
    284 
    285 #: src/Admin/Admin.php:548
    286 msgid "WARNING: This will reset the fields you selected in the Builder tab.."
    287 msgstr ""
    288 
    289 #: src/Admin/Admin.php:549
    290 msgid "You have not created any lists yet. Please create a list and refresh."
    291 msgstr ""
    292 
    293 #: src/Admin/Admin.php:550, src/js/gutenberg/form.js:302
    294 msgid "Theme"
    295 msgstr ""
    296 
    297 #: src/Admin/Admin.php:551
    298 msgid "Custom class"
    299 msgstr ""
    300 
    301 #: src/Admin/Admin.php:552, src/Admin/Admin.php:553
    302 msgid "subscribed"
    303 msgstr ""
    304 
    305 #: src/Admin/Admin.php:561, src/Templates/API_Key.php:81
    306 msgid "Save Changes"
    307 msgstr ""
    308 
    309 #: src/Admin/Admin.php:562
    310 msgid "Your API key has been saved."
    311 msgstr ""
    312 
    313 #: src/Admin/Admin.php:566
    314 msgid "Your API key is not valid."
    315 msgstr ""
    316 
    317 #: src/Admin/Admin.php:567
    318 msgid "Your API key cannot be blank."
    319 msgstr ""
    320 
    321 #: src/Admin/Admin.php:568, src/Templates/API_Key.php:56
    322 msgid "Connected"
    323 msgstr ""
    324 
    325 #: src/Admin/Admin.php:569, src/Templates/API_Key.php:62
    326 msgid "Not Connected"
    327 msgstr ""
    328 
    329 #: src/Admin/Admin.php:572, src/Templates/API_Key.php:32, src/Templates/Forms_List.php:30
    330 msgid "EmailOctopus logo"
    331 msgstr ""
    332 
    333 #: src/Admin/Admin.php:573
    334 msgid "EmailOctopus Form Editor"
    335 msgstr ""
    336 
    337 #: src/Admin/Admin.php:576
    338 msgid "Are you sure you want to delete this form?"
    339 msgstr ""
    340 
    341 #: src/Admin/Gutenberg.php:234
    342 msgid "Loading..."
    343 msgstr ""
    344 
    345 #: src/Admin/List_Table_Forms.php:125
    346 msgctxt "Column header for forms"
    347 msgid "Title"
    348 msgstr ""
    349 
    350 #: src/Admin/List_Table_Forms.php:126
    351 msgctxt "Column header for forms"
    352 msgid "Description"
    353 msgstr ""
    354 
    355 #: src/Admin/List_Table_Forms.php:127
    356 msgctxt "Column header for forms"
    357 msgid "List"
    358 msgstr ""
    359 
    360 #: src/Admin/List_Table_Forms.php:128
    361 msgctxt "Column header for forms"
    362 msgid "ID"
    363 msgstr ""
    364 
    365 #: src/Admin/List_Table_Forms.php:129
    366 msgctxt "Column header for forms"
    367 msgid "Shortcode"
    368 msgstr ""
    369 
    370 #: src/Admin/List_Table_Forms.php:142
    371 msgid "You appear to have no forms."
    372 msgstr ""
    373 
    374 #: src/Admin/List_Table_Forms.php:144
    375 msgid "Let's create one"
    376 msgstr ""
    377 
    378 #: src/Admin/List_Table_Forms.php:156, src/Admin/List_Table_Forms.php:217
    379 msgid "Delete"
    380 msgstr ""
    381 
    382 #: src/Admin/List_Table_Forms.php:206
    383 msgid "(no title)"
    384 msgstr ""
    385 
    386 #: src/Admin/List_Table_Forms.php:216
    387 msgid "Edit"
    388 msgstr ""
    389 
    390 #: src/Admin/List_Table_Forms.php:257
    391 msgid "%s item"
    392 msgid_plural "%s items"
    393 msgstr[0] ""
    394 msgstr[1] ""
    395 
    396 #: src/Admin/List_Table_Forms.php:294
    397 msgid "First page"
    398 msgstr ""
    399 
    400 #: src/Admin/List_Table_Forms.php:305
    401 msgid "Previous page"
    402 msgstr ""
    403 
    404 #: src/Admin/List_Table_Forms.php:312, src/Admin/List_Table_Forms.php:316
    405 msgid "Current page"
    406 msgstr ""
    407 
    408 #: src/Admin/List_Table_Forms.php:327
    409 msgctxt "paging"
    410 msgid "%1$s of %2$s"
    411 msgstr ""
    412 
    413 #: src/Admin/List_Table_Forms.php:335
    414 msgid "Next page"
    415 msgstr ""
    416 
    417 #: src/Admin/List_Table_Forms.php:346
    418 msgid "Last page"
    419 msgstr ""
    420 
    421 #: src/Admin/Widget.php:38, src/js/gutenberg/main.js:45
     291#: src/Ajax/Update_Settings.php:68
     292msgid "Could not establish a connection with the EmailOctopus API."
     293msgstr ""
     294
     295#: src/ContactList.php:38
     296msgid "Invalid list ID"
     297msgstr ""
     298
     299#: src/Deprecated.php:95
     300msgid "Loading…"
     301msgstr ""
     302
     303#. translators: %s: EmailOctopus home page URL.
     304#: src/Deprecated.php:278
     305msgid "Powered by <a href=\"%s\" target=\"_blank\" rel=\"noopener\">EmailOctopus</a>"
     306msgstr ""
     307
     308#: src/Form.php:43
     309msgid "Invalid form ID"
     310msgstr ""
     311
     312#: src/Form.php:232
     313msgid "Error: Could not render the form."
     314msgstr ""
     315
     316#: src/Frontend.php:57
     317msgid "Sending"
     318msgstr ""
     319
     320#: src/Plugin.php:119
     321#: src/Plugin.php:120
     322#: src/Widget.php:37
    422323msgid "EmailOctopus Form"
    423324msgstr ""
    424325
    425 #: src/Admin/Widget.php:41
     326#: src/Plugin.php:122
     327msgid "Private post type for relating EmailOctopus.com form data with the WordPress site."
     328msgstr ""
     329
     330#: src/Widget.php:40
    426331msgid "A widget to display your EmailOctopus forms."
    427332msgstr ""
    428333
    429 #: src/Admin/Widget.php:69
    430 msgid "Please <a href=\"%s\">enter your API key</a>."
    431 msgstr ""
    432 
    433 #: src/Admin/Widget.php:78
    434 msgid "Your API key is invalid. Please check <a href=\"%s\">your settings</a>."
    435 msgstr ""
    436 
    437 #: src/Admin/Widget.php:87, src/js/gutenberg/form.js:369
    438 msgid "There are no forms to select."
    439 msgstr ""
    440 
    441 #: src/Admin/Widget.php:95, src/js/gutenberg/form.js:67
    442 msgid "Select a form"
    443 msgstr ""
    444 
    445 #: src/Admin/Widget.php:111
    446 msgid "Head to your <a href=\"%s\">form settings</a> to customise"
    447 msgstr ""
    448 
    449 #: src/emailoctopus.php:37
    450 msgid "<strong>Error:</strong> Current PHP version (%1$s) does not meet minimum requirements for EmailOctopus. The plugin requires PHP %2$s."
    451 msgstr ""
    452 
    453 #: src/emailoctopus.php:43
    454 msgid "<a href=\"%s\">Learn more about updating PHP</a>."
    455 msgstr ""
    456 
    457 #: src/emailoctopus.php:44
    458 msgctxt "localized PHP upgrade information page"
    459 msgid "https://wordpress.org/support/update-php/"
    460 msgstr ""
    461 
    462 #: src/Frontend/Frontend_Container.php:76
    463 msgid "Sending"
    464 msgstr ""
    465 
    466 #: src/js/gutenberg/form.js:70
    467 msgid "No title"
    468 msgstr ""
    469 
    470 #: src/js/gutenberg/form.js:240
    471 msgctxt "theme"
    472 msgid "Default"
    473 msgstr ""
    474 
    475 #: src/js/gutenberg/form.js:243
    476 msgctxt "theme"
    477 msgid "Custom"
    478 msgstr ""
    479 
    480 #: src/js/gutenberg/form.js:272
    481 msgid "EmailOctopus Settings"
    482 msgstr ""
    483 
    484 #: src/js/gutenberg/form.js:282
    485 msgid "Show title"
    486 msgstr ""
    487 
    488 #: src/js/gutenberg/form.js:287
    489 msgid "Show description"
    490 msgstr ""
    491 
    492 #: src/js/gutenberg/form.js:292
    493 msgid "Show consent checkbox"
    494 msgstr ""
    495 
    496 #: src/js/gutenberg/form.js:310, src/js/gutenberg/form.js:316
    497 msgid "Background Color"
    498 msgstr ""
    499 
    500 #: src/js/gutenberg/form.js:322, src/js/gutenberg/form.js:328
    501 msgid "Text Color"
    502 msgstr ""
    503 
    504 #: src/js/gutenberg/form.js:334, src/js/gutenberg/form.js:340
    505 msgid "Button Color"
    506 msgstr ""
    507 
    508 #: src/js/gutenberg/form.js:346, src/js/gutenberg/form.js:352
    509 msgid "Button Text Color"
    510 msgstr ""
    511 
    512 #: src/js/gutenberg/form.js:384
    513 msgid "Please select a form from the block settings."
    514 msgstr ""
    515 
    516 #: src/js/gutenberg/form.js:411
    517 msgid "Powered by "
    518 msgstr ""
    519 
    520 #: src/Templates/API_Key.php:33
    521 msgid "EmailOctopus API Key"
    522 msgstr ""
    523 
    524 #: src/Templates/API_Key.php:40
    525 msgid "You'll need to enter a valid API key first."
    526 msgstr ""
    527 
    528 #: src/Templates/API_Key.php:50
    529 msgid "Status"
    530 msgstr ""
    531 
    532 #: src/Templates/API_Key.php:70
    533 msgid "API key"
    534 msgstr ""
    535 
    536 #: src/Templates/API_Key.php:75
    537 msgid "Your <a href=\"%s\" target=\"_blank\" rel=\"noopener\">EmailOctopus API key</a>, used to connect to your account."
    538 msgstr ""
    539 
    540 #: src/Templates/Form.php:96
    541 msgid "Powered by <a href=\"%s\" target=\"_blank\" rel=\"noopener\">EmailOctopus</a>"
    542 msgstr ""
    543 
    544 #: src/Templates/Forms_List.php:31
    545 msgid "EmailOctopus Forms"
    546 msgstr ""
    547 
    548 #: src/Templates/Forms_List.php:43
    549 msgid "API connected"
    550 msgstr ""
    551 
    552 #: src/Templates/Forms_List.php:49
    553 msgid "API not connected"
    554 msgstr ""
    555 
    556 #: src/Templates/Forms_List.php:60
    557 msgid "Your forms have been deleted."
    558 msgstr ""
     334#: src/Widget.php:61
     335msgid "Widgets have been deprecated in the EmailOctopus plugin. Please delete this widget and add forms to widget areas via shortcodes."
     336msgstr ""
     337
     338#: public/js/block.json
     339msgctxt "block title"
     340msgid "EmailOctopus Form"
     341msgstr ""
  • emailoctopus/trunk/readme.txt

    r2467399 r2774938  
    33Contributors: EmailOctopus
    44Tags: email marketing, collect emails, emailoctopus, emailoctopus form, emailoctopus plugin, email, email octopus, email form, marketing, newsletter, signup form, subscribers, subscription, widget, email plugin, list builder, amazon ses
    5 Requires at least: 3.7
    6 Tested up to: 5.6
    7 Stable tag: 2.2.2
    8 Requires PHP: 5.6
     5Requires at least: 5.0
     6Tested up to: 6.0
     7Stable tag: 3.0
     8Requires PHP: 7.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2121* Connects securely to your EmailOctopus account.
    2222* Build advanced forms.
    23 * Gutenberg option available.
    2423
    2524= EmailOctopus features =
     
    34331. In your WordPress admin panel, go to Plugins > New Plugin, search for EmailOctopus and click 'Install now'. Alternatively, download the plugin and upload the contents of emailoctopus.zip to your plugins directory, which is usually located at '/wp-content/plugins/'.
    35342. Activate the plugin and enter your API key from EmailOctopus.
    36 3. Create a form using the built-in form builder.
    37 4. Enter a shortcode onto a page, or use the EmailOctopus widget to select a form to display.
    38 5. If using Gutenberg, you'll find EmailOctopus under widgets.
    3935
    4036== Frequently Asked Questions ==
     
    4642== Screenshots ==
    4743
    48 1. An EmailOctopus form in the sidebar of the Twenty Twenty theme.
    49 2. An EmailOctopus form in the body of a post or page.
    50 3. API key entry screen.
    51 4. Form builder main screen.
    52 5. Form builder settings screen.
    53 6. Form builder appearance screen with custom colors.
    54 7. Form builder messages screen.
    55 8. Save button with shortcode output.
    56 9. Saved forms screen.
    57 10. Gutenberg block.
     441. View all of your forms in the WordPress admin panel.
     451. Configure the display settings for an individual form.
    5846
    5947== Changelog ==
     48
     49= 3.0.0 =
     50* PHP 7.4 or greater is now required.
     51* Forms are now far more customisable and built on emailoctopus.com, rather than inside the plugin.
     52* Adds the option to automatically show forms on chosen post types.
     53* Drops support for PHP versions prior to 7.4.
     54* Drops support for Gutenberg (to be re-added in a later release).
    6055
    6156= 2.2.2 =
     
    148143== Upgrade Notice ==
    149144
     145= 3.0.0 =
     146PHP 7.4 or greater is now required.
     147Forms are now far more customisable and built on emailoctopus.com, rather than inside the plugin.
     148Adds the option to automatically show forms on chosen post types.
     149Drops support for PHP versions prior to 7.4.
     150Drops support for Gutenberg (to be re-added in a later release).
     151
    150152= 2.2.2 =
    151153Support for PHP 8.
Note: See TracChangeset for help on using the changeset viewer.