Version Description
- ADDED: Blank .po file for other translations :)
- ADDED: Some debugging messages just in case need arises.
- ADDED: Adding GNU license
- ADDED: Mandrill's blog RSS
Download this release
Release Info
Developer | MC_Will |
Plugin | wpMandrill |
Version | 1.10 |
Comparing to | |
See all releases |
Code changes from version 1.09 to 1.10
- gpl-2.0.txt +339 -0
- lang/wpmandrill-es_ES.mo +0 -0
- lang/wpmandrill-es_ES.po +603 -0
- lang/wpmandrill.mo +0 -0
- lang/wpmandrill.po +138 -151
- lib/mandrill.class.php +10 -1
- readme.txt +46 -23
- screenshot-1.jpg +0 -0
- screenshot-1.png +0 -0
- screenshot-2.jpg +0 -0
- screenshot-2.png +0 -0
- screenshot-3.jpg +0 -0
- screenshot-3.png +0 -0
- screenshot-4.jpg +0 -0
- wpmandrill.php +56 -13
gpl-2.0.txt
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 2, June 1991
|
3 |
+
|
4 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
5 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
6 |
+
Everyone is permitted to copy and distribute verbatim copies
|
7 |
+
of this license document, but changing it is not allowed.
|
8 |
+
|
9 |
+
Preamble
|
10 |
+
|
11 |
+
The licenses for most software are designed to take away your
|
12 |
+
freedom to share and change it. By contrast, the GNU General Public
|
13 |
+
License is intended to guarantee your freedom to share and change free
|
14 |
+
software--to make sure the software is free for all its users. This
|
15 |
+
General Public License applies to most of the Free Software
|
16 |
+
Foundation's software and to any other program whose authors commit to
|
17 |
+
using it. (Some other Free Software Foundation software is covered by
|
18 |
+
the GNU Lesser General Public License instead.) You can apply it to
|
19 |
+
your programs, too.
|
20 |
+
|
21 |
+
When we speak of free software, we are referring to freedom, not
|
22 |
+
price. Our General Public Licenses are designed to make sure that you
|
23 |
+
have the freedom to distribute copies of free software (and charge for
|
24 |
+
this service if you wish), that you receive source code or can get it
|
25 |
+
if you want it, that you can change the software or use pieces of it
|
26 |
+
in new free programs; and that you know you can do these things.
|
27 |
+
|
28 |
+
To protect your rights, we need to make restrictions that forbid
|
29 |
+
anyone to deny you these rights or to ask you to surrender the rights.
|
30 |
+
These restrictions translate to certain responsibilities for you if you
|
31 |
+
distribute copies of the software, or if you modify it.
|
32 |
+
|
33 |
+
For example, if you distribute copies of such a program, whether
|
34 |
+
gratis or for a fee, you must give the recipients all the rights that
|
35 |
+
you have. You must make sure that they, too, receive or can get the
|
36 |
+
source code. And you must show them these terms so they know their
|
37 |
+
rights.
|
38 |
+
|
39 |
+
We protect your rights with two steps: (1) copyright the software, and
|
40 |
+
(2) offer you this license which gives you legal permission to copy,
|
41 |
+
distribute and/or modify the software.
|
42 |
+
|
43 |
+
Also, for each author's protection and ours, we want to make certain
|
44 |
+
that everyone understands that there is no warranty for this free
|
45 |
+
software. If the software is modified by someone else and passed on, we
|
46 |
+
want its recipients to know that what they have is not the original, so
|
47 |
+
that any problems introduced by others will not reflect on the original
|
48 |
+
authors' reputations.
|
49 |
+
|
50 |
+
Finally, any free program is threatened constantly by software
|
51 |
+
patents. We wish to avoid the danger that redistributors of a free
|
52 |
+
program will individually obtain patent licenses, in effect making the
|
53 |
+
program proprietary. To prevent this, we have made it clear that any
|
54 |
+
patent must be licensed for everyone's free use or not licensed at all.
|
55 |
+
|
56 |
+
The precise terms and conditions for copying, distribution and
|
57 |
+
modification follow.
|
58 |
+
|
59 |
+
GNU GENERAL PUBLIC LICENSE
|
60 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
61 |
+
|
62 |
+
0. This License applies to any program or other work which contains
|
63 |
+
a notice placed by the copyright holder saying it may be distributed
|
64 |
+
under the terms of this General Public License. The "Program", below,
|
65 |
+
refers to any such program or work, and a "work based on the Program"
|
66 |
+
means either the Program or any derivative work under copyright law:
|
67 |
+
that is to say, a work containing the Program or a portion of it,
|
68 |
+
either verbatim or with modifications and/or translated into another
|
69 |
+
language. (Hereinafter, translation is included without limitation in
|
70 |
+
the term "modification".) Each licensee is addressed as "you".
|
71 |
+
|
72 |
+
Activities other than copying, distribution and modification are not
|
73 |
+
covered by this License; they are outside its scope. The act of
|
74 |
+
running the Program is not restricted, and the output from the Program
|
75 |
+
is covered only if its contents constitute a work based on the
|
76 |
+
Program (independent of having been made by running the Program).
|
77 |
+
Whether that is true depends on what the Program does.
|
78 |
+
|
79 |
+
1. You may copy and distribute verbatim copies of the Program's
|
80 |
+
source code as you receive it, in any medium, provided that you
|
81 |
+
conspicuously and appropriately publish on each copy an appropriate
|
82 |
+
copyright notice and disclaimer of warranty; keep intact all the
|
83 |
+
notices that refer to this License and to the absence of any warranty;
|
84 |
+
and give any other recipients of the Program a copy of this License
|
85 |
+
along with the Program.
|
86 |
+
|
87 |
+
You may charge a fee for the physical act of transferring a copy, and
|
88 |
+
you may at your option offer warranty protection in exchange for a fee.
|
89 |
+
|
90 |
+
2. You may modify your copy or copies of the Program or any portion
|
91 |
+
of it, thus forming a work based on the Program, and copy and
|
92 |
+
distribute such modifications or work under the terms of Section 1
|
93 |
+
above, provided that you also meet all of these conditions:
|
94 |
+
|
95 |
+
a) You must cause the modified files to carry prominent notices
|
96 |
+
stating that you changed the files and the date of any change.
|
97 |
+
|
98 |
+
b) You must cause any work that you distribute or publish, that in
|
99 |
+
whole or in part contains or is derived from the Program or any
|
100 |
+
part thereof, to be licensed as a whole at no charge to all third
|
101 |
+
parties under the terms of this License.
|
102 |
+
|
103 |
+
c) If the modified program normally reads commands interactively
|
104 |
+
when run, you must cause it, when started running for such
|
105 |
+
interactive use in the most ordinary way, to print or display an
|
106 |
+
announcement including an appropriate copyright notice and a
|
107 |
+
notice that there is no warranty (or else, saying that you provide
|
108 |
+
a warranty) and that users may redistribute the program under
|
109 |
+
these conditions, and telling the user how to view a copy of this
|
110 |
+
License. (Exception: if the Program itself is interactive but
|
111 |
+
does not normally print such an announcement, your work based on
|
112 |
+
the Program is not required to print an announcement.)
|
113 |
+
|
114 |
+
These requirements apply to the modified work as a whole. If
|
115 |
+
identifiable sections of that work are not derived from the Program,
|
116 |
+
and can be reasonably considered independent and separate works in
|
117 |
+
themselves, then this License, and its terms, do not apply to those
|
118 |
+
sections when you distribute them as separate works. But when you
|
119 |
+
distribute the same sections as part of a whole which is a work based
|
120 |
+
on the Program, the distribution of the whole must be on the terms of
|
121 |
+
this License, whose permissions for other licensees extend to the
|
122 |
+
entire whole, and thus to each and every part regardless of who wrote it.
|
123 |
+
|
124 |
+
Thus, it is not the intent of this section to claim rights or contest
|
125 |
+
your rights to work written entirely by you; rather, the intent is to
|
126 |
+
exercise the right to control the distribution of derivative or
|
127 |
+
collective works based on the Program.
|
128 |
+
|
129 |
+
In addition, mere aggregation of another work not based on the Program
|
130 |
+
with the Program (or with a work based on the Program) on a volume of
|
131 |
+
a storage or distribution medium does not bring the other work under
|
132 |
+
the scope of this License.
|
133 |
+
|
134 |
+
3. You may copy and distribute the Program (or a work based on it,
|
135 |
+
under Section 2) in object code or executable form under the terms of
|
136 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
137 |
+
|
138 |
+
a) Accompany it with the complete corresponding machine-readable
|
139 |
+
source code, which must be distributed under the terms of Sections
|
140 |
+
1 and 2 above on a medium customarily used for software interchange; or,
|
141 |
+
|
142 |
+
b) Accompany it with a written offer, valid for at least three
|
143 |
+
years, to give any third party, for a charge no more than your
|
144 |
+
cost of physically performing source distribution, a complete
|
145 |
+
machine-readable copy of the corresponding source code, to be
|
146 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
147 |
+
customarily used for software interchange; or,
|
148 |
+
|
149 |
+
c) Accompany it with the information you received as to the offer
|
150 |
+
to distribute corresponding source code. (This alternative is
|
151 |
+
allowed only for noncommercial distribution and only if you
|
152 |
+
received the program in object code or executable form with such
|
153 |
+
an offer, in accord with Subsection b above.)
|
154 |
+
|
155 |
+
The source code for a work means the preferred form of the work for
|
156 |
+
making modifications to it. For an executable work, complete source
|
157 |
+
code means all the source code for all modules it contains, plus any
|
158 |
+
associated interface definition files, plus the scripts used to
|
159 |
+
control compilation and installation of the executable. However, as a
|
160 |
+
special exception, the source code distributed need not include
|
161 |
+
anything that is normally distributed (in either source or binary
|
162 |
+
form) with the major components (compiler, kernel, and so on) of the
|
163 |
+
operating system on which the executable runs, unless that component
|
164 |
+
itself accompanies the executable.
|
165 |
+
|
166 |
+
If distribution of executable or object code is made by offering
|
167 |
+
access to copy from a designated place, then offering equivalent
|
168 |
+
access to copy the source code from the same place counts as
|
169 |
+
distribution of the source code, even though third parties are not
|
170 |
+
compelled to copy the source along with the object code.
|
171 |
+
|
172 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
173 |
+
except as expressly provided under this License. Any attempt
|
174 |
+
otherwise to copy, modify, sublicense or distribute the Program is
|
175 |
+
void, and will automatically terminate your rights under this License.
|
176 |
+
However, parties who have received copies, or rights, from you under
|
177 |
+
this License will not have their licenses terminated so long as such
|
178 |
+
parties remain in full compliance.
|
179 |
+
|
180 |
+
5. You are not required to accept this License, since you have not
|
181 |
+
signed it. However, nothing else grants you permission to modify or
|
182 |
+
distribute the Program or its derivative works. These actions are
|
183 |
+
prohibited by law if you do not accept this License. Therefore, by
|
184 |
+
modifying or distributing the Program (or any work based on the
|
185 |
+
Program), you indicate your acceptance of this License to do so, and
|
186 |
+
all its terms and conditions for copying, distributing or modifying
|
187 |
+
the Program or works based on it.
|
188 |
+
|
189 |
+
6. Each time you redistribute the Program (or any work based on the
|
190 |
+
Program), the recipient automatically receives a license from the
|
191 |
+
original licensor to copy, distribute or modify the Program subject to
|
192 |
+
these terms and conditions. You may not impose any further
|
193 |
+
restrictions on the recipients' exercise of the rights granted herein.
|
194 |
+
You are not responsible for enforcing compliance by third parties to
|
195 |
+
this License.
|
196 |
+
|
197 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
198 |
+
infringement or for any other reason (not limited to patent issues),
|
199 |
+
conditions are imposed on you (whether by court order, agreement or
|
200 |
+
otherwise) that contradict the conditions of this License, they do not
|
201 |
+
excuse you from the conditions of this License. If you cannot
|
202 |
+
distribute so as to satisfy simultaneously your obligations under this
|
203 |
+
License and any other pertinent obligations, then as a consequence you
|
204 |
+
may not distribute the Program at all. For example, if a patent
|
205 |
+
license would not permit royalty-free redistribution of the Program by
|
206 |
+
all those who receive copies directly or indirectly through you, then
|
207 |
+
the only way you could satisfy both it and this License would be to
|
208 |
+
refrain entirely from distribution of the Program.
|
209 |
+
|
210 |
+
If any portion of this section is held invalid or unenforceable under
|
211 |
+
any particular circumstance, the balance of the section is intended to
|
212 |
+
apply and the section as a whole is intended to apply in other
|
213 |
+
circumstances.
|
214 |
+
|
215 |
+
It is not the purpose of this section to induce you to infringe any
|
216 |
+
patents or other property right claims or to contest validity of any
|
217 |
+
such claims; this section has the sole purpose of protecting the
|
218 |
+
integrity of the free software distribution system, which is
|
219 |
+
implemented by public license practices. Many people have made
|
220 |
+
generous contributions to the wide range of software distributed
|
221 |
+
through that system in reliance on consistent application of that
|
222 |
+
system; it is up to the author/donor to decide if he or she is willing
|
223 |
+
to distribute software through any other system and a licensee cannot
|
224 |
+
impose that choice.
|
225 |
+
|
226 |
+
This section is intended to make thoroughly clear what is believed to
|
227 |
+
be a consequence of the rest of this License.
|
228 |
+
|
229 |
+
8. If the distribution and/or use of the Program is restricted in
|
230 |
+
certain countries either by patents or by copyrighted interfaces, the
|
231 |
+
original copyright holder who places the Program under this License
|
232 |
+
may add an explicit geographical distribution limitation excluding
|
233 |
+
those countries, so that distribution is permitted only in or among
|
234 |
+
countries not thus excluded. In such case, this License incorporates
|
235 |
+
the limitation as if written in the body of this License.
|
236 |
+
|
237 |
+
9. The Free Software Foundation may publish revised and/or new versions
|
238 |
+
of the General Public License from time to time. Such new versions will
|
239 |
+
be similar in spirit to the present version, but may differ in detail to
|
240 |
+
address new problems or concerns.
|
241 |
+
|
242 |
+
Each version is given a distinguishing version number. If the Program
|
243 |
+
specifies a version number of this License which applies to it and "any
|
244 |
+
later version", you have the option of following the terms and conditions
|
245 |
+
either of that version or of any later version published by the Free
|
246 |
+
Software Foundation. If the Program does not specify a version number of
|
247 |
+
this License, you may choose any version ever published by the Free Software
|
248 |
+
Foundation.
|
249 |
+
|
250 |
+
10. If you wish to incorporate parts of the Program into other free
|
251 |
+
programs whose distribution conditions are different, write to the author
|
252 |
+
to ask for permission. For software which is copyrighted by the Free
|
253 |
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
254 |
+
make exceptions for this. Our decision will be guided by the two goals
|
255 |
+
of preserving the free status of all derivatives of our free software and
|
256 |
+
of promoting the sharing and reuse of software generally.
|
257 |
+
|
258 |
+
NO WARRANTY
|
259 |
+
|
260 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261 |
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262 |
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263 |
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264 |
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265 |
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266 |
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267 |
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268 |
+
REPAIR OR CORRECTION.
|
269 |
+
|
270 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272 |
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273 |
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274 |
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275 |
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276 |
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277 |
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278 |
+
POSSIBILITY OF SUCH DAMAGES.
|
279 |
+
|
280 |
+
END OF TERMS AND CONDITIONS
|
281 |
+
|
282 |
+
How to Apply These Terms to Your New Programs
|
283 |
+
|
284 |
+
If you develop a new program, and you want it to be of the greatest
|
285 |
+
possible use to the public, the best way to achieve this is to make it
|
286 |
+
free software which everyone can redistribute and change under these terms.
|
287 |
+
|
288 |
+
To do so, attach the following notices to the program. It is safest
|
289 |
+
to attach them to the start of each source file to most effectively
|
290 |
+
convey the exclusion of warranty; and each file should have at least
|
291 |
+
the "copyright" line and a pointer to where the full notice is found.
|
292 |
+
|
293 |
+
<one line to give the program's name and a brief idea of what it does.>
|
294 |
+
Copyright (C) <year> <name of author>
|
295 |
+
|
296 |
+
This program is free software; you can redistribute it and/or modify
|
297 |
+
it under the terms of the GNU General Public License as published by
|
298 |
+
the Free Software Foundation; either version 2 of the License, or
|
299 |
+
(at your option) any later version.
|
300 |
+
|
301 |
+
This program is distributed in the hope that it will be useful,
|
302 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
303 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
304 |
+
GNU General Public License for more details.
|
305 |
+
|
306 |
+
You should have received a copy of the GNU General Public License along
|
307 |
+
with this program; if not, write to the Free Software Foundation, Inc.,
|
308 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
309 |
+
|
310 |
+
Also add information on how to contact you by electronic and paper mail.
|
311 |
+
|
312 |
+
If the program is interactive, make it output a short notice like this
|
313 |
+
when it starts in an interactive mode:
|
314 |
+
|
315 |
+
Gnomovision version 69, Copyright (C) year name of author
|
316 |
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
317 |
+
This is free software, and you are welcome to redistribute it
|
318 |
+
under certain conditions; type `show c' for details.
|
319 |
+
|
320 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
321 |
+
parts of the General Public License. Of course, the commands you use may
|
322 |
+
be called something other than `show w' and `show c'; they could even be
|
323 |
+
mouse-clicks or menu items--whatever suits your program.
|
324 |
+
|
325 |
+
You should also get your employer (if you work as a programmer) or your
|
326 |
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
327 |
+
necessary. Here is a sample; alter the names:
|
328 |
+
|
329 |
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
330 |
+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
331 |
+
|
332 |
+
<signature of Ty Coon>, 1 April 1989
|
333 |
+
Ty Coon, President of Vice
|
334 |
+
|
335 |
+
This General Public License does not permit incorporating your program into
|
336 |
+
proprietary programs. If your program is a subroutine library, you may
|
337 |
+
consider it more useful to permit linking proprietary applications with the
|
338 |
+
library. If this is what you want to do, use the GNU Lesser General
|
339 |
+
Public License instead of this License.
|
lang/wpmandrill-es_ES.mo
CHANGED
Binary file
|
lang/wpmandrill-es_ES.po
ADDED
@@ -0,0 +1,603 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: wpMandrill 1.0\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-05-10 10:30-0500\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Will Castillo <will@mailchimp.com>\n"
|
8 |
+
"Language-Team: Mandrill <will@mailchimp.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: Spanish\n"
|
13 |
+
"X-Poedit-Country: UNITED STATES\n"
|
14 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
+
"X-Poedit-Basepath: ../\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 "<?php wp_mail('your@address.com', 'Your subject', 'Your message'); ?>"
|
77 |
+
msgstr "<?php wp_mail('tu@direccion.com', 'Tu Asunto', 'Tu mensaje'); ?>"
|
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 "<?php wpMandrill::mail($to, $subject, $html, $headers = '', $attachments = array(), $tags = array(), $from_name = '', $from_email = '', $template_name = ''); ?>"
|
105 |
+
msgstr "<?php wpMandrill::mail($para, $asunto, $html, $cabeceras = '', $adjuntos = array(), $etiquetas = array(), $campo_nombre = '', $campo_correo = '', $nombre_plantilla = ''); ?>"
|
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 "<?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?>"
|
117 |
+
msgstr "<?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?>"
|
118 |
+
|
119 |
+
#: wpmandrill.php:94
|
120 |
+
msgid "API Settings"
|
121 |
+
msgstr "Configuración de la API"
|
122 |
+
|
123 |
+
#: wpmandrill.php:95
|
124 |
+
msgid "API Key"
|
125 |
+
msgstr "Clave API"
|
126 |
+
|
127 |
+
#: wpmandrill.php:101
|
128 |
+
msgid "Sender Settings"
|
129 |
+
msgstr "Configuración del Remitente"
|
130 |
+
|
131 |
+
#: wpmandrill.php:102
|
132 |
+
msgid "FROM Name"
|
133 |
+
msgstr "Campo De:"
|
134 |
+
|
135 |
+
#: wpmandrill.php:103
|
136 |
+
msgid "FROM Email"
|
137 |
+
msgstr "Campo Email:"
|
138 |
+
|
139 |
+
#: wpmandrill.php:104
|
140 |
+
msgid "Reply-To Email"
|
141 |
+
msgstr "Dirección Reply-To"
|
142 |
+
|
143 |
+
#: wpmandrill.php:107
|
144 |
+
msgid "General Design"
|
145 |
+
msgstr "Diseño General"
|
146 |
+
|
147 |
+
#: wpmandrill.php:108
|
148 |
+
msgid "Template"
|
149 |
+
msgstr "Plantilla"
|
150 |
+
|
151 |
+
#: wpmandrill.php:109
|
152 |
+
msgid "Content"
|
153 |
+
msgstr "Contenido"
|
154 |
+
|
155 |
+
#: wpmandrill.php:112
|
156 |
+
msgid "General Tags"
|
157 |
+
msgstr "Etiquetas Generales"
|
158 |
+
|
159 |
+
#: wpmandrill.php:113
|
160 |
+
msgid " "
|
161 |
+
msgstr " "
|
162 |
+
|
163 |
+
#: wpmandrill.php:119
|
164 |
+
msgid "Send a test email using these settings"
|
165 |
+
msgstr "Enviar un correo electrónico de prueba usando estas configuraciones"
|
166 |
+
|
167 |
+
#: wpmandrill.php:120
|
168 |
+
msgid "Send to"
|
169 |
+
msgstr "Enviar a"
|
170 |
+
|
171 |
+
#: wpmandrill.php:121
|
172 |
+
msgid "Subject"
|
173 |
+
msgstr "Asunto"
|
174 |
+
|
175 |
+
#: wpmandrill.php:122
|
176 |
+
msgid "Message"
|
177 |
+
msgstr "Mensaje"
|
178 |
+
|
179 |
+
#: wpmandrill.php:134
|
180 |
+
#: wpmandrill.php:256
|
181 |
+
msgid "Mandrill Settings"
|
182 |
+
msgstr "Configuración de Mandrill"
|
183 |
+
|
184 |
+
#: wpmandrill.php:135
|
185 |
+
msgid "Mandrill"
|
186 |
+
msgstr "Mandrill"
|
187 |
+
|
188 |
+
#: wpmandrill.php:143
|
189 |
+
#: wpmandrill.php:144
|
190 |
+
msgid "Mandrill Reports"
|
191 |
+
msgstr "Reportes Mandrill"
|
192 |
+
|
193 |
+
#: wpmandrill.php:166
|
194 |
+
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."
|
195 |
+
msgstr "Mandrill: wp?install ha sido declarado por otro proceso o plugin por lo que no podras usar Mandrill hasta que soluciones este inconveniente."
|
196 |
+
|
197 |
+
#: wpmandrill.php:195
|
198 |
+
msgid "To use this plugin you will need:"
|
199 |
+
msgstr "Para utilizar este plugin necesitarás:"
|
200 |
+
|
201 |
+
#: wpmandrill.php:197
|
202 |
+
msgid "Your Mandrill account."
|
203 |
+
msgstr "Tu cuenta Mandrill"
|
204 |
+
|
205 |
+
#: wpmandrill.php:198
|
206 |
+
msgid "At least one domain defined in your Mandrill account."
|
207 |
+
msgstr "Mandrill: ¿Cómo decirle a WordPress que utilice wpMandrill?"
|
208 |
+
|
209 |
+
#: wpmandrill.php:199
|
210 |
+
msgid "A valid sender email address."
|
211 |
+
msgstr "Una dirección de correo electrónico de remitente válido."
|
212 |
+
|
213 |
+
#: wpmandrill.php:204
|
214 |
+
msgid "Once you have properly configured the settings, the plugin will take care of all the emails sent through your WordPress installation."
|
215 |
+
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."
|
216 |
+
|
217 |
+
#: wpmandrill.php:205
|
218 |
+
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>."
|
219 |
+
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>."
|
220 |
+
|
221 |
+
#: wpmandrill.php:206
|
222 |
+
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>.)"
|
223 |
+
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>.)"
|
224 |
+
|
225 |
+
#: wpmandrill.php:207
|
226 |
+
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."
|
227 |
+
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."
|
228 |
+
|
229 |
+
#: wpmandrill.php:208
|
230 |
+
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."
|
231 |
+
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."
|
232 |
+
|
233 |
+
#: wpmandrill.php:209
|
234 |
+
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>."
|
235 |
+
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>."
|
236 |
+
|
237 |
+
#: wpmandrill.php:210
|
238 |
+
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>."
|
239 |
+
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>."
|
240 |
+
|
241 |
+
#: wpmandrill.php:228
|
242 |
+
msgid "Settings"
|
243 |
+
msgstr "Configuraciones"
|
244 |
+
|
245 |
+
#: wpmandrill.php:231
|
246 |
+
msgid "Reports"
|
247 |
+
msgstr "Reportes"
|
248 |
+
|
249 |
+
#: wpmandrill.php:247
|
250 |
+
#: stats.php:1
|
251 |
+
msgid "You do not have sufficient permissions to access this page."
|
252 |
+
msgstr "No tienes suficiente permisología para acceder a esta página."
|
253 |
+
|
254 |
+
#: wpmandrill.php:277
|
255 |
+
msgid "Send Email"
|
256 |
+
msgstr "Campo Email:"
|
257 |
+
|
258 |
+
#: wpmandrill.php:295
|
259 |
+
msgid "Latest from Mandrill..."
|
260 |
+
msgstr "Lo último de Mandrill..."
|
261 |
+
|
262 |
+
#: wpmandrill.php:309
|
263 |
+
msgid "News from MailChimp..."
|
264 |
+
msgstr "Noticias de MailChimp"
|
265 |
+
|
266 |
+
#: wpmandrill.php:336
|
267 |
+
msgid "Mandrill How-Tos"
|
268 |
+
msgstr "Mandrill: ¿Cómo hago?"
|
269 |
+
|
270 |
+
#: wpmandrill.php:363
|
271 |
+
msgid "You must define a valid sender email."
|
272 |
+
msgstr "Debes definir un correo electrónico de remitente válido."
|
273 |
+
|
274 |
+
#: wpmandrill.php:643
|
275 |
+
msgid "Test email send failed. "
|
276 |
+
msgstr "El correo electrónico de prueba falló."
|
277 |
+
|
278 |
+
#: wpmandrill.php:660
|
279 |
+
#, php-format
|
280 |
+
msgid "Test executed: %d emails sent, %d emails queued and %d emails rejected"
|
281 |
+
msgstr "Prueba ejecutada: %d emails enviados, %d emails encolados y %d emails rechazados"
|
282 |
+
|
283 |
+
#: wpmandrill.php:675
|
284 |
+
msgid "To get your API key, please visit your <a href=\"http://mandrillapp.com/settings/index\" target=\"_blank\">Mandrill Settings</a>"
|
285 |
+
msgstr "Para obtener tu Clave API, por favor visita tu <a href=\"http://mandrillapp.com/settings/index\" target=\"_blank\">Configuración Mandrill</a>"
|
286 |
+
|
287 |
+
#: wpmandrill.php:677
|
288 |
+
msgid "We are connected to your Mandrill Account."
|
289 |
+
msgstr "Estamos conectados a tu cuenta Mandrill."
|
290 |
+
|
291 |
+
#: wpmandrill.php:679
|
292 |
+
msgid "Sorry, invalid API key."
|
293 |
+
msgstr "Lo siento, Clave API inválida."
|
294 |
+
|
295 |
+
#: wpmandrill.php:695
|
296 |
+
msgid "No domains found."
|
297 |
+
msgstr "No se encontraros dominios."
|
298 |
+
|
299 |
+
#: wpmandrill.php:707
|
300 |
+
msgid "This address will be used as the sender of the outgoing emails:"
|
301 |
+
msgstr "Esta dirección será utilizada como el remitente para los correos salientes:"
|
302 |
+
|
303 |
+
#: wpmandrill.php:713
|
304 |
+
msgid "If you need to add a new domain, please visit your <a href=\"https://mandrillapp.com/settings/sending-domains\" target=\"_blank\">Mandrill Settings</a>"
|
305 |
+
msgstr "Si necesita agregar un nuevo dominio, por favor visita tu <a href=\"https://mandrillapp.com/settings/sending-domains\" target=\"_blank\">Configuracipón Mandrill</a>"
|
306 |
+
|
307 |
+
#: wpmandrill.php:723
|
308 |
+
msgid "Name the recipients will see in their email clients:"
|
309 |
+
msgstr "Nombre que los destinatarios verán en sus clientes de correo:"
|
310 |
+
|
311 |
+
#: wpmandrill.php:735
|
312 |
+
msgid "This address will be used as the recipient where replies from the users will be sent to:"
|
313 |
+
msgstr "Esta dirección será utilizada como el destinatario a donde irán las respuestas de los remitentes:"
|
314 |
+
|
315 |
+
#: wpmandrill.php:737
|
316 |
+
msgid "Leave blank to use the FROM Email. If you want to override this setting, you must use the <em><a href=\"#\" onclick=\"jQuery('a#contextual-help-link').trigger('click');return false;\">mandrill_payload</a></em> WordPress filter."
|
317 |
+
msgstr "Deja en blanco para usar el Campo Email. Si quisieras cambiar esta configuración para casos particulares, deberás usar el filtro WordPress <em><a href=\"#\" onclick=\"jQuery('a#contextual-help-link').trigger('click');return false;\">mandrill_payload</a></em>."
|
318 |
+
|
319 |
+
#: wpmandrill.php:746
|
320 |
+
#: wpmandrill.php:756
|
321 |
+
msgid "No templates found."
|
322 |
+
msgstr "No se encontraron plantillas."
|
323 |
+
|
324 |
+
#: wpmandrill.php:765
|
325 |
+
msgid "Select the template to use:"
|
326 |
+
msgstr "Seleccione la plantilla a utilizar:"
|
327 |
+
|
328 |
+
#: wpmandrill.php:771
|
329 |
+
msgid "<small>The selected template must have a <strong><em>mc:edit=\"main\"</em></strong> placeholder defined. The message will be shown there.</small>"
|
330 |
+
msgstr "<small>La plantilla seleccionada debe tener una sección <strong><em>mc:edit=\"main\"</em></strong> definida. El mensaje será mostrado ahí.</small>"
|
331 |
+
|
332 |
+
#: wpmandrill.php:780
|
333 |
+
msgid ""
|
334 |
+
"Replace all line feeds (\"\\n"
|
335 |
+
"\") by <br/> in the message body?"
|
336 |
+
msgstr ""
|
337 |
+
"Reemplazar todas las Nuevas Líneas (\"\n"
|
338 |
+
"\") por <br/> en el cuerpo del mensaje?"
|
339 |
+
|
340 |
+
#: wpmandrill.php:782
|
341 |
+
msgid "<small>If you are sending HTML emails already keep this setting deactivated.<br/>But if you are sending text only emails (WordPress default) this option might help your emails look better.</small>"
|
342 |
+
msgstr "<small>Si ya estás enviando correos HTML mantén esta opción desactivada.<br/>Pero si estás enviando correos de solo texto (forma predeterminada de WordPress) esta opción podría ayudarte a que los correos se vean mejor.</small>"
|
343 |
+
|
344 |
+
#: wpmandrill.php:791
|
345 |
+
msgid "If there are tags that you want appended to every call, list them here, one per line:"
|
346 |
+
msgstr "Si hay etiquetas que quieras agregar a cada llamada, lístalas aquí, una por línea."
|
347 |
+
|
348 |
+
#: wpmandrill.php:793
|
349 |
+
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."
|
350 |
+
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>."
|
351 |
+
|
352 |
+
#: wpmandrill.php:1017
|
353 |
+
msgid "Mandrill Recent Statistics"
|
354 |
+
msgstr "Estadistas Recientes de Mandrill"
|
355 |
+
|
356 |
+
#: wpmandrill.php:1102
|
357 |
+
#: wpmandrill.php:1357
|
358 |
+
msgid "Sending Volume"
|
359 |
+
msgstr "Volumen de Envío"
|
360 |
+
|
361 |
+
#: wpmandrill.php:1103
|
362 |
+
#: wpmandrill.php:1358
|
363 |
+
msgid " emails"
|
364 |
+
msgstr " emails"
|
365 |
+
|
366 |
+
#: wpmandrill.php:1104
|
367 |
+
#: wpmandrill.php:1359
|
368 |
+
msgid "Total Volume per Day"
|
369 |
+
msgstr "Volumen Total por Período"
|
370 |
+
|
371 |
+
#: wpmandrill.php:1106
|
372 |
+
#: wpmandrill.php:1361
|
373 |
+
msgid "in the last few days"
|
374 |
+
msgstr "en los últimos días"
|
375 |
+
|
376 |
+
#: wpmandrill.php:1107
|
377 |
+
#: wpmandrill.php:1362
|
378 |
+
msgid "in the last few months"
|
379 |
+
msgstr "en los últimos meses"
|
380 |
+
|
381 |
+
#: wpmandrill.php:1108
|
382 |
+
#: wpmandrill.php:1363
|
383 |
+
msgid "Today"
|
384 |
+
msgstr "Hoy"
|
385 |
+
|
386 |
+
#: wpmandrill.php:1109
|
387 |
+
#: wpmandrill.php:1364
|
388 |
+
msgid "Last 7 Days"
|
389 |
+
msgstr "Últimos 7 Días"
|
390 |
+
|
391 |
+
#: wpmandrill.php:1110
|
392 |
+
#: wpmandrill.php:1365
|
393 |
+
msgid "Last 30 Days"
|
394 |
+
msgstr "Últimos 30 Días"
|
395 |
+
|
396 |
+
#: wpmandrill.php:1111
|
397 |
+
#: wpmandrill.php:1366
|
398 |
+
msgid "Last 60 Days"
|
399 |
+
msgstr "Últimos 60 Días"
|
400 |
+
|
401 |
+
#: wpmandrill.php:1112
|
402 |
+
#: wpmandrill.php:1367
|
403 |
+
msgid "Last 90 Days"
|
404 |
+
msgstr "Últimos 90 Días"
|
405 |
+
|
406 |
+
#: wpmandrill.php:1113
|
407 |
+
#: wpmandrill.php:1368
|
408 |
+
msgid "Periods"
|
409 |
+
msgstr "Períodos"
|
410 |
+
|
411 |
+
#: wpmandrill.php:1114
|
412 |
+
#: wpmandrill.php:1369
|
413 |
+
#: stats.php:30
|
414 |
+
msgid "Volume"
|
415 |
+
msgstr "Volumen"
|
416 |
+
|
417 |
+
#: wpmandrill.php:1115
|
418 |
+
#: wpmandrill.php:1370
|
419 |
+
msgid "Total:"
|
420 |
+
msgstr "Cuota:"
|
421 |
+
|
422 |
+
#: wpmandrill.php:1116
|
423 |
+
#: wpmandrill.php:1371
|
424 |
+
msgid "Unopened"
|
425 |
+
msgstr "No abiertos"
|
426 |
+
|
427 |
+
#: wpmandrill.php:1117
|
428 |
+
#: wpmandrill.php:1372
|
429 |
+
msgid "Bounced or Rejected"
|
430 |
+
msgstr "Rebotes o Rechazos"
|
431 |
+
|
432 |
+
#: wpmandrill.php:1118
|
433 |
+
#: wpmandrill.php:1373
|
434 |
+
msgid "Opened"
|
435 |
+
msgstr "Abiertos"
|
436 |
+
|
437 |
+
#: wpmandrill.php:1121
|
438 |
+
#: wpmandrill.php:1376
|
439 |
+
msgid "Average Sending Volume"
|
440 |
+
msgstr "Volumen de Envío Promedio"
|
441 |
+
|
442 |
+
#: wpmandrill.php:1122
|
443 |
+
#: wpmandrill.php:1377
|
444 |
+
msgid "/day"
|
445 |
+
msgstr "/día"
|
446 |
+
|
447 |
+
#: wpmandrill.php:1123
|
448 |
+
#: wpmandrill.php:1378
|
449 |
+
msgid "Average Volume per Day"
|
450 |
+
msgstr "Volumen Promedio por Período"
|
451 |
+
|
452 |
+
#: wpmandrill.php:1260
|
453 |
+
#: stats.php:8
|
454 |
+
msgid "There was a problem retrieving statistics."
|
455 |
+
msgstr "Hubo un problema recuperando las estadísticas."
|
456 |
+
|
457 |
+
#: wpmandrill.php:1289
|
458 |
+
#: stats.php:57
|
459 |
+
msgid "Filter by:"
|
460 |
+
msgstr "Filtrar por:"
|
461 |
+
|
462 |
+
#: wpmandrill.php:1291
|
463 |
+
#: stats.php:59
|
464 |
+
msgid "No filter"
|
465 |
+
msgstr "Sin Filtro"
|
466 |
+
|
467 |
+
#: wpmandrill.php:1292
|
468 |
+
#: stats.php:60
|
469 |
+
msgid "Sender:"
|
470 |
+
msgstr "Remitente:"
|
471 |
+
|
472 |
+
#: wpmandrill.php:1299
|
473 |
+
#: stats.php:67
|
474 |
+
msgid "Tag:"
|
475 |
+
msgstr "Etiqueta:"
|
476 |
+
|
477 |
+
#: wpmandrill.php:1307
|
478 |
+
#: stats.php:80
|
479 |
+
msgid "Display:"
|
480 |
+
msgstr "Mostrar:"
|
481 |
+
|
482 |
+
#: wpmandrill.php:1309
|
483 |
+
#: stats.php:82
|
484 |
+
msgid "Total Volume per Period"
|
485 |
+
msgstr "Volumen Total por Período"
|
486 |
+
|
487 |
+
#: wpmandrill.php:1310
|
488 |
+
#: stats.php:83
|
489 |
+
msgid "Average Volume per Period"
|
490 |
+
msgstr "Volumen Promedio por Período"
|
491 |
+
|
492 |
+
#: stats.php:4
|
493 |
+
msgid "Mandrill Service Report"
|
494 |
+
msgstr "Reporte del Servicio Mandrill"
|
495 |
+
|
496 |
+
#: stats.php:20
|
497 |
+
msgid "Hourly Sending Volume and Open/Click Rate"
|
498 |
+
msgstr "Volumen de Envío y Tasa de Apertura y Cliqueo Por Horas"
|
499 |
+
|
500 |
+
#: stats.php:21
|
501 |
+
msgid "Hours"
|
502 |
+
msgstr "Horas"
|
503 |
+
|
504 |
+
#: stats.php:22
|
505 |
+
msgid "Hour"
|
506 |
+
msgstr "Hora"
|
507 |
+
|
508 |
+
#: stats.php:24
|
509 |
+
msgid "Daily Sending Volume and Open/Click Rate"
|
510 |
+
msgstr "Volumen de Envío y Tasa de Apertura y Cliqueo Diario"
|
511 |
+
|
512 |
+
#: stats.php:25
|
513 |
+
msgid "Days"
|
514 |
+
msgstr "Días"
|
515 |
+
|
516 |
+
#: stats.php:26
|
517 |
+
msgid "Day"
|
518 |
+
msgstr "Día"
|
519 |
+
|
520 |
+
#: stats.php:28
|
521 |
+
msgid "in the last 30 days"
|
522 |
+
msgstr "en los últimos 30 días"
|
523 |
+
|
524 |
+
#: stats.php:29
|
525 |
+
msgid "Open & Click Rate"
|
526 |
+
msgstr "Tasa de Apertura y Cliqueo"
|
527 |
+
|
528 |
+
#: stats.php:31
|
529 |
+
msgid "emails"
|
530 |
+
msgstr "emails"
|
531 |
+
|
532 |
+
#: stats.php:32
|
533 |
+
msgid "Open Rate"
|
534 |
+
msgstr "Tasa de Apertura"
|
535 |
+
|
536 |
+
#: stats.php:33
|
537 |
+
msgid "Click Rate"
|
538 |
+
msgstr "Tasa de Cliqueo"
|
539 |
+
|
540 |
+
#: stats.php:37
|
541 |
+
#, php-format
|
542 |
+
msgid "All-time statistics since %s: "
|
543 |
+
msgstr "Estadísticas desde %s:"
|
544 |
+
|
545 |
+
#: stats.php:40
|
546 |
+
msgid "Reputation:"
|
547 |
+
msgstr "Reputación:"
|
548 |
+
|
549 |
+
#: stats.php:41
|
550 |
+
msgid "Quota:"
|
551 |
+
msgstr "Cuota:"
|
552 |
+
|
553 |
+
#: stats.php:41
|
554 |
+
msgid "sends/hour"
|
555 |
+
msgstr "envíos/hora"
|
556 |
+
|
557 |
+
#: stats.php:42
|
558 |
+
msgid "Emails sent:"
|
559 |
+
msgstr "Correos enviados:"
|
560 |
+
|
561 |
+
#: stats.php:43
|
562 |
+
msgid "Emails delivered:"
|
563 |
+
msgstr "Correos entregados:"
|
564 |
+
|
565 |
+
#: stats.php:44
|
566 |
+
msgid "Tracked opens:"
|
567 |
+
msgstr "Aperturas registradas:"
|
568 |
+
|
569 |
+
#: stats.php:45
|
570 |
+
msgid "Tracked clicks:"
|
571 |
+
msgstr "Clicks registrados:"
|
572 |
+
|
573 |
+
#: stats.php:47
|
574 |
+
msgid "Rejects:"
|
575 |
+
msgstr "Rechazos:"
|
576 |
+
|
577 |
+
#: stats.php:48
|
578 |
+
msgid "Complaints:"
|
579 |
+
msgstr "Quejas:"
|
580 |
+
|
581 |
+
#: stats.php:49
|
582 |
+
msgid "Current backlog:"
|
583 |
+
msgstr "Backlog actual:"
|
584 |
+
|
585 |
+
#: stats.php:56
|
586 |
+
msgid "Filtered statistics:"
|
587 |
+
msgstr "Estadísticas filtradas:"
|
588 |
+
|
589 |
+
#: stats.php:358
|
590 |
+
msgid "For more detailed statistics, please visit your Mandrill Dashboard"
|
591 |
+
msgstr "Para estadísticas más detalladas, por favor visita tu Tablero Mandrill"
|
592 |
+
|
593 |
+
#~ msgid "At least one verified domain."
|
594 |
+
#~ msgstr "Al menos un dominio verificado."
|
595 |
+
#~ msgid "Mandrill Test"
|
596 |
+
#~ msgstr "Prueba Mandrill"
|
597 |
+
#~ msgid "Mandrill How-tos"
|
598 |
+
#~ msgstr "Mandrill: ¿Cómo hago?"
|
599 |
+
#~ msgid "Testing Arena for Mandrill"
|
600 |
+
#~ msgstr "Caja de Arena de wpMandrill"
|
601 |
+
#~ msgid "Mandrill Report"
|
602 |
+
#~ msgstr "Reporte Mandrill"
|
603 |
+
|
lang/wpmandrill.mo
ADDED
Binary file
|
lang/wpmandrill.po
CHANGED
@@ -1,603 +1,590 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: wpMandrill 1.0
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-05-
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Will Castillo <will@mailchimp.com>\n"
|
8 |
-
"Language-Team:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Poedit-Language:
|
13 |
"X-Poedit-Country: UNITED STATES\n"
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
-
"X-Poedit-Basepath: ../\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 "
|
22 |
|
23 |
#: how-tos.php:17
|
24 |
msgid "Mandrill: How to send a regular email."
|
25 |
-
msgstr "
|
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 "
|
30 |
|
31 |
#: how-tos.php:23
|
32 |
msgid "Mandrill: How to send emails from within your plugins."
|
33 |
-
msgstr "
|
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 "
|
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 "
|
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 "
|
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 "
|
50 |
|
51 |
#: how-tos.php:52
|
52 |
msgid "You can learn more about all of these features right from this page."
|
53 |
-
msgstr "
|
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 "
|
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 "
|
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 "
|
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 "
|
70 |
|
71 |
#: how-tos.php:70
|
72 |
msgid "For example:"
|
73 |
-
msgstr "
|
74 |
|
75 |
#: how-tos.php:71
|
76 |
msgid "<?php wp_mail('your@address.com', 'Your subject', 'Your message'); ?>"
|
77 |
-
msgstr "
|
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 "
|
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 "
|
86 |
|
87 |
#: how-tos.php:81
|
88 |
msgid "You can use the following code as an skeleton for your own callbacks:"
|
89 |
-
msgstr "
|
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 "
|
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 "
|
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 "
|
102 |
|
103 |
#: how-tos.php:125
|
104 |
msgid "<?php wpMandrill::mail($to, $subject, $html, $headers = '', $attachments = array(), $tags = array(), $from_name = '', $from_email = '', $template_name = ''); ?>"
|
105 |
-
msgstr "
|
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 "
|
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 "
|
114 |
|
115 |
#: how-tos.php:128
|
116 |
msgid "<?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?>"
|
117 |
-
msgstr "
|
118 |
|
119 |
#: wpmandrill.php:94
|
120 |
msgid "API Settings"
|
121 |
-
msgstr "
|
122 |
|
123 |
#: wpmandrill.php:95
|
124 |
msgid "API Key"
|
125 |
-
msgstr "
|
126 |
|
127 |
#: wpmandrill.php:101
|
128 |
msgid "Sender Settings"
|
129 |
-
msgstr "
|
130 |
|
131 |
#: wpmandrill.php:102
|
132 |
msgid "FROM Name"
|
133 |
-
msgstr "
|
134 |
|
135 |
#: wpmandrill.php:103
|
136 |
msgid "FROM Email"
|
137 |
-
msgstr "
|
138 |
|
139 |
#: wpmandrill.php:104
|
140 |
msgid "Reply-To Email"
|
141 |
-
msgstr "
|
142 |
|
143 |
#: wpmandrill.php:107
|
144 |
msgid "General Design"
|
145 |
-
msgstr "
|
146 |
|
147 |
#: wpmandrill.php:108
|
148 |
msgid "Template"
|
149 |
-
msgstr "
|
150 |
|
151 |
#: wpmandrill.php:109
|
152 |
msgid "Content"
|
153 |
-
msgstr "
|
154 |
|
155 |
#: wpmandrill.php:112
|
156 |
msgid "General Tags"
|
157 |
-
msgstr "
|
158 |
|
159 |
#: wpmandrill.php:113
|
160 |
msgid " "
|
161 |
-
msgstr "
|
162 |
|
163 |
#: wpmandrill.php:119
|
164 |
msgid "Send a test email using these settings"
|
165 |
-
msgstr "
|
166 |
|
167 |
#: wpmandrill.php:120
|
168 |
msgid "Send to"
|
169 |
-
msgstr "
|
170 |
|
171 |
#: wpmandrill.php:121
|
172 |
msgid "Subject"
|
173 |
-
msgstr "
|
174 |
|
175 |
#: wpmandrill.php:122
|
176 |
msgid "Message"
|
177 |
-
msgstr "
|
178 |
|
179 |
#: wpmandrill.php:134
|
180 |
#: wpmandrill.php:256
|
181 |
msgid "Mandrill Settings"
|
182 |
-
msgstr "
|
183 |
|
184 |
#: wpmandrill.php:135
|
185 |
msgid "Mandrill"
|
186 |
-
msgstr "
|
187 |
|
188 |
#: wpmandrill.php:143
|
189 |
#: wpmandrill.php:144
|
190 |
msgid "Mandrill Reports"
|
191 |
-
msgstr "
|
192 |
|
193 |
#: wpmandrill.php:166
|
194 |
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."
|
195 |
-
msgstr "
|
196 |
|
197 |
#: wpmandrill.php:195
|
198 |
msgid "To use this plugin you will need:"
|
199 |
-
msgstr "
|
200 |
|
201 |
#: wpmandrill.php:197
|
202 |
msgid "Your Mandrill account."
|
203 |
-
msgstr "
|
204 |
|
205 |
#: wpmandrill.php:198
|
206 |
msgid "At least one domain defined in your Mandrill account."
|
207 |
-
msgstr "
|
208 |
|
209 |
#: wpmandrill.php:199
|
210 |
msgid "A valid sender email address."
|
211 |
-
msgstr "
|
212 |
|
213 |
#: wpmandrill.php:204
|
214 |
msgid "Once you have properly configured the settings, the plugin will take care of all the emails sent through your WordPress installation."
|
215 |
-
msgstr "
|
216 |
|
217 |
#: wpmandrill.php:205
|
218 |
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>."
|
219 |
-
msgstr "
|
220 |
|
221 |
#: wpmandrill.php:206
|
222 |
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>.)"
|
223 |
-
msgstr "
|
224 |
|
225 |
#: wpmandrill.php:207
|
226 |
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."
|
227 |
-
msgstr "
|
228 |
|
229 |
#: wpmandrill.php:208
|
230 |
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."
|
231 |
-
msgstr "
|
232 |
|
233 |
#: wpmandrill.php:209
|
234 |
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>."
|
235 |
-
msgstr "
|
236 |
|
237 |
#: wpmandrill.php:210
|
238 |
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>."
|
239 |
-
msgstr "
|
240 |
|
241 |
#: wpmandrill.php:228
|
242 |
msgid "Settings"
|
243 |
-
msgstr "
|
244 |
|
245 |
#: wpmandrill.php:231
|
246 |
msgid "Reports"
|
247 |
-
msgstr "
|
248 |
|
249 |
#: wpmandrill.php:247
|
250 |
#: stats.php:1
|
251 |
msgid "You do not have sufficient permissions to access this page."
|
252 |
-
msgstr "
|
253 |
|
254 |
#: wpmandrill.php:277
|
255 |
msgid "Send Email"
|
256 |
-
msgstr "
|
257 |
|
258 |
#: wpmandrill.php:295
|
259 |
msgid "Latest from Mandrill..."
|
260 |
-
msgstr "
|
261 |
|
262 |
#: wpmandrill.php:309
|
263 |
msgid "News from MailChimp..."
|
264 |
-
msgstr "
|
265 |
|
266 |
#: wpmandrill.php:336
|
267 |
msgid "Mandrill How-Tos"
|
268 |
-
msgstr "
|
269 |
|
270 |
#: wpmandrill.php:363
|
271 |
msgid "You must define a valid sender email."
|
272 |
-
msgstr "
|
273 |
|
274 |
#: wpmandrill.php:643
|
275 |
msgid "Test email send failed. "
|
276 |
-
msgstr "
|
277 |
|
278 |
#: wpmandrill.php:660
|
279 |
#, php-format
|
280 |
msgid "Test executed: %d emails sent, %d emails queued and %d emails rejected"
|
281 |
-
msgstr "
|
282 |
|
283 |
#: wpmandrill.php:675
|
284 |
msgid "To get your API key, please visit your <a href=\"http://mandrillapp.com/settings/index\" target=\"_blank\">Mandrill Settings</a>"
|
285 |
-
msgstr "
|
286 |
|
287 |
#: wpmandrill.php:677
|
288 |
msgid "We are connected to your Mandrill Account."
|
289 |
-
msgstr "
|
290 |
|
291 |
#: wpmandrill.php:679
|
292 |
msgid "Sorry, invalid API key."
|
293 |
-
msgstr "
|
294 |
|
295 |
#: wpmandrill.php:695
|
296 |
msgid "No domains found."
|
297 |
-
msgstr "
|
298 |
|
299 |
#: wpmandrill.php:707
|
300 |
msgid "This address will be used as the sender of the outgoing emails:"
|
301 |
-
msgstr "
|
302 |
|
303 |
#: wpmandrill.php:713
|
304 |
msgid "If you need to add a new domain, please visit your <a href=\"https://mandrillapp.com/settings/sending-domains\" target=\"_blank\">Mandrill Settings</a>"
|
305 |
-
msgstr "
|
306 |
|
307 |
#: wpmandrill.php:723
|
308 |
msgid "Name the recipients will see in their email clients:"
|
309 |
-
msgstr "
|
310 |
|
311 |
#: wpmandrill.php:735
|
312 |
msgid "This address will be used as the recipient where replies from the users will be sent to:"
|
313 |
-
msgstr "
|
314 |
|
315 |
#: wpmandrill.php:737
|
316 |
msgid "Leave blank to use the FROM Email. If you want to override this setting, you must use the <em><a href=\"#\" onclick=\"jQuery('a#contextual-help-link').trigger('click');return false;\">mandrill_payload</a></em> WordPress filter."
|
317 |
-
msgstr "
|
318 |
|
319 |
#: wpmandrill.php:746
|
320 |
#: wpmandrill.php:756
|
321 |
msgid "No templates found."
|
322 |
-
msgstr "
|
323 |
|
324 |
#: wpmandrill.php:765
|
325 |
msgid "Select the template to use:"
|
326 |
-
msgstr "
|
327 |
|
328 |
#: wpmandrill.php:771
|
329 |
msgid "<small>The selected template must have a <strong><em>mc:edit=\"main\"</em></strong> placeholder defined. The message will be shown there.</small>"
|
330 |
-
msgstr "
|
331 |
|
332 |
#: wpmandrill.php:780
|
333 |
msgid ""
|
334 |
"Replace all line feeds (\"\\n"
|
335 |
"\") by <br/> in the message body?"
|
336 |
msgstr ""
|
337 |
-
"Reemplazar todas las Nuevas Líneas (\"\n"
|
338 |
-
"\") por <br/> en el cuerpo del mensaje?"
|
339 |
|
340 |
#: wpmandrill.php:782
|
341 |
msgid "<small>If you are sending HTML emails already keep this setting deactivated.<br/>But if you are sending text only emails (WordPress default) this option might help your emails look better.</small>"
|
342 |
-
msgstr "
|
343 |
|
344 |
#: wpmandrill.php:791
|
345 |
msgid "If there are tags that you want appended to every call, list them here, one per line:"
|
346 |
-
msgstr "
|
347 |
|
348 |
#: wpmandrill.php:793
|
349 |
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."
|
350 |
-
msgstr "
|
351 |
|
352 |
#: wpmandrill.php:1017
|
353 |
msgid "Mandrill Recent Statistics"
|
354 |
-
msgstr "
|
355 |
|
356 |
#: wpmandrill.php:1102
|
357 |
#: wpmandrill.php:1357
|
358 |
msgid "Sending Volume"
|
359 |
-
msgstr "
|
360 |
|
361 |
#: wpmandrill.php:1103
|
362 |
#: wpmandrill.php:1358
|
363 |
msgid " emails"
|
364 |
-
msgstr "
|
365 |
|
366 |
#: wpmandrill.php:1104
|
367 |
#: wpmandrill.php:1359
|
368 |
msgid "Total Volume per Day"
|
369 |
-
msgstr "
|
370 |
|
371 |
#: wpmandrill.php:1106
|
372 |
#: wpmandrill.php:1361
|
373 |
msgid "in the last few days"
|
374 |
-
msgstr "
|
375 |
|
376 |
#: wpmandrill.php:1107
|
377 |
#: wpmandrill.php:1362
|
378 |
msgid "in the last few months"
|
379 |
-
msgstr "
|
380 |
|
381 |
#: wpmandrill.php:1108
|
382 |
#: wpmandrill.php:1363
|
383 |
msgid "Today"
|
384 |
-
msgstr "
|
385 |
|
386 |
#: wpmandrill.php:1109
|
387 |
#: wpmandrill.php:1364
|
388 |
msgid "Last 7 Days"
|
389 |
-
msgstr "
|
390 |
|
391 |
#: wpmandrill.php:1110
|
392 |
#: wpmandrill.php:1365
|
393 |
msgid "Last 30 Days"
|
394 |
-
msgstr "
|
395 |
|
396 |
#: wpmandrill.php:1111
|
397 |
#: wpmandrill.php:1366
|
398 |
msgid "Last 60 Days"
|
399 |
-
msgstr "
|
400 |
|
401 |
#: wpmandrill.php:1112
|
402 |
#: wpmandrill.php:1367
|
403 |
msgid "Last 90 Days"
|
404 |
-
msgstr "
|
405 |
|
406 |
#: wpmandrill.php:1113
|
407 |
#: wpmandrill.php:1368
|
408 |
msgid "Periods"
|
409 |
-
msgstr "
|
410 |
|
411 |
#: wpmandrill.php:1114
|
412 |
#: wpmandrill.php:1369
|
413 |
#: stats.php:30
|
414 |
msgid "Volume"
|
415 |
-
msgstr "
|
416 |
|
417 |
#: wpmandrill.php:1115
|
418 |
#: wpmandrill.php:1370
|
419 |
msgid "Total:"
|
420 |
-
msgstr "
|
421 |
|
422 |
#: wpmandrill.php:1116
|
423 |
#: wpmandrill.php:1371
|
424 |
msgid "Unopened"
|
425 |
-
msgstr "
|
426 |
|
427 |
#: wpmandrill.php:1117
|
428 |
#: wpmandrill.php:1372
|
429 |
msgid "Bounced or Rejected"
|
430 |
-
msgstr "
|
431 |
|
432 |
#: wpmandrill.php:1118
|
433 |
#: wpmandrill.php:1373
|
434 |
msgid "Opened"
|
435 |
-
msgstr "
|
436 |
|
437 |
#: wpmandrill.php:1121
|
438 |
#: wpmandrill.php:1376
|
439 |
msgid "Average Sending Volume"
|
440 |
-
msgstr "
|
441 |
|
442 |
#: wpmandrill.php:1122
|
443 |
#: wpmandrill.php:1377
|
444 |
msgid "/day"
|
445 |
-
msgstr "
|
446 |
|
447 |
#: wpmandrill.php:1123
|
448 |
#: wpmandrill.php:1378
|
449 |
msgid "Average Volume per Day"
|
450 |
-
msgstr "
|
451 |
|
452 |
#: wpmandrill.php:1260
|
453 |
#: stats.php:8
|
454 |
msgid "There was a problem retrieving statistics."
|
455 |
-
msgstr "
|
456 |
|
457 |
#: wpmandrill.php:1289
|
458 |
#: stats.php:57
|
459 |
msgid "Filter by:"
|
460 |
-
msgstr "
|
461 |
|
462 |
#: wpmandrill.php:1291
|
463 |
#: stats.php:59
|
464 |
msgid "No filter"
|
465 |
-
msgstr "
|
466 |
|
467 |
#: wpmandrill.php:1292
|
468 |
#: stats.php:60
|
469 |
msgid "Sender:"
|
470 |
-
msgstr "
|
471 |
|
472 |
#: wpmandrill.php:1299
|
473 |
#: stats.php:67
|
474 |
msgid "Tag:"
|
475 |
-
msgstr "
|
476 |
|
477 |
#: wpmandrill.php:1307
|
478 |
#: stats.php:80
|
479 |
msgid "Display:"
|
480 |
-
msgstr "
|
481 |
|
482 |
#: wpmandrill.php:1309
|
483 |
#: stats.php:82
|
484 |
msgid "Total Volume per Period"
|
485 |
-
msgstr "
|
486 |
|
487 |
#: wpmandrill.php:1310
|
488 |
#: stats.php:83
|
489 |
msgid "Average Volume per Period"
|
490 |
-
msgstr "
|
491 |
|
492 |
#: stats.php:4
|
493 |
msgid "Mandrill Service Report"
|
494 |
-
msgstr "
|
495 |
|
496 |
#: stats.php:20
|
497 |
msgid "Hourly Sending Volume and Open/Click Rate"
|
498 |
-
msgstr "
|
499 |
|
500 |
#: stats.php:21
|
501 |
msgid "Hours"
|
502 |
-
msgstr "
|
503 |
|
504 |
#: stats.php:22
|
505 |
msgid "Hour"
|
506 |
-
msgstr "
|
507 |
|
508 |
#: stats.php:24
|
509 |
msgid "Daily Sending Volume and Open/Click Rate"
|
510 |
-
msgstr "
|
511 |
|
512 |
#: stats.php:25
|
513 |
msgid "Days"
|
514 |
-
msgstr "
|
515 |
|
516 |
#: stats.php:26
|
517 |
msgid "Day"
|
518 |
-
msgstr "
|
519 |
|
520 |
#: stats.php:28
|
521 |
msgid "in the last 30 days"
|
522 |
-
msgstr "
|
523 |
|
524 |
#: stats.php:29
|
525 |
msgid "Open & Click Rate"
|
526 |
-
msgstr "
|
527 |
|
528 |
#: stats.php:31
|
529 |
msgid "emails"
|
530 |
-
msgstr "
|
531 |
|
532 |
#: stats.php:32
|
533 |
msgid "Open Rate"
|
534 |
-
msgstr "
|
535 |
|
536 |
#: stats.php:33
|
537 |
msgid "Click Rate"
|
538 |
-
msgstr "
|
539 |
|
540 |
#: stats.php:37
|
541 |
#, php-format
|
542 |
msgid "All-time statistics since %s: "
|
543 |
-
msgstr "
|
544 |
|
545 |
#: stats.php:40
|
546 |
msgid "Reputation:"
|
547 |
-
msgstr "
|
548 |
|
549 |
#: stats.php:41
|
550 |
msgid "Quota:"
|
551 |
-
msgstr "
|
552 |
|
553 |
#: stats.php:41
|
554 |
msgid "sends/hour"
|
555 |
-
msgstr "
|
556 |
|
557 |
#: stats.php:42
|
558 |
msgid "Emails sent:"
|
559 |
-
msgstr "
|
560 |
|
561 |
#: stats.php:43
|
562 |
msgid "Emails delivered:"
|
563 |
-
msgstr "
|
564 |
|
565 |
#: stats.php:44
|
566 |
msgid "Tracked opens:"
|
567 |
-
msgstr "
|
568 |
|
569 |
#: stats.php:45
|
570 |
msgid "Tracked clicks:"
|
571 |
-
msgstr "
|
572 |
|
573 |
#: stats.php:47
|
574 |
msgid "Rejects:"
|
575 |
-
msgstr "
|
576 |
|
577 |
#: stats.php:48
|
578 |
msgid "Complaints:"
|
579 |
-
msgstr "
|
580 |
|
581 |
#: stats.php:49
|
582 |
msgid "Current backlog:"
|
583 |
-
msgstr "
|
584 |
|
585 |
#: stats.php:56
|
586 |
msgid "Filtered statistics:"
|
587 |
-
msgstr "
|
588 |
|
589 |
#: stats.php:358
|
590 |
msgid "For more detailed statistics, please visit your Mandrill Dashboard"
|
591 |
-
msgstr "
|
592 |
-
|
593 |
-
#~ msgid "At least one verified domain."
|
594 |
-
#~ msgstr "Al menos un dominio verificado."
|
595 |
-
#~ msgid "Mandrill Test"
|
596 |
-
#~ msgstr "Prueba Mandrill"
|
597 |
-
#~ msgid "Mandrill How-tos"
|
598 |
-
#~ msgstr "Mandrill: ¿Cómo hago?"
|
599 |
-
#~ msgid "Testing Arena for Mandrill"
|
600 |
-
#~ msgstr "Caja de Arena de wpMandrill"
|
601 |
-
#~ msgid "Mandrill Report"
|
602 |
-
#~ msgstr "Reporte Mandrill"
|
603 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: wpMandrill 1.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-05-11 09:19-0500\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Will Castillo <will@mailchimp.com>\n"
|
8 |
+
"Language-Team: Mandrill <will@mailchimp.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: English\n"
|
13 |
"X-Poedit-Country: UNITED STATES\n"
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
|
|
15 |
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
+
"X-Poedit-Basepath: ../\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 ""
|
22 |
|
23 |
#: how-tos.php:17
|
24 |
msgid "Mandrill: How to send a regular email."
|
25 |
+
msgstr ""
|
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 ""
|
30 |
|
31 |
#: how-tos.php:23
|
32 |
msgid "Mandrill: How to send emails from within your plugins."
|
33 |
+
msgstr ""
|
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 ""
|
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 ""
|
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 ""
|
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 ""
|
50 |
|
51 |
#: how-tos.php:52
|
52 |
msgid "You can learn more about all of these features right from this page."
|
53 |
+
msgstr ""
|
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 ""
|
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 ""
|
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 ""
|
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 ""
|
70 |
|
71 |
#: how-tos.php:70
|
72 |
msgid "For example:"
|
73 |
+
msgstr ""
|
74 |
|
75 |
#: how-tos.php:71
|
76 |
msgid "<?php wp_mail('your@address.com', 'Your subject', 'Your message'); ?>"
|
77 |
+
msgstr ""
|
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 ""
|
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 ""
|
86 |
|
87 |
#: how-tos.php:81
|
88 |
msgid "You can use the following code as an skeleton for your own callbacks:"
|
89 |
+
msgstr ""
|
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 ""
|
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 ""
|
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 ""
|
102 |
|
103 |
#: how-tos.php:125
|
104 |
msgid "<?php wpMandrill::mail($to, $subject, $html, $headers = '', $attachments = array(), $tags = array(), $from_name = '', $from_email = '', $template_name = ''); ?>"
|
105 |
+
msgstr ""
|
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 ""
|
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 ""
|
114 |
|
115 |
#: how-tos.php:128
|
116 |
msgid "<?php $mandrill = Mandrill($my_api_key); echo $mandrill->ping(); ?>"
|
117 |
+
msgstr ""
|
118 |
|
119 |
#: wpmandrill.php:94
|
120 |
msgid "API Settings"
|
121 |
+
msgstr ""
|
122 |
|
123 |
#: wpmandrill.php:95
|
124 |
msgid "API Key"
|
125 |
+
msgstr ""
|
126 |
|
127 |
#: wpmandrill.php:101
|
128 |
msgid "Sender Settings"
|
129 |
+
msgstr ""
|
130 |
|
131 |
#: wpmandrill.php:102
|
132 |
msgid "FROM Name"
|
133 |
+
msgstr ""
|
134 |
|
135 |
#: wpmandrill.php:103
|
136 |
msgid "FROM Email"
|
137 |
+
msgstr ""
|
138 |
|
139 |
#: wpmandrill.php:104
|
140 |
msgid "Reply-To Email"
|
141 |
+
msgstr ""
|
142 |
|
143 |
#: wpmandrill.php:107
|
144 |
msgid "General Design"
|
145 |
+
msgstr ""
|
146 |
|
147 |
#: wpmandrill.php:108
|
148 |
msgid "Template"
|
149 |
+
msgstr ""
|
150 |
|
151 |
#: wpmandrill.php:109
|
152 |
msgid "Content"
|
153 |
+
msgstr ""
|
154 |
|
155 |
#: wpmandrill.php:112
|
156 |
msgid "General Tags"
|
157 |
+
msgstr ""
|
158 |
|
159 |
#: wpmandrill.php:113
|
160 |
msgid " "
|
161 |
+
msgstr ""
|
162 |
|
163 |
#: wpmandrill.php:119
|
164 |
msgid "Send a test email using these settings"
|
165 |
+
msgstr ""
|
166 |
|
167 |
#: wpmandrill.php:120
|
168 |
msgid "Send to"
|
169 |
+
msgstr ""
|
170 |
|
171 |
#: wpmandrill.php:121
|
172 |
msgid "Subject"
|
173 |
+
msgstr ""
|
174 |
|
175 |
#: wpmandrill.php:122
|
176 |
msgid "Message"
|
177 |
+
msgstr ""
|
178 |
|
179 |
#: wpmandrill.php:134
|
180 |
#: wpmandrill.php:256
|
181 |
msgid "Mandrill Settings"
|
182 |
+
msgstr ""
|
183 |
|
184 |
#: wpmandrill.php:135
|
185 |
msgid "Mandrill"
|
186 |
+
msgstr ""
|
187 |
|
188 |
#: wpmandrill.php:143
|
189 |
#: wpmandrill.php:144
|
190 |
msgid "Mandrill Reports"
|
191 |
+
msgstr ""
|
192 |
|
193 |
#: wpmandrill.php:166
|
194 |
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."
|
195 |
+
msgstr ""
|
196 |
|
197 |
#: wpmandrill.php:195
|
198 |
msgid "To use this plugin you will need:"
|
199 |
+
msgstr ""
|
200 |
|
201 |
#: wpmandrill.php:197
|
202 |
msgid "Your Mandrill account."
|
203 |
+
msgstr ""
|
204 |
|
205 |
#: wpmandrill.php:198
|
206 |
msgid "At least one domain defined in your Mandrill account."
|
207 |
+
msgstr ""
|
208 |
|
209 |
#: wpmandrill.php:199
|
210 |
msgid "A valid sender email address."
|
211 |
+
msgstr ""
|
212 |
|
213 |
#: wpmandrill.php:204
|
214 |
msgid "Once you have properly configured the settings, the plugin will take care of all the emails sent through your WordPress installation."
|
215 |
+
msgstr ""
|
216 |
|
217 |
#: wpmandrill.php:205
|
218 |
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>."
|
219 |
+
msgstr ""
|
220 |
|
221 |
#: wpmandrill.php:206
|
222 |
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>.)"
|
223 |
+
msgstr ""
|
224 |
|
225 |
#: wpmandrill.php:207
|
226 |
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."
|
227 |
+
msgstr ""
|
228 |
|
229 |
#: wpmandrill.php:208
|
230 |
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."
|
231 |
+
msgstr ""
|
232 |
|
233 |
#: wpmandrill.php:209
|
234 |
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>."
|
235 |
+
msgstr ""
|
236 |
|
237 |
#: wpmandrill.php:210
|
238 |
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>."
|
239 |
+
msgstr ""
|
240 |
|
241 |
#: wpmandrill.php:228
|
242 |
msgid "Settings"
|
243 |
+
msgstr ""
|
244 |
|
245 |
#: wpmandrill.php:231
|
246 |
msgid "Reports"
|
247 |
+
msgstr ""
|
248 |
|
249 |
#: wpmandrill.php:247
|
250 |
#: stats.php:1
|
251 |
msgid "You do not have sufficient permissions to access this page."
|
252 |
+
msgstr ""
|
253 |
|
254 |
#: wpmandrill.php:277
|
255 |
msgid "Send Email"
|
256 |
+
msgstr ""
|
257 |
|
258 |
#: wpmandrill.php:295
|
259 |
msgid "Latest from Mandrill..."
|
260 |
+
msgstr ""
|
261 |
|
262 |
#: wpmandrill.php:309
|
263 |
msgid "News from MailChimp..."
|
264 |
+
msgstr ""
|
265 |
|
266 |
#: wpmandrill.php:336
|
267 |
msgid "Mandrill How-Tos"
|
268 |
+
msgstr ""
|
269 |
|
270 |
#: wpmandrill.php:363
|
271 |
msgid "You must define a valid sender email."
|
272 |
+
msgstr ""
|
273 |
|
274 |
#: wpmandrill.php:643
|
275 |
msgid "Test email send failed. "
|
276 |
+
msgstr ""
|
277 |
|
278 |
#: wpmandrill.php:660
|
279 |
#, php-format
|
280 |
msgid "Test executed: %d emails sent, %d emails queued and %d emails rejected"
|
281 |
+
msgstr ""
|
282 |
|
283 |
#: wpmandrill.php:675
|
284 |
msgid "To get your API key, please visit your <a href=\"http://mandrillapp.com/settings/index\" target=\"_blank\">Mandrill Settings</a>"
|
285 |
+
msgstr ""
|
286 |
|
287 |
#: wpmandrill.php:677
|
288 |
msgid "We are connected to your Mandrill Account."
|
289 |
+
msgstr ""
|
290 |
|
291 |
#: wpmandrill.php:679
|
292 |
msgid "Sorry, invalid API key."
|
293 |
+
msgstr ""
|
294 |
|
295 |
#: wpmandrill.php:695
|
296 |
msgid "No domains found."
|
297 |
+
msgstr ""
|
298 |
|
299 |
#: wpmandrill.php:707
|
300 |
msgid "This address will be used as the sender of the outgoing emails:"
|
301 |
+
msgstr ""
|
302 |
|
303 |
#: wpmandrill.php:713
|
304 |
msgid "If you need to add a new domain, please visit your <a href=\"https://mandrillapp.com/settings/sending-domains\" target=\"_blank\">Mandrill Settings</a>"
|
305 |
+
msgstr ""
|
306 |
|
307 |
#: wpmandrill.php:723
|
308 |
msgid "Name the recipients will see in their email clients:"
|
309 |
+
msgstr ""
|
310 |
|
311 |
#: wpmandrill.php:735
|
312 |
msgid "This address will be used as the recipient where replies from the users will be sent to:"
|
313 |
+
msgstr ""
|
314 |
|
315 |
#: wpmandrill.php:737
|
316 |
msgid "Leave blank to use the FROM Email. If you want to override this setting, you must use the <em><a href=\"#\" onclick=\"jQuery('a#contextual-help-link').trigger('click');return false;\">mandrill_payload</a></em> WordPress filter."
|
317 |
+
msgstr ""
|
318 |
|
319 |
#: wpmandrill.php:746
|
320 |
#: wpmandrill.php:756
|
321 |
msgid "No templates found."
|
322 |
+
msgstr ""
|
323 |
|
324 |
#: wpmandrill.php:765
|
325 |
msgid "Select the template to use:"
|
326 |
+
msgstr ""
|
327 |
|
328 |
#: wpmandrill.php:771
|
329 |
msgid "<small>The selected template must have a <strong><em>mc:edit=\"main\"</em></strong> placeholder defined. The message will be shown there.</small>"
|
330 |
+
msgstr ""
|
331 |
|
332 |
#: wpmandrill.php:780
|
333 |
msgid ""
|
334 |
"Replace all line feeds (\"\\n"
|
335 |
"\") by <br/> in the message body?"
|
336 |
msgstr ""
|
|
|
|
|
337 |
|
338 |
#: wpmandrill.php:782
|
339 |
msgid "<small>If you are sending HTML emails already keep this setting deactivated.<br/>But if you are sending text only emails (WordPress default) this option might help your emails look better.</small>"
|
340 |
+
msgstr ""
|
341 |
|
342 |
#: wpmandrill.php:791
|
343 |
msgid "If there are tags that you want appended to every call, list them here, one per line:"
|
344 |
+
msgstr ""
|
345 |
|
346 |
#: wpmandrill.php:793
|
347 |
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."
|
348 |
+
msgstr ""
|
349 |
|
350 |
#: wpmandrill.php:1017
|
351 |
msgid "Mandrill Recent Statistics"
|
352 |
+
msgstr ""
|
353 |
|
354 |
#: wpmandrill.php:1102
|
355 |
#: wpmandrill.php:1357
|
356 |
msgid "Sending Volume"
|
357 |
+
msgstr ""
|
358 |
|
359 |
#: wpmandrill.php:1103
|
360 |
#: wpmandrill.php:1358
|
361 |
msgid " emails"
|
362 |
+
msgstr ""
|
363 |
|
364 |
#: wpmandrill.php:1104
|
365 |
#: wpmandrill.php:1359
|
366 |
msgid "Total Volume per Day"
|
367 |
+
msgstr ""
|
368 |
|
369 |
#: wpmandrill.php:1106
|
370 |
#: wpmandrill.php:1361
|
371 |
msgid "in the last few days"
|
372 |
+
msgstr ""
|
373 |
|
374 |
#: wpmandrill.php:1107
|
375 |
#: wpmandrill.php:1362
|
376 |
msgid "in the last few months"
|
377 |
+
msgstr ""
|
378 |
|
379 |
#: wpmandrill.php:1108
|
380 |
#: wpmandrill.php:1363
|
381 |
msgid "Today"
|
382 |
+
msgstr ""
|
383 |
|
384 |
#: wpmandrill.php:1109
|
385 |
#: wpmandrill.php:1364
|
386 |
msgid "Last 7 Days"
|
387 |
+
msgstr ""
|
388 |
|
389 |
#: wpmandrill.php:1110
|
390 |
#: wpmandrill.php:1365
|
391 |
msgid "Last 30 Days"
|
392 |
+
msgstr ""
|
393 |
|
394 |
#: wpmandrill.php:1111
|
395 |
#: wpmandrill.php:1366
|
396 |
msgid "Last 60 Days"
|
397 |
+
msgstr ""
|
398 |
|
399 |
#: wpmandrill.php:1112
|
400 |
#: wpmandrill.php:1367
|
401 |
msgid "Last 90 Days"
|
402 |
+
msgstr ""
|
403 |
|
404 |
#: wpmandrill.php:1113
|
405 |
#: wpmandrill.php:1368
|
406 |
msgid "Periods"
|
407 |
+
msgstr ""
|
408 |
|
409 |
#: wpmandrill.php:1114
|
410 |
#: wpmandrill.php:1369
|
411 |
#: stats.php:30
|
412 |
msgid "Volume"
|
413 |
+
msgstr ""
|
414 |
|
415 |
#: wpmandrill.php:1115
|
416 |
#: wpmandrill.php:1370
|
417 |
msgid "Total:"
|
418 |
+
msgstr ""
|
419 |
|
420 |
#: wpmandrill.php:1116
|
421 |
#: wpmandrill.php:1371
|
422 |
msgid "Unopened"
|
423 |
+
msgstr ""
|
424 |
|
425 |
#: wpmandrill.php:1117
|
426 |
#: wpmandrill.php:1372
|
427 |
msgid "Bounced or Rejected"
|
428 |
+
msgstr ""
|
429 |
|
430 |
#: wpmandrill.php:1118
|
431 |
#: wpmandrill.php:1373
|
432 |
msgid "Opened"
|
433 |
+
msgstr ""
|
434 |
|
435 |
#: wpmandrill.php:1121
|
436 |
#: wpmandrill.php:1376
|
437 |
msgid "Average Sending Volume"
|
438 |
+
msgstr ""
|
439 |
|
440 |
#: wpmandrill.php:1122
|
441 |
#: wpmandrill.php:1377
|
442 |
msgid "/day"
|
443 |
+
msgstr ""
|
444 |
|
445 |
#: wpmandrill.php:1123
|
446 |
#: wpmandrill.php:1378
|
447 |
msgid "Average Volume per Day"
|
448 |
+
msgstr ""
|
449 |
|
450 |
#: wpmandrill.php:1260
|
451 |
#: stats.php:8
|
452 |
msgid "There was a problem retrieving statistics."
|
453 |
+
msgstr ""
|
454 |
|
455 |
#: wpmandrill.php:1289
|
456 |
#: stats.php:57
|
457 |
msgid "Filter by:"
|
458 |
+
msgstr ""
|
459 |
|
460 |
#: wpmandrill.php:1291
|
461 |
#: stats.php:59
|
462 |
msgid "No filter"
|
463 |
+
msgstr ""
|
464 |
|
465 |
#: wpmandrill.php:1292
|
466 |
#: stats.php:60
|
467 |
msgid "Sender:"
|
468 |
+
msgstr ""
|
469 |
|
470 |
#: wpmandrill.php:1299
|
471 |
#: stats.php:67
|
472 |
msgid "Tag:"
|
473 |
+
msgstr ""
|
474 |
|
475 |
#: wpmandrill.php:1307
|
476 |
#: stats.php:80
|
477 |
msgid "Display:"
|
478 |
+
msgstr ""
|
479 |
|
480 |
#: wpmandrill.php:1309
|
481 |
#: stats.php:82
|
482 |
msgid "Total Volume per Period"
|
483 |
+
msgstr ""
|
484 |
|
485 |
#: wpmandrill.php:1310
|
486 |
#: stats.php:83
|
487 |
msgid "Average Volume per Period"
|
488 |
+
msgstr ""
|
489 |
|
490 |
#: stats.php:4
|
491 |
msgid "Mandrill Service Report"
|
492 |
+
msgstr ""
|
493 |
|
494 |
#: stats.php:20
|
495 |
msgid "Hourly Sending Volume and Open/Click Rate"
|
496 |
+
msgstr ""
|
497 |
|
498 |
#: stats.php:21
|
499 |
msgid "Hours"
|
500 |
+
msgstr ""
|
501 |
|
502 |
#: stats.php:22
|
503 |
msgid "Hour"
|
504 |
+
msgstr ""
|
505 |
|
506 |
#: stats.php:24
|
507 |
msgid "Daily Sending Volume and Open/Click Rate"
|
508 |
+
msgstr ""
|
509 |
|
510 |
#: stats.php:25
|
511 |
msgid "Days"
|
512 |
+
msgstr ""
|
513 |
|
514 |
#: stats.php:26
|
515 |
msgid "Day"
|
516 |
+
msgstr ""
|
517 |
|
518 |
#: stats.php:28
|
519 |
msgid "in the last 30 days"
|
520 |
+
msgstr ""
|
521 |
|
522 |
#: stats.php:29
|
523 |
msgid "Open & Click Rate"
|
524 |
+
msgstr ""
|
525 |
|
526 |
#: stats.php:31
|
527 |
msgid "emails"
|
528 |
+
msgstr ""
|
529 |
|
530 |
#: stats.php:32
|
531 |
msgid "Open Rate"
|
532 |
+
msgstr ""
|
533 |
|
534 |
#: stats.php:33
|
535 |
msgid "Click Rate"
|
536 |
+
msgstr ""
|
537 |
|
538 |
#: stats.php:37
|
539 |
#, php-format
|
540 |
msgid "All-time statistics since %s: "
|
541 |
+
msgstr ""
|
542 |
|
543 |
#: stats.php:40
|
544 |
msgid "Reputation:"
|
545 |
+
msgstr ""
|
546 |
|
547 |
#: stats.php:41
|
548 |
msgid "Quota:"
|
549 |
+
msgstr ""
|
550 |
|
551 |
#: stats.php:41
|
552 |
msgid "sends/hour"
|
553 |
+
msgstr ""
|
554 |
|
555 |
#: stats.php:42
|
556 |
msgid "Emails sent:"
|
557 |
+
msgstr ""
|
558 |
|
559 |
#: stats.php:43
|
560 |
msgid "Emails delivered:"
|
561 |
+
msgstr ""
|
562 |
|
563 |
#: stats.php:44
|
564 |
msgid "Tracked opens:"
|
565 |
+
msgstr ""
|
566 |
|
567 |
#: stats.php:45
|
568 |
msgid "Tracked clicks:"
|
569 |
+
msgstr ""
|
570 |
|
571 |
#: stats.php:47
|
572 |
msgid "Rejects:"
|
573 |
+
msgstr ""
|
574 |
|
575 |
#: stats.php:48
|
576 |
msgid "Complaints:"
|
577 |
+
msgstr ""
|
578 |
|
579 |
#: stats.php:49
|
580 |
msgid "Current backlog:"
|
581 |
+
msgstr ""
|
582 |
|
583 |
#: stats.php:56
|
584 |
msgid "Filtered statistics:"
|
585 |
+
msgstr ""
|
586 |
|
587 |
#: stats.php:358
|
588 |
msgid "For more detailed statistics, please visit your Mandrill Dashboard"
|
589 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
590 |
|
lib/mandrill.class.php
CHANGED
@@ -9,6 +9,10 @@ class Mandrill {
|
|
9 |
|
10 |
var $api;
|
11 |
|
|
|
|
|
|
|
|
|
12 |
function __construct($api) {
|
13 |
if ( empty($api) ) throw new Mandrill_Exception('Invalid API key');
|
14 |
try {
|
@@ -391,12 +395,17 @@ class Mandrill {
|
|
391 |
if ( !in_array( $method, array('POST','GET') ) ) $method = 'POST';
|
392 |
if ( !isset( $fields['key']) ) $fields['key'] = $this->api;
|
393 |
|
|
|
|
|
|
|
|
|
|
|
394 |
$ch = curl_init();
|
395 |
curl_setopt($ch, CURLOPT_URL, $url);
|
396 |
|
397 |
curl_setopt($ch, CURLOPT_POST, $method == 'POST');
|
398 |
|
399 |
-
curl_setopt($ch, CURLOPT_POSTFIELDS,
|
400 |
|
401 |
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
|
402 |
curl_setopt($ch, CURLOPT_HEADER, false);
|
9 |
|
10 |
var $api;
|
11 |
|
12 |
+
// PHP 4.0
|
13 |
+
function Mandrill() {$this->__construct();}
|
14 |
+
|
15 |
+
// PHP 5.0
|
16 |
function __construct($api) {
|
17 |
if ( empty($api) ) throw new Mandrill_Exception('Invalid API key');
|
18 |
try {
|
395 |
if ( !in_array( $method, array('POST','GET') ) ) $method = 'POST';
|
396 |
if ( !isset( $fields['key']) ) $fields['key'] = $this->api;
|
397 |
|
398 |
+
$fields = is_array($fields) ? http_build_query($fields) : $fields;
|
399 |
+
if ( defined('WP_DEBUG') && WP_DEBUG !== false ) {
|
400 |
+
error_log( "\nMandrill::http_request: URL: $url - Fields: $fields\n" );
|
401 |
+
}
|
402 |
+
|
403 |
$ch = curl_init();
|
404 |
curl_setopt($ch, CURLOPT_URL, $url);
|
405 |
|
406 |
curl_setopt($ch, CURLOPT_POST, $method == 'POST');
|
407 |
|
408 |
+
curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
|
409 |
|
410 |
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
|
411 |
curl_setopt($ch, CURLOPT_HEADER, false);
|
readme.txt
CHANGED
@@ -50,6 +50,23 @@ Yes. We try to send every single email sent through your WordPress installation.
|
|
50 |
|
51 |
If the sending fails for any reason, the plugin will try to send it again using the WordPress wp_mail function.
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
== Screenshots ==
|
54 |
|
55 |
1. Settings screen
|
@@ -58,39 +75,45 @@ If the sending fails for any reason, the plugin will try to send it again using
|
|
58 |
|
59 |
== Changelog ==
|
60 |
|
61 |
-
= 1.
|
62 |
-
*
|
|
|
|
|
|
|
63 |
|
64 |
-
= 1.
|
65 |
-
*
|
66 |
-
* ADDED:
|
67 |
|
68 |
-
= 1.
|
69 |
-
* FIXED:
|
70 |
|
71 |
-
= 1.
|
72 |
-
* FIXED:
|
73 |
-
* FIXED:
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
= 1.05 =
|
76 |
* FIXED: Contextual help tab getting open in all admin pages when plugin was not configured correctly.
|
77 |
* FIXED: Some references to verified domains. All domains are now verified in Mandrill.
|
78 |
* FIXED: Mandrill Class was returning Exceptions in two places (not throwing them).
|
79 |
|
80 |
-
= 1.
|
81 |
-
* FIXED:
|
|
|
82 |
|
83 |
-
= 1.
|
84 |
-
* FIXED:
|
85 |
-
* FIXED: No having general tags defined were causing a validation error. ** Thanks Max! **
|
86 |
-
* FIXED: Daily stats showing some hourly stats.
|
87 |
-
* UPDATED: Spanish translation updated.
|
88 |
-
* FIXED: Speeding dashboard widget results.
|
89 |
|
90 |
-
= 1.
|
91 |
-
*
|
|
|
92 |
|
93 |
-
= 1.
|
94 |
-
*
|
95 |
-
* ADDED: Replacing line feed by <br> setting.
|
96 |
|
50 |
|
51 |
If the sending fails for any reason, the plugin will try to send it again using the WordPress wp_mail function.
|
52 |
|
53 |
+
= My emails are broken and show weird CSS code =
|
54 |
+
|
55 |
+
In version 1.09, we added a setting that allows you to tell the plugin if you want to replace your line feeds by <br/>. Try playing with that switch. If it works for certain emails doesn't for others, then you should customize the payload sent to Mandrill using the **mandrill_payload** plugin.
|
56 |
+
|
57 |
+
= Is there any way to check what's going on? =
|
58 |
+
|
59 |
+
If you set the WP_DEBUG constant (defined in your wp-config.php file) to true, you'll see some messages added by the plugin in key parts of the process.
|
60 |
+
|
61 |
+
== Request ==
|
62 |
+
|
63 |
+
If you find that a part of this plugin isn't working, please don't simply click the Wordpress "It's broken" button. Let us know what's broken in [its support forum](http://wordpress.org/tags/wpmandrill?forum_id=10) so we can make it better. Our [mind-reading device](http://www.youtube.com/watch?v=cCTlonSwePs) still needs some tweaking.
|
64 |
+
|
65 |
+
== Localizations ==
|
66 |
+
wpMandrill is currently localized in the following languages:
|
67 |
+
|
68 |
+
* Spanish (es_ES)
|
69 |
+
|
70 |
== Screenshots ==
|
71 |
|
72 |
1. Settings screen
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.10 =
|
79 |
+
* ADDED: Blank .po file for other translations :)
|
80 |
+
* ADDED: Some debugging messages just in case need arises.
|
81 |
+
* ADDED: Adding GNU license
|
82 |
+
* ADDED: Mandrill's blog RSS
|
83 |
|
84 |
+
= 1.09 =
|
85 |
+
* ADDED: Reply-To Setting
|
86 |
+
* ADDED: Replacing line feed by <br> setting.
|
87 |
|
88 |
+
= 1.08 =
|
89 |
+
* FIXED: Wrong references to self:: in wp_mail introduce in 1.04 :(
|
90 |
|
91 |
+
= 1.07 =
|
92 |
+
* FIXED: Removing notices in the dashboard widget when there's no open or click data in the last 7 days.
|
93 |
+
* FIXED: No having general tags defined were causing a validation error. ** Thanks Max! **
|
94 |
+
* FIXED: Daily stats showing some hourly stats.
|
95 |
+
* UPDATED: Spanish translation updated.
|
96 |
+
* FIXED: Speeding dashboard widget results.
|
97 |
+
|
98 |
+
= 1.06 =
|
99 |
+
* FIXED: Some installations were reporting valid API keys as invalid due to a restrictive server configuration regarding Time-Out.
|
100 |
|
101 |
= 1.05 =
|
102 |
* FIXED: Contextual help tab getting open in all admin pages when plugin was not configured correctly.
|
103 |
* FIXED: Some references to verified domains. All domains are now verified in Mandrill.
|
104 |
* FIXED: Mandrill Class was returning Exceptions in two places (not throwing them).
|
105 |
|
106 |
+
= 1.03 =
|
107 |
+
* FIXED: Test email were using an old function.
|
108 |
+
* FIXED: Some data type checking to avoid PHP warnings.
|
109 |
|
110 |
+
= 1.02 =
|
111 |
+
* FIXED: Dashboard widget title was displaying incorrectly when a filter was defined.
|
|
|
|
|
|
|
|
|
112 |
|
113 |
+
= 1.01 =
|
114 |
+
* REMOVED: How-To Plugin
|
115 |
+
* ADDED: How-To page
|
116 |
|
117 |
+
= 1.0 =
|
118 |
+
* Public release
|
|
|
119 |
|
screenshot-1.jpg
ADDED
Binary file
|
screenshot-1.png
DELETED
Binary file
|
screenshot-2.jpg
ADDED
Binary file
|
screenshot-2.png
DELETED
Binary file
|
screenshot-3.jpg
ADDED
Binary file
|
screenshot-3.png
DELETED
Binary file
|
screenshot-4.jpg
ADDED
Binary file
|
wpmandrill.php
CHANGED
@@ -5,10 +5,26 @@ 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.
|
9 |
Text Domain: wpmandrill
|
10 |
-
|
|
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
wpMandrill::on_load();
|
13 |
|
14 |
class wpMandrill {
|
@@ -89,7 +105,9 @@ class wpMandrill {
|
|
89 |
add_action('admin_enqueue_scripts', array(__CLASS__,'showAdminEnqueueScripts'));
|
90 |
|
91 |
register_setting(self::WPDOMAIN, self::WPDOMAIN, array(__CLASS__,'formValidate'));
|
92 |
-
|
|
|
|
|
93 |
// SMTP Settings
|
94 |
add_settings_section('wpmandrill-api', __('API Settings', self::WPDOMAIN), '__return_false', self::WPDOMAIN);
|
95 |
add_settings_field('api-key', __('API Key', self::WPDOMAIN), array(__CLASS__, 'askAPIKey'), self::WPDOMAIN, 'wpmandrill-api');
|
@@ -160,6 +178,15 @@ class wpMandrill {
|
|
160 |
wp_enqueue_script('mandrill');
|
161 |
}
|
162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
|
164 |
static function adminNotices() {
|
165 |
if ( self::$conflict ) {
|
@@ -206,7 +233,7 @@ class wpMandrill {
|
|
206 |
. '<p>' . __('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>.)', self::WPDOMAIN).'</p>'
|
207 |
. '<p>' . __('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.', self::WPDOMAIN).'</p>'
|
208 |
. '<p>' . __('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.', self::WPDOMAIN).'</p>'
|
209 |
-
. '<p>' . __('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://
|
210 |
. '<p>' . __('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>.', self::WPDOMAIN).'</p>'
|
211 |
;
|
212 |
}
|
@@ -282,7 +309,7 @@ class wpMandrill {
|
|
282 |
|
283 |
<div style="float: left;width: 20%;">
|
284 |
<?php
|
285 |
-
$rss = fetch_feed('http://mandrill.com/
|
286 |
$maxitems = 0;
|
287 |
if (!is_wp_error( $rss ) ) {
|
288 |
$maxitems = $rss->get_item_quantity(5);
|
@@ -820,10 +847,7 @@ jQuery(document).bind( 'ready', function() {
|
|
820 |
*/
|
821 |
static function getTestEmailOption($field) {
|
822 |
|
823 |
-
|
824 |
-
$email = get_site_option(self::WPDOMAIN . '-test');
|
825 |
-
else
|
826 |
-
$email = get_option(self::WPDOMAIN . '-test');
|
827 |
|
828 |
if( isset( $email[$field] ) )
|
829 |
return $email[$field];
|
@@ -1603,7 +1627,10 @@ JS;
|
|
1603 |
$message = compact('html', 'text', 'subject', 'from_name', 'from_email', 'to', 'headers', 'attachments');
|
1604 |
return self::sendEmail($message, $tags, $template_name);
|
1605 |
} catch ( Exception $e ) {
|
1606 |
-
|
|
|
|
|
|
|
1607 |
}
|
1608 |
}
|
1609 |
|
@@ -1611,6 +1638,9 @@ JS;
|
|
1611 |
* @return boolean
|
1612 |
*/
|
1613 |
static function wp_mail_native( $to, $subject, $message, $headers = '', $attachments = array() ) {
|
|
|
|
|
|
|
1614 |
require plugin_dir_path( __FILE__ ) . '/legacy/function.wp_mail.php';
|
1615 |
}
|
1616 |
|
@@ -1699,6 +1729,7 @@ JS;
|
|
1699 |
}
|
1700 |
}
|
1701 |
|
|
|
1702 |
$reply_to = self::getReplyTo();
|
1703 |
if ( !empty($reply_to) && !in_array( 'reply_to', array_map( 'strtolower', array_keys($message['headers']) ) ) ) {
|
1704 |
$message['headers']['Reply-To'] = trim(self::getReplyTo());
|
@@ -1721,7 +1752,7 @@ JS;
|
|
1721 |
if ( !self::isDomainEnabled( $domain ) )
|
1722 |
throw new Exception('The domain of the email you provided has not been verified by Mandrill.');
|
1723 |
|
1724 |
-
//
|
1725 |
$message['tags'] = self::findTags($tags);
|
1726 |
|
1727 |
// Checking the attachments
|
@@ -1754,7 +1785,13 @@ JS;
|
|
1754 |
}
|
1755 |
|
1756 |
// Letting the user filter/change the message payload
|
1757 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1758 |
|
1759 |
// Setting the tags property correctly to be received by the Mandrill's API
|
1760 |
if ( !is_array($message['tags']['user']) ) $message['tags']['user'] = array();
|
@@ -1775,6 +1812,9 @@ JS;
|
|
1775 |
}
|
1776 |
|
1777 |
} catch ( Exception $e) {
|
|
|
|
|
|
|
1778 |
return new WP_Error( $e->getMessage() );
|
1779 |
}
|
1780 |
}
|
@@ -1787,7 +1827,10 @@ JS;
|
|
1787 |
try {
|
1788 |
$attachments[$index] = Mandrill::getAttachmentStruct($attachment);
|
1789 |
} catch ( Exception $e ) {
|
1790 |
-
|
|
|
|
|
|
|
1791 |
}
|
1792 |
}
|
1793 |
|
5 |
Author: Mandrill
|
6 |
Author URI: http://mandrillapp.com/
|
7 |
Plugin URI: http://connect.mailchimp.com/integrations/wpmandrill
|
8 |
+
Version: 1.10
|
9 |
Text Domain: wpmandrill
|
10 |
+
*/
|
11 |
+
/* Copyright 2012 MailChimp (email : will@mailchimp.com )
|
12 |
|
13 |
+
This program is free software; you can redistribute it and/or modify
|
14 |
+
it under the terms of the GNU General Public License as published by
|
15 |
+
the Free Software Foundation using version 2 of the License.
|
16 |
+
|
17 |
+
This program is distributed in the hope that it will be useful,
|
18 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20 |
+
GNU General Public License for more details.
|
21 |
+
|
22 |
+
You should have received a copy of the GNU General Public License
|
23 |
+
along with this program; if not, write to the Free Software
|
24 |
+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
25 |
+
|
26 |
+
|
27 |
+
*/
|
28 |
wpMandrill::on_load();
|
29 |
|
30 |
class wpMandrill {
|
105 |
add_action('admin_enqueue_scripts', array(__CLASS__,'showAdminEnqueueScripts'));
|
106 |
|
107 |
register_setting(self::WPDOMAIN, self::WPDOMAIN, array(__CLASS__,'formValidate'));
|
108 |
+
|
109 |
+
add_action( 'network_admin_notices', array( __CLASS__, 'network_connect_notice' ) );
|
110 |
+
|
111 |
// SMTP Settings
|
112 |
add_settings_section('wpmandrill-api', __('API Settings', self::WPDOMAIN), '__return_false', self::WPDOMAIN);
|
113 |
add_settings_field('api-key', __('API Key', self::WPDOMAIN), array(__CLASS__, 'askAPIKey'), self::WPDOMAIN, 'wpmandrill-api');
|
178 |
wp_enqueue_script('mandrill');
|
179 |
}
|
180 |
|
181 |
+
static function network_connect_notice() {
|
182 |
+
?>
|
183 |
+
<div id="message" class="updated wpmandrill-message">
|
184 |
+
<div class="squeezer">
|
185 |
+
<h4><?php _e( '<strong>wpMandrill is activated!</strong> Each site on your network must be connected individually by an admin on that site.', self::WPDOMAIN ) ?></h4>
|
186 |
+
</div>
|
187 |
+
</div>
|
188 |
+
<?php
|
189 |
+
}
|
190 |
|
191 |
static function adminNotices() {
|
192 |
if ( self::$conflict ) {
|
233 |
. '<p>' . __('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>.)', self::WPDOMAIN).'</p>'
|
234 |
. '<p>' . __('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.', self::WPDOMAIN).'</p>'
|
235 |
. '<p>' . __('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.', self::WPDOMAIN).'</p>'
|
236 |
+
. '<p>' . __('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://mailchimp.com/legal/terms/" target="_blank">Mandrill\'s Terms of Use</a>.', self::WPDOMAIN).'</p>'
|
237 |
. '<p>' . __('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>.', self::WPDOMAIN).'</p>'
|
238 |
;
|
239 |
}
|
309 |
|
310 |
<div style="float: left;width: 20%;">
|
311 |
<?php
|
312 |
+
$rss = fetch_feed('http://blog.mandrill.com/feeds/all.atom.xml');
|
313 |
$maxitems = 0;
|
314 |
if (!is_wp_error( $rss ) ) {
|
315 |
$maxitems = $rss->get_item_quantity(5);
|
847 |
*/
|
848 |
static function getTestEmailOption($field) {
|
849 |
|
850 |
+
$email = get_option(self::WPDOMAIN . '-test');
|
|
|
|
|
|
|
851 |
|
852 |
if( isset( $email[$field] ) )
|
853 |
return $email[$field];
|
1627 |
$message = compact('html', 'text', 'subject', 'from_name', 'from_email', 'to', 'headers', 'attachments');
|
1628 |
return self::sendEmail($message, $tags, $template_name);
|
1629 |
} catch ( Exception $e ) {
|
1630 |
+
if ( defined('WP_DEBUG') && WP_DEBUG !== false ) {
|
1631 |
+
error_log( "\nwpMandrill::mail: Exception Caught => ".$e->getMessage()."\n" );
|
1632 |
+
}
|
1633 |
+
return new WP_Error( $e->getMessage() );
|
1634 |
}
|
1635 |
}
|
1636 |
|
1638 |
* @return boolean
|
1639 |
*/
|
1640 |
static function wp_mail_native( $to, $subject, $message, $headers = '', $attachments = array() ) {
|
1641 |
+
if ( defined('WP_DEBUG') && WP_DEBUG !== false ) {
|
1642 |
+
error_log( "\nwpMandrill::wp_mail_native: $to ($subject)\n" );
|
1643 |
+
}
|
1644 |
require plugin_dir_path( __FILE__ ) . '/legacy/function.wp_mail.php';
|
1645 |
}
|
1646 |
|
1729 |
}
|
1730 |
}
|
1731 |
|
1732 |
+
// Adding a Reply-To header is needed.
|
1733 |
$reply_to = self::getReplyTo();
|
1734 |
if ( !empty($reply_to) && !in_array( 'reply_to', array_map( 'strtolower', array_keys($message['headers']) ) ) ) {
|
1735 |
$message['headers']['Reply-To'] = trim(self::getReplyTo());
|
1752 |
if ( !self::isDomainEnabled( $domain ) )
|
1753 |
throw new Exception('The domain of the email you provided has not been verified by Mandrill.');
|
1754 |
|
1755 |
+
// Checking the tags.
|
1756 |
$message['tags'] = self::findTags($tags);
|
1757 |
|
1758 |
// Checking the attachments
|
1785 |
}
|
1786 |
|
1787 |
// Letting the user filter/change the message payload
|
1788 |
+
if ( defined('WP_DEBUG') && WP_DEBUG !== false ) {
|
1789 |
+
error_log( "\nwpMandrill::sendEmail: Before mandrill_payload ".print_r($message,true)."\n" );
|
1790 |
+
}
|
1791 |
+
$message = apply_filters('mandrill_payload', $message);
|
1792 |
+
if ( defined('WP_DEBUG') && WP_DEBUG !== false ) {
|
1793 |
+
error_log( "\nwpMandrill::sendEmail: After mandrill_payload ".print_r($message,true)."\n" );
|
1794 |
+
}
|
1795 |
|
1796 |
// Setting the tags property correctly to be received by the Mandrill's API
|
1797 |
if ( !is_array($message['tags']['user']) ) $message['tags']['user'] = array();
|
1812 |
}
|
1813 |
|
1814 |
} catch ( Exception $e) {
|
1815 |
+
if ( defined('WP_DEBUG') && WP_DEBUG !== false ) {
|
1816 |
+
error_log( "\nwpMandrill::sendEmail: Exception Caught => ".$e->getMessage()."\n" );
|
1817 |
+
}
|
1818 |
return new WP_Error( $e->getMessage() );
|
1819 |
}
|
1820 |
}
|
1827 |
try {
|
1828 |
$attachments[$index] = Mandrill::getAttachmentStruct($attachment);
|
1829 |
} catch ( Exception $e ) {
|
1830 |
+
if ( defined('WP_DEBUG') && WP_DEBUG !== false ) {
|
1831 |
+
error_log( "\nwpMandrill::processAttachments: $attachment => ".$e->getMessage()."\n" );
|
1832 |
+
}
|
1833 |
+
return new WP_Error( $e->getMessage() );
|
1834 |
}
|
1835 |
}
|
1836 |
|