wpMandrill - Version 1.02

Version Description

  • Fixed: Dashboard widget title was displaying incorrectly when a filter was defined.
Download this release

Release Info

Developer MC_Will
Plugin Icon wp plugin wpMandrill
Version 1.02
Comparing to
See all releases

Code changes from version 1.0 to 1.02

Files changed (6) hide show
  1. css/mandrill.css +3 -0
  2. how-tos.php +56 -144
  3. lang/wpmandrill-es_ES.mo +0 -0
  4. lang/wpmandrill.po +231 -241
  5. readme.txt +10 -2
  6. wpmandrill.php +34 -9
css/mandrill.css CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  .news_header {
2
  background: url("../images/rss_icon.gif") no-repeat scroll 0 0 transparent;
3
  padding-left: 30px;
1
+ .wrap h2 small {
2
+ font-size: 10px;
3
+ }
4
  .news_header {
5
  background: url("../images/rss_icon.gif") no-repeat scroll 0 0 transparent;
6
  padding-left: 30px;
how-tos.php CHANGED
@@ -1,61 +1,60 @@
1
  <?php
2
- /*
3
- Plugin Name: wpMandrill How-Tos
4
- Description: This plugin show you how to use the different aspects of wpMandrill.
5
- Author: Mandrill
6
- Author URI: http://mandrillapp.com/
7
- Plugin URI: http://connect.mailchimp.com/integrations/wpmandrill
8
- Version: 1.0
9
- Text Domain: wpmandrill
10
- */
11
 
12
- MandrillTest::on_load();
13
-
14
- class MandrillTest {
15
- static $settings;
16
-
17
- static function on_load() {
18
- if ( !class_exists('wpMandrill') ) {
19
- return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
21
 
22
- add_action('admin_init', array(__CLASS__, 'adminInit'));
23
- add_action('admin_menu', array(__CLASS__, 'adminMenu'));
24
- add_filter('contextual_help', array(__CLASS__, 'showContextualHelp'), 10, 3);
25
- add_action('admin_print_footer_scripts', array(__CLASS__,'openContextualHelp'));
26
- load_plugin_textdomain('wpmandrill', false, dirname( plugin_basename( __FILE__ ) ).'/lang');
27
- }
28
-
29
- /**
30
- * @return boolean
31
- */
32
- static function isPluginPage() {
33
-
34
- return ( isset( $_GET['page'] ) && $_GET['page'] == 'wpmandrilltest' );
35
- }
36
-
37
- /**
38
- * Sets up options page and sections.
39
- */
40
- static function adminInit() {
41
-
42
- add_filter('plugin_action_links',array(__CLASS__,'showPluginActionLinks'), 10,5);
43
- // SMTP Settings
44
- add_settings_section('wpmandrilltest-auto', __('Mandrill: How to tell WordPress to use wpMandrill.', 'wpmandrill'), '__return_false', 'wpmandrilltest');
45
- add_settings_field('auto', __('&nbsp;', 'wpmandrill'), array(__CLASS__, 'showSectionAuto'), 'wpmandrilltest', 'wpmandrilltest-auto');
46
-
47
- add_settings_section('wpmandrilltest-regular', __('Mandrill: How to send a regular email.', 'wpmandrill'), '__return_false', 'wpmandrilltest');
48
- add_settings_field('regular', __('&nbsp;', 'wpmandrill'), array(__CLASS__, 'showSectionRegular'), 'wpmandrilltest', 'wpmandrilltest-regular');
49
-
50
- add_settings_section('wpmandrilltest-filter', __('Mandrill: How to modify a certain email using the <em>mandrill_payload</em> WordPress filter.', 'wpmandrill'), '__return_false', 'wpmandrilltest');
51
- add_settings_field('filter', __('&nbsp;', 'wpmandrill'), array(__CLASS__, 'showSectionFilter'), 'wpmandrilltest', 'wpmandrilltest-filter');
52
-
53
- add_settings_section('wpmandrilltest-direct', __('Mandrill: How to send emails from within your plugins.', 'wpmandrill'), '__return_false', 'wpmandrilltest');
54
- add_settings_field('direct', __('&nbsp;', 'wpmandrill'), array(__CLASS__, 'showSectionDirect'), 'wpmandrilltest', 'wpmandrilltest-direct');
55
- }
56
-
57
  static function showSectionAuto() {
58
- echo '
 
59
  <span class="setting-description">
60
  <p>'.__('Simply install wpMandrill and configure it to make it handle all the email functions of your WordPress installation.', 'wpmandrill').'</p>
61
  <p>'.__('Once it has been properly configured, it will replace the regular WordPress emailing processes, so it\'s basically transparent for you and for WordPress.', 'wpmandrill').'</p>
@@ -65,7 +64,7 @@ class MandrillTest {
65
  }
66
 
67
  static function showSectionRegular() {
68
- echo '
69
  <span class="setting-description">
70
  <p>'.__('If you\'re a Plugin Developer, and you need to send a regular email using wpMandrill, you don\'t need to learn anything else. You can use the good ol\' <strong>wp_mail</strong> function, as you would normally do if you were not using this plugin.', 'wpmandrill').'</p>
71
  <p>'.__('For example:', 'wpmandrill').'</p>
@@ -75,7 +74,7 @@ class MandrillTest {
75
  }
76
 
77
  static function showSectionFilter() {
78
- echo '
79
  <span class="setting-description">
80
  <p>'.__('if you need to fine tune one or some of the emails sent through your WordPress installation, you will need to use the <em>mandrill_payload</em> filter.', 'wpmandrill').'</p>
81
  <p>'.__('To use it, you must create a function that analyzes the payload that is about to be sent to Mandrill, and modify it based on your requirements. Then you\'ll need to add this function as the callback of the mentioned filter, using the <em>add_filter</em> WordPress call. And finally, insert it into your theme\'s functions.php file or you own plugin\'s file.', 'wpmandrill').'</p>
@@ -119,105 +118,18 @@ class MandrillTest {
119
  }
120
 
121
  static function showSectionDirect() {
122
- echo '
123
  <span class="setting-description">
124
  <p>'.__('If you are a Plugin Developer and you need to create a deep integration between Mandrill and your WordPress installation, wpMandrill will make your life easier.', 'wpmandrill').'</p>
125
  <p>'.__('We have exposed a simple function that allows you to add tags and specify the template to use, in addition to specifying the To, Subject and Body sections of the email:','wpmandrill').'</p>
126
  <p><blockquote><pre>'.__('&lt;?php wpMandrill::mail($to, $subject, $html, $headers = \'\', $attachments = array(), $tags = array(), $from_name = \'\', $from_email = \'\', $template_name = \'\'); ?&gt;', 'wpmandrill').'</pre></blockquote></p>
127
  <p>'.__('But if you need Mandrill Powers, we have included a full-featured PHP class called Mandrill. It has every API call defined in Mandrill\'s API. Check it out at <em>/wp-content/plugin/wpmandrill/lib/mandrill.class.php</em>.', 'wpmandrill').'</p>
128
- <p>'.__('To use it, just instanciate an object passing your API key, and make the calls:', 'wpmandrill').'</p>
129
  <p><blockquote><pre>'.__('&lt;?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?&gt;', 'wpmandrill').'</pre></blockquote></p>
130
  </span>
131
  ';
132
  }
133
 
134
- /**
135
- * Creates option page's entry in Settings section of menu.
136
- */
137
- static function adminMenu() {
138
-
139
- self::$settings = add_options_page( __('Mandrill How-Tos', 'wpmandrill'), __('Mandrill Test', 'wpmandrill'), 'manage_options', 'wpmandrilltest', array(__CLASS__,'showOptionsPage'));
140
- }
141
-
142
- /**
143
- * Generates source of contextual help panel.
144
- */
145
- static function showContextualHelp($contextual_help, $screen_id, $screen) {
146
-
147
- if ($screen_id == self::$settings) {
148
-
149
- return '<p>' . __('The purpose of this plugin is to show you how easy it is to start using the awesome platform that Mandrill offers to handle your transactional emails.', 'wpmandrilltest').'</p>'
150
- . '<ol>'
151
- . '<li>'. __('Just by setting it up, all the emails sent from your WordPress installation will be sent using the power of Mandrill.', 'wpmandrill') . '</li>'
152
- . '<li>'. __('If you want further customization, you can use the <strong>mandrill_payload</strong> filter we\'ve provided.', 'wpmandrill') . '</li>'
153
- . '<li>'. __('And if you want an even greater integration between your application and Mandrill, we\'ve created a convenient call to send emails from within your plugins.', 'wpmandrill') . '</li>'
154
- . '</ol>'
155
- .'<p>' . __('You can learn more about all of these features right from this page.', 'wpmandrill').'</p>'
156
-
157
- ;
158
- }
159
-
160
- return $contextual_help;
161
- }
162
-
163
- /**
164
- * Adds link to settings page in list of plugins
165
- */
166
- static function showPluginActionLinks($actions, $plugin_file) {
167
-
168
- static $plugin;
169
-
170
- if (!isset($plugin))
171
- $plugin = plugin_basename(__FILE__);
172
-
173
- if ($plugin == $plugin_file) {
174
-
175
- $settings = array('settings' => '<a href="options-general.php?page=wpmandrilltest">' . __('Settings', 'wpmandrill') . '</a>');
176
- $actions = array_merge($settings, $actions);
177
- }
178
-
179
- return $actions;
180
- }
181
-
182
- /**
183
- * Generates source of options page.
184
- */
185
- static function showOptionsPage() {
186
-
187
- if (!current_user_can('manage_options'))
188
- wp_die( __('You do not have sufficient permissions to access this page.','wpmandrill') );
189
-
190
- ?>
191
- <div class="wrap">
192
- <div class="icon32" style="background: url('<?php echo plugins_url('images/mandrill-head-icon.png',__FILE__); ?>');"><br /></div>
193
- <div style="float: left;width: 70%;">
194
- <h2><?php _e('Mandrill How-tos', 'wpmandrill'); ?></h2>
195
-
196
- <form method="post" action="options.php">
197
- <?php settings_fields('wpmandrilltest'); ?>
198
- <?php do_settings_sections('wpmandrilltest'); ?>
199
- </form>
200
- </div>
201
- </div>
202
- <?php
203
- }
204
-
205
- /**
206
- * Opens contextual help section.
207
- */
208
- static function openContextualHelp() {
209
-
210
- if ( !self::isPluginPage() )
211
- return;
212
-
213
- ?>
214
- <script type="text/javascript">
215
- jQuery(document).bind( 'ready', function() {
216
- jQuery('a#contextual-help-link').trigger('click');
217
- });
218
- </script>
219
- <?php
220
- }
221
  }
222
 
223
  ?>
1
  <?php
 
 
 
 
 
 
 
 
 
2
 
3
+ class wpMandrill_HowTos {
4
+ static function show($section) {
5
+ $section = strtolower($section);
6
+ if ( !in_array($section, array('intro','auto','regular','filter','direct') ) ) $section = 'auto';
7
+
8
+ $title = '';
9
+
10
+ switch ($section) {
11
+ case 'intro':
12
+ break;
13
+ case 'auto':
14
+ $title = __('Mandrill: How to tell WordPress to use wpMandrill.', 'wpmandrill');
15
+ break;
16
+ case 'regular':
17
+ $title = __('Mandrill: How to send a regular email.', 'wpmandrill');
18
+ break;
19
+ case 'filter':
20
+ $title = __('Mandrill: How to modify a certain email using the <em>mandrill_payload</em> WordPress filter.', 'wpmandrill');
21
+ break;
22
+ case 'direct':
23
+ $title = __('Mandrill: How to send emails from within your plugins.', 'wpmandrill');
24
+ break;
25
  }
26
 
27
+ $method = 'showSection' . ucwords($section);
28
+
29
+ $html = self::$method();
30
+
31
+ if ( $title != '' ) {
32
+ $html = <<<HTML
33
+ <div class="stuffbox" style="max-width: 90% !important;">
34
+ <h3>$title</h3>
35
+ <div style="width:90%; margin-left:auto;margin-right:auto;">
36
+ $html
37
+ </div>
38
+ </div>
39
+ HTML;
40
+ }
41
+
42
+ return $html;
43
+ }
44
+
45
+ static function showSectionIntro() {
46
+ return '<p>' . __('The purpose of this how-to is to show you how easy it is to start using the awesome platform that Mandrill offers to handle your transactional emails.', 'wpmandrill-how-tos').'</p>'
47
+ . '<ol>'
48
+ . '<li>'. __('Just by setting it up, all the emails sent from your WordPress installation will be sent using the power of Mandrill.', 'wpmandrill') . '</li>'
49
+ . '<li>'. __('If you want further customization, you can use the <strong>mandrill_payload</strong> filter we\'ve provided.', 'wpmandrill') . '</li>'
50
+ . '<li>'. __('And if you want an even greater integration between your application and Mandrill, we\'ve created a convenient call to send emails from within your plugins.', 'wpmandrill') . '</li>'
51
+ . '</ol>'
52
+ .'<p>' . __('You can learn more about all of these features right from this page.', 'wpmandrill').'</p>';
53
+ }
54
+
 
 
 
 
 
 
 
55
  static function showSectionAuto() {
56
+
57
+ return '
58
  <span class="setting-description">
59
  <p>'.__('Simply install wpMandrill and configure it to make it handle all the email functions of your WordPress installation.', 'wpmandrill').'</p>
60
  <p>'.__('Once it has been properly configured, it will replace the regular WordPress emailing processes, so it\'s basically transparent for you and for WordPress.', 'wpmandrill').'</p>
64
  }
65
 
66
  static function showSectionRegular() {
67
+ return '
68
  <span class="setting-description">
69
  <p>'.__('If you\'re a Plugin Developer, and you need to send a regular email using wpMandrill, you don\'t need to learn anything else. You can use the good ol\' <strong>wp_mail</strong> function, as you would normally do if you were not using this plugin.', 'wpmandrill').'</p>
70
  <p>'.__('For example:', 'wpmandrill').'</p>
74
  }
75
 
76
  static function showSectionFilter() {
77
+ return '
78
  <span class="setting-description">
79
  <p>'.__('if you need to fine tune one or some of the emails sent through your WordPress installation, you will need to use the <em>mandrill_payload</em> filter.', 'wpmandrill').'</p>
80
  <p>'.__('To use it, you must create a function that analyzes the payload that is about to be sent to Mandrill, and modify it based on your requirements. Then you\'ll need to add this function as the callback of the mentioned filter, using the <em>add_filter</em> WordPress call. And finally, insert it into your theme\'s functions.php file or you own plugin\'s file.', 'wpmandrill').'</p>
118
  }
119
 
120
  static function showSectionDirect() {
121
+ return '
122
  <span class="setting-description">
123
  <p>'.__('If you are a Plugin Developer and you need to create a deep integration between Mandrill and your WordPress installation, wpMandrill will make your life easier.', 'wpmandrill').'</p>
124
  <p>'.__('We have exposed a simple function that allows you to add tags and specify the template to use, in addition to specifying the To, Subject and Body sections of the email:','wpmandrill').'</p>
125
  <p><blockquote><pre>'.__('&lt;?php wpMandrill::mail($to, $subject, $html, $headers = \'\', $attachments = array(), $tags = array(), $from_name = \'\', $from_email = \'\', $template_name = \'\'); ?&gt;', 'wpmandrill').'</pre></blockquote></p>
126
  <p>'.__('But if you need Mandrill Powers, we have included a full-featured PHP class called Mandrill. It has every API call defined in Mandrill\'s API. Check it out at <em>/wp-content/plugin/wpmandrill/lib/mandrill.class.php</em>.', 'wpmandrill').'</p>
127
+ <p>'.__('To use it, just instantiate an object passing your API key, and make the calls:', 'wpmandrill').'</p>
128
  <p><blockquote><pre>'.__('&lt;?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?&gt;', 'wpmandrill').'</pre></blockquote></p>
129
  </span>
130
  ';
131
  }
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  }
134
 
135
  ?>
lang/wpmandrill-es_ES.mo CHANGED
Binary file
lang/wpmandrill.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: wpMandrill 1.0 rc1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-04-25 14:39-0500\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Will Castillo <will@mailchimp.com>\n"
8
  "Language-Team: MailChimp <will@mailchimp.com>\n"
@@ -16,6 +16,106 @@ msgstr ""
16
  "X-Poedit-KeywordsList: __;_e\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  #: wpmandrill.php:81
20
  msgid "API Settings"
21
  msgstr "Configuración de la API"
@@ -42,10 +142,6 @@ msgstr "Plantilla General"
42
 
43
  #: wpmandrill.php:94
44
  #: wpmandrill.php:98
45
- #: wpmandrilltest.php:45
46
- #: wpmandrilltest.php:48
47
- #: wpmandrilltest.php:51
48
- #: wpmandrilltest.php:54
49
  msgid "&nbsp;"
50
  msgstr "&nbsp;"
51
 
@@ -69,410 +165,300 @@ msgstr "Asunto"
69
  msgid "Message"
70
  msgstr "Mensaje"
71
 
72
- #: wpmandrill.php:118
73
- #: wpmandrill.php:229
74
  msgid "Mandrill Settings"
75
  msgstr "Configuración de Mandrill"
76
 
77
- #: wpmandrill.php:119
78
  msgid "Mandrill"
79
  msgstr "Mandrill"
80
 
81
- #: wpmandrill.php:126
82
- #: wpmandrill.php:127
83
  msgid "Mandrill Reports"
84
  msgstr "Reportes Mandrill"
85
 
86
- #: wpmandrill.php:149
87
  msgid "Mandrill: wp_mail has been declared by another process or plugin, so you won't be able to use Mandrill until the problem is solved."
88
  msgstr "Mandrill: wp?install ha sido declarado por otro proceso o plugin por lo que no podras usar Mandrill hasta que soluciones este inconveniente."
89
 
90
- #: wpmandrill.php:178
91
  msgid "To use this plugin you will need:"
92
  msgstr "Para utilizar este plugin necesitarás:"
93
 
94
- #: wpmandrill.php:180
95
  msgid "Your Mandrill account."
96
  msgstr "Tu cuenta Mandrill"
97
 
98
- #: wpmandrill.php:181
99
  msgid "At least one verified domain."
100
  msgstr "Al menos un dominio verificado."
101
 
102
- #: wpmandrill.php:182
103
  msgid "A valid sender email address specified."
104
  msgstr "Una dirección de correo electrónico de remitente válido."
105
 
106
- #: wpmandrill.php:187
107
  msgid "Once you have properly configured the settings, the plugin will take care of all the emails sent through your WordPress installation."
108
  msgstr "Una vez que hayas completado la configuración, el plugin se hará cargo de todos los correos enviados a través de tu instalación WordPress."
109
 
110
- #: wpmandrill.php:188
111
  msgid "However, if you need to customize any part of the email before sending, you can do so by using the WordPress filter <strong>mandrill_payload</strong>."
112
  msgstr "De cualquier forma, si alguna vez necesitas alterar cualquier parte del email antes de que este sea enviado, lo podrás hacer utilizando el filtro WordPress <strong>mandrill_payload</strong>."
113
 
114
- #: wpmandrill.php:189
115
  msgid "This filter has the same structure as Mandrill's API call <a href=\"http://mandrillapp.com/api/docs/messages.html#method=send\" target=\"_blank\">/messages/send</a>, except that it can have one additional parameter when the email is based on a template. The parameter is called \"<em>template</em>\", which is an associative array of two elements (the first element, a string whose key is \"<em>template_name</em>\", and a second parameter whose key is \"<em>template_content</em>\". Its value is an array with the same structure of the parameter \"<em>template_content</em>\" in the call <a href=\"http://mandrillapp.com/api/docs/messages.html#method=send-template\" target=\"_blank\">/messages/send-template</a>.)"
116
  msgstr "Este filtro tiene la misma estructura de la llamada a la API de Mandrill <a href=\"http://mandrillapp.com/api/docs/messages.html#method=send\" target=\"_blank\">/messages/send</a>, excepto que esta podría tener un parámetro adicional cuando el email está basado en una plantilla. El parametro se llama \"<em>template</em>\", el cual es un arreglo asociativo de dos elementos (el primero, una cadena de caracteres cuya clave es \"<em>template_name</em>\", y un segundo parámetro cuya clave es \"<em>template_content</em>\" y su valor es una arreglo con la misma estructura del parámetro \"<em>template_content</em>\" de la llamada <a href=\"http://mandrillapp.com/api/docs/messages.html#method=send-template\" target=\"_blank\">/messages/send-template</a>.)"
117
 
118
- #: wpmandrill.php:190
119
  msgid "Note that if you're sending additional headers in your emails, the only valid headers are <em>From:</em>, <em>Reply-To:</em>, and <em>X-*:</em>. <em>Bcc:</em> is also valid, but Mandrill will send the blind carbon copy to only the first address, and the remaining will be silently discarted."
120
  msgstr "Ten en cuenta que si estás intentando enviar cabeceras adicionales en tus correos, las únicas cabeceras válidas serán <em>From:</em>, <em>Reply-To:</em> y <em>X-*:</em>. <em>Bcc:</em> también es válido, pero Mandrill sólo enviará la copia oculta a la primera dirección, descartando silenciosamente el resto de las direcciones especificadas en el campo Bcc: que envíes."
121
 
122
- #: wpmandrill.php:191
123
  msgid "Also note that if any error occurs while sending the email, the plugin will try to send the message again using the native WordPress mailing capabilities."
124
  msgstr "También ten presente que si ocurre cualquier error durante el envío del correo, el plugin intentará enviar el mensaje otra vez, utilizando las capacidades de envío de correo nativas de WordPress."
125
 
126
- #: wpmandrill.php:192
127
  msgid "Confirm that any change you made to the payload is in line with the <a href=\"http://mandrillapp.com/api/docs/\" target=\"_blank\">Mandrill's API's documentation</a>. Also, the <em>X-*:</em> headers, must be in line with the <a href=\"http://help.mandrill.com/customer/portal/articles/456744-smtp-headers-api\" target=\"_blank\">SMTP API documentation</a>. By using this plugin, you agree that you and your website will adhere to <a href=\"http://mandrill.com/legal/terms/\" target=\"_blank\">Mandrill's Terms of Use</a>."
128
  msgstr "Asegúrate que cualquier cambio que hagas en el payload esté cónsono con la <a href=\"http://mandrillapp.com/api/docs/\" target=\"_blank\">Documentacion de la API de Mandrill</a>. También, las cabeceras <em>X-*:</em> deben estar en línea con la <a href=\"http://help.mandrill.com/customer/portal/articles/456744-smtp-headers-api\" target=\"_blank\">Documentación de la API SMTP</a>. Al utilizar este plugin estás aceptando adherirte tu y tu sitio web a los <a href=\"http://mandrill.com/legal/terms/\" target=\"_blank\">Términos y Condiciones de Mandrill</a>."
129
 
130
- #: wpmandrill.php:193
131
  msgid "if you have any question about Mandrill or this plugin, visit the <a href=\"http://help.mandrill.com/\" target=\"_blank\">Mandrill's Support Center</a>."
132
  msgstr "Si tienes alguna pregunta sobre mandrill o este plugin, visita el <a href=\"http://help.mandrill.com/\" target=\"_blank\">Centro de Soporte de Mandrill</a>."
133
 
134
- #: wpmandrill.php:211
135
- #: wpmandrilltest.php:175
136
  msgid "Settings"
137
  msgstr "Configuraciones"
138
 
139
- #: wpmandrill.php:212
140
  msgid "Reports"
141
  msgstr "Reportes"
142
 
143
- #: wpmandrill.php:224
144
- #: wpmandrilltest.php:188
145
  #: stats.php:1
146
  msgid "You do not have sufficient permissions to access this page."
147
  msgstr "No tienes suficiente permisología para acceder a esta página."
148
 
149
- #: wpmandrill.php:250
150
  msgid "Send Email"
151
  msgstr "Campo Email:"
152
 
153
- #: wpmandrill.php:268
154
  msgid "Latest from Mandrill..."
155
  msgstr "Lo último de Mandrill..."
156
 
157
- #: wpmandrill.php:282
158
  msgid "News from MailChimp..."
159
  msgstr "Noticias de MailChimp"
160
 
161
- #: wpmandrill.php:317
 
 
 
 
162
  msgid "You must define a valid sender email."
163
  msgstr "Debes definir un correo electrónico de remitente válido."
164
 
165
- #: wpmandrill.php:567
166
  msgid "Test email send failed. "
167
  msgstr "El correo electrónico de prueba falló."
168
 
169
- #: wpmandrill.php:577
170
  #, php-format
171
  msgid "Test executed: %d emails sent, %d emails queued and %d emails rejected"
172
  msgstr "Prueba ejecutada: %d emails enviados, %d emails encolados y %d emails rechazados"
173
 
174
- #: wpmandrill.php:592
175
  msgid "To get your API key, please visit your <a href=\"http://mandrillapp.com/settings/index\" target=\"_blank\">Mandrill Settings</a>"
176
  msgstr "Para obtener tu Clave API, por favor visita tu <a href=\"http://mandrillapp.com/settings/index\" target=\"_blank\">Configuración Mandrill</a>"
177
 
178
- #: wpmandrill.php:594
179
  msgid "We are connected to your Mandrill Account."
180
  msgstr "Estamos conectados a tu cuenta Mandrill."
181
 
182
- #: wpmandrill.php:596
183
  msgid "Sorry, invalid API key."
184
  msgstr "Lo siento, Clave API inválida."
185
 
186
- #: wpmandrill.php:612
187
  msgid "No verified domains found."
188
  msgstr "No se encontraros dominios verificados."
189
 
190
- #: wpmandrill.php:624
191
  msgid "This address will be used as the sender of the outgoing emails:"
192
  msgstr "Esta dirección será utilizada como el remitente para los correos salientes:"
193
 
194
- #: wpmandrill.php:630
195
  msgid "Only verified domains are displayed here. If you need to verify a new domain, please visit your <a href=\"https://mandrillapp.com/settings/sending-domains\" target=\"_blank\">Mandrill Settings</a>"
196
  msgstr "Aquí sólo se mostrarán dominios verificados. Si necesitas verificar un nuevo dominio, por favor visita tu <a href=\"https://mandrillapp.com/settings/sending-domains\" target=\"_blank\">Configuracipón Mandrill</a>"
197
 
198
- #: wpmandrill.php:640
199
  msgid "Name the recipients will see in their email clients:"
200
  msgstr "Nombre que los destinatarios verán en sus clientes de correo:"
201
 
202
- #: wpmandrill.php:651
203
- #: wpmandrill.php:661
204
  msgid "No templates found."
205
  msgstr "No se encontraron plantillas."
206
 
207
- #: wpmandrill.php:670
208
  msgid "Select the template to use:"
209
  msgstr "Seleccione la plantilla a utilizar:"
210
 
211
- #: wpmandrill.php:676
212
  msgid "<small>The selected template must have a <strong><em>mc:edit=\"main\"</em></strong> placeholder defined. The message will be shown there.</small>"
213
  msgstr "<small>La plantilla seleccionada debe tener una sección <strong><em>mc:edit=\"main\"</em></strong> definida. El mensaje será mostrado ahí.</small>"
214
 
215
- #: wpmandrill.php:686
216
  msgid "If there are tags that you want appended to every call, list them here, one per line:"
217
  msgstr "Si hay etiquetas que quieras agregar a cada llamada, lístalas aquí, una por línea."
218
 
219
- #: wpmandrill.php:688
220
  msgid "Also keep in mind that you can add or remove tags using the <em><a href=\"#\" onclick=\"jQuery('a#contextual-help-link').trigger('click');return false;\">mandrill_payload</a></em> WordPress filter."
221
  msgstr "También recuerda que puedes agregar o eliminar etiquetas utilizando el filtro WordPress <em><a href=\"#\" onclick=\"jQuery('a#contextual-help-link').trigger('click');return false;\">mandrill_payload</a></em>."
222
 
223
- #: wpmandrill.php:896
224
  msgid "Mandrill Recent Statistics"
225
  msgstr "Estadistas Recientes de Mandrill"
226
 
227
- #: wpmandrill.php:918
228
- #: wpmandrill.php:1134
229
  #: stats.php:8
230
  msgid "There was a problem retrieving statistics."
231
  msgstr "Hubo un problema recuperando las estadísticas."
232
 
233
- #: wpmandrill.php:976
234
- #: wpmandrill.php:1231
235
  msgid "Sending Volume"
236
  msgstr "Volumen de Envío"
237
 
238
- #: wpmandrill.php:977
239
- #: wpmandrill.php:1232
240
  msgid " emails"
241
  msgstr " emails"
242
 
243
- #: wpmandrill.php:978
244
- #: wpmandrill.php:1233
245
  msgid "Total Volume per Day"
246
  msgstr "Volumen Total por Período"
247
 
248
- #: wpmandrill.php:980
249
- #: wpmandrill.php:1235
250
  msgid "in the last few days"
251
  msgstr "en los últimos días"
252
 
253
- #: wpmandrill.php:981
254
- #: wpmandrill.php:1236
255
  msgid "in the last few months"
256
  msgstr "en los últimos meses"
257
 
258
- #: wpmandrill.php:982
259
- #: wpmandrill.php:1237
260
  msgid "Today"
261
  msgstr "Hoy"
262
 
263
- #: wpmandrill.php:983
264
- #: wpmandrill.php:1238
265
  msgid "Last 7 Days"
266
  msgstr "Últimos 7 Días"
267
 
268
- #: wpmandrill.php:984
269
- #: wpmandrill.php:1239
270
  msgid "Last 30 Days"
271
  msgstr "Últimos 30 Días"
272
 
273
- #: wpmandrill.php:985
274
- #: wpmandrill.php:1240
275
  msgid "Last 60 Days"
276
  msgstr "Últimos 60 Días"
277
 
278
- #: wpmandrill.php:986
279
- #: wpmandrill.php:1241
280
  msgid "Last 90 Days"
281
  msgstr "Últimos 90 Días"
282
 
283
- #: wpmandrill.php:987
284
- #: wpmandrill.php:1242
285
  msgid "Periods"
286
  msgstr "Períodos"
287
 
288
- #: wpmandrill.php:988
289
- #: wpmandrill.php:1243
290
- #: stats.php:29
291
  msgid "Volume"
292
  msgstr "Volumen"
293
 
294
- #: wpmandrill.php:989
295
- #: wpmandrill.php:1244
296
  msgid "Total:"
297
  msgstr "Cuota:"
298
 
299
- #: wpmandrill.php:990
300
- #: wpmandrill.php:1245
301
  msgid "Unopened"
302
  msgstr "No abiertos"
303
 
304
- #: wpmandrill.php:991
305
- #: wpmandrill.php:1246
306
  msgid "Bounced or Rejected"
307
  msgstr "Rebotes o Rechazos"
308
 
309
- #: wpmandrill.php:992
310
- #: wpmandrill.php:1247
311
  msgid "Opened"
312
  msgstr "Abiertos"
313
 
314
- #: wpmandrill.php:995
315
- #: wpmandrill.php:1250
316
  msgid "Average Sending Volume"
317
  msgstr "Volumen de Envío Promedio"
318
 
319
- #: wpmandrill.php:996
320
- #: wpmandrill.php:1251
321
  msgid "/day"
322
  msgstr "/día"
323
 
324
- #: wpmandrill.php:997
325
- #: wpmandrill.php:1252
326
  msgid "Average Volume per Day"
327
  msgstr "Volumen Promedio por Período"
328
 
329
- #: wpmandrill.php:1163
330
- #: stats.php:56
331
  msgid "Filter by:"
332
  msgstr "Filtrar por:"
333
 
334
- #: wpmandrill.php:1165
335
- #: stats.php:58
336
  msgid "No filter"
337
  msgstr "Sin Filtro"
338
 
339
- #: wpmandrill.php:1166
340
- #: stats.php:59
341
  msgid "Sender:"
342
  msgstr "Remitente:"
343
 
344
- #: wpmandrill.php:1173
345
- #: stats.php:66
346
  msgid "Tag:"
347
  msgstr "Etiqueta:"
348
 
349
- #: wpmandrill.php:1181
350
- #: stats.php:74
351
  msgid "Display:"
352
  msgstr "Mostrar:"
353
 
354
- #: wpmandrill.php:1183
355
- #: stats.php:76
356
  msgid "Total Volume per Period"
357
  msgstr "Volumen Total por Período"
358
 
359
- #: wpmandrill.php:1184
360
- #: stats.php:77
361
  msgid "Average Volume per Period"
362
  msgstr "Volumen Promedio por Período"
363
 
364
- #: wpmandrilltest.php:44
365
- msgid "Mandrill: How to tell WordPress to use wpMandrill."
366
- msgstr "Mandrill: ¿Cómo decirle a WordPress que utilice wpMandrill?"
367
-
368
- #: wpmandrilltest.php:47
369
- msgid "Mandrill: How to send a regular email."
370
- msgstr "Mandrill: ¿Cómo enviar un correo normal?"
371
-
372
- #: wpmandrilltest.php:50
373
- msgid "Mandrill: How to modify a certain email using the <em>mandrill_payload</em> WordPress filter."
374
- msgstr "Mandrill: ¿Cómo modificar un correo determinado utilizando el filtro WordPress <em>mandrill_payload</em>?"
375
-
376
- #: wpmandrilltest.php:53
377
- msgid "Mandrill: How to send emails from within your plugins."
378
- msgstr "Mandrill: ¿Cómo enviar correo desde tus plugins?"
379
-
380
- #: wpmandrilltest.php:60
381
- msgid "Simply install wpMandrill and configure it to make it handle all the email functions of your WordPress installation."
382
- msgstr "Simplemente instala wpMandrill y configúralo, para hacer que este maneje todas las funciones de correo electrónico en tu instalación WordPress."
383
-
384
- #: wpmandrilltest.php:61
385
- msgid "Once it has been properly configured, it will replace the regular WordPress emailing processes, so it's basically transparent for you and for WordPress."
386
- msgstr "Una vez que este ha sido correctamente configurado, este reemplazará los procesos regulares de envío de correo electrónico de WordPress, así que basicamente será transparente tanto para WordPress como para tí."
387
-
388
- #: wpmandrilltest.php:62
389
- msgid "To test wpMandrill, log out, and try to use the <em>Forgot your password?</em> feature in WordPress (you don't need to reset your password though. Just check the headers of the email that it sends you, and you'll see that it comes from Mandrill's servers)."
390
- msgstr "Para probar wpMandrill, desconéctate de WordPress y utiliza la opción <em>¿Olvidáste tu Clave?</em> de WordPress (no necesitas eliminar tu clave actual, sólo revisa el correo que recibas y verás que fue enviado desde los servidores de Mandrill)."
391
-
392
- #: wpmandrilltest.php:70
393
- msgid "If you're a Plugin Developer, and you need to send a regular email using wpMandrill, you don't need to learn anything else. You can use the good ol' <strong>wp_mail</strong> function, as you would normally do if you were not using this plugin."
394
- msgstr "Si eres un desarrollador de plugins, y necesitas enviar un correo regular utilizando wpMandrill, no necesitarás aprender nada adicional. Puedes usar la conocida funcion <strong>wp_mail</strong> que normalmente utilizarías si no estuvieses utilizando este plugin."
395
-
396
- #: wpmandrilltest.php:71
397
- msgid "For example:"
398
- msgstr "Por ejemplo:"
399
-
400
- #: wpmandrilltest.php:72
401
- msgid "&lt;?php wp_mail('your@address.com', 'Your subject', 'Your message'); ?&gt;"
402
- msgstr "&lt;?php wp_mail('tu@direccion.com', 'Tu Asunto', 'Tu mensaje'); ?&gt;"
403
-
404
- #: wpmandrilltest.php:80
405
- msgid "if you need to fine tune one or some of the emails sent through your WordPress installation, you will need to use the <em>mandrill_payload</em> filter."
406
- msgstr "Si necesitas hacer ajustes particulares a uno a varios correos enviados a través de tu instalación WordPress, necesitarás usar el filtro <em>mandrill_payload</em>."
407
-
408
- #: wpmandrilltest.php:81
409
- msgid "To use it, you must create a function that analyzes the payload that is about to be sent to Mandrill, and modify it based on your requirements. Then you'll need to add this function as the callback of the mentioned filter, using the <em>add_filter</em> WordPress call. And finally, insert it into your theme's functions.php file or you own plugin's file."
410
- msgstr "Para usarlo, debes crear una función que analice el payload que Mandrill está a punto de enviar, y modificarlo basado en tus requerimiento. Luego, necesitarás agregar esta función como el callback del filtro antes mencionado, utilizando la función de Wordpress <em>add_filter</em>. Finalmente, insertar ese código en el archivo functions.php de tu tema o en tu propio plugin."
411
-
412
- #: wpmandrilltest.php:82
413
- msgid "You can use the following code as an skeleton for your own callbacks:"
414
- msgstr "Puedes utilizar el siguiente código como el esqueleto de tus propias llamadas."
415
-
416
- #: wpmandrilltest.php:96
417
- msgid "Let's say you're using the <a href=\"http://wordpress.org/extend/plugins/cart66-lite/\" target=\"_blank\">Cart66 Lite Ecommerce plugin</a> and you want to modify the emails sent from this plugin. Here's what you should do:"
418
- msgstr "Asi que digamos que estás utilizando el <a href=\"http://wordpress.org/extend/plugins/cart66-lite/\" target=\"_blank\">plugin de Ecommerce Cart66 Lite</a> y quieres modificar los correos enviados desde este plugin. Aquí está lo que deberías hacer:"
419
-
420
- #: wpmandrilltest.php:124
421
- msgid "If you are a Plugin Developer and you need to create a deep integration between Mandrill and your WordPress installation, wpMandrill will make your life easier."
422
- msgstr "Si eres un desarrollador de plugins y necesitas crear una integración más produnda entre Mandrill y tu instalación WordPress, wpMandrill te hará la vida más fácil."
423
-
424
- #: wpmandrilltest.php:125
425
- msgid "We have exposed a simple function that allows you to add tags and specify the template to use, in addition to specifying the To, Subject and Body sections of the email:"
426
- msgstr "Hemos creado una simple función que te permite agregarle etiquetas y la plantilla a utilizar además de los campos Para, Asunto y Cuerpo de tu mensaje:"
427
-
428
- #: wpmandrilltest.php:126
429
- msgid "&lt;?php wpMandrill::mail($to, $subject, $html, $headers = '', $attachments = array(), $tags = array(), $from_name = '', $from_email = '', $template_name = ''); ?&gt;"
430
- msgstr "&lt;?php wpMandrill::mail($para, $asunto, $html, $cabeceras = '', $adjuntos = array(), $etiquetas = array(), $campo_nombre = '', $campo_correo = '', $nombre_plantilla = ''); ?&gt;"
431
-
432
- #: wpmandrilltest.php:127
433
- msgid "But if you need Mandrill Powers, we have included a full-featured PHP class called Mandrill. It has every API call defined in Mandrill's API. Check it out at <em>/wp-content/plugin/wpmandrill/lib/mandrill.class.php</em>."
434
- msgstr "Pero si necesitas Poderes de Mandrill, hemos incluido una clase PHP con todas las llamadas de la API de Mandrill incluidas, llamada Mandrill. Echale un vistazo en <em>/wp-content/plugin/wpmandrill/lib/mandrill.class.php</em>."
435
-
436
- #: wpmandrilltest.php:128
437
- msgid "To use it, just instanciate an object passing your API key, and make the calls:"
438
- msgstr "Para usarla, simplemente instancia un objeto pasándole una Clave API y haz tus llamadas:"
439
-
440
- #: wpmandrilltest.php:129
441
- msgid "&lt;?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?&gt;"
442
- msgstr "&lt;?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?&gt;"
443
-
444
- #: wpmandrilltest.php:139
445
- msgid "Mandrill How-Tos"
446
- msgstr "Mandrill: ¿Cómo hago?"
447
-
448
- #: wpmandrilltest.php:139
449
- msgid "Mandrill Test"
450
- msgstr "Prueba Mandrill"
451
-
452
- #: wpmandrilltest.php:149
453
- msgid "The purpose of this plugin is to show you how easy it is to start using the awesome platform that Mandrill offers to handle your transactional emails."
454
- msgstr "El objeto de este plugin es mostrarte cuan fácil es es comenzar a utilizar la plataforma que Mandrill ofrece para manejar tus correos transaccionales."
455
-
456
- #: wpmandrilltest.php:151
457
- msgid "Just by setting it up, all the emails sent from your WordPress installation will be sent using the power of Mandrill."
458
- msgstr "Sólo con configurarlo, todos los correos enviados desde tu instalación WordPress serán enviados utilizando el poder de Mandrill."
459
-
460
- #: wpmandrilltest.php:152
461
- msgid "If you want further customization, you can use the <strong>mandrill_payload</strong> filter we've provided."
462
- msgstr "Si necesitas mayor personalización, puedes utilizar el filtro <strong>mandrill_payload</strong> que hemos provisto para ti."
463
-
464
- #: wpmandrilltest.php:153
465
- msgid "And if you want an even greater integration between your application and Mandrill, we've created a convenient call to send emails from within your plugins."
466
- msgstr "Y si quieres una integración aún mayor entre tu aplicación y Mandrill, hemos creado una sencilla función para el envío de correos desde tus plugins."
467
-
468
- #: wpmandrilltest.php:155
469
- msgid "You can learn more about all of these features right from this page."
470
- msgstr "Puedes conocer como usar cada una de estas características desde esta página."
471
-
472
- #: wpmandrilltest.php:194
473
- msgid "Mandrill How-tos"
474
- msgstr "Mandrill: ¿Cómo hago?"
475
-
476
  #: stats.php:4
477
  msgid "Mandrill Service Report"
478
  msgstr "Reporte del Servicio Mandrill"
@@ -482,98 +468,102 @@ msgid "Hourly Sending Volume and Open/Click Rate"
482
  msgstr "Volumen de Envío y Tasa de Apertura y Cliqueo Por Horas"
483
 
484
  #: stats.php:21
485
- msgid "Daily Sending Volume and Open/Click Rate"
486
- msgstr "Volumen de Envío y Tasa de Apertura y Cliqueo Diario"
487
-
488
- #: stats.php:22
489
  msgid "Hours"
490
  msgstr "Horas"
491
 
492
- #: stats.php:23
493
- msgid "Days"
494
- msgstr "Días"
495
-
496
- #: stats.php:24
497
  msgid "Hour"
498
  msgstr "Hora"
499
 
 
 
 
 
500
  #: stats.php:25
 
 
 
 
501
  msgid "Day"
502
  msgstr "Día"
503
 
504
- #: stats.php:27
505
  msgid "in the last 30 days"
506
  msgstr "en los últimos 30 días"
507
 
508
- #: stats.php:28
509
  msgid "Open & Click Rate"
510
  msgstr "Tasa de Apertura y Cliqueo"
511
 
512
- #: stats.php:30
513
  msgid "emails"
514
  msgstr "emails"
515
 
516
- #: stats.php:31
517
  msgid "Open Rate"
518
  msgstr "Tasa de Apertura"
519
 
520
- #: stats.php:32
521
  msgid "Click Rate"
522
  msgstr "Tasa de Cliqueo"
523
 
524
- #: stats.php:36
525
  #, php-format
526
  msgid "All-time statistics since %s: "
527
  msgstr "Estadísticas desde %s:"
528
 
529
- #: stats.php:39
530
  msgid "Reputation:"
531
  msgstr "Reputación:"
532
 
533
- #: stats.php:40
534
  msgid "Quota:"
535
  msgstr "Cuota:"
536
 
537
- #: stats.php:40
538
  msgid "sends/hour"
539
  msgstr "envíos/hora"
540
 
541
- #: stats.php:41
542
  msgid "Emails sent:"
543
  msgstr "Correos enviados:"
544
 
545
- #: stats.php:42
546
  msgid "Emails delivered:"
547
  msgstr "Correos entregados:"
548
 
549
- #: stats.php:43
550
  msgid "Tracked opens:"
551
  msgstr "Aperturas registradas:"
552
 
553
- #: stats.php:44
554
  msgid "Tracked clicks:"
555
  msgstr "Clicks registrados:"
556
 
557
- #: stats.php:46
558
  msgid "Rejects:"
559
  msgstr "Rechazos:"
560
 
561
- #: stats.php:47
562
  msgid "Complaints:"
563
  msgstr "Quejas:"
564
 
565
- #: stats.php:48
566
  msgid "Current backlog:"
567
  msgstr "Backlog actual:"
568
 
569
- #: stats.php:55
570
  msgid "Filtered statistics:"
571
  msgstr "Estadísticas filtradas:"
572
 
573
- #: stats.php:352
574
  msgid "For more detailed statistics, please visit your Mandrill Dashboard"
575
  msgstr "Para estadísticas más detalladas, por favor visita tu Tablero Mandrill"
576
 
 
 
 
 
577
  #~ msgid "Testing Arena for Mandrill"
578
  #~ msgstr "Caja de Arena de wpMandrill"
579
  #~ msgid "Mandrill Report"
2
  msgstr ""
3
  "Project-Id-Version: wpMandrill 1.0 rc1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-04-26 16:25-0500\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Will Castillo <will@mailchimp.com>\n"
8
  "Language-Team: MailChimp <will@mailchimp.com>\n"
16
  "X-Poedit-KeywordsList: __;_e\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: how-tos.php:14
20
+ msgid "Mandrill: How to tell WordPress to use wpMandrill."
21
+ msgstr "Mandrill: ¿Cómo decirle a WordPress que utilice wpMandrill?"
22
+
23
+ #: how-tos.php:17
24
+ msgid "Mandrill: How to send a regular email."
25
+ msgstr "Mandrill: ¿Cómo enviar un correo normal?"
26
+
27
+ #: how-tos.php:20
28
+ msgid "Mandrill: How to modify a certain email using the <em>mandrill_payload</em> WordPress filter."
29
+ msgstr "Mandrill: ¿Cómo modificar un correo determinado utilizando el filtro WordPress <em>mandrill_payload</em>?"
30
+
31
+ #: how-tos.php:23
32
+ msgid "Mandrill: How to send emails from within your plugins."
33
+ msgstr "Mandrill: ¿Cómo enviar correo desde tus plugins?"
34
+
35
+ #: how-tos.php:46
36
+ msgid "The purpose of this how-to is to show you how easy it is to start using the awesome platform that Mandrill offers to handle your transactional emails."
37
+ msgstr "El objeto de esta sección es mostrarte cuan fácil es es comenzar a utilizar la plataforma que Mandrill ofrece para manejar tus correos transaccionales."
38
+
39
+ #: how-tos.php:48
40
+ msgid "Just by setting it up, all the emails sent from your WordPress installation will be sent using the power of Mandrill."
41
+ msgstr "Sólo con configurarlo, todos los correos enviados desde tu instalación WordPress serán enviados utilizando el poder de Mandrill."
42
+
43
+ #: how-tos.php:49
44
+ msgid "If you want further customization, you can use the <strong>mandrill_payload</strong> filter we've provided."
45
+ msgstr "Si necesitas mayor personalización, puedes utilizar el filtro <strong>mandrill_payload</strong> que hemos provisto para ti."
46
+
47
+ #: how-tos.php:50
48
+ msgid "And if you want an even greater integration between your application and Mandrill, we've created a convenient call to send emails from within your plugins."
49
+ msgstr "Y si quieres una integración aún mayor entre tu aplicación y Mandrill, hemos creado una sencilla función para el envío de correos desde tus plugins."
50
+
51
+ #: how-tos.php:52
52
+ msgid "You can learn more about all of these features right from this page."
53
+ msgstr "Puedes conocer como usar cada una de estas características desde esta página."
54
+
55
+ #: how-tos.php:59
56
+ msgid "Simply install wpMandrill and configure it to make it handle all the email functions of your WordPress installation."
57
+ msgstr "Simplemente instala wpMandrill y configúralo, para hacer que este maneje todas las funciones de correo electrónico en tu instalación WordPress."
58
+
59
+ #: how-tos.php:60
60
+ msgid "Once it has been properly configured, it will replace the regular WordPress emailing processes, so it's basically transparent for you and for WordPress."
61
+ msgstr "Una vez que este ha sido correctamente configurado, este reemplazará los procesos regulares de envío de correo electrónico de WordPress, así que basicamente será transparente tanto para WordPress como para tí."
62
+
63
+ #: how-tos.php:61
64
+ msgid "To test wpMandrill, log out, and try to use the <em>Forgot your password?</em> feature in WordPress (you don't need to reset your password though. Just check the headers of the email that it sends you, and you'll see that it comes from Mandrill's servers)."
65
+ msgstr "Para probar wpMandrill, desconéctate de WordPress y utiliza la opción <em>¿Olvidáste tu Clave?</em> de WordPress (no necesitas eliminar tu clave actual, sólo revisa el correo que recibas y verás que fue enviado desde los servidores de Mandrill)."
66
+
67
+ #: how-tos.php:69
68
+ msgid "If you're a Plugin Developer, and you need to send a regular email using wpMandrill, you don't need to learn anything else. You can use the good ol' <strong>wp_mail</strong> function, as you would normally do if you were not using this plugin."
69
+ msgstr "Si eres un desarrollador de plugins, y necesitas enviar un correo regular utilizando wpMandrill, no necesitarás aprender nada adicional. Puedes usar la conocida funcion <strong>wp_mail</strong> que normalmente utilizarías si no estuvieses utilizando este plugin."
70
+
71
+ #: how-tos.php:70
72
+ msgid "For example:"
73
+ msgstr "Por ejemplo:"
74
+
75
+ #: how-tos.php:71
76
+ msgid "&lt;?php wp_mail('your@address.com', 'Your subject', 'Your message'); ?&gt;"
77
+ msgstr "&lt;?php wp_mail('tu@direccion.com', 'Tu Asunto', 'Tu mensaje'); ?&gt;"
78
+
79
+ #: how-tos.php:79
80
+ msgid "if you need to fine tune one or some of the emails sent through your WordPress installation, you will need to use the <em>mandrill_payload</em> filter."
81
+ msgstr "Si necesitas hacer ajustes particulares a uno a varios correos enviados a través de tu instalación WordPress, necesitarás usar el filtro <em>mandrill_payload</em>."
82
+
83
+ #: how-tos.php:80
84
+ msgid "To use it, you must create a function that analyzes the payload that is about to be sent to Mandrill, and modify it based on your requirements. Then you'll need to add this function as the callback of the mentioned filter, using the <em>add_filter</em> WordPress call. And finally, insert it into your theme's functions.php file or you own plugin's file."
85
+ msgstr "Para usarlo, debes crear una función que analice el payload que Mandrill está a punto de enviar, y modificarlo basado en tus requerimiento. Luego, necesitarás agregar esta función como el callback del filtro antes mencionado, utilizando la función de Wordpress <em>add_filter</em>. Finalmente, insertar ese código en el archivo functions.php de tu tema o en tu propio plugin."
86
+
87
+ #: how-tos.php:81
88
+ msgid "You can use the following code as an skeleton for your own callbacks:"
89
+ msgstr "Puedes utilizar el siguiente código como el esqueleto de tus propias llamadas."
90
+
91
+ #: how-tos.php:95
92
+ msgid "Let's say you're using the <a href=\"http://wordpress.org/extend/plugins/cart66-lite/\" target=\"_blank\">Cart66 Lite Ecommerce plugin</a> and you want to modify the emails sent from this plugin. Here's what you should do:"
93
+ msgstr "Asi que digamos que estás utilizando el <a href=\"http://wordpress.org/extend/plugins/cart66-lite/\" target=\"_blank\">plugin de Ecommerce Cart66 Lite</a> y quieres modificar los correos enviados desde este plugin. Aquí está lo que deberías hacer:"
94
+
95
+ #: how-tos.php:123
96
+ msgid "If you are a Plugin Developer and you need to create a deep integration between Mandrill and your WordPress installation, wpMandrill will make your life easier."
97
+ msgstr "Si eres un desarrollador de plugins y necesitas crear una integración más produnda entre Mandrill y tu instalación WordPress, wpMandrill te hará la vida más fácil."
98
+
99
+ #: how-tos.php:124
100
+ msgid "We have exposed a simple function that allows you to add tags and specify the template to use, in addition to specifying the To, Subject and Body sections of the email:"
101
+ msgstr "Hemos creado una simple función que te permite agregarle etiquetas y la plantilla a utilizar además de los campos Para, Asunto y Cuerpo de tu mensaje:"
102
+
103
+ #: how-tos.php:125
104
+ msgid "&lt;?php wpMandrill::mail($to, $subject, $html, $headers = '', $attachments = array(), $tags = array(), $from_name = '', $from_email = '', $template_name = ''); ?&gt;"
105
+ msgstr "&lt;?php wpMandrill::mail($para, $asunto, $html, $cabeceras = '', $adjuntos = array(), $etiquetas = array(), $campo_nombre = '', $campo_correo = '', $nombre_plantilla = ''); ?&gt;"
106
+
107
+ #: how-tos.php:126
108
+ msgid "But if you need Mandrill Powers, we have included a full-featured PHP class called Mandrill. It has every API call defined in Mandrill's API. Check it out at <em>/wp-content/plugin/wpmandrill/lib/mandrill.class.php</em>."
109
+ msgstr "Pero si necesitas Poderes de Mandrill, hemos incluido una clase PHP con todas las llamadas de la API de Mandrill incluidas, llamada Mandrill. Echale un vistazo en <em>/wp-content/plugin/wpmandrill/lib/mandrill.class.php</em>."
110
+
111
+ #: how-tos.php:127
112
+ msgid "To use it, just instantiate an object passing your API key, and make the calls:"
113
+ msgstr "Para usarla, simplemente instancia un objeto pasándole una Clave API y haz tus llamadas:"
114
+
115
+ #: how-tos.php:128
116
+ msgid "&lt;?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?&gt;"
117
+ msgstr "&lt;?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?&gt;"
118
+
119
  #: wpmandrill.php:81
120
  msgid "API Settings"
121
  msgstr "Configuración de la API"
142
 
143
  #: wpmandrill.php:94
144
  #: wpmandrill.php:98
 
 
 
 
145
  msgid "&nbsp;"
146
  msgstr "&nbsp;"
147
 
165
  msgid "Message"
166
  msgstr "Mensaje"
167
 
168
+ #: wpmandrill.php:119
169
+ #: wpmandrill.php:235
170
  msgid "Mandrill Settings"
171
  msgstr "Configuración de Mandrill"
172
 
173
+ #: wpmandrill.php:120
174
  msgid "Mandrill"
175
  msgstr "Mandrill"
176
 
177
+ #: wpmandrill.php:128
178
+ #: wpmandrill.php:129
179
  msgid "Mandrill Reports"
180
  msgstr "Reportes Mandrill"
181
 
182
+ #: wpmandrill.php:151
183
  msgid "Mandrill: wp_mail has been declared by another process or plugin, so you won't be able to use Mandrill until the problem is solved."
184
  msgstr "Mandrill: wp?install ha sido declarado por otro proceso o plugin por lo que no podras usar Mandrill hasta que soluciones este inconveniente."
185
 
186
+ #: wpmandrill.php:180
187
  msgid "To use this plugin you will need:"
188
  msgstr "Para utilizar este plugin necesitarás:"
189
 
190
+ #: wpmandrill.php:182
191
  msgid "Your Mandrill account."
192
  msgstr "Tu cuenta Mandrill"
193
 
194
+ #: wpmandrill.php:183
195
  msgid "At least one verified domain."
196
  msgstr "Al menos un dominio verificado."
197
 
198
+ #: wpmandrill.php:184
199
  msgid "A valid sender email address specified."
200
  msgstr "Una dirección de correo electrónico de remitente válido."
201
 
202
+ #: wpmandrill.php:189
203
  msgid "Once you have properly configured the settings, the plugin will take care of all the emails sent through your WordPress installation."
204
  msgstr "Una vez que hayas completado la configuración, el plugin se hará cargo de todos los correos enviados a través de tu instalación WordPress."
205
 
206
+ #: wpmandrill.php:190
207
  msgid "However, if you need to customize any part of the email before sending, you can do so by using the WordPress filter <strong>mandrill_payload</strong>."
208
  msgstr "De cualquier forma, si alguna vez necesitas alterar cualquier parte del email antes de que este sea enviado, lo podrás hacer utilizando el filtro WordPress <strong>mandrill_payload</strong>."
209
 
210
+ #: wpmandrill.php:191
211
  msgid "This filter has the same structure as Mandrill's API call <a href=\"http://mandrillapp.com/api/docs/messages.html#method=send\" target=\"_blank\">/messages/send</a>, except that it can have one additional parameter when the email is based on a template. The parameter is called \"<em>template</em>\", which is an associative array of two elements (the first element, a string whose key is \"<em>template_name</em>\", and a second parameter whose key is \"<em>template_content</em>\". Its value is an array with the same structure of the parameter \"<em>template_content</em>\" in the call <a href=\"http://mandrillapp.com/api/docs/messages.html#method=send-template\" target=\"_blank\">/messages/send-template</a>.)"
212
  msgstr "Este filtro tiene la misma estructura de la llamada a la API de Mandrill <a href=\"http://mandrillapp.com/api/docs/messages.html#method=send\" target=\"_blank\">/messages/send</a>, excepto que esta podría tener un parámetro adicional cuando el email está basado en una plantilla. El parametro se llama \"<em>template</em>\", el cual es un arreglo asociativo de dos elementos (el primero, una cadena de caracteres cuya clave es \"<em>template_name</em>\", y un segundo parámetro cuya clave es \"<em>template_content</em>\" y su valor es una arreglo con la misma estructura del parámetro \"<em>template_content</em>\" de la llamada <a href=\"http://mandrillapp.com/api/docs/messages.html#method=send-template\" target=\"_blank\">/messages/send-template</a>.)"
213
 
214
+ #: wpmandrill.php:192
215
  msgid "Note that if you're sending additional headers in your emails, the only valid headers are <em>From:</em>, <em>Reply-To:</em>, and <em>X-*:</em>. <em>Bcc:</em> is also valid, but Mandrill will send the blind carbon copy to only the first address, and the remaining will be silently discarted."
216
  msgstr "Ten en cuenta que si estás intentando enviar cabeceras adicionales en tus correos, las únicas cabeceras válidas serán <em>From:</em>, <em>Reply-To:</em> y <em>X-*:</em>. <em>Bcc:</em> también es válido, pero Mandrill sólo enviará la copia oculta a la primera dirección, descartando silenciosamente el resto de las direcciones especificadas en el campo Bcc: que envíes."
217
 
218
+ #: wpmandrill.php:193
219
  msgid "Also note that if any error occurs while sending the email, the plugin will try to send the message again using the native WordPress mailing capabilities."
220
  msgstr "También ten presente que si ocurre cualquier error durante el envío del correo, el plugin intentará enviar el mensaje otra vez, utilizando las capacidades de envío de correo nativas de WordPress."
221
 
222
+ #: wpmandrill.php:194
223
  msgid "Confirm that any change you made to the payload is in line with the <a href=\"http://mandrillapp.com/api/docs/\" target=\"_blank\">Mandrill's API's documentation</a>. Also, the <em>X-*:</em> headers, must be in line with the <a href=\"http://help.mandrill.com/customer/portal/articles/456744-smtp-headers-api\" target=\"_blank\">SMTP API documentation</a>. By using this plugin, you agree that you and your website will adhere to <a href=\"http://mandrill.com/legal/terms/\" target=\"_blank\">Mandrill's Terms of Use</a>."
224
  msgstr "Asegúrate que cualquier cambio que hagas en el payload esté cónsono con la <a href=\"http://mandrillapp.com/api/docs/\" target=\"_blank\">Documentacion de la API de Mandrill</a>. También, las cabeceras <em>X-*:</em> deben estar en línea con la <a href=\"http://help.mandrill.com/customer/portal/articles/456744-smtp-headers-api\" target=\"_blank\">Documentación de la API SMTP</a>. Al utilizar este plugin estás aceptando adherirte tu y tu sitio web a los <a href=\"http://mandrill.com/legal/terms/\" target=\"_blank\">Términos y Condiciones de Mandrill</a>."
225
 
226
+ #: wpmandrill.php:195
227
  msgid "if you have any question about Mandrill or this plugin, visit the <a href=\"http://help.mandrill.com/\" target=\"_blank\">Mandrill's Support Center</a>."
228
  msgstr "Si tienes alguna pregunta sobre mandrill o este plugin, visita el <a href=\"http://help.mandrill.com/\" target=\"_blank\">Centro de Soporte de Mandrill</a>."
229
 
230
+ #: wpmandrill.php:213
 
231
  msgid "Settings"
232
  msgstr "Configuraciones"
233
 
234
+ #: wpmandrill.php:214
235
  msgid "Reports"
236
  msgstr "Reportes"
237
 
238
+ #: wpmandrill.php:226
 
239
  #: stats.php:1
240
  msgid "You do not have sufficient permissions to access this page."
241
  msgstr "No tienes suficiente permisología para acceder a esta página."
242
 
243
+ #: wpmandrill.php:256
244
  msgid "Send Email"
245
  msgstr "Campo Email:"
246
 
247
+ #: wpmandrill.php:274
248
  msgid "Latest from Mandrill..."
249
  msgstr "Lo último de Mandrill..."
250
 
251
+ #: wpmandrill.php:288
252
  msgid "News from MailChimp..."
253
  msgstr "Noticias de MailChimp"
254
 
255
+ #: wpmandrill.php:315
256
+ msgid "Mandrill How-Tos"
257
+ msgstr "Mandrill: ¿Cómo hago?"
258
+
259
+ #: wpmandrill.php:342
260
  msgid "You must define a valid sender email."
261
  msgstr "Debes definir un correo electrónico de remitente válido."
262
 
263
+ #: wpmandrill.php:592
264
  msgid "Test email send failed. "
265
  msgstr "El correo electrónico de prueba falló."
266
 
267
+ #: wpmandrill.php:602
268
  #, php-format
269
  msgid "Test executed: %d emails sent, %d emails queued and %d emails rejected"
270
  msgstr "Prueba ejecutada: %d emails enviados, %d emails encolados y %d emails rechazados"
271
 
272
+ #: wpmandrill.php:617
273
  msgid "To get your API key, please visit your <a href=\"http://mandrillapp.com/settings/index\" target=\"_blank\">Mandrill Settings</a>"
274
  msgstr "Para obtener tu Clave API, por favor visita tu <a href=\"http://mandrillapp.com/settings/index\" target=\"_blank\">Configuración Mandrill</a>"
275
 
276
+ #: wpmandrill.php:619
277
  msgid "We are connected to your Mandrill Account."
278
  msgstr "Estamos conectados a tu cuenta Mandrill."
279
 
280
+ #: wpmandrill.php:621
281
  msgid "Sorry, invalid API key."
282
  msgstr "Lo siento, Clave API inválida."
283
 
284
+ #: wpmandrill.php:637
285
  msgid "No verified domains found."
286
  msgstr "No se encontraros dominios verificados."
287
 
288
+ #: wpmandrill.php:649
289
  msgid "This address will be used as the sender of the outgoing emails:"
290
  msgstr "Esta dirección será utilizada como el remitente para los correos salientes:"
291
 
292
+ #: wpmandrill.php:655
293
  msgid "Only verified domains are displayed here. If you need to verify a new domain, please visit your <a href=\"https://mandrillapp.com/settings/sending-domains\" target=\"_blank\">Mandrill Settings</a>"
294
  msgstr "Aquí sólo se mostrarán dominios verificados. Si necesitas verificar un nuevo dominio, por favor visita tu <a href=\"https://mandrillapp.com/settings/sending-domains\" target=\"_blank\">Configuracipón Mandrill</a>"
295
 
296
+ #: wpmandrill.php:665
297
  msgid "Name the recipients will see in their email clients:"
298
  msgstr "Nombre que los destinatarios verán en sus clientes de correo:"
299
 
300
+ #: wpmandrill.php:676
301
+ #: wpmandrill.php:686
302
  msgid "No templates found."
303
  msgstr "No se encontraron plantillas."
304
 
305
+ #: wpmandrill.php:695
306
  msgid "Select the template to use:"
307
  msgstr "Seleccione la plantilla a utilizar:"
308
 
309
+ #: wpmandrill.php:701
310
  msgid "<small>The selected template must have a <strong><em>mc:edit=\"main\"</em></strong> placeholder defined. The message will be shown there.</small>"
311
  msgstr "<small>La plantilla seleccionada debe tener una sección <strong><em>mc:edit=\"main\"</em></strong> definida. El mensaje será mostrado ahí.</small>"
312
 
313
+ #: wpmandrill.php:711
314
  msgid "If there are tags that you want appended to every call, list them here, one per line:"
315
  msgstr "Si hay etiquetas que quieras agregar a cada llamada, lístalas aquí, una por línea."
316
 
317
+ #: wpmandrill.php:713
318
  msgid "Also keep in mind that you can add or remove tags using the <em><a href=\"#\" onclick=\"jQuery('a#contextual-help-link').trigger('click');return false;\">mandrill_payload</a></em> WordPress filter."
319
  msgstr "También recuerda que puedes agregar o eliminar etiquetas utilizando el filtro WordPress <em><a href=\"#\" onclick=\"jQuery('a#contextual-help-link').trigger('click');return false;\">mandrill_payload</a></em>."
320
 
321
+ #: wpmandrill.php:921
322
  msgid "Mandrill Recent Statistics"
323
  msgstr "Estadistas Recientes de Mandrill"
324
 
325
+ #: wpmandrill.php:943
326
+ #: wpmandrill.php:1159
327
  #: stats.php:8
328
  msgid "There was a problem retrieving statistics."
329
  msgstr "Hubo un problema recuperando las estadísticas."
330
 
331
+ #: wpmandrill.php:1001
332
+ #: wpmandrill.php:1256
333
  msgid "Sending Volume"
334
  msgstr "Volumen de Envío"
335
 
336
+ #: wpmandrill.php:1002
337
+ #: wpmandrill.php:1257
338
  msgid " emails"
339
  msgstr " emails"
340
 
341
+ #: wpmandrill.php:1003
342
+ #: wpmandrill.php:1258
343
  msgid "Total Volume per Day"
344
  msgstr "Volumen Total por Período"
345
 
346
+ #: wpmandrill.php:1005
347
+ #: wpmandrill.php:1260
348
  msgid "in the last few days"
349
  msgstr "en los últimos días"
350
 
351
+ #: wpmandrill.php:1006
352
+ #: wpmandrill.php:1261
353
  msgid "in the last few months"
354
  msgstr "en los últimos meses"
355
 
356
+ #: wpmandrill.php:1007
357
+ #: wpmandrill.php:1262
358
  msgid "Today"
359
  msgstr "Hoy"
360
 
361
+ #: wpmandrill.php:1008
362
+ #: wpmandrill.php:1263
363
  msgid "Last 7 Days"
364
  msgstr "Últimos 7 Días"
365
 
366
+ #: wpmandrill.php:1009
367
+ #: wpmandrill.php:1264
368
  msgid "Last 30 Days"
369
  msgstr "Últimos 30 Días"
370
 
371
+ #: wpmandrill.php:1010
372
+ #: wpmandrill.php:1265
373
  msgid "Last 60 Days"
374
  msgstr "Últimos 60 Días"
375
 
376
+ #: wpmandrill.php:1011
377
+ #: wpmandrill.php:1266
378
  msgid "Last 90 Days"
379
  msgstr "Últimos 90 Días"
380
 
381
+ #: wpmandrill.php:1012
382
+ #: wpmandrill.php:1267
383
  msgid "Periods"
384
  msgstr "Períodos"
385
 
386
+ #: wpmandrill.php:1013
387
+ #: wpmandrill.php:1268
388
+ #: stats.php:30
389
  msgid "Volume"
390
  msgstr "Volumen"
391
 
392
+ #: wpmandrill.php:1014
393
+ #: wpmandrill.php:1269
394
  msgid "Total:"
395
  msgstr "Cuota:"
396
 
397
+ #: wpmandrill.php:1015
398
+ #: wpmandrill.php:1270
399
  msgid "Unopened"
400
  msgstr "No abiertos"
401
 
402
+ #: wpmandrill.php:1016
403
+ #: wpmandrill.php:1271
404
  msgid "Bounced or Rejected"
405
  msgstr "Rebotes o Rechazos"
406
 
407
+ #: wpmandrill.php:1017
408
+ #: wpmandrill.php:1272
409
  msgid "Opened"
410
  msgstr "Abiertos"
411
 
412
+ #: wpmandrill.php:1020
413
+ #: wpmandrill.php:1275
414
  msgid "Average Sending Volume"
415
  msgstr "Volumen de Envío Promedio"
416
 
417
+ #: wpmandrill.php:1021
418
+ #: wpmandrill.php:1276
419
  msgid "/day"
420
  msgstr "/día"
421
 
422
+ #: wpmandrill.php:1022
423
+ #: wpmandrill.php:1277
424
  msgid "Average Volume per Day"
425
  msgstr "Volumen Promedio por Período"
426
 
427
+ #: wpmandrill.php:1188
428
+ #: stats.php:57
429
  msgid "Filter by:"
430
  msgstr "Filtrar por:"
431
 
432
+ #: wpmandrill.php:1190
433
+ #: stats.php:59
434
  msgid "No filter"
435
  msgstr "Sin Filtro"
436
 
437
+ #: wpmandrill.php:1191
438
+ #: stats.php:60
439
  msgid "Sender:"
440
  msgstr "Remitente:"
441
 
442
+ #: wpmandrill.php:1198
443
+ #: stats.php:67
444
  msgid "Tag:"
445
  msgstr "Etiqueta:"
446
 
447
+ #: wpmandrill.php:1206
448
+ #: stats.php:75
449
  msgid "Display:"
450
  msgstr "Mostrar:"
451
 
452
+ #: wpmandrill.php:1208
453
+ #: stats.php:77
454
  msgid "Total Volume per Period"
455
  msgstr "Volumen Total por Período"
456
 
457
+ #: wpmandrill.php:1209
458
+ #: stats.php:78
459
  msgid "Average Volume per Period"
460
  msgstr "Volumen Promedio por Período"
461
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
462
  #: stats.php:4
463
  msgid "Mandrill Service Report"
464
  msgstr "Reporte del Servicio Mandrill"
468
  msgstr "Volumen de Envío y Tasa de Apertura y Cliqueo Por Horas"
469
 
470
  #: stats.php:21
 
 
 
 
471
  msgid "Hours"
472
  msgstr "Horas"
473
 
474
+ #: stats.php:22
 
 
 
 
475
  msgid "Hour"
476
  msgstr "Hora"
477
 
478
+ #: stats.php:24
479
+ msgid "Daily Sending Volume and Open/Click Rate"
480
+ msgstr "Volumen de Envío y Tasa de Apertura y Cliqueo Diario"
481
+
482
  #: stats.php:25
483
+ msgid "Days"
484
+ msgstr "Días"
485
+
486
+ #: stats.php:26
487
  msgid "Day"
488
  msgstr "Día"
489
 
490
+ #: stats.php:28
491
  msgid "in the last 30 days"
492
  msgstr "en los últimos 30 días"
493
 
494
+ #: stats.php:29
495
  msgid "Open & Click Rate"
496
  msgstr "Tasa de Apertura y Cliqueo"
497
 
498
+ #: stats.php:31
499
  msgid "emails"
500
  msgstr "emails"
501
 
502
+ #: stats.php:32
503
  msgid "Open Rate"
504
  msgstr "Tasa de Apertura"
505
 
506
+ #: stats.php:33
507
  msgid "Click Rate"
508
  msgstr "Tasa de Cliqueo"
509
 
510
+ #: stats.php:37
511
  #, php-format
512
  msgid "All-time statistics since %s: "
513
  msgstr "Estadísticas desde %s:"
514
 
515
+ #: stats.php:40
516
  msgid "Reputation:"
517
  msgstr "Reputación:"
518
 
519
+ #: stats.php:41
520
  msgid "Quota:"
521
  msgstr "Cuota:"
522
 
523
+ #: stats.php:41
524
  msgid "sends/hour"
525
  msgstr "envíos/hora"
526
 
527
+ #: stats.php:42
528
  msgid "Emails sent:"
529
  msgstr "Correos enviados:"
530
 
531
+ #: stats.php:43
532
  msgid "Emails delivered:"
533
  msgstr "Correos entregados:"
534
 
535
+ #: stats.php:44
536
  msgid "Tracked opens:"
537
  msgstr "Aperturas registradas:"
538
 
539
+ #: stats.php:45
540
  msgid "Tracked clicks:"
541
  msgstr "Clicks registrados:"
542
 
543
+ #: stats.php:47
544
  msgid "Rejects:"
545
  msgstr "Rechazos:"
546
 
547
+ #: stats.php:48
548
  msgid "Complaints:"
549
  msgstr "Quejas:"
550
 
551
+ #: stats.php:49
552
  msgid "Current backlog:"
553
  msgstr "Backlog actual:"
554
 
555
+ #: stats.php:56
556
  msgid "Filtered statistics:"
557
  msgstr "Estadísticas filtradas:"
558
 
559
+ #: stats.php:353
560
  msgid "For more detailed statistics, please visit your Mandrill Dashboard"
561
  msgstr "Para estadísticas más detalladas, por favor visita tu Tablero Mandrill"
562
 
563
+ #~ msgid "Mandrill Test"
564
+ #~ msgstr "Prueba Mandrill"
565
+ #~ msgid "Mandrill How-tos"
566
+ #~ msgstr "Mandrill: ¿Cómo hago?"
567
  #~ msgid "Testing Arena for Mandrill"
568
  #~ msgstr "Caja de Arena de wpMandrill"
569
  #~ msgid "Mandrill Report"
readme.txt CHANGED
@@ -6,6 +6,7 @@ Tested up to: 3.3.2
6
  Stable tag: trunk
7
 
8
  The wpMandrill plugin sends emails that are generated by WordPress through Mandrill, a transactional email service powered by MailChimp.
 
9
 
10
  == Description ==
11
 
@@ -31,7 +32,6 @@ This plugin is currently released as **beta** for early adopter evaluation and f
31
  1. Upload `wpMandrill` to the `/wp-content/plugins/` directory
32
  1. Activate the plugin through the _Plugins_ menu in WordPress
33
  1. Configure plugin in _Settings > Mandrill_
34
- 1. Optionally, you can activate and check the **wpMandrill How-Tos** plugin
35
 
36
  == Frequently Asked Questions ==
37
 
@@ -41,7 +41,7 @@ In order to use this plugin, you have to provide one of your Mandrill API keys.
41
 
42
  = Do I need a MailChimp account? =
43
 
44
- Right now, Mandrill is officially in open beta for Mailchimp users. So, yes, you need a MailChimp account in order to create a Mandrill account.
45
 
46
  = Is all email routed through Mandrill? =
47
 
@@ -59,3 +59,11 @@ If the sending fails for any reason, the plugin will try to send it again using
59
 
60
  = 1.0 =
61
  * Public release
 
 
 
 
 
 
 
 
6
  Stable tag: trunk
7
 
8
  The wpMandrill plugin sends emails that are generated by WordPress through Mandrill, a transactional email service powered by MailChimp.
9
+ ** SE HABLA ESPAÑOL **
10
 
11
  == Description ==
12
 
32
  1. Upload `wpMandrill` to the `/wp-content/plugins/` directory
33
  1. Activate the plugin through the _Plugins_ menu in WordPress
34
  1. Configure plugin in _Settings > Mandrill_
 
35
 
36
  == Frequently Asked Questions ==
37
 
41
 
42
  = Do I need a MailChimp account? =
43
 
44
+ Not anymore! Mandrill is now officially in open beta to anyone so go get a [new account now!](http://mandrillapp.com/).
45
 
46
  = Is all email routed through Mandrill? =
47
 
59
 
60
  = 1.0 =
61
  * Public release
62
+
63
+ = 1.01 =
64
+ * Removing How-To Plugin
65
+ * Adding How-To page
66
+
67
+ = 1.02 =
68
+ * Fixed: Dashboard widget title was displaying incorrectly when a filter was defined.
69
+
wpmandrill.php CHANGED
@@ -5,7 +5,7 @@ Description: wpMandrill sends emails, generated by WordPress using Mandrill.
5
  Author: Mandrill
6
  Author URI: http://mandrillapp.com/
7
  Plugin URI: http://connect.mailchimp.com/integrations/wpmandrill
8
- Version: 1.0
9
  Text Domain: wpmandrill
10
  */
11
 
@@ -106,6 +106,7 @@ class wpMandrill {
106
  add_settings_field('email-subject', __('Subject', self::WPDOMAIN), array(__CLASS__, 'askTestEmailSubject'), 'wpmandrill-test', 'mandrill-email-test');
107
  add_settings_field('email-message', __('Message', self::WPDOMAIN), array(__CLASS__, 'askTestEmailMessage'), 'wpmandrill-test', 'mandrill-email-test');
108
  }
 
109
  }
110
  }
111
 
@@ -121,6 +122,7 @@ class wpMandrill {
121
  self::WPDOMAIN,
122
  array(__CLASS__,'showOptionsPage')
123
  );
 
124
  if( self::isConnected() ) {
125
  self::$report = add_dashboard_page(
126
  __('Mandrill Reports', self::WPDOMAIN),
@@ -212,7 +214,7 @@ class wpMandrill {
212
  $report = array('report' => '<a href="index.php?page=wpmandrill-reports">' . __('Reports', self::WPDOMAIN) . '</a>');
213
  $actions = array_merge($settings, $actions, $report);
214
  }
215
-
216
  return $actions;
217
  }
218
 
@@ -222,11 +224,15 @@ class wpMandrill {
222
  static function showOptionsPage() {
223
  if (!current_user_can('manage_options'))
224
  wp_die( __('You do not have sufficient permissions to access this page.') );
225
-
 
 
 
 
226
  ?>
227
  <div class="wrap">
228
  <div class="icon32" style="background: url('<?php echo plugins_url('images/mandrill-head-icon.png',__FILE__); ?>');"><br /></div>
229
- <h2><?php _e('Mandrill Settings', self::WPDOMAIN); ?></h2>
230
 
231
  <div style="float: left;width: 70%;">
232
  <form method="post" action="options.php">
@@ -302,6 +308,25 @@ class wpMandrill {
302
  <?php
303
  }
304
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  static function showReportPage() {
306
  require plugin_dir_path( __FILE__ ) . '/stats.php';
307
  }
@@ -506,13 +531,13 @@ jQuery(document).bind( 'ready', function() {
506
 
507
  $domains = self::$mandrill->senders_domains();
508
  if ( is_wp_error($domains) || empty($domains) ) return false;
509
-
510
  foreach ( $domains as $index => $domain ) {
511
  if ( !$domains[$index]['is_enabled'] ) {
512
  unset($domains[$index]);
513
  }
514
  }
515
-
516
  return array_values($domains);
517
  }
518
 
@@ -887,13 +912,13 @@ jQuery(document).bind( 'ready', function() {
887
  $filter_used = '';
888
  } elseif ( substr($filter,0,2) == 's:' ) {
889
  $filter = substr($filter,2);
890
- $filter_used = 'Filtering by sender: '.$filter;
891
  } else {
892
- $filter_used = 'Filtering by tag: '.$tag;
893
  }
894
 
895
  wp_add_dashboard_widget( "mandrill_widget",
896
- __("Mandrill Recent Statistics", self::WPDOMAIN) . (!empty($filter_used) ? ': ' . $filter_used : ''),
897
  array(__CLASS__, 'showDashboardWidget'),
898
  array(__CLASS__, 'showDashboardWidgetOptions')
899
  );
5
  Author: Mandrill
6
  Author URI: http://mandrillapp.com/
7
  Plugin URI: http://connect.mailchimp.com/integrations/wpmandrill
8
+ Version: 1.02
9
  Text Domain: wpmandrill
10
  */
11
 
106
  add_settings_field('email-subject', __('Subject', self::WPDOMAIN), array(__CLASS__, 'askTestEmailSubject'), 'wpmandrill-test', 'mandrill-email-test');
107
  add_settings_field('email-message', __('Message', self::WPDOMAIN), array(__CLASS__, 'askTestEmailMessage'), 'wpmandrill-test', 'mandrill-email-test');
108
  }
109
+
110
  }
111
  }
112
 
122
  self::WPDOMAIN,
123
  array(__CLASS__,'showOptionsPage')
124
  );
125
+
126
  if( self::isConnected() ) {
127
  self::$report = add_dashboard_page(
128
  __('Mandrill Reports', self::WPDOMAIN),
214
  $report = array('report' => '<a href="index.php?page=wpmandrill-reports">' . __('Reports', self::WPDOMAIN) . '</a>');
215
  $actions = array_merge($settings, $actions, $report);
216
  }
217
+
218
  return $actions;
219
  }
220
 
224
  static function showOptionsPage() {
225
  if (!current_user_can('manage_options'))
226
  wp_die( __('You do not have sufficient permissions to access this page.') );
227
+
228
+ if ( isset($_GET['show']) && $_GET['show'] == 'how-tos' ) {
229
+ self::showHowTos();
230
+ return;
231
+ }
232
  ?>
233
  <div class="wrap">
234
  <div class="icon32" style="background: url('<?php echo plugins_url('images/mandrill-head-icon.png',__FILE__); ?>');"><br /></div>
235
+ <h2><?php _e('Mandrill Settings', self::WPDOMAIN); ?> <small><a href="options-general.php?page=<?=self::WPDOMAIN; ?>&show=how-tos">view how-tos</a></small></h2>
236
 
237
  <div style="float: left;width: 70%;">
238
  <form method="post" action="options.php">
308
  <?php
309
  }
310
 
311
+ static function showHowTos() {
312
+ ?>
313
+ <div class="wrap">
314
+ <div class="icon32" style="background: url('<?php echo plugins_url('images/mandrill-head-icon.png',__FILE__); ?>');"><br /></div>
315
+ <h2><?php _e('Mandrill How-Tos', self::WPDOMAIN); ?> <small><a href="options-general.php?page=<?=self::WPDOMAIN; ?>">back to settings</a></small></h2>
316
+ <?php
317
+ require plugin_dir_path( __FILE__ ) . '/how-tos.php';
318
+
319
+ echo wpMandrill_HowTos::show('intro');
320
+ echo wpMandrill_HowTos::show('auto');
321
+ echo wpMandrill_HowTos::show('regular');
322
+ echo wpMandrill_HowTos::show('filter');
323
+ echo wpMandrill_HowTos::show('direct');
324
+
325
+ ?>
326
+ </div>
327
+ <?php
328
+ }
329
+
330
  static function showReportPage() {
331
  require plugin_dir_path( __FILE__ ) . '/stats.php';
332
  }
531
 
532
  $domains = self::$mandrill->senders_domains();
533
  if ( is_wp_error($domains) || empty($domains) ) return false;
534
+ /*
535
  foreach ( $domains as $index => $domain ) {
536
  if ( !$domains[$index]['is_enabled'] ) {
537
  unset($domains[$index]);
538
  }
539
  }
540
+ */
541
  return array_values($domains);
542
  }
543
 
912
  $filter_used = '';
913
  } elseif ( substr($filter,0,2) == 's:' ) {
914
  $filter = substr($filter,2);
915
+ $filter_used = 'Sender: '.$filter;
916
  } else {
917
+ $filter_used = 'Tag: '.$filter;
918
  }
919
 
920
  wp_add_dashboard_widget( "mandrill_widget",
921
+ __("Mandrill Recent Statistics", self::WPDOMAIN) . (!empty($filter_used) ? ' &raquo; ' . $filter_used : ''),
922
  array(__CLASS__, 'showDashboardWidget'),
923
  array(__CLASS__, 'showDashboardWidgetOptions')
924
  );