Version Description
Do upgrade if you get a "Warning: Missing argument 2 for WC_Template_Loader::unsupported_theme_title_filter() in ..." message.
Download this release
Release Info
Developer | SriniG |
Plugin | Quotes Collection |
Version | 2.0.10 |
Comparing to | |
See all releases |
Code changes from version 1.5.9 to 2.0.10
- LICENSE +340 -0
- README.md +66 -0
- css/quotes-collection-admin.css +104 -0
- css/quotes-collection.css +50 -0
- examples/quotes-collection.json +44 -0
- inc/class-quotes-collection-admin-list-table.php +277 -0
- inc/class-quotes-collection-admin.php +864 -0
- inc/class-quotes-collection-db.php +477 -0
- inc/class-quotes-collection-quote.php +149 -0
- inc/class-quotes-collection-shortcode.php +279 -0
- inc/class-quotes-collection-widget.php +224 -0
- inc/class-quotes-collection.php +339 -0
- js/confirm-delete.js +76 -0
- js/quotes-collection.js +76 -0
- languages/quotes-collection-de_DE.mo +0 -0
- languages/quotes-collection-de_DE.po +508 -237
- languages/quotes-collection-fr_FR.mo +0 -0
- languages/quotes-collection-fr_FR.po +530 -234
- languages/quotes-collection-he_IL.mo +0 -0
- languages/quotes-collection-he_IL.po +516 -190
- languages/quotes-collection-hu_HU.mo +0 -0
- languages/quotes-collection-hu_HU.po +431 -111
- languages/quotes-collection-nb_NO.mo +0 -0
- languages/quotes-collection-nb_NO.po +447 -278
- languages/quotes-collection-nl_NL.mo +0 -0
- languages/quotes-collection-nl_NL.po +567 -170
- languages/quotes-collection-no_NO.mo +0 -0
- languages/quotes-collection-no_NO.po +496 -0
- languages/quotes-collection-sk_SK.mo +0 -0
- languages/quotes-collection-sk_SK.po +437 -172
- languages/quotes-collection-sv_SE.mo +0 -0
- languages/quotes-collection-sv_SE.po +507 -162
- languages/quotes-collection-ta_IN.mo +0 -0
- languages/quotes-collection-ta_IN.po +423 -237
- languages/quotes-collection-tr_TR.mo +0 -0
- languages/quotes-collection-tr_TR.po +509 -170
- languages/quotes-collection-uk_UA.mo +0 -0
- languages/quotes-collection-uk_UA.po +434 -175
- languages/quotes-collection.pot +345 -152
- quotes-collection-admin.php +0 -443
- quotes-collection-ajax.php +0 -66
- quotes-collection-shortcodes.php +0 -185
- quotes-collection-widget.php +0 -108
- quotes-collection.css +0 -60
- quotes-collection.js +0 -39
- quotes-collection.php +95 -378
- readme.txt +130 -52
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- uninstall.php +26 -0
LICENSE
ADDED
@@ -0,0 +1,340 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 2, June 1991
|
3 |
+
|
4 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
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 |
+
{description}
|
294 |
+
Copyright (C) {year} {fullname}
|
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.
|
340 |
+
|
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Quotes Collection
|
2 |
+
=================
|
3 |
+
|
4 |
+
Quotes Collection Plugin for [WordPress](https://wordpress.org/) helps you collect, manage and display your favourite quotes in your WordPress website or blog.
|
5 |
+
|
6 |
+
|
7 |
+
Features and Notes
|
8 |
+
------------------
|
9 |
+
|
10 |
+
* **Admin interface**: An admin interface to add, edit, import, export and generally manage the collection of quotes.
|
11 |
+
* **Sidebar widget**: The Random Quote sidebar widget that will display a random quote from your collection and a refresh link at the bottom. As many number of instances of the widget can be added. Following is the list of options in the widget control panel:
|
12 |
+
* Widget title
|
13 |
+
* Option to show/hide quote author
|
14 |
+
* Option to show/hide quote source
|
15 |
+
* Turn on/off the refresh feature
|
16 |
+
* Choose random or sequential order for refresh
|
17 |
+
* Option to refresh the quote automatically
|
18 |
+
* Show only quotes with certain tags
|
19 |
+
* Specify a character limit and filter out bigger quotes
|
20 |
+
* **Shortcode**: Quotes can be displayed in a WordPress page by placing a `[quotcoll]`shortcode. Few examples are provided below. For more examples and the full list of arguments, please refer the [plugin homepage](http://srinig.com/wordpress/plugins/quotes-collection/).
|
21 |
+
* Placing `[quotcoll]` in the page displays all quotes.
|
22 |
+
* `[quotcoll author="Somebody"]` displays quotes authored by Somebody.
|
23 |
+
* `[quotcoll tags="tag1,tag2,tag3"]` displays quotes tagged tag1 or tag2 or tag3, one or more or all of these
|
24 |
+
* `[quotcoll orderby="random" limit=1]` displays a random quote
|
25 |
+
* **The template function**: To code the random quote functionality directly into a template file, the template function `quotescollection_quote()` can be used. Please refer the plugin homepage for details.
|
26 |
+
* **Import/Export** your collection of quotes in JSON format *(new in 2.0)*.
|
27 |
+
* The plugin suppports localization. Refer the plugin page or readme.txt for the full list of available languages and the respective translators.
|
28 |
+
|
29 |
+
For more information, visit the [plugin homepage](http://srinig.com/wordpress/plugins/quotes-collection/).
|
30 |
+
|
31 |
+
|
32 |
+
Installation
|
33 |
+
------------
|
34 |
+
|
35 |
+
*Note:* The stable version of the plugin can be downloaded from the [WordPress plugin directory](https://wordpress.org/plugins/quotes-collection/). The latest development version can be downloaded from GitHub, but it may not be stable.
|
36 |
+
|
37 |
+
### Method 1 ###
|
38 |
+
|
39 |
+
1. Go to *Plugins -> Add New* in your WordPress admin area
|
40 |
+
1. Type 'quotes collection' in the search box available and hit the 'Enter' key
|
41 |
+
1. Locate the 'Quotes Collection' plugin authored by Srini G, and click 'Install Now'
|
42 |
+
|
43 |
+
### Method 2 ###
|
44 |
+
|
45 |
+
1. Dowload the latest version of the plugin
|
46 |
+
1. Go to *Plugins -> Add New* in your WordPress admin area
|
47 |
+
1. Click on the 'Upload Plugin' button at the top, near 'Add Plugins'
|
48 |
+
1. Browse and select the zip file you just downloaded, and click 'Install Now'
|
49 |
+
|
50 |
+
### Method 3 ###
|
51 |
+
|
52 |
+
1. Dowload the latest version of the plugin
|
53 |
+
1. Extract the zip file
|
54 |
+
1. Using a FTP client or something similar, upload the `quotes-collection` directory to the `~/wp-content/plugins/` directory of your WordPress installation.
|
55 |
+
|
56 |
+
After installation, the plugin can be activated from *Plugins -> Installed Plugins* in your WordPress admin area. Once activated, the *Quotes Collection* menu will be visible in your admin menu.
|
57 |
+
|
58 |
+
|
59 |
+
Links
|
60 |
+
-----
|
61 |
+
|
62 |
+
* [Plugin home page](http://srinig.com/wordpress/plugins/quotes-collection/)
|
63 |
+
* [Plugin at the WordPress plugin directory](https//wordpress.org/plugins/quotes-collection/)
|
64 |
+
* [Support at the WordPress support forums](https://wordpress.org/support/plugin/quotes-collection)
|
65 |
+
* [Development at GitHub](https://github.com/sriniguna/quotes-collection/)
|
66 |
+
|
css/quotes-collection-admin.css
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Styles for Quotes Collection admin pages
|
3 |
+
*
|
4 |
+
* @package Quotes Collection
|
5 |
+
* @since 2.0
|
6 |
+
*/
|
7 |
+
|
8 |
+
header {
|
9 |
+
margin: 0 0 1em;
|
10 |
+
}
|
11 |
+
|
12 |
+
#quotescollection-title {
|
13 |
+
font-size: 23px;
|
14 |
+
font-weight: 400;
|
15 |
+
margin: 0;
|
16 |
+
padding: 9px 15px 4px 0;
|
17 |
+
line-height: 29px;
|
18 |
+
}
|
19 |
+
|
20 |
+
.list-meta {
|
21 |
+
display: inline-block;
|
22 |
+
float: left;
|
23 |
+
margin: 0;
|
24 |
+
color: #444;
|
25 |
+
}
|
26 |
+
|
27 |
+
.list-meta a {
|
28 |
+
text-decoration: none;
|
29 |
+
}
|
30 |
+
|
31 |
+
.list-meta .current {
|
32 |
+
font-weight: bold;
|
33 |
+
}
|
34 |
+
.list-meta .current a {
|
35 |
+
color: #444;
|
36 |
+
}
|
37 |
+
|
38 |
+
.list-meta .count {
|
39 |
+
color: #888;
|
40 |
+
font-weight: normal;
|
41 |
+
}
|
42 |
+
|
43 |
+
.search-box {
|
44 |
+
display: inline-block;
|
45 |
+
float: right;
|
46 |
+
margin: 0;
|
47 |
+
}
|
48 |
+
|
49 |
+
|
50 |
+
.column-quote_id {
|
51 |
+
width: 4em;
|
52 |
+
}
|
53 |
+
|
54 |
+
|
55 |
+
.quote_entries.fixed .column-date {
|
56 |
+
width: 8em;
|
57 |
+
}
|
58 |
+
|
59 |
+
.column-source {
|
60 |
+
width: 25%;
|
61 |
+
}
|
62 |
+
|
63 |
+
.quote_entries.fixed .column-tags {
|
64 |
+
width: 12%;
|
65 |
+
}
|
66 |
+
|
67 |
+
.column-quote {
|
68 |
+
min-width: 20em;
|
69 |
+
}
|
70 |
+
|
71 |
+
.quotescollection-tags {
|
72 |
+
list-style: none;
|
73 |
+
margin: 0;
|
74 |
+
}
|
75 |
+
|
76 |
+
.quotescollection-tags li {
|
77 |
+
display: inline-block;
|
78 |
+
margin: 0.1em;
|
79 |
+
padding: 0 0.5em;
|
80 |
+
background: #eee;
|
81 |
+
border: 1px solid #ddd;
|
82 |
+
border-radius: 0.2em;
|
83 |
+
font-size: 0.8em;
|
84 |
+
}
|
85 |
+
|
86 |
+
.highlight {
|
87 |
+
background: #ff0;
|
88 |
+
}
|
89 |
+
|
90 |
+
table.translation-credits {
|
91 |
+
border: 1px solid #aaa;
|
92 |
+
padding: 0;
|
93 |
+
}
|
94 |
+
|
95 |
+
table.translation-credits td,
|
96 |
+
table.translation-credits tr,
|
97 |
+
table.translation-credits th {
|
98 |
+
margin: 0;
|
99 |
+
padding: 0;
|
100 |
+
}
|
101 |
+
table.translation-credits td {
|
102 |
+
border: 1px solid #aaa;
|
103 |
+
}
|
104 |
+
|
css/quotes-collection.css
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Quotes Collection styles.
|
3 |
+
*
|
4 |
+
* For the markup generated by the widget, shortcode and template function.
|
5 |
+
*
|
6 |
+
* @package Quotes Collection
|
7 |
+
* @since 2.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
/* Widget */
|
11 |
+
|
12 |
+
.quotescollection-quote .attribution {
|
13 |
+
text-align: right;
|
14 |
+
margin-bottom: 1.4em;
|
15 |
+
}
|
16 |
+
.quotescollection-quote cite.author {
|
17 |
+
font-style: normal;
|
18 |
+
}
|
19 |
+
.quotescollection-quote cite.source {
|
20 |
+
font-style: italic;
|
21 |
+
}
|
22 |
+
.quotescollection-quote .nav-next {
|
23 |
+
float: none;
|
24 |
+
clear: both;
|
25 |
+
width: 100%;
|
26 |
+
text-align: left;
|
27 |
+
}
|
28 |
+
|
29 |
+
|
30 |
+
/* Shortcode output */
|
31 |
+
blockquote.quotescollection-quote {
|
32 |
+
border:0;
|
33 |
+
background:none;
|
34 |
+
padding:0;
|
35 |
+
margin:4em 2em;
|
36 |
+
font-size:1em;
|
37 |
+
box-shadow: none;
|
38 |
+
}
|
39 |
+
blockquote.quotescollection-quote::before,
|
40 |
+
blockquote.quotescollection-quote::after {
|
41 |
+
content:'';
|
42 |
+
content:none;
|
43 |
+
margin: 0;
|
44 |
+
padding: 0;
|
45 |
+
position: relative;
|
46 |
+
}
|
47 |
+
|
48 |
+
blockquote.quotescollection-quote footer.attribution cite {
|
49 |
+
font-size: 0.83em;
|
50 |
+
}
|
examples/quotes-collection.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"quote": "The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails.",
|
4 |
+
"author": "William Arthur Ward",
|
5 |
+
"source": null,
|
6 |
+
"tags": "optimism,realism",
|
7 |
+
"public": "yes"
|
8 |
+
},
|
9 |
+
{
|
10 |
+
"quote": "Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma -- which is living with the results of other people's thinking. Don't let the noise of other's opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.",
|
11 |
+
"author": "Steve Jobs",
|
12 |
+
"source": null,
|
13 |
+
"tags": null,
|
14 |
+
"public": "yes"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"quote": "... the truly free individual is free only to the extent of his own self-mastery. While those who will not govern themselves are condemned to find masters to govern over them.",
|
18 |
+
"author": "Steven Pressfield",
|
19 |
+
"source": "The War of Art",
|
20 |
+
"tags": null,
|
21 |
+
"public": "yes"
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"quote": "Nothing exists except atoms and empty space; all else is mere opinion.",
|
25 |
+
"author": "Democritus",
|
26 |
+
"source": null,
|
27 |
+
"tags": "space",
|
28 |
+
"public": "yes"
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"quote": "People like us, who believe in physics, know that the distinction between past, present, and future is only a stubbornly persistent illusion.",
|
32 |
+
"author": "Albert Einstein",
|
33 |
+
"source": null,
|
34 |
+
"tags": "time",
|
35 |
+
"public": "yes"
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"quote": "Silence is golden.",
|
39 |
+
"author": null,
|
40 |
+
"source": "~\/wp-content\/index.php",
|
41 |
+
"tags": null,
|
42 |
+
"public": "yes"
|
43 |
+
}
|
44 |
+
]
|
inc/class-quotes-collection-admin-list-table.php
ADDED
@@ -0,0 +1,277 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Quotes List Table
|
4 |
+
*
|
5 |
+
* Generates the list of quotes to be displayed in the plugin's main admin page.
|
6 |
+
*
|
7 |
+
* @package Quotes Collection
|
8 |
+
* @since 2.0
|
9 |
+
*/
|
10 |
+
|
11 |
+
if(!class_exists('WP_List_Table')){
|
12 |
+
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
|
13 |
+
}
|
14 |
+
|
15 |
+
|
16 |
+
class Quotes_Collection_Admin_List_Table extends WP_List_Table {
|
17 |
+
|
18 |
+
public $total_items;
|
19 |
+
public $total_list_items;
|
20 |
+
public $filtered;
|
21 |
+
|
22 |
+
function __construct(){
|
23 |
+
global $status, $page;
|
24 |
+
|
25 |
+
//Set parent defaults
|
26 |
+
parent::__construct( array(
|
27 |
+
'singular' => 'quote_entry', //singular name of the listed records
|
28 |
+
'plural' => 'quote_entries', //plural name of the listed records
|
29 |
+
'ajax' => false //does this table support ajax?
|
30 |
+
) );
|
31 |
+
|
32 |
+
}
|
33 |
+
|
34 |
+
function column_default($item, $column_name){
|
35 |
+
switch($column_name){
|
36 |
+
case 'quote_id':
|
37 |
+
case 'author':
|
38 |
+
case 'source':
|
39 |
+
case 'tags':
|
40 |
+
case 'public':
|
41 |
+
case 'time_added':
|
42 |
+
return $item[$column_name];
|
43 |
+
default:
|
44 |
+
return print_r($item,true); //Show the whole array for troubleshooting purposes
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
|
49 |
+
function column_quote($item) {
|
50 |
+
global $quotescollection_admin;
|
51 |
+
|
52 |
+
$edit_link = wp_nonce_url(
|
53 |
+
$quotescollection_admin->admin_url . '&action=edit&id=' . $item['quote_id'],
|
54 |
+
'edit_quote_' . $item['quote_id'],
|
55 |
+
'quotescollection_nonce'
|
56 |
+
);
|
57 |
+
$delete_link = wp_nonce_url(
|
58 |
+
$quotescollection_admin->admin_url . '&action=delete&id=' . $item['quote_id'],
|
59 |
+
'delete_quote_' . $item['quote_id'],
|
60 |
+
'quotescollection_nonce'
|
61 |
+
);
|
62 |
+
|
63 |
+
$actions = array(
|
64 |
+
'edit' => '<a href="'.$edit_link.'">' . __('Edit', 'quotes-collection') . '</a>',
|
65 |
+
'delete' => '<a href="'.$delete_link.'">' . __('Delete', 'quotes-collection') . '</a>',
|
66 |
+
);
|
67 |
+
|
68 |
+
//Return the title contents
|
69 |
+
return sprintf('<div>%1$s</div>%2$s',
|
70 |
+
/*$1%s*/ $item['quote'],
|
71 |
+
/*$2%s*/ $this->row_actions($actions)
|
72 |
+
);
|
73 |
+
|
74 |
+
}
|
75 |
+
|
76 |
+
function column_source( $item ) {
|
77 |
+
$output = "";
|
78 |
+
if( $item['author'] ) {
|
79 |
+
$output = $item['author'];
|
80 |
+
}
|
81 |
+
if( $item['source'] ) {
|
82 |
+
if($output) {
|
83 |
+
$output .= ', ';
|
84 |
+
}
|
85 |
+
$output .= '<i>'.$item['source'].'</i>';
|
86 |
+
}
|
87 |
+
return $output;
|
88 |
+
}
|
89 |
+
|
90 |
+
function column_tags( $item ) {
|
91 |
+
$tags = '';
|
92 |
+
if( $item['tags'] ) {
|
93 |
+
$tags_array = explode( ',', $item['tags'] );
|
94 |
+
$tags = '<ul class="quotescollection-tags">';
|
95 |
+
foreach( $tags_array as $key => $tag ) {
|
96 |
+
$tags .= '<li class="quotescollection-tag">';
|
97 |
+
$tags .= stripslashes( trim( $tag ) );
|
98 |
+
$tags .= '</li>';
|
99 |
+
}
|
100 |
+
$tags .= '</ul>';
|
101 |
+
}
|
102 |
+
return $tags;
|
103 |
+
}
|
104 |
+
|
105 |
+
function column_date( $item ) {
|
106 |
+
$date = date_create( $item['time_added'] );
|
107 |
+
$abbr_title = date_format( $date, _x('Y/m/d h:i:s A', 'date and time format', 'quotes-collection') );
|
108 |
+
$date_display = date_format( $date, _x( 'Y/m/d', 'date format', 'quotes-collection') );
|
109 |
+
$display = '<div class="date"><abbr title="'.$abbr_title.'">'.$date_display.'</abbr></div>';
|
110 |
+
$public_display = ($item['public'] == 'no')?__('Private', 'quotes-collection'):__('Public', 'quotes-collection');
|
111 |
+
$display .= '<div class="public">'.$public_display.'</div>';
|
112 |
+
return $display;
|
113 |
+
}
|
114 |
+
|
115 |
+
function column_cb($item){
|
116 |
+
return sprintf(
|
117 |
+
'<input type="checkbox" name="bulkcheck[]" value="%s" />',
|
118 |
+
/*%s*/ $item['quote_id'] //The value of the checkbox should be the record's id
|
119 |
+
);
|
120 |
+
}
|
121 |
+
|
122 |
+
function get_columns(){
|
123 |
+
$columns = array(
|
124 |
+
'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
|
125 |
+
'quote_id' => __('ID', 'quotes-collection'),
|
126 |
+
'quote' => __('Quote', 'quotes-collection'),
|
127 |
+
'source' => __('Author', 'quotes-collection').', '.__('Source', 'quotes-collection'),
|
128 |
+
'tags' => __('Tags', 'quotes-collection'),
|
129 |
+
'date' => __('Date', 'quotes-collection')
|
130 |
+
);
|
131 |
+
return $columns;
|
132 |
+
}
|
133 |
+
|
134 |
+
function get_sortable_columns() {
|
135 |
+
$sortable_columns = array(
|
136 |
+
'quote_id' => array('quote_id', false),
|
137 |
+
'quote' => array('quote', false),
|
138 |
+
'date' => array('time_added', false)
|
139 |
+
);
|
140 |
+
return $sortable_columns;
|
141 |
+
}
|
142 |
+
|
143 |
+
function get_bulk_actions() {
|
144 |
+
$actions = array(
|
145 |
+
'bulk_delete' => __('Delete', 'quotes-collection'),
|
146 |
+
'make_public' => __('Make public', 'quotes-collection'),
|
147 |
+
'keep_private' => __('Keep private', 'quotes-collection'),
|
148 |
+
);
|
149 |
+
return $actions;
|
150 |
+
}
|
151 |
+
|
152 |
+
|
153 |
+
|
154 |
+
function output_format( $items, $highlight = "" ) {
|
155 |
+
foreach( $items as $key => $quote_data ) {
|
156 |
+
$quote = new Quotes_Collection_Quote( $quote_data );
|
157 |
+
$quote->prepare_data();
|
158 |
+
$quote_array = (array) $quote;
|
159 |
+
if($highlight) {
|
160 |
+
$quote_array = preg_replace(
|
161 |
+
"/$highlight/i",
|
162 |
+
"<span class='highlight'>\$0</span>",
|
163 |
+
$quote_array
|
164 |
+
);
|
165 |
+
unset($quote_array['quote_id']);
|
166 |
+
unset($quote_array['public']);
|
167 |
+
unset($quote_array['time_added']);
|
168 |
+
unset($quote_array['time_updated']);
|
169 |
+
}
|
170 |
+
$items[$key] = array_merge( (array) $quote, $quote_array );
|
171 |
+
}
|
172 |
+
return $items;
|
173 |
+
}
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
+
/**
|
178 |
+
* Prepares the data for display. This method queries the database, sorts
|
179 |
+
* and filters the data, and generally gets it ready to be displayed.
|
180 |
+
*
|
181 |
+
* @global Quotes_Collection_DB $quotescollection_db
|
182 |
+
* @uses $this->_column_headers
|
183 |
+
* @uses $this->items
|
184 |
+
* @uses $this->total_items
|
185 |
+
* @uses $this->total_list_items
|
186 |
+
* @uses $this->filtered
|
187 |
+
* @uses $this->get_columns()
|
188 |
+
* @uses $this->get_sortable_columns()
|
189 |
+
* @uses $this->get_pagenum()
|
190 |
+
* @uses $this->output_format()
|
191 |
+
* @uses $this->set_pagination_args()
|
192 |
+
**/
|
193 |
+
function prepare_items() {
|
194 |
+
global $quotescollection_db; //This is used only if making any database queries
|
195 |
+
|
196 |
+
|
197 |
+
|
198 |
+
/*
|
199 |
+
* Define the column headers. This includes a complete array of columns
|
200 |
+
* to be displayed (slugs & titles), a list of columns to be kept hidden,
|
201 |
+
* and a list of columns that are sortable. Each of these can be defined
|
202 |
+
* in another method (as we've done here) before being used to build the
|
203 |
+
* value for our _column_headers property.
|
204 |
+
*/
|
205 |
+
$columns = $this->get_columns();
|
206 |
+
$hidden = array('time_added');
|
207 |
+
$sortable = $this->get_sortable_columns();
|
208 |
+
|
209 |
+
|
210 |
+
/*
|
211 |
+
* Build an array to be used by the class for column headers.
|
212 |
+
* The $this->_column_headers property takes an array which contains
|
213 |
+
* 3 other arrays. One for all columns, one for hidden columns, and one
|
214 |
+
* for sortable columns.
|
215 |
+
*/
|
216 |
+
$this->_column_headers = $this->get_column_info();//array($columns, $hidden, $sortable);
|
217 |
+
|
218 |
+
|
219 |
+
|
220 |
+
// Frame the parameters to be passed to fetch the data from the database
|
221 |
+
$db_args = array();
|
222 |
+
$db_args['orderby'] = (!empty($_REQUEST['orderby'])) ? $_REQUEST['orderby'] : 'quote_id';
|
223 |
+
if( empty($_REQUEST['order']) || !in_array( $_REQUEST['order'], array( 'ASC', 'DESC', 'asc', 'desc' ), true ) ) {
|
224 |
+
if( 'quote_id' == $db_args['orderby'] )
|
225 |
+
$db_args['order'] = 'DESC';
|
226 |
+
else $db_args['order'] = 'ASC';
|
227 |
+
}
|
228 |
+
else
|
229 |
+
$db_args['order'] = $_REQUEST['order'];
|
230 |
+
|
231 |
+
if( isset( $_REQUEST['s'] ) && !empty( $_REQUEST['s'] ) ) {
|
232 |
+
$db_args['search'] = (string) $_REQUEST['s'];
|
233 |
+
}
|
234 |
+
else $db_args['search'] = '';
|
235 |
+
|
236 |
+
if( isset( $_REQUEST['public'] ) && ( $_REQUEST['public'] == 'yes' || $_REQUEST['public'] == 'no' ) ) {
|
237 |
+
$db_args['public'] = $_REQUEST['public'];
|
238 |
+
}
|
239 |
+
else $db_args['public'] = '';
|
240 |
+
|
241 |
+
|
242 |
+
|
243 |
+
/* Items per page to be shown. We get this from the value set in screen
|
244 |
+
options. Default is 20 */
|
245 |
+
$per_page = $this->get_items_per_page( 'quotescollection_items_per_page', 20 );
|
246 |
+
|
247 |
+
$current_page = $this->get_pagenum();
|
248 |
+
|
249 |
+
$this->total_items = $quotescollection_db->count();
|
250 |
+
|
251 |
+
if( $db_args['search'] || $db_args['public']) {
|
252 |
+
$this->total_list_items = $quotescollection_db->count( $db_args );
|
253 |
+
$this->filtered = true;
|
254 |
+
} else {
|
255 |
+
$this->total_list_items = $this->total_items;
|
256 |
+
$this->filtered = false;
|
257 |
+
}
|
258 |
+
|
259 |
+
$db_args['num_quotes'] = $per_page;
|
260 |
+
$db_args['start'] = ( $current_page - 1 ) * $per_page;
|
261 |
+
|
262 |
+
// Now, fetching the data from the database
|
263 |
+
$data = $quotescollection_db->get_quotes_array( $db_args );
|
264 |
+
$this->items = $this->output_format( $data, $db_args['search'] );
|
265 |
+
|
266 |
+
|
267 |
+
// Register our pagination options & calculations.
|
268 |
+
$this->set_pagination_args( array(
|
269 |
+
'total_items' => $this->total_list_items,
|
270 |
+
'per_page' => $per_page,
|
271 |
+
'total_pages' => ceil($this->total_list_items/$per_page)
|
272 |
+
) );
|
273 |
+
}
|
274 |
+
|
275 |
+
|
276 |
+
}
|
277 |
+
?>
|
inc/class-quotes-collection-admin.php
ADDED
@@ -0,0 +1,864 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Quotes Collection Admin Area
|
4 |
+
*
|
5 |
+
* @package Quotes Collection
|
6 |
+
* @since 2.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Quotes_Collection_Admin {
|
10 |
+
|
11 |
+
/**
|
12 |
+
* User levels for access to different admin pages
|
13 |
+
* @link http://codex.wordpress.org/Roles_and_Capabilities
|
14 |
+
*/
|
15 |
+
const USER_LEVEL_MANAGE_QUOTES = 'edit_posts';
|
16 |
+
const USER_LEVEL_IMPORT_EXPORT = 'import';
|
17 |
+
const USER_LEVEL_MANAGE_OPTIONS = 'manage_options';
|
18 |
+
|
19 |
+
/** The URLs of different admin pages **/
|
20 |
+
public $admin_url;
|
21 |
+
public $admin_add_new_url;
|
22 |
+
public $admin_import_url;
|
23 |
+
public $admin_export_url;
|
24 |
+
public $admin_options_url;
|
25 |
+
|
26 |
+
/** Page IDs generated by add_menu functions. Used internally **/
|
27 |
+
private $main_page_id;
|
28 |
+
private $add_new_quote_page_id;
|
29 |
+
private $import_page_id;
|
30 |
+
private $export_page_id;
|
31 |
+
private $options_page_id;
|
32 |
+
private $notices;
|
33 |
+
private $quotes_list_table;
|
34 |
+
|
35 |
+
/** Flags **/
|
36 |
+
private $quote_added = false;
|
37 |
+
private $quote_updated = false;
|
38 |
+
|
39 |
+
|
40 |
+
/** Constructor **/
|
41 |
+
public function __construct() {
|
42 |
+
add_filter( 'set-screen-option', array($this, 'set_screen_options'), 10, 3 );
|
43 |
+
add_action( 'current_screen', array($this, 'process_requests') );
|
44 |
+
add_action( 'admin_menu', array($this, 'admin_menus') );
|
45 |
+
add_action( 'admin_notices', array($this, 'display_notices'));
|
46 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'load_scripts_and_styles' ) );
|
47 |
+
}
|
48 |
+
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Function that creates admin menu items for our admin pages
|
52 |
+
*/
|
53 |
+
public function admin_menus() {
|
54 |
+
|
55 |
+
$main_slug = 'quotes-collection';
|
56 |
+
$add_new_slug = 'quotes-collection-add-new';
|
57 |
+
$import_slug = 'quotes-collection-import';
|
58 |
+
$export_slug = 'quotes-collection-export';
|
59 |
+
$options_slug = 'quotes-collection-options';
|
60 |
+
|
61 |
+
// Top level menu item for the main admin page that holds the quotes list
|
62 |
+
$this->main_page_id =
|
63 |
+
add_menu_page(
|
64 |
+
'Quotes Collection', // page title
|
65 |
+
'Quotes Collection', // menu title
|
66 |
+
self::USER_LEVEL_MANAGE_QUOTES, // user level
|
67 |
+
$main_slug, // menu-slg
|
68 |
+
array($this, 'admin_page_main'), // callback function
|
69 |
+
'dashicons-testimonial', // icon
|
70 |
+
50 // position
|
71 |
+
);
|
72 |
+
|
73 |
+
// Sub-menu item for 'Add Quote' page
|
74 |
+
$this->add_new_quote_page_id =
|
75 |
+
add_submenu_page(
|
76 |
+
'quotes-collection',
|
77 |
+
_x('Add New Quote', 'heading', 'quotes-collection'),
|
78 |
+
_x('Add New', 'submenu item text', 'quotes-collection'),
|
79 |
+
self::USER_LEVEL_MANAGE_QUOTES,
|
80 |
+
$add_new_slug,
|
81 |
+
array($this, 'admin_page_add_new')
|
82 |
+
);
|
83 |
+
|
84 |
+
// Sub-menu item for 'Import Quotes' page
|
85 |
+
$this->import_page_id =
|
86 |
+
add_submenu_page(
|
87 |
+
'quotes-collection',
|
88 |
+
_x('Import Quotes', 'heading', 'quotes-collection'),
|
89 |
+
_x('Import', 'submenu item text', 'quotes-collection'),
|
90 |
+
self::USER_LEVEL_IMPORT_EXPORT,
|
91 |
+
$import_slug,
|
92 |
+
array($this, 'admin_page_import')
|
93 |
+
);
|
94 |
+
|
95 |
+
// Sub-menu item for 'Export Quotes' page
|
96 |
+
$this->export_page_id =
|
97 |
+
add_submenu_page(
|
98 |
+
'quotes-collection',
|
99 |
+
_x('Export Quotes', 'heading', 'quotes-collection'),
|
100 |
+
_x('Export', 'submenu item text', 'quotes-collection'),
|
101 |
+
self::USER_LEVEL_IMPORT_EXPORT,
|
102 |
+
$export_slug,
|
103 |
+
array($this, 'admin_page_export')
|
104 |
+
);
|
105 |
+
|
106 |
+
// Sub-menu item for the plugin options page
|
107 |
+
$this->options_page_id =
|
108 |
+
add_submenu_page(
|
109 |
+
'quotes-collection',
|
110 |
+
_x('Quotes Collection Options', 'heading', 'quotes-collection'),
|
111 |
+
_x('Options', 'submenu item text', 'quotes-collection'),
|
112 |
+
self::USER_LEVEL_MANAGE_OPTIONS,
|
113 |
+
$options_slug,
|
114 |
+
array($this, 'admin_page_options')
|
115 |
+
);
|
116 |
+
|
117 |
+
|
118 |
+
// Just to make the first sub-menu item distinct from the main menu item
|
119 |
+
global $submenu;
|
120 |
+
$submenu[$main_slug][0][0] = _x('All Quotes', 'submenu item text', 'quotes-collection');
|
121 |
+
|
122 |
+
// Updating the member variables that hold URLs of different admin pages
|
123 |
+
$this->admin_url = admin_url( 'admin.php?page=' . $main_slug );
|
124 |
+
$this->admin_add_new_url = admin_url( 'admin.php?page=' . $add_new_slug );
|
125 |
+
$this->admin_import_url = admin_url( 'admin.php?page=' . $import_slug );
|
126 |
+
$this->admin_export_url = admin_url( 'admin.php?page=' . $export_slug );
|
127 |
+
$this->admin_options_url = admin_url( 'admin.php?page=' . $options_slug );
|
128 |
+
|
129 |
+
//Hooking the function that adds screen options for the quotes list page
|
130 |
+
add_action( "load-".$this->main_page_id, array($this, 'add_screen_options') );
|
131 |
+
}
|
132 |
+
|
133 |
+
|
134 |
+
/**
|
135 |
+
* Renders the main admin page
|
136 |
+
*/
|
137 |
+
public function admin_page_main() {
|
138 |
+
global $quotescollection_db;
|
139 |
+
$quotes_list_table = $this->quotes_list_table;
|
140 |
+
$options = get_option('quotescollection');
|
141 |
+
$display = $msg = $quotes_list = $alternate = "";
|
142 |
+
|
143 |
+
if($options['db_version'] != Quotes_Collection_DB::PLUGIN_DB_VERSION )
|
144 |
+
$quotescollection_db->install_db();
|
145 |
+
|
146 |
+
|
147 |
+
/* If there is a call to 'Edit' a particular quote entry, we render the
|
148 |
+
'Edit Quote' page after checking the necessary conditions */
|
149 |
+
if(
|
150 |
+
isset( $_REQUEST['action'] )
|
151 |
+
&& $_REQUEST['action'] == 'edit'
|
152 |
+
&& (
|
153 |
+
( isset( $_REQUEST['submit'] )
|
154 |
+
&& $_REQUEST['submit'] == _x( 'Save Changes', 'submit button text', 'quotes-collection') )
|
155 |
+
|| check_admin_referer( 'edit_quote_'.$_REQUEST['id'], 'quotescollection_nonce' )
|
156 |
+
)
|
157 |
+
) {
|
158 |
+
$this->admin_page_header( 'edit-quote' );
|
159 |
+
$this->pseudo_meta_box(
|
160 |
+
'edit-quote',
|
161 |
+
_x( 'Edit Quote', 'submenu item text', 'quotes-collection' ),
|
162 |
+
$this->editform($_REQUEST['id'])
|
163 |
+
);
|
164 |
+
$this->admin_page_footer();
|
165 |
+
return;
|
166 |
+
}
|
167 |
+
|
168 |
+
|
169 |
+
// Prepare the quotes list table
|
170 |
+
$quotes_list_table->prepare_items();
|
171 |
+
|
172 |
+
|
173 |
+
// List meta shows the number of quotes -- total/public/private/filtered
|
174 |
+
|
175 |
+
$total_public_items = $quotescollection_db->count(array( 'public' => 'yes'));
|
176 |
+
$total_private_items = $quotes_list_table->total_items - $total_public_items;
|
177 |
+
|
178 |
+
$all_quotes_class = $public_quotes_class = $private_quotes_class = '';
|
179 |
+
if( false === $quotes_list_table->filtered ) {
|
180 |
+
$all_quotes_class = ' class="current"';
|
181 |
+
}
|
182 |
+
else if ( isset( $_REQUEST['public'] ) && 'yes' == $_REQUEST['public'] ) {
|
183 |
+
$public_quotes_class = ' class="current"';
|
184 |
+
}
|
185 |
+
else if ( isset( $_REQUEST['public'] ) && 'no' == $_REQUEST['public'] ) {
|
186 |
+
$private_quotes_class = ' class="current"';
|
187 |
+
}
|
188 |
+
|
189 |
+
$list_meta = '<p class="list-meta">';
|
190 |
+
$list_meta .= '<span' . $all_quotes_class .'>'
|
191 |
+
. '<a href="' . $this->admin_url . '">'
|
192 |
+
. _x( 'All Quotes', 'list meta, above the quotes list table in the main admin page', 'quotes-collection' )
|
193 |
+
. ' <span class="count">(' . $quotes_list_table->total_items . ')</span>'
|
194 |
+
. '</a></span>';
|
195 |
+
$list_meta .= ' | <span' . $public_quotes_class .'>'
|
196 |
+
. '<a href="' . $this->admin_url . '&public=yes">'
|
197 |
+
. _x( 'Public', 'list meta, above the quotes list table in the main admin page', 'quotes-collection' )
|
198 |
+
. ' <span class="count">(' . $total_public_items . ')</span>'
|
199 |
+
. '</a></span>';
|
200 |
+
$list_meta .= ' | <span' . $private_quotes_class .'>'
|
201 |
+
. '<a href="' . $this->admin_url . '&public=no">'
|
202 |
+
. _x( 'Private', 'list meta, above the quotes list table in the main admin page', 'quotes-collection' )
|
203 |
+
. ' <span class="count">(' . $total_private_items . ')</span>'
|
204 |
+
. '</a></span>';
|
205 |
+
if( isset( $_REQUEST['s'] ) && !empty( $_REQUEST['s'] ) ) {
|
206 |
+
$search_query = stripslashes( strip_tags( $_REQUEST['s'] ) );
|
207 |
+
$list_meta .= ' | <span class="current">'
|
208 |
+
. sprintf( _x( 'Search results for "%s"', 'list meta, above the quotes list table in the main admin page', 'quotes-collection' ), $search_query )
|
209 |
+
. ' <span class="count">(' . $quotes_list_table->total_list_items . ')</span>'
|
210 |
+
. '</span>';
|
211 |
+
}
|
212 |
+
$list_meta .= '</p>';
|
213 |
+
|
214 |
+
|
215 |
+
// Call to output the header
|
216 |
+
$this->admin_page_header('quotes-list');
|
217 |
+
|
218 |
+
// Display the quotes list table
|
219 |
+
?>
|
220 |
+
<form id="quotescollection" method="get">
|
221 |
+
<input type="hidden" name="page" value="<?php echo esc_attr( $_REQUEST['page'] ); ?>" />
|
222 |
+
<div class="list-header">
|
223 |
+
<?php echo $list_meta; ?>
|
224 |
+
<?php $quotes_list_table->search_box( __('Search', 'quotes-collection'), 'quotescollection'); ?>
|
225 |
+
</div>
|
226 |
+
<?php $quotes_list_table->display(); ?>
|
227 |
+
</form>
|
228 |
+
<div id="quotescollection-dialog"></div>
|
229 |
+
<?php
|
230 |
+
|
231 |
+
$this->admin_page_footer();
|
232 |
+
}
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
/**
|
237 |
+
* Renders the add new page
|
238 |
+
*/
|
239 |
+
public function admin_page_add_new() {
|
240 |
+
|
241 |
+
$this->admin_page_header( 'add-new' );
|
242 |
+
|
243 |
+
$this->pseudo_meta_box(
|
244 |
+
'add-new-quote',
|
245 |
+
_x( 'Add New Quote', 'heading', 'quotes-collection' ),
|
246 |
+
$this->editform()
|
247 |
+
);
|
248 |
+
|
249 |
+
$this->admin_page_footer();
|
250 |
+
}
|
251 |
+
|
252 |
+
|
253 |
+
/**
|
254 |
+
* Renders the 'Import Quotes' admin page
|
255 |
+
*/
|
256 |
+
public function admin_page_import() {
|
257 |
+
|
258 |
+
$meta_box_content =
|
259 |
+
'<p>' . __( "Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (.json) file to upload, then click the 'Import' button.", 'quotes-collection') . '</p>'
|
260 |
+
. '<div class="form-wrap">'
|
261 |
+
. '<form name="" method="post" action="' . $this->admin_import_url . '" enctype="multipart/form-data">'
|
262 |
+
. wp_nonce_field( 'import_quotes', 'quotescollection_nonce', true, false )
|
263 |
+
. '<div class="form-field">'
|
264 |
+
. '<label for="import-file">'. __('Choose a file to upload:', 'quotes-collection')
|
265 |
+
. ' <input type="file" id="import-file" name="quotescollection-data-file" />'
|
266 |
+
. '</label>'
|
267 |
+
. '</div>'
|
268 |
+
. '<div class="form-field">'
|
269 |
+
. get_submit_button( _x('Import', 'submit button text', 'quotes-collection'), 'primary large', 'submit', false)
|
270 |
+
. '</div>'
|
271 |
+
. '</form>'
|
272 |
+
. '</div>';
|
273 |
+
|
274 |
+
$this->admin_page_header( 'import' );
|
275 |
+
|
276 |
+
$this->pseudo_meta_box(
|
277 |
+
'import',
|
278 |
+
_x( 'Import Quotes', 'heading', 'quotes-collection' ),
|
279 |
+
$meta_box_content
|
280 |
+
);
|
281 |
+
|
282 |
+
$this->admin_page_footer();
|
283 |
+
}
|
284 |
+
|
285 |
+
|
286 |
+
/**
|
287 |
+
* Renders the 'Export Quotes' admin page
|
288 |
+
*/
|
289 |
+
public function admin_page_export() {
|
290 |
+
$meta_box_content =
|
291 |
+
'<p>' . __("When you click the button below, a <abbr title=\"JavaScript Object Notation\">JSON</abbr> file with the entire collection of quotes will be created, that you can save to your computer.", 'quotes-collection') . '</p>'
|
292 |
+
. '<div class="form-wrap">'
|
293 |
+
. '<form name="" method="post" action="">'
|
294 |
+
. wp_nonce_field( 'export_quotes', 'quotescollection_nonce', true, false )
|
295 |
+
. '<div class="form-field">'
|
296 |
+
. get_submit_button( _x('Export', 'submit button text', 'quotes-collection'), 'primary large', 'submit', false)
|
297 |
+
. '</div>'
|
298 |
+
. '</form>'
|
299 |
+
. '</div>'
|
300 |
+
;
|
301 |
+
|
302 |
+
$this->admin_page_header( 'export' );
|
303 |
+
|
304 |
+
$this->pseudo_meta_box(
|
305 |
+
'export',
|
306 |
+
_x( 'Export Quotes', 'heading', 'quotes-collection' ),
|
307 |
+
$meta_box_content
|
308 |
+
);
|
309 |
+
|
310 |
+
$this->admin_page_footer();
|
311 |
+
}
|
312 |
+
|
313 |
+
|
314 |
+
/**
|
315 |
+
* Renders the options page
|
316 |
+
*/
|
317 |
+
public function admin_page_options() {
|
318 |
+
|
319 |
+
global $quotescollection;
|
320 |
+
|
321 |
+
$options = get_option( 'quotescollection' );
|
322 |
+
|
323 |
+
$refresh_link_text =
|
324 |
+
( isset( $options['refresh_link_text'] ) && $options['refresh_link_text'] ) ?
|
325 |
+
$options['refresh_link_text']
|
326 |
+
: $quotescollection->refresh_link_text;
|
327 |
+
|
328 |
+
// $refresh_link_text = htmlentities( $refresh_link_text );
|
329 |
+
|
330 |
+
$auto_refresh_max =
|
331 |
+
( isset( $options['auto_refresh_max'] ) && $options['auto_refresh_max'] ) ?
|
332 |
+
$options['auto_refresh_max']
|
333 |
+
: $quotescollection->auto_refresh_max;
|
334 |
+
|
335 |
+
$dynamic_fetch_check = ( isset( $options['dynamic_fetch'] ) && 'on' == $options['dynamic_fetch'] )?' checked="checked"':'';
|
336 |
+
|
337 |
+
|
338 |
+
$meta_box_content =
|
339 |
+
'<div class="form-wrap">'
|
340 |
+
. '<form name="quotescollection_options" method="post" action="'.$this->admin_options_url.'">'
|
341 |
+
. wp_nonce_field( 'options', 'quotescollection_nonce', true, false )
|
342 |
+
. '<div class="form-field">'
|
343 |
+
. '<label for="refresh_link_text">' . __("Refresh link text", 'quotes-collection') . '</label>'
|
344 |
+
. '<input type="text" name="refresh_link_text" id="refresh_link_text" value="'.$refresh_link_text.'" style="width: 10em;" />'
|
345 |
+
. '</div>'
|
346 |
+
. '<div class="form-field">'
|
347 |
+
. '<label for="auto_refresh_max">' . __('Maximum number of iterations for auto-refresh', 'quotes-collection') . '</label>'
|
348 |
+
. '<input type="number" name="auto_refresh_max" id="auto_refresh_max" value="'.$auto_refresh_max.'" max="40" min="5" step="1" style="width: 3em;" />'
|
349 |
+
. '</div>'
|
350 |
+
. '<div class="form-field">'
|
351 |
+
. '<label for="dynamic_fetch">' . __('Dynamically fetch the first random quote in widget?', 'quotes-collection')
|
352 |
+
. ' <input type="checkbox" name="dynamic_fetch" id="dynamic_fetch"'.$dynamic_fetch_check.' />'
|
353 |
+
. '</label>'
|
354 |
+
. '<p>'. __("Check this if your site is cached and the 'random quote' widget always shows a particular quote as the initial quote.", 'quotes-collection').'</p>'
|
355 |
+
. '</div>'
|
356 |
+
|
357 |
+
. get_submit_button( _x('Update Options', 'submit button text', 'quotes-collection'), 'primary large', 'submit', false)
|
358 |
+
. '</form>'
|
359 |
+
. '</div>'
|
360 |
+
;
|
361 |
+
|
362 |
+
$this->admin_page_header( 'options' );
|
363 |
+
|
364 |
+
$this->pseudo_meta_box(
|
365 |
+
'options',
|
366 |
+
_x( 'Quotes Collection Options', 'heading', 'quotes-collection' ),
|
367 |
+
$meta_box_content
|
368 |
+
);
|
369 |
+
|
370 |
+
$this->admin_page_footer();
|
371 |
+
|
372 |
+
}
|
373 |
+
|
374 |
+
|
375 |
+
|
376 |
+
private function admin_page_header( $active_page = "quotes-list" ) {
|
377 |
+
?>
|
378 |
+
<div id="quotescollection-admin-page" class="wrap">
|
379 |
+
<header>
|
380 |
+
<h1 id="quotescollection-title">Quotes Collection</h1>
|
381 |
+
<h2 id="quotescollection-nav" class="nav-tab-wrapper">
|
382 |
+
|
383 |
+
<?php if( current_user_can( self::USER_LEVEL_MANAGE_QUOTES ) ): ?>
|
384 |
+
<a href="<?php echo $this->admin_url; ?>" class="nav-tab<?php echo ( 'quotes-list' == $active_page )? ' nav-tab-active' : '';?>">
|
385 |
+
<?php _e( 'All Quotes', 'quotes-collection' ); ?>
|
386 |
+
</a>
|
387 |
+
<?php if( 'edit-quote' == $active_page ): ?>
|
388 |
+
<a href="#" class="nav-tab nav-tab-active">
|
389 |
+
<?php _ex( 'Edit Quote', 'submenu item text', 'quotes-collection' ); ?>
|
390 |
+
</a>
|
391 |
+
<?php endif; ?>
|
392 |
+
<a href="<?php echo $this->admin_add_new_url; ?>" class="nav-tab<?php echo ( 'add-new' == $active_page )? ' nav-tab-active' : '';?>">
|
393 |
+
<?php _ex( 'Add New', 'submenu item text', 'quotes-collection' ); ?>
|
394 |
+
</a>
|
395 |
+
<?php endif; ?>
|
396 |
+
|
397 |
+
<?php if( current_user_can( self::USER_LEVEL_IMPORT_EXPORT ) ): ?>
|
398 |
+
<a href="<?php echo $this->admin_import_url; ?>" class="nav-tab<?php echo ( 'import' == $active_page )? ' nav-tab-active' : '';?>">
|
399 |
+
<?php _ex( 'Import', 'submenu item text', 'quotes-collection' ); ?>
|
400 |
+
</a>
|
401 |
+
<a href="<?php echo $this->admin_export_url; ?>" class="nav-tab<?php echo ( 'export' == $active_page )? ' nav-tab-active' : '';?>">
|
402 |
+
<?php _ex( 'Export', 'submenu item text', 'quotes-collection' ); ?>
|
403 |
+
</a>
|
404 |
+
<?php endif; ?>
|
405 |
+
|
406 |
+
<?php if( current_user_can( self::USER_LEVEL_MANAGE_OPTIONS ) ): ?>
|
407 |
+
<a href="<?php echo $this->admin_options_url; ?>" class="nav-tab<?php echo ( 'options' == $active_page )? ' nav-tab-active' : '';?>">
|
408 |
+
<?php _ex( 'Options', 'submenu item text', 'quotes-collection' ); ?>
|
409 |
+
</a>
|
410 |
+
<?php endif; ?>
|
411 |
+
|
412 |
+
</h2>
|
413 |
+
</header>
|
414 |
+
<main>
|
415 |
+
<?php
|
416 |
+
|
417 |
+
}
|
418 |
+
|
419 |
+
|
420 |
+
private function admin_page_footer() {
|
421 |
+
?></main></div><?php
|
422 |
+
}
|
423 |
+
|
424 |
+
|
425 |
+
/**
|
426 |
+
* Mocking the meta box!
|
427 |
+
*
|
428 |
+
* @param string $id id for the enclosing 'div.postbox' element
|
429 |
+
* @param string $title Title to be displayed (3rd level header)
|
430 |
+
* @param string $content The content that goes inside the 'meta box'
|
431 |
+
**/
|
432 |
+
private function pseudo_meta_box( $id, $title = "", $content = "") {
|
433 |
+
?>
|
434 |
+
<div id="poststuff" class="wrap meta-box-holder">
|
435 |
+
<div id="normal-sortables" class="meta-box-sortables">
|
436 |
+
<div id="<?php echo $id; ?>" class="postbox " >
|
437 |
+
<?php if( $title ) : ?>
|
438 |
+
<h3 class="hndle" style="cursor:default;"><span><?php echo $title; ?></span></h3>
|
439 |
+
<?php endif; ?>
|
440 |
+
<div class="inside">
|
441 |
+
<?php echo $content; ?>
|
442 |
+
</div>
|
443 |
+
</div>
|
444 |
+
</div>
|
445 |
+
</div>
|
446 |
+
<?php
|
447 |
+
}
|
448 |
+
|
449 |
+
|
450 |
+
|
451 |
+
|
452 |
+
private function editform( $quote_id = 0 )
|
453 |
+
{
|
454 |
+
$form_name = "quotescollection_addquote";
|
455 |
+
$action_url = $this->admin_add_new_url;
|
456 |
+
|
457 |
+
// If the new quote submitted is added to the database, leave the fields blank
|
458 |
+
if( !$quote_id && $this->quote_added ) {
|
459 |
+
$quote = $author = $source = $tags = "";
|
460 |
+
$public_selected = ' checked="checked"';
|
461 |
+
}
|
462 |
+
// Else check if there are any submitted values, and fill the fields with those
|
463 |
+
else {
|
464 |
+
$quote = ( isset($_REQUEST['quote']) && trim($_REQUEST['quote']) )? stripslashes(htmlspecialchars(trim($_REQUEST['quote']))): "";
|
465 |
+
$author = ( isset($_REQUEST['author']) && trim($_REQUEST['author']) )? stripslashes(htmlspecialchars(trim($_REQUEST['author']))): "";
|
466 |
+
$source = ( isset($_REQUEST['source']) && trim($_REQUEST['source']) )? stripslashes(htmlspecialchars(trim($_REQUEST['source']))): "";
|
467 |
+
$tags = ( isset($_REQUEST['tags']) && trim($_REQUEST['tags']) )? stripslashes(htmlspecialchars(trim($_REQUEST['tags']))): "";
|
468 |
+
$public_selected =( !isset($_REQUEST['public']) && ($quote || $author || $source || $tags) )? "": " checked=\"checked\"";
|
469 |
+
}
|
470 |
+
$submit_button = get_submit_button( _x('Add Quote', 'submit button text', 'quotes-collection'), 'primary large', 'submit', false);
|
471 |
+
$nonce_action_name = 'add_quote';
|
472 |
+
$hidden_input = "";
|
473 |
+
|
474 |
+
if( $quote_id && is_numeric( $quote_id) ) {
|
475 |
+
$form_name = "quotescollection_editquote";
|
476 |
+
if( !$quote && !$author && !$source && !$tags ) {
|
477 |
+
$quote_data = Quotes_Collection_Quote::with_id( $quote_id );
|
478 |
+
$quote = htmlspecialchars( $quote_data->quote );
|
479 |
+
$author = htmlspecialchars( $quote_data->author );
|
480 |
+
$source = htmlspecialchars( $quote_data->source );
|
481 |
+
$tags = implode( ', ', explode( ',', $quote_data->tags ) );
|
482 |
+
if( 'no' == $quote_data->public ) {
|
483 |
+
$public_selected = "";
|
484 |
+
}
|
485 |
+
}
|
486 |
+
$hidden_input = "<input type=\"hidden\" name=\"quote_id\" value=\"{$quote_id}\" />";
|
487 |
+
$submit_button = get_submit_button( _x('Save Changes', 'submit button text', 'quotes-collection'), 'primary large', 'submit', false);
|
488 |
+
$action_url = $this->admin_url . '&action=edit&id=' . $quote_id;
|
489 |
+
$nonce_action_name = 'save_changes_'.$quote_id;
|
490 |
+
}
|
491 |
+
|
492 |
+
$hidden_input .= wp_nonce_field(
|
493 |
+
$nonce_action_name, // Action name
|
494 |
+
'quotescollection_nonce', // Nonce name
|
495 |
+
true, // Refered hidden field should be created?
|
496 |
+
false // Echo
|
497 |
+
);
|
498 |
+
|
499 |
+
$quote_label = __('Quote', 'quotes-collection');
|
500 |
+
$author_label = __('Author', 'quotes-collection');
|
501 |
+
$source_label = __('Source', 'quotes-collection');
|
502 |
+
$tags_label = __('Tags', 'quotes-collection');
|
503 |
+
$public_label = __('Public?', 'quotes-collection');
|
504 |
+
$optional_text = __('optional', 'quotes-collection');
|
505 |
+
$comma_separated_text = __('comma separated', 'quotes-collection');
|
506 |
+
|
507 |
+
|
508 |
+
$display =<<< EDITFORM
|
509 |
+
<div class="form-wrap">
|
510 |
+
<form name="{$form_name}" method="post" action="{$action_url}">
|
511 |
+
{$hidden_input}
|
512 |
+
<div class="form-field form-required">
|
513 |
+
<label for="quotescollection_quote"><strong>{$quote_label}</strong></label>
|
514 |
+
<textarea id="quotescollection_quote" name="quote">{$quote}</textarea>
|
515 |
+
</div>
|
516 |
+
<div class="form-field">
|
517 |
+
<label for="quotescollection_author"><strong>{$author_label}</strong></label>
|
518 |
+
<input type="text" id="quotescollection_author" name="author" value="{$author}" />
|
519 |
+
<p>{$optional_text}</p>
|
520 |
+
</div>
|
521 |
+
<div class="form-field">
|
522 |
+
<label for="quotescollection_source"><strong>{$source_label}</strong></label>
|
523 |
+
<input type="text" id="quotescollection_source" name="source" value="{$source}" /><br />
|
524 |
+
<p>{$optional_text}</p>
|
525 |
+
</div>
|
526 |
+
<div class="form-field">
|
527 |
+
<label for="quotescollection_tags"><strong>{$tags_label}</strong></label>
|
528 |
+
<input type="text" id="quotescollection_tags" name="tags" value="{$tags}" /><br />
|
529 |
+
<p>{$optional_text}, {$comma_separated_text}</p>
|
530 |
+
</div>
|
531 |
+
<div class="form-field">
|
532 |
+
<label for="quotescollection_public"><strong>{$public_label}</strong>
|
533 |
+
<input type="checkbox" id="quotescollection_public" name="public"{$public_selected} />
|
534 |
+
</label>
|
535 |
+
</div>
|
536 |
+
|
537 |
+
<div class="form-field">{$submit_button}</div>
|
538 |
+
</form>
|
539 |
+
</div>
|
540 |
+
EDITFORM;
|
541 |
+
return $display;
|
542 |
+
}
|
543 |
+
|
544 |
+
|
545 |
+
/**
|
546 |
+
* To process requests to add/update/delete/import/export quote/s.
|
547 |
+
*
|
548 |
+
* Hooked to the 'current_screen' action, ie., triggered immediately after
|
549 |
+
* the necessary elements to identify a screen are set up. So that the
|
550 |
+
* current screen ID can be checked with our quotescollection admin page IDs
|
551 |
+
* before processing requests. Also to ensure requests are processed before
|
552 |
+
* any headers are sent, and well before admin notices are displayed.
|
553 |
+
*
|
554 |
+
*/
|
555 |
+
public function process_requests() {
|
556 |
+
|
557 |
+
// Proceed only if the current screen is one of the plugin's admin pages
|
558 |
+
$screen = get_current_screen();
|
559 |
+
if(
|
560 |
+
$screen->id != $this->main_page_id
|
561 |
+
&& $screen->id != $this->add_new_quote_page_id
|
562 |
+
&& $screen->id != $this->import_page_id
|
563 |
+
&& $screen->id != $this->export_page_id
|
564 |
+
&& $screen->id != $this->options_page_id
|
565 |
+
) {
|
566 |
+
return;
|
567 |
+
}
|
568 |
+
|
569 |
+
global $quotescollection_db;
|
570 |
+
|
571 |
+
if(isset($_REQUEST['submit'])) {
|
572 |
+
if(
|
573 |
+
$_REQUEST['submit'] == _x('Add Quote', 'submit button text', 'quotes-collection')
|
574 |
+
&& check_admin_referer( 'add_quote', 'quotescollection_nonce' ) // Check nonce
|
575 |
+
) {
|
576 |
+
if( !isset( $_REQUEST['quote'] ) || false == trim( $_REQUEST['quote'] ) ) {
|
577 |
+
$this->notices = '<div class="error"><p>'.__("The quote field cannot be blank. Fill up the quote field and try again.", 'quotes-collection').'</p></div>';
|
578 |
+
}
|
579 |
+
else if( $result = $quotescollection_db->put_quote($_REQUEST) ) {
|
580 |
+
$this->notices = '<div class="updated"><p>'.__('Quote added', 'quotes-collection').'</p></div>';
|
581 |
+
$this->quote_added = true; // set the flag
|
582 |
+
}
|
583 |
+
else {
|
584 |
+
$this->notices = '<div class="error"><p>'.__('Error adding quote', 'quotes-collection').'</p></div>';
|
585 |
+
}
|
586 |
+
|
587 |
+
}
|
588 |
+
else if(
|
589 |
+
$_REQUEST['submit'] == _x('Save Changes', 'submit button text', 'quotes-collection')
|
590 |
+
&& check_admin_referer( 'save_changes_'.$_REQUEST['quote_id'], 'quotescollection_nonce' )
|
591 |
+
) {
|
592 |
+
if( !isset( $_REQUEST['quote'] ) || false == trim( $_REQUEST['quote'] ) ) {
|
593 |
+
$this->notices = '<div class="error"><p>'.__("The quote field cannot be blank. Fill up the quote field and try again.", 'quotes-collection').'</p></div>';
|
594 |
+
}
|
595 |
+
else if($result = $quotescollection_db->update_quote($_REQUEST)) {
|
596 |
+
$this->notices = '<div class="updated"><p>'.__('Changes saved', 'quotes-collection').'</p></div>';
|
597 |
+
$this->quote_updated = true; // set the flag
|
598 |
+
}
|
599 |
+
else
|
600 |
+
$this->notices = '<div class="error"><p>'.__('Error updating quote', 'quotes-collection').'</p></div>';
|
601 |
+
|
602 |
+
}
|
603 |
+
else if(
|
604 |
+
$_REQUEST['submit'] == _x('Import', 'submit button text', 'quotes-collection')
|
605 |
+
&& check_admin_referer( 'import_quotes', 'quotescollection_nonce' )
|
606 |
+
) {
|
607 |
+
$this->process_import();
|
608 |
+
}
|
609 |
+
else if(
|
610 |
+
$_REQUEST['submit'] == _x('Export', 'submit button text', 'quotes-collection')
|
611 |
+
&& check_admin_referer( 'export_quotes', 'quotescollection_nonce' )
|
612 |
+
) {
|
613 |
+
$this->process_export();
|
614 |
+
}
|
615 |
+
else if(
|
616 |
+
$_REQUEST['submit'] == _x('Update Options', 'submit button text', 'quotes-collection')
|
617 |
+
&& check_admin_referer( 'options', 'quotescollection_nonce' )
|
618 |
+
) {
|
619 |
+
$this->update_options();
|
620 |
+
}
|
621 |
+
|
622 |
+
}
|
623 |
+
else if( isset( $_REQUEST['action'] ) || isset( $_REQUEST['action2'] ) ) {
|
624 |
+
if(
|
625 |
+
'delete' == $_REQUEST['action']
|
626 |
+
&& is_numeric( $_REQUEST['id'] )
|
627 |
+
&& check_admin_referer( 'delete_quote_'.$_REQUEST['id'], 'quotescollection_nonce' )
|
628 |
+
) {
|
629 |
+
if( $result = $quotescollection_db->delete_quote($_REQUEST['id']) )
|
630 |
+
$this->notices = '<div class="updated"><p>'.__('Quote deleted', 'quotes-collection').'</p></div>';
|
631 |
+
else
|
632 |
+
$this->notices = '<div class="error"><p>'.__('Error deleting quote', 'quotes-collection').'</p></div>';
|
633 |
+
}
|
634 |
+
else if( ( 'bulk_delete' == $_REQUEST['action'] || ( isset( $_REQUEST['action2'] ) && 'bulk_delete' == $_REQUEST['action2'] ) )
|
635 |
+
&& check_admin_referer('bulk-quote_entries') ) {
|
636 |
+
if( !isset( $_REQUEST['bulkcheck'] ) ) {
|
637 |
+
$this->notices = '<div class="error"><p>'.__('No item selected', 'quotes-collection').'</p></div>';
|
638 |
+
}
|
639 |
+
else if( $result = $quotescollection_db->delete_quotes( $_REQUEST['bulkcheck'] ) ) {
|
640 |
+
$this->notices = '<div class="updated"><p>'
|
641 |
+
. sprintf( _n( 'One quote deleted', '%d quotes deleted', $result, 'quotes-collection' ), $result )
|
642 |
+
.'</p></div>';
|
643 |
+
}
|
644 |
+
else {
|
645 |
+
$this->notices = '<div class="error"><p>'.__('Error deleting quotes', 'quotes-collection').'</p></div>';
|
646 |
+
}
|
647 |
+
}
|
648 |
+
else if( ( 'make_public' == $_REQUEST['action'] || ( isset( $_REQUEST['action2'] ) && 'make_public' == $_REQUEST['action2'] ) )
|
649 |
+
&& check_admin_referer('bulk-quote_entries') ) {
|
650 |
+
if( !isset( $_REQUEST['bulkcheck'] ) ) {
|
651 |
+
$this->notices = '<div class="error"><p>'.__('No item selected', 'quotes-collection').'</p></div>';
|
652 |
+
}
|
653 |
+
else if( $result = $quotescollection_db->change_visibility($_REQUEST['bulkcheck'], 'yes') ) {
|
654 |
+
$this->notices = '<div class="updated"><p>'
|
655 |
+
. sprintf( _n( 'Quote made public', '%d quotes made public', $result, 'quotes-collection' ), $result )
|
656 |
+
.'</p></div>';
|
657 |
+
}
|
658 |
+
else
|
659 |
+
$this->notices = '<div class="error"><p>'.__('Error. Privacy status not changed.', 'quotes-collection').'</p></div>';
|
660 |
+
}
|
661 |
+
else if( ( 'keep_private' == $_REQUEST['action'] || ( isset( $_REQUEST['action2'] ) && 'keep_private' == $_REQUEST['action2'] ) )
|
662 |
+
&& check_admin_referer('bulk-quote_entries') ) {
|
663 |
+
if( !isset( $_REQUEST['bulkcheck'] ) ) {
|
664 |
+
$this->notices = '<div class="error"><p>'.__('No item selected', 'quotes-collection').'</p></div>';
|
665 |
+
}
|
666 |
+
else if( $result = $quotescollection_db->change_visibility($_REQUEST['bulkcheck'], 'no') ) {
|
667 |
+
$this->notices = '<div class="updated"><p>'
|
668 |
+
. sprintf( _n( 'Quote kept private', '%d quotes kept private', $result, 'quotes-collection' ), $result )
|
669 |
+
.'</p></div>';
|
670 |
+
}
|
671 |
+
else
|
672 |
+
$this->notices = '<div class="error"><p>'.__('Error. Privacy status not changed.', 'quotes-collection').'</p></div>';
|
673 |
+
}
|
674 |
+
}
|
675 |
+
}
|
676 |
+
|
677 |
+
|
678 |
+
|
679 |
+
private function process_import() {
|
680 |
+
|
681 |
+
if( $_FILES['quotescollection-data-file']['error'] == UPLOAD_ERR_NO_FILE
|
682 |
+
|| !is_uploaded_file( $_FILES['quotescollection-data-file']['tmp_name'] )
|
683 |
+
) {
|
684 |
+
$this->notices = '<div class="error"><p>' . __( "Please choose a file to upload before you hit the 'Import' button", 'quotes-collection' ) . '</p></div>';
|
685 |
+
return;
|
686 |
+
}
|
687 |
+
|
688 |
+
$allowed_extensions = array( 'json', 'JSON' );
|
689 |
+
if( ! in_array( pathinfo( $_FILES['quotescollection-data-file']['name'], PATHINFO_EXTENSION ), $allowed_extensions ) ) {
|
690 |
+
$this->notices = '<div class="error"><p>' . __( "Invalid file format", 'quotes-collection' ) . '</p></div>';
|
691 |
+
return;
|
692 |
+
}
|
693 |
+
|
694 |
+
if( $_FILES['quotescollection-data-file']['error'] == UPLOAD_ERR_INI_SIZE
|
695 |
+
|| $_FILES['quotescollection-data-file']['error'] == UPLOAD_ERR_FORM_SIZE ) {
|
696 |
+
$this->notices = '<div class="error"><p>' . __( "The file you uploaded is too big. Import failed.", 'quotes-collection' ) . '</p></div>';
|
697 |
+
return;
|
698 |
+
}
|
699 |
+
|
700 |
+
if ( $_FILES['quotescollection-data-file']['error'] == UPLOAD_ERR_OK //checks for errors
|
701 |
+
&& is_uploaded_file( $_FILES['quotescollection-data-file']['tmp_name'] ) ) { //checks that file is uploaded
|
702 |
+
|
703 |
+
if( ! ( $json_data = file_get_contents( $_FILES['quotescollection-data-file']['tmp_name'] ) ) ) {
|
704 |
+
$this->notices = '<div class="error"><p>' . __( "The file uploaded was empty", 'quotes-collection' ) . '</p></div>';
|
705 |
+
return;
|
706 |
+
}
|
707 |
+
|
708 |
+
if( is_null( $quote_entries = json_decode( $json_data, true ) ) ) {
|
709 |
+
$this->notices = '<div class="error"><p>' . __( "Error in JSON file", 'quotes-collection' ) . '</p></div>';
|
710 |
+
return;
|
711 |
+
}
|
712 |
+
|
713 |
+
global $quotescollection_db;
|
714 |
+
$result = $quotescollection_db->put_quotes($quote_entries);
|
715 |
+
|
716 |
+
if(FALSE === $result){
|
717 |
+
$this->notices = '<div class="error"><p>' . __( "Import failed. Please try again.", 'quotes-collection' ) . '</p></div>';
|
718 |
+
}
|
719 |
+
else if( 0 === $result) {
|
720 |
+
$this->notices = '<div class="updated"><p>' . __( "No quotes imported", 'quotes-collection' ) . '</p></div>';
|
721 |
+
}
|
722 |
+
else {
|
723 |
+
$this->notices = '<div class="updated"><p>'
|
724 |
+
. sprintf( _n( 'One quote imported', '%d quotes imported', $result, 'quotes-collection' ), $result )
|
725 |
+
. '</p></div>';
|
726 |
+
}
|
727 |
+
|
728 |
+
return;
|
729 |
+
}
|
730 |
+
else {
|
731 |
+
$this->notices = '<div class="error"><p>' . __( "Import failed. Please try again.", 'quotes-collection' ) . '</p></div>';
|
732 |
+
return;
|
733 |
+
}
|
734 |
+
|
735 |
+
|
736 |
+
}
|
737 |
+
|
738 |
+
|
739 |
+
|
740 |
+
private function process_export() {
|
741 |
+
global $quotescollection_db;
|
742 |
+
$args = array();
|
743 |
+
if( ! ( $quote_entries = $quotescollection_db->get_quotes_array($args) ) ) {
|
744 |
+
$this->notices = '<div class="error"><p>' . __( "Nothing to export", 'quotes-collection' ) . '</p></div>';
|
745 |
+
return;
|
746 |
+
}
|
747 |
+
foreach( $quote_entries as $index => $quote_entry ) {
|
748 |
+
unset( $quote_entry['quote_id'] );
|
749 |
+
unset( $quote_entry['time_added'] );
|
750 |
+
unset( $quote_entry['time_updated'] );
|
751 |
+
$quote_entries[$index] = $quote_entry;
|
752 |
+
}
|
753 |
+
$file_output = json_encode($quote_entries, JSON_PRETTY_PRINT);
|
754 |
+
header('Content-Type: text/json');
|
755 |
+
header('Content-Disposition: attachment; filename="quotes-collection-'.date('Ymd_His').'.json"');
|
756 |
+
echo $file_output;
|
757 |
+
exit;
|
758 |
+
}
|
759 |
+
|
760 |
+
|
761 |
+
|
762 |
+
private function update_options() {
|
763 |
+
$options = $options_old = get_option('quotescollection');
|
764 |
+
|
765 |
+
if( !empty($_REQUEST['refresh_link_text']) ) {
|
766 |
+
$options['refresh_link_text'] = htmlentities( $_REQUEST['refresh_link_text'] );
|
767 |
+
}
|
768 |
+
|
769 |
+
if( is_numeric($_REQUEST['auto_refresh_max'])
|
770 |
+
&& intval($_REQUEST['auto_refresh_max']) >= 5
|
771 |
+
&& intval($_REQUEST['auto_refresh_max']) <= 40 ) {
|
772 |
+
$options['auto_refresh_max'] = $_REQUEST['auto_refresh_max'];
|
773 |
+
}
|
774 |
+
|
775 |
+
if( isset($_REQUEST['dynamic_fetch']) && $_REQUEST['dynamic_fetch'] == 'on' ) {
|
776 |
+
$options['dynamic_fetch'] = 'on';
|
777 |
+
}
|
778 |
+
else if( isset($options['dynamic_fetch']) ) {
|
779 |
+
unset($options['dynamic_fetch']);
|
780 |
+
}
|
781 |
+
|
782 |
+
if( $options === $options_old ) {
|
783 |
+
$this->notices = '<div class="updated"><p>' . __( 'No change in values. Options not updated.', 'quotes-collection') . '</p></div>';
|
784 |
+
return;
|
785 |
+
}
|
786 |
+
|
787 |
+
if( update_option('quotescollection', $options) ) {
|
788 |
+
$this->notices = '<div class="updated"><p>' . __( 'Options updated', 'quotes-collection') . '</p></div>';
|
789 |
+
return;
|
790 |
+
}
|
791 |
+
$this->notices = '<div class="error"><p>' . __( 'Options not updated', 'quotes-collection' ) . '</p></div>';
|
792 |
+
return;
|
793 |
+
}
|
794 |
+
|
795 |
+
|
796 |
+
|
797 |
+
/** Outputs the admin notices **/
|
798 |
+
public function display_notices() {
|
799 |
+
echo $this->notices;
|
800 |
+
}
|
801 |
+
|
802 |
+
|
803 |
+
/** Screen options at the top-right of the plugin's main admin page **/
|
804 |
+
public function add_screen_options() {
|
805 |
+
$option = 'per_page';
|
806 |
+
$args = array (
|
807 |
+
'label' => __( 'Maximum items', 'quotes-collection' ),
|
808 |
+
'default' => 20,
|
809 |
+
'option' => 'quotescollection_items_per_page',
|
810 |
+
);
|
811 |
+
add_screen_option( $option, $args );
|
812 |
+
|
813 |
+
$this->quotes_list_table = new Quotes_Collection_Admin_List_Table();
|
814 |
+
|
815 |
+
}
|
816 |
+
public function set_screen_options( $status, $option, $value ) {
|
817 |
+
return $value;
|
818 |
+
}
|
819 |
+
|
820 |
+
|
821 |
+
|
822 |
+
public function load_scripts_and_styles() {
|
823 |
+
// Load the confirm box scripts and styles only if on the quotes list page.
|
824 |
+
$screen = get_current_screen();
|
825 |
+
if( $screen->id == $this->main_page_id ) {
|
826 |
+
wp_enqueue_script (
|
827 |
+
'quotescollection-confirm-delete',
|
828 |
+
quotescollection_url( 'js/confirm-delete.js' ),
|
829 |
+
array('jquery-ui-dialog'),
|
830 |
+
Quotes_Collection::PLUGIN_VERSION,
|
831 |
+
true
|
832 |
+
);
|
833 |
+
wp_localize_script (
|
834 |
+
'quotescollection-confirm-delete',
|
835 |
+
'quotescollectionConfirm',
|
836 |
+
array(
|
837 |
+
'dialogTitle' => _x('Delete?', 'confirmation dialog title', 'quotes-collection'),
|
838 |
+
'dialogTextSingular' => _x('Are you sure you want to delete this quote?', 'confirmation dialog text for deleting a single quote', 'quotes-collection'),
|
839 |
+
'dialogTextPlural' => _x('Are you sure you want to delete these quotes?', 'confirmation dialog text for deleting multiple quotes', 'quotes-collection'),
|
840 |
+
'buttonYes' => _x('Yes', 'confirmation dialog button text', 'quotes-collection'),
|
841 |
+
'buttonNo' => _x('No', 'confirmation dialog button text', 'quotes-collection'),
|
842 |
+
)
|
843 |
+
);
|
844 |
+
wp_enqueue_style ( 'wp-jquery-ui-dialog');
|
845 |
+
}
|
846 |
+
|
847 |
+
// And load the quotes-collection-admin.css if current page is any of the plugin's admin pages
|
848 |
+
if( $screen->id == $this->main_page_id
|
849 |
+
|| $screen->id == $this->add_new_quote_page_id
|
850 |
+
|| $screen->id == $this->import_page_id
|
851 |
+
|| $screen->id == $this->export_page_id
|
852 |
+
|| $screen->id == $this->options_page_id
|
853 |
+
) {
|
854 |
+
wp_enqueue_style(
|
855 |
+
'quotescollection-admin',
|
856 |
+
quotescollection_url( 'css/quotes-collection-admin.css' ),
|
857 |
+
array(),
|
858 |
+
Quotes_Collection::PLUGIN_VERSION
|
859 |
+
);
|
860 |
+
}
|
861 |
+
}
|
862 |
+
|
863 |
+
}
|
864 |
+
?>
|
inc/class-quotes-collection-db.php
ADDED
@@ -0,0 +1,477 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Quotes Collection Database Class
|
4 |
+
*
|
5 |
+
* @package Quotes Collection
|
6 |
+
* @since 2.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Quotes_Collection_DB {
|
10 |
+
|
11 |
+
const PLUGIN_DB_VERSION = '1.4';
|
12 |
+
|
13 |
+
private $db, $table_name;
|
14 |
+
|
15 |
+
public function __construct() {
|
16 |
+
global $wpdb;
|
17 |
+
$this->db = $wpdb;
|
18 |
+
$this->table_name = "`". $this->db->prefix . "quotescollection`";
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Fetches quote entries from the database
|
24 |
+
*
|
25 |
+
* @param array $args = array()
|
26 |
+
* @see $this->frame_condition() for arguments that can be passed
|
27 |
+
* @return array of quote entries
|
28 |
+
*/
|
29 |
+
public function get_quotes_array($args = array()) {
|
30 |
+
$sql = "SELECT `quote_id`, `quote`, `author`, `source`, `tags`, `public`, `time_added`
|
31 |
+
FROM " . $this->table_name;
|
32 |
+
|
33 |
+
if($args) {
|
34 |
+
$sql .= $this->frame_condition($args);
|
35 |
+
}
|
36 |
+
|
37 |
+
if($quotes = $this->db->get_results($sql, ARRAY_A))
|
38 |
+
return $quotes;
|
39 |
+
else
|
40 |
+
return array();
|
41 |
+
}
|
42 |
+
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Fetches quote entries from the database and returns the array of
|
46 |
+
* Quotes_Collection_Quote objects
|
47 |
+
*
|
48 |
+
* @param array $args = array()
|
49 |
+
* @see $this->frame_condition() for arguments that can be passed
|
50 |
+
* @return array of Quotes_Collection_Quote objects
|
51 |
+
*/
|
52 |
+
|
53 |
+
public function get_quotes( $args = array() ) {
|
54 |
+
if( $quotes_array = $this->get_quotes_array( $args ) ) {
|
55 |
+
$quotes = array();
|
56 |
+
foreach( $quotes_array as $quote_data ) {
|
57 |
+
$quotes[] = new Quotes_Collection_Quote( $quote_data );
|
58 |
+
}
|
59 |
+
return $quotes;
|
60 |
+
}
|
61 |
+
return array();
|
62 |
+
}
|
63 |
+
|
64 |
+
/** Fetches a single quote from the database **/
|
65 |
+
public function get_quote($args = array()) {
|
66 |
+
$args['num_quotes'] = 1;
|
67 |
+
if($quote_array = $this->get_quotes($args))
|
68 |
+
return $quote_array[0];
|
69 |
+
else return false;
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Fetches quote entry with a specific ID
|
74 |
+
*
|
75 |
+
* @param int $quote_id
|
76 |
+
* @return array the quote entry
|
77 |
+
*/
|
78 |
+
public function get_quote_with_id($quote_id) {
|
79 |
+
return $this->get_quote(array('quote_id' => $quote_id));
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Checks if our Quotes Collection table is found in the database
|
84 |
+
*
|
85 |
+
* @return bool true if found, false if not
|
86 |
+
*/
|
87 |
+
private function is_table_found() {
|
88 |
+
if($this->db->get_var("SHOW TABLES LIKE '".$this->table_name."'") != $this->table_name)
|
89 |
+
return true;
|
90 |
+
else return false;
|
91 |
+
|
92 |
+
}
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Validates the quote data before it can be safely stored in the database
|
96 |
+
*
|
97 |
+
* @param array $data the quote data
|
98 |
+
* @return array the validated data
|
99 |
+
*/
|
100 |
+
private function validate_data($data = array()) {
|
101 |
+
if(!$data) return array();
|
102 |
+
global $allowedposttags;
|
103 |
+
|
104 |
+
$quote = wp_kses( stripslashes($data['quote']), $allowedposttags );
|
105 |
+
$author = wp_kses( stripslashes($data['author']), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
|
106 |
+
$source = wp_kses( stripslashes($data['source']), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
|
107 |
+
$tags = strip_tags( stripslashes($data['tags']) );
|
108 |
+
|
109 |
+
$tags = explode(',', $tags);
|
110 |
+
foreach ($tags as $key => $tag)
|
111 |
+
$tags[$key] = trim($tag);
|
112 |
+
$tags = implode(',', $tags);
|
113 |
+
if( !isset( $data['public'] ) || ( isset( $data['public'] ) && $data['public'] == 'no' ) )
|
114 |
+
$public = "no";
|
115 |
+
else
|
116 |
+
$public = "yes";
|
117 |
+
$data = compact("quote", "author", "source", "tags", "public");
|
118 |
+
return $data;
|
119 |
+
}
|
120 |
+
|
121 |
+
|
122 |
+
/**
|
123 |
+
* Function to store a single quote in the db
|
124 |
+
*
|
125 |
+
* @param array $entry the quote data
|
126 |
+
*/
|
127 |
+
public function put_quote($quote_data = array()) {
|
128 |
+
if( is_object($quote_data) ) {
|
129 |
+
$quote_data = (array) $quote_data;
|
130 |
+
}
|
131 |
+
if(!$quote_data || !$quote_data['quote']) return false;
|
132 |
+
if(!$this->is_table_found())
|
133 |
+
return false;
|
134 |
+
$quote_data = $this->validate_data($quote_data);
|
135 |
+
|
136 |
+
extract($quote_data);
|
137 |
+
|
138 |
+
$insert = $this->db->prepare( "INSERT INTO " . $this->table_name .
|
139 |
+
"(`quote`, `author`, `source`, `tags`, `public`, `time_added`)" .
|
140 |
+
"VALUES (%s, %s, %s, %s, %s, NOW())" , $quote, $author, $source, $tags, $public);
|
141 |
+
|
142 |
+
$result = $this->db->query($insert);
|
143 |
+
|
144 |
+
if( 1 == $result ) {
|
145 |
+
return $this->db->insert_id;
|
146 |
+
}
|
147 |
+
else return $result;
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Function to store a bulk of quote entries. Used by the import
|
152 |
+
* functionality.
|
153 |
+
*
|
154 |
+
* @param array $quotes_data a multidimensional array of quote data
|
155 |
+
*/
|
156 |
+
public function put_quotes($quotes_data = array()) {
|
157 |
+
if(!$quotes_data) return 0;
|
158 |
+
|
159 |
+
$values = array();
|
160 |
+
$placeholders = array();
|
161 |
+
|
162 |
+
$insert = "INSERT INTO " . $this->table_name .
|
163 |
+
" (`quote`, `author`, `source`, `tags`, `public`, `time_added`)" .
|
164 |
+
" VALUES ";
|
165 |
+
|
166 |
+
foreach($quotes_data as $quote_data) {
|
167 |
+
if( is_object($quote_data) ) {
|
168 |
+
$quote_data = (array) $quote_data;
|
169 |
+
}
|
170 |
+
$quote_data = $this->validate_data($quote_data);
|
171 |
+
|
172 |
+
extract($quote_data);
|
173 |
+
|
174 |
+
array_push($values, $quote, $author, $source, $tags, $public);
|
175 |
+
|
176 |
+
$placeholders[] = "(%s, %s, %s, %s, %s, NOW())";
|
177 |
+
}
|
178 |
+
|
179 |
+
$insert .= implode(', ', $placeholders);
|
180 |
+
|
181 |
+
$insert = $this->db->prepare($insert, $values);
|
182 |
+
|
183 |
+
return $this->db->query($insert);
|
184 |
+
}
|
185 |
+
|
186 |
+
/**
|
187 |
+
* Updates a quote entry in DB with new values
|
188 |
+
*
|
189 |
+
* @param array $entry the quote entry
|
190 |
+
*/
|
191 |
+
public function update_quote($quote_data = array()) {
|
192 |
+
if(!$this->is_table_found())
|
193 |
+
return false;
|
194 |
+
|
195 |
+
if( is_object($quote_data) ) {
|
196 |
+
$quote_data = (array) $quote_data;
|
197 |
+
}
|
198 |
+
|
199 |
+
if( !$quote_data['quote'] ) return 0;
|
200 |
+
if( !($quote_id = $quote_data['quote_id']) ) return $this->put_quote($quote_data);
|
201 |
+
|
202 |
+
$quote_data = $this->validate_data($quote_data);
|
203 |
+
extract($quote_data);
|
204 |
+
$update = "UPDATE " . $this->table_name . "
|
205 |
+
SET `quote` = %s,
|
206 |
+
`author` = %s,
|
207 |
+
`source` = %s,
|
208 |
+
`tags` = %s,
|
209 |
+
`public` = %s,
|
210 |
+
`time_updated` = NOW()
|
211 |
+
WHERE `quote_id` = %d";
|
212 |
+
$update = $this->db->prepare( $update, $quote, $author, $source, $tags, $public, $quote_id);
|
213 |
+
return $this->db->query( $update );
|
214 |
+
}
|
215 |
+
|
216 |
+
|
217 |
+
/**
|
218 |
+
* Deletes a quote entry in the DB
|
219 |
+
*
|
220 |
+
* @param int $quote_id the ID of the entry to be deleted
|
221 |
+
*/
|
222 |
+
public function delete_quote($quote_id) {
|
223 |
+
if(is_numeric($quote_id)) {
|
224 |
+
$sql = "DELETE from " . $this->table_name .
|
225 |
+
" WHERE quote_id = " . $quote_id;
|
226 |
+
return $this->db->query($sql);
|
227 |
+
}
|
228 |
+
else return 0;
|
229 |
+
}
|
230 |
+
|
231 |
+
|
232 |
+
/**
|
233 |
+
* Function to delete a bulk of quotes
|
234 |
+
*
|
235 |
+
* @param array $quote_ids an array of IDs of the entries to be deleted
|
236 |
+
*/
|
237 |
+
public function delete_quotes($quote_ids) {
|
238 |
+
if(!$quote_ids)
|
239 |
+
return 0;
|
240 |
+
|
241 |
+
foreach( $quote_ids as $quote_id ) {
|
242 |
+
if(! is_numeric($quote_id) )
|
243 |
+
return 0;
|
244 |
+
}
|
245 |
+
|
246 |
+
$sql = "DELETE FROM ".$this->table_name
|
247 |
+
."WHERE quote_id IN (".implode(', ', $quote_ids).")";
|
248 |
+
return $this->db->query($sql);
|
249 |
+
}
|
250 |
+
|
251 |
+
/**
|
252 |
+
* Function to make a set of entries private or public
|
253 |
+
*
|
254 |
+
* @param array $quote_ids an array of IDs of the entries to be updated
|
255 |
+
* @param string $visibility should be'yes' or 'no'
|
256 |
+
*/
|
257 |
+
public function change_visibility($quote_ids, $visibility = 'yes') {
|
258 |
+
if( !$quote_ids || ($visibility != 'yes' && $visibility != 'no') )
|
259 |
+
return 0;
|
260 |
+
$sql = "UPDATE ".$this->table_name
|
261 |
+
."SET public = '".$visibility."',
|
262 |
+
time_updated = NOW()
|
263 |
+
WHERE quote_id IN (".implode(', ', $quote_ids).")";
|
264 |
+
return $this->db->query($sql);
|
265 |
+
}
|
266 |
+
|
267 |
+
/**
|
268 |
+
* Counts and returns the number of entries with a particular entries.
|
269 |
+
* If no parameter is passed, counts the total number of entries in DB
|
270 |
+
*
|
271 |
+
* @param array $condition
|
272 |
+
* @return int
|
273 |
+
*/
|
274 |
+
public function count($condition = array())
|
275 |
+
{
|
276 |
+
$sql = "SELECT COUNT(*) FROM " . $this->table_name;
|
277 |
+
if($condition)
|
278 |
+
$sql .= $this->frame_condition($condition);
|
279 |
+
$count = $this->db->get_var($sql);
|
280 |
+
return $count;
|
281 |
+
}
|
282 |
+
|
283 |
+
|
284 |
+
public static function install_db() {
|
285 |
+
|
286 |
+
if(
|
287 |
+
( ! current_user_can( 'activate_plugins' ) )
|
288 |
+
|| (
|
289 |
+
$options = get_option('quotescollection')
|
290 |
+
&& isset( $options['db_version'] )
|
291 |
+
&& self::PLUGIN_DB_VERSION == $options['db_version']
|
292 |
+
)
|
293 |
+
) {
|
294 |
+
return;
|
295 |
+
}
|
296 |
+
|
297 |
+
global $wpdb;
|
298 |
+
|
299 |
+
$table_name = $wpdb->prefix.'quotescollection';
|
300 |
+
|
301 |
+
if(!defined('DB_CHARSET') || !($db_charset = DB_CHARSET))
|
302 |
+
$db_charset = 'utf8';
|
303 |
+
$db_charset = "CHARACTER SET ".$db_charset;
|
304 |
+
if(defined('DB_COLLATE') && $db_collate = DB_COLLATE)
|
305 |
+
$db_collate = "COLLATE ".$db_collate;
|
306 |
+
|
307 |
+
|
308 |
+
// if table name already exists
|
309 |
+
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") == $table_name) {
|
310 |
+
$wpdb->query("ALTER TABLE `{$table_name}` {$db_charset} {$db_collate}");
|
311 |
+
|
312 |
+
$wpdb->query("ALTER TABLE `{$table_name}` MODIFY quote TEXT {$db_charset} {$db_collate}");
|
313 |
+
|
314 |
+
$wpdb->query("ALTER TABLE `{$table_name}` MODIFY author VARCHAR(255) {$db_charset} {$db_collate}");
|
315 |
+
|
316 |
+
$wpdb->query("ALTER TABLE `{$table_name}` MODIFY source VARCHAR(255) {$db_charset} {$db_collate}");
|
317 |
+
|
318 |
+
if(!($wpdb->get_results("SHOW COLUMNS FROM {$table_name} LIKE 'tags'"))) {
|
319 |
+
$wpdb->query("ALTER TABLE `{$table_name}` ADD `tags` VARCHAR(255) {$db_charset} {$db_collate} AFTER `source`");
|
320 |
+
}
|
321 |
+
if(!($wpdb->get_results("SHOW COLUMNS FROM {$table_name} LIKE 'public'"))) {
|
322 |
+
$wpdb->query("ALTER TABLE `{$table_name}` CHANGE `visible` `public` enum('yes', 'no') DEFAULT 'yes' NOT NULL");
|
323 |
+
}
|
324 |
+
}
|
325 |
+
else {
|
326 |
+
//Creating the table ... fresh!
|
327 |
+
$sql = "CREATE TABLE " . $table_name . " (
|
328 |
+
quote_id MEDIUMINT NOT NULL AUTO_INCREMENT,
|
329 |
+
quote TEXT NOT NULL,
|
330 |
+
author VARCHAR(255),
|
331 |
+
source VARCHAR(255),
|
332 |
+
tags VARCHAR(255),
|
333 |
+
public enum('yes', 'no') DEFAULT 'yes' NOT NULL,
|
334 |
+
time_added datetime NOT NULL,
|
335 |
+
time_updated datetime,
|
336 |
+
PRIMARY KEY (quote_id)
|
337 |
+
) {$db_charset} {$db_collate};";
|
338 |
+
$results = $wpdb->query( $sql );
|
339 |
+
}
|
340 |
+
|
341 |
+
$options['db_version'] = self::PLUGIN_DB_VERSION;
|
342 |
+
update_option('quotescollection', $options);
|
343 |
+
|
344 |
+
}
|
345 |
+
|
346 |
+
|
347 |
+
public static function uninstall_db() {
|
348 |
+
global $wpdb;
|
349 |
+
$wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}quotescollection" );
|
350 |
+
}
|
351 |
+
|
352 |
+
|
353 |
+
|
354 |
+
/**
|
355 |
+
* Frames the database query condition
|
356 |
+
*
|
357 |
+
* @param array $args = array (
|
358 |
+
* 'quote_id' => 0, // Number, quote_id of the quote to be fetched
|
359 |
+
* 'author' => '', // String, to fetch quote/s by a particular author
|
360 |
+
* 'source' => '', // String, to fetch quote/s with a particular source
|
361 |
+
* 'tags' => '', // String, comma separated tags, to fetch quote/s having one of the tags
|
362 |
+
* 'public' => '' // String, 'yes' or 'no'
|
363 |
+
* 'char_limit' => 0, // Number, character limit
|
364 |
+
* 'exclude' => 0, // Number, quote_id of the particular quote to be excluded
|
365 |
+
* 'splice' => 0, // Number, quote_id, only quotes with IDs less than this will be fetched
|
366 |
+
* 'orderby' => 'quote_id', // String, can be one of 'quote_id', 'author', 'source', 'time_added', 'random'
|
367 |
+
* 'order' => 'ASC', // String, 'ASC' or 'DESC'
|
368 |
+
* 'num_quotes' => 0, // Number of quotes to be fetched
|
369 |
+
* 'start' => 0, // Number, quote_id, used in pagination along with num_quotes
|
370 |
+
* )
|
371 |
+
*
|
372 |
+
* @return string The SQL condition
|
373 |
+
*/
|
374 |
+
private function frame_condition($args = array()) {
|
375 |
+
if(!$args) return "";
|
376 |
+
|
377 |
+
$condition = '';
|
378 |
+
|
379 |
+
if( isset($args['quote_id']) && is_numeric($args['quote_id']) ) {
|
380 |
+
$condition .= " `quote_id` = ".$args['quote_id'];
|
381 |
+
}
|
382 |
+
|
383 |
+
if( isset($args['exclude']) && is_numeric($args['exclude']) ) {
|
384 |
+
$condition .= " `quote_id` <> ".$args['exclude'];
|
385 |
+
}
|
386 |
+
|
387 |
+
if( isset($args['splice']) && is_numeric($args['splice']) ) {
|
388 |
+
$condition .= " `quote_id` < ".$args['splice'];
|
389 |
+
}
|
390 |
+
|
391 |
+
if( isset($args['author']) ) {
|
392 |
+
$condition .= " `author`='" . esc_sql( stripslashes( strip_tags ( $args['author'] ) ) ) . "'";
|
393 |
+
}
|
394 |
+
if( isset($args['source']) ) {
|
395 |
+
if($condition) $condition .= " AND";
|
396 |
+
$condition .= " `source`='" . esc_sql( stripslashes( strip_tags ( $args['source'] ) ) ) . "'";
|
397 |
+
}
|
398 |
+
if( isset($args['tags']) && is_string($args['tags']) && !empty($args['tags']) ) {
|
399 |
+
$taglist = explode(',', html_entity_decode($args['tags']));
|
400 |
+
$tag_condition = "";
|
401 |
+
foreach($taglist as $tag) {
|
402 |
+
$tag = $this->db->esc_like( strip_tags( trim( $tag ) ) );
|
403 |
+
if($tag_condition) $tag_condition .= " OR ";
|
404 |
+
$tag_condition .=
|
405 |
+
"tags = '{$tag}' "
|
406 |
+
."OR tags LIKE '{$tag},%' "
|
407 |
+
."OR tags LIKE '%,{$tag},%' "
|
408 |
+
."OR tags LIKE '%,{$tag}'";
|
409 |
+
}
|
410 |
+
if($tag_condition) {
|
411 |
+
if($condition) $condition .= " AND";
|
412 |
+
$condition .= " ({$tag_condition})";
|
413 |
+
}
|
414 |
+
}
|
415 |
+
if( isset($args['search']) && is_string($args['search']) && !empty($args['search']) ) {
|
416 |
+
$search_query = $this->db->esc_like( strip_tags( trim( $args['search'] ) ) );
|
417 |
+
|
418 |
+
$search_condition =
|
419 |
+
"quote = '{$search_query}' "
|
420 |
+
."OR quote LIKE '{$search_query}%' "
|
421 |
+
."OR quote LIKE '%{$search_query}%' "
|
422 |
+
."OR quote LIKE '%{$search_query}' "
|
423 |
+
."OR author = '{$search_query}' "
|
424 |
+
."OR author LIKE '{$search_query},%' "
|
425 |
+
."OR author LIKE '%{$search_query}%' "
|
426 |
+
."OR author LIKE '%{$search_query}' "
|
427 |
+
."OR source = '{$search_query}' "
|
428 |
+
."OR source LIKE '{$search_query}%' "
|
429 |
+
."OR source LIKE '%{$search_query}%' "
|
430 |
+
."OR source LIKE '%{$search_query}' "
|
431 |
+
."OR tags = '{$search_query}' "
|
432 |
+
."OR tags LIKE '{$search_query},%' "
|
433 |
+
."OR tags LIKE '%,{$search_query},%' "
|
434 |
+
."OR tags LIKE '%,{$search_query}'";
|
435 |
+
|
436 |
+
if($condition) $condition .= " AND";
|
437 |
+
$condition .= " ({$search_condition})";
|
438 |
+
}
|
439 |
+
|
440 |
+
if(isset($args['char_limit']) && is_numeric($args['char_limit']) && $args['char_limit'] > 0) {
|
441 |
+
if($condition) $condition .= " AND";
|
442 |
+
$condition .= " CHAR_LENGTH(`quote`) <= ".$args['char_limit'];
|
443 |
+
}
|
444 |
+
|
445 |
+
if(isset($args['public']) && ( $args['public'] == 'yes' || $args['public'] == 'no' ) ) {
|
446 |
+
if($condition) $condition .= " AND";
|
447 |
+
$condition .= " `public` = '". esc_sql($args['public'])."'";
|
448 |
+
}
|
449 |
+
|
450 |
+
if($condition)
|
451 |
+
$condition = " WHERE".$condition;
|
452 |
+
|
453 |
+
if(isset($args['orderby']) && $args['orderby']) {
|
454 |
+
if($args['orderby'] == "random")
|
455 |
+
$condition .= " ORDER BY RAND(UNIX_TIMESTAMP(NOW()))";
|
456 |
+
else if(in_array($args['orderby'], array('quote_id', 'quote', 'author', 'source', 'time_added'))) {
|
457 |
+
$condition .= " ORDER BY `".$args['orderby']."`";
|
458 |
+
if( isset($args['order']) && ($args['order'] == 'DESC' || $args['order'] == 'desc') )
|
459 |
+
$condition .= " DESC";
|
460 |
+
}
|
461 |
+
}
|
462 |
+
if(isset($args['num_quotes']) && is_numeric($args['num_quotes'])) {
|
463 |
+
if(isset($args['start']) && is_numeric($args['start'])) {
|
464 |
+
$condition .= " LIMIT ".$args['start'].", ".$args['num_quotes'] ;
|
465 |
+
}
|
466 |
+
else
|
467 |
+
$condition .= " LIMIT ".$args['num_quotes'];
|
468 |
+
}
|
469 |
+
return $condition;
|
470 |
+
|
471 |
+
}
|
472 |
+
|
473 |
+
|
474 |
+
|
475 |
+
}
|
476 |
+
|
477 |
+
?>
|
inc/class-quotes-collection-quote.php
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @package Quotes Collection
|
4 |
+
* @since 2.0
|
5 |
+
*/
|
6 |
+
|
7 |
+
class Quotes_Collection_Quote {
|
8 |
+
public $quote_id;
|
9 |
+
public $quote;
|
10 |
+
public $author;
|
11 |
+
public $source;
|
12 |
+
public $tags;
|
13 |
+
public $public;
|
14 |
+
public $time_added;
|
15 |
+
public $time_updated;
|
16 |
+
|
17 |
+
public function __construct($quote_data) {
|
18 |
+
if( isset($quote_data['quote_id']) && is_numeric($quote_data['quote_id']) ) {
|
19 |
+
$this->quote_id = $quote_data['quote_id'];
|
20 |
+
}
|
21 |
+
if( isset($quote_data['quote']) && !empty($quote_data['quote']) ) {
|
22 |
+
$this->quote = $quote_data['quote'];
|
23 |
+
}
|
24 |
+
$this->author = isset($quote_data['author'])? $quote_data['author'] : '';
|
25 |
+
$this->source = isset($quote_data['source'])? $quote_data['source'] : '';
|
26 |
+
$this->tags = isset($quote_data['tags'])? $quote_data['tags'] : '';
|
27 |
+
$this->public = isset($quote_data['public'])? $quote_data['public'] : 'yes';
|
28 |
+
$this->time_added = isset($quote_data['time_added'])? $quote_data['time_added'] : '';
|
29 |
+
$this->time_updated = isset($quote_data['time_updated'])? $quote_data['time_updated'] : '';
|
30 |
+
}
|
31 |
+
|
32 |
+
public static function with_condition( $args ) {
|
33 |
+
global $quotescollection_db;
|
34 |
+
return $quotescollection_db->get_quote($args);
|
35 |
+
}
|
36 |
+
|
37 |
+
public static function with_id( $quote_id ) {
|
38 |
+
return self::with_condition( array( 'quote_id' => $quote_id ) );
|
39 |
+
}
|
40 |
+
|
41 |
+
public static function with_quote( $quote ) {
|
42 |
+
$instance = new Quotes_Collection_Quote( array( 'quote' => $quote ) );
|
43 |
+
return $instance;
|
44 |
+
}
|
45 |
+
|
46 |
+
public static function random() {
|
47 |
+
return self::with_condition( array( 'random' => 1 ) );
|
48 |
+
}
|
49 |
+
|
50 |
+
|
51 |
+
public function store() {
|
52 |
+
global $quotescollection_db;
|
53 |
+
if( !$this->quote ) {
|
54 |
+
return false;
|
55 |
+
}
|
56 |
+
else if( !$this->quote_id ) {
|
57 |
+
$result = $quotescollection_db->put_quote($this);
|
58 |
+
if( $result && is_numeric( $result ) ) {
|
59 |
+
$this->quote_id = $result;
|
60 |
+
return true;
|
61 |
+
}
|
62 |
+
else
|
63 |
+
return $result;
|
64 |
+
}
|
65 |
+
else {
|
66 |
+
$result = $quotescollection_db->update_quote($this);
|
67 |
+
return $result;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
|
71 |
+
public function data_as_array() {
|
72 |
+
if( !$this->quote ) {
|
73 |
+
return (array) $this;
|
74 |
+
}
|
75 |
+
else return array();
|
76 |
+
}
|
77 |
+
|
78 |
+
public function text_format( $text ) {
|
79 |
+
if( !$text )
|
80 |
+
return;
|
81 |
+
|
82 |
+
$text = make_clickable($text);
|
83 |
+
$text = wptexturize(str_replace(array("\r\n", "\r", "\n"), '', nl2br(trim($text))));
|
84 |
+
|
85 |
+
return $text;
|
86 |
+
}
|
87 |
+
|
88 |
+
public function prepare_data() {
|
89 |
+
$this->quote = $this->text_format( $this->quote );
|
90 |
+
$this->author = $this->text_format( $this->author );
|
91 |
+
$this->source = $this->text_format( $this->source );
|
92 |
+
}
|
93 |
+
|
94 |
+
public function output_format( $options = array() ) {
|
95 |
+
|
96 |
+
$display = "";
|
97 |
+
|
98 |
+
if( !$this->quote )
|
99 |
+
return $display;
|
100 |
+
|
101 |
+
$default_options = array(
|
102 |
+
'show_author' => 1,
|
103 |
+
'show_source' => 1,
|
104 |
+
'before' => '<blockquote id="quote-' . $this->quote_id . '" class="quotescollection-quote">',
|
105 |
+
'after' => '</blockquote>',
|
106 |
+
'before_attribution' => '<footer class="attribution">— ',
|
107 |
+
'after_attribution' => '</footer>',
|
108 |
+
);
|
109 |
+
|
110 |
+
$options = array_merge( $default_options, $options );
|
111 |
+
|
112 |
+
$this->prepare_data();
|
113 |
+
|
114 |
+
$display .= "<p>" . $this->quote . "</p>";
|
115 |
+
|
116 |
+
$attribution = "";
|
117 |
+
|
118 |
+
if( $options['show_author'] && $this->author ) {
|
119 |
+
$attribution = '<cite class="author">' . $this->author . '</cite>';
|
120 |
+
}
|
121 |
+
|
122 |
+
if( $options['show_source'] && $this->source ) {
|
123 |
+
if($attribution) $attribution .= ", ";
|
124 |
+
$attribution .= '<cite class="title source">' . $this->source . '</cite>';
|
125 |
+
}
|
126 |
+
|
127 |
+
if($attribution) {
|
128 |
+
if( $options['before_attribution'] ) {
|
129 |
+
$attribution = $options['before_attribution'] . $attribution;
|
130 |
+
}
|
131 |
+
|
132 |
+
if( $options['after_attribution'] ) {
|
133 |
+
$attribution .= $options['after_attribution'];
|
134 |
+
}
|
135 |
+
$display .= "\n".$attribution;
|
136 |
+
}
|
137 |
+
|
138 |
+
if( $options['before'] ) {
|
139 |
+
$display = $options['before'] . $display;
|
140 |
+
}
|
141 |
+
|
142 |
+
if( $options['after'] ) {
|
143 |
+
$display .= $options['after'];
|
144 |
+
}
|
145 |
+
|
146 |
+
return apply_filters( 'quotescollection_output_format', $display );
|
147 |
+
}
|
148 |
+
}
|
149 |
+
?>
|
inc/class-quotes-collection-shortcode.php
ADDED
@@ -0,0 +1,279 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @package Quotes Collection
|
4 |
+
* @since 2.0
|
5 |
+
*/
|
6 |
+
|
7 |
+
class Quotes_Collection_Shortcode {
|
8 |
+
|
9 |
+
public function __construct() {
|
10 |
+
add_shortcode( 'quotescollection', array($this, 'do_shortcode') );
|
11 |
+
add_shortcode( 'quotcoll', array( $this, 'do_shortcode' ) );
|
12 |
+
add_shortcode( 'quotecoll', array( $this, 'do_shortcode' ) ); // just in case, somebody misspells the shortcode
|
13 |
+
add_filter( 'the_content', array( $this, 'filter_content' ), 7); // Backwards compatibility
|
14 |
+
add_filter( 'the_excerpt', array( $this, 'filter_content' ), 7); // Backwards compatibility
|
15 |
+
}
|
16 |
+
|
17 |
+
public function do_shortcode($atts = array()) {
|
18 |
+
$db = new Quotes_Collection_DB();
|
19 |
+
extract( shortcode_atts( array(
|
20 |
+
'limit' => 0,
|
21 |
+
'id' => 0,
|
22 |
+
'author' => '',
|
23 |
+
'source' => '',
|
24 |
+
'tags' => '',
|
25 |
+
'orderby' => 'quote_id',
|
26 |
+
'order' => 'ASC',
|
27 |
+
'paging' => false,
|
28 |
+
'limit_per_page' => 10
|
29 |
+
), $atts ) );
|
30 |
+
|
31 |
+
// Initialize the variable that holds args to be passed to the DB function to get the quotes
|
32 |
+
// And set 'public' argument to 'yes', because we don't want to display private quotes in public
|
33 |
+
$db_args = array('public' => 'yes');
|
34 |
+
|
35 |
+
// 'quote_id' is also a valid shortcode parameter synonymous to 'id'
|
36 |
+
if(isset($quote_id) && is_numeric($quote_id)) $id = $quote_id;
|
37 |
+
|
38 |
+
// If an id is specified, no need to process other attributes. Simply get the quote and return.
|
39 |
+
if($id && is_numeric($id)) {
|
40 |
+
$db_args['quote_id'] = $id;
|
41 |
+
if( $quote = Quotes_Collection_Quote::with_condition($db_args) ) {
|
42 |
+
return $quote->output_format();
|
43 |
+
}
|
44 |
+
else
|
45 |
+
return "";
|
46 |
+
}
|
47 |
+
|
48 |
+
if($author)
|
49 |
+
$db_args['author'] = $author;
|
50 |
+
if($source)
|
51 |
+
$db_args['source'] = $source;
|
52 |
+
|
53 |
+
if($tags)
|
54 |
+
$db_args['tags'] = $tags;
|
55 |
+
|
56 |
+
switch($orderby) {
|
57 |
+
case 'quote_id':
|
58 |
+
case 'author':
|
59 |
+
case 'source':
|
60 |
+
case 'time_added':
|
61 |
+
case 'random':
|
62 |
+
$db_args['orderby'] = $orderby;
|
63 |
+
break;
|
64 |
+
case 'date_added':
|
65 |
+
$db_args['orderby'] = 'time_added';
|
66 |
+
break;
|
67 |
+
case 'rand':
|
68 |
+
$db_args['orderby'] = 'random';
|
69 |
+
break;
|
70 |
+
default:
|
71 |
+
$db_args['orderby'] = 'quote_id';
|
72 |
+
}
|
73 |
+
|
74 |
+
if($order == 'DESC' || $order == 'desc' || $order == 'Desc')
|
75 |
+
$db_args['order'] = 'DESC';
|
76 |
+
else $db_args['order'] = 'ASC';
|
77 |
+
|
78 |
+
|
79 |
+
$page_nav = "";
|
80 |
+
|
81 |
+
if($paging == true || $paging == 1) {
|
82 |
+
|
83 |
+
$num_quotes = $db->count($db_args);
|
84 |
+
|
85 |
+
$total_pages = ceil($num_quotes / $limit_per_page);
|
86 |
+
|
87 |
+
|
88 |
+
if(!isset($_GET['quotes_page']) || !$_GET['quotes_page'] || !is_numeric($_GET['quotes_page']))
|
89 |
+
$page = 1;
|
90 |
+
else
|
91 |
+
$page = $_GET['quotes_page'];
|
92 |
+
|
93 |
+
if($page > $total_pages) $page = $total_pages;
|
94 |
+
|
95 |
+
if($page_nav = $this->pagenav($total_pages, $page, 0, 'quotes_page'))
|
96 |
+
$page_nav = '<div class="quotescollection_pagenav">'.$page_nav.'</div>';
|
97 |
+
|
98 |
+
$start = ($page - 1) * $limit_per_page;
|
99 |
+
|
100 |
+
$db_args['num_quotes'] = $limit_per_page;
|
101 |
+
$db_args['start'] = $start;
|
102 |
+
|
103 |
+
}
|
104 |
+
|
105 |
+
else if($limit && is_numeric($limit))
|
106 |
+
$db_args['num_quotes'] = $limit;
|
107 |
+
|
108 |
+
|
109 |
+
if( $quotes_data = $db->get_quotes($db_args) ) {
|
110 |
+
return $page_nav.$this->output_format($quotes_data).$page_nav;
|
111 |
+
}
|
112 |
+
else
|
113 |
+
return "";
|
114 |
+
|
115 |
+
}
|
116 |
+
|
117 |
+
private function output_format($quotes = array()) {
|
118 |
+
|
119 |
+
$display = "";
|
120 |
+
|
121 |
+
foreach($quotes as $quote) {
|
122 |
+
$display .= $quote->output_format();
|
123 |
+
}
|
124 |
+
|
125 |
+
return apply_filters( 'quotescollection_shortcode_output_format', $display );
|
126 |
+
|
127 |
+
}
|
128 |
+
|
129 |
+
private function pagenav($total, $current = 1, $format = 0, $paged = 'paged', $url = "") {
|
130 |
+
if($total == 1 && $current == 1) return "";
|
131 |
+
|
132 |
+
if(!$url) {
|
133 |
+
$url = 'http';
|
134 |
+
if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {$url .= "s";}
|
135 |
+
$url .= "://";
|
136 |
+
if ($_SERVER["SERVER_PORT"] != "80") {
|
137 |
+
$url .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"];
|
138 |
+
} else {
|
139 |
+
$url .= $_SERVER["SERVER_NAME"];
|
140 |
+
}
|
141 |
+
|
142 |
+
if ( get_option('permalink_structure') != '' ) {
|
143 |
+
if($_SERVER['REQUEST_URI']) {
|
144 |
+
$request_uri = explode('?', $_SERVER['REQUEST_URI']);
|
145 |
+
$url .= $request_uri[0];
|
146 |
+
}
|
147 |
+
else $url .= "/";
|
148 |
+
}
|
149 |
+
else {
|
150 |
+
$url .= $_SERVER["PHP_SELF"];
|
151 |
+
}
|
152 |
+
|
153 |
+
if($query_string = $_SERVER['QUERY_STRING']) {
|
154 |
+
$parms = explode('&', $query_string);
|
155 |
+
$y = '';
|
156 |
+
foreach($parms as $parm) {
|
157 |
+
$x = explode('=', $parm);
|
158 |
+
if($x[0] == $paged) {
|
159 |
+
$query_string = str_replace($y.$parm, '', $query_string);
|
160 |
+
}
|
161 |
+
else $y = '&';
|
162 |
+
}
|
163 |
+
if($query_string) {
|
164 |
+
$url .= '?'.$query_string;
|
165 |
+
$a = '&';
|
166 |
+
}
|
167 |
+
else $a = '?';
|
168 |
+
}
|
169 |
+
else $a = '?';
|
170 |
+
}
|
171 |
+
else {
|
172 |
+
$a = '?';
|
173 |
+
if(strpos($url, '?')) $a = '&';
|
174 |
+
}
|
175 |
+
|
176 |
+
if(!$format || $format > 2 || $format < 0 || !is_numeric($format)) {
|
177 |
+
if($total <= 8) $format = 1;
|
178 |
+
else $format = 2;
|
179 |
+
}
|
180 |
+
|
181 |
+
|
182 |
+
if($current > $total) $current = $total;
|
183 |
+
$pagenav = "";
|
184 |
+
|
185 |
+
if($format == 2) {
|
186 |
+
$first_disabled = $prev_disabled = $next_disabled = $last_disabled = '';
|
187 |
+
if($current == 1)
|
188 |
+
$first_disabled = $prev_disabled = ' disabled';
|
189 |
+
if($current == $total)
|
190 |
+
$next_disabled = $last_disabled = ' disabled';
|
191 |
+
|
192 |
+
$pagenav .= '<a class="first-page' . $first_disabled .'" title="' . __('Go to the first page', 'quotes-collection') . '" href="' . esc_url( $url ) . '">«</a> ';
|
193 |
+
|
194 |
+
$pagenav .= '<a class="prev-page' . $prev_disabled . '" title="' . __('Go to the previous page', 'quotes-collection') . '" href="' . esc_url( $url.$a.$paged.'='.($current - 1) ).'">‹</a> ';
|
195 |
+
|
196 |
+
$pagenav .= '<span class="paging-input">'.$current.' of <span class="total-pages">'.$total.'</span></span>';
|
197 |
+
|
198 |
+
$pagenav .= ' <a class="next-page' . $next_disabled . '" title="' .__('Go to the next page', 'quotes-collection'). '" href="' . esc_url( $url.$a.$paged.'='.($current + 1) ) . '">›</a>';
|
199 |
+
|
200 |
+
$pagenav .= ' <a class="last-page' . $last_disabled . '" title="' . __('Go to the last page', 'quotes-collection') .'" href="' . esc_url( $url.$a.$paged.'='.$total ) . '">»</a>';
|
201 |
+
|
202 |
+
}
|
203 |
+
else {
|
204 |
+
$pagenav = __("Goto page:", 'quotes-collection');
|
205 |
+
for( $i = 1; $i <= $total; $i++ ) {
|
206 |
+
if($i == $current)
|
207 |
+
$pagenav .= " <strong>{$i}</strong>";
|
208 |
+
else if($i == 1)
|
209 |
+
$pagenav .= " <a href=\"" . esc_url($url) . "\">{$i}</a>";
|
210 |
+
else
|
211 |
+
$pagenav .= " <a href=\"" . esc_url($url.$a.$paged.'='.$i) . "\">{$i}</a>";
|
212 |
+
}
|
213 |
+
}
|
214 |
+
return $pagenav;
|
215 |
+
|
216 |
+
}
|
217 |
+
|
218 |
+
|
219 |
+
public function filter_content( $text )
|
220 |
+
{
|
221 |
+
$start = strpos($text,"[quote|id=");
|
222 |
+
if ($start !== FALSE) {
|
223 |
+
$text = preg_replace_callback( "/\[quote\|id=(\d+)\]/i", array( $this, 'displayquote'), $text );
|
224 |
+
}
|
225 |
+
$start = strpos($text,"[quote|random]");
|
226 |
+
if ($start !== FALSE) {
|
227 |
+
$text = preg_replace_callback( "/\[quote\|random\]/i", array( $this, 'displayquote' ), $text );
|
228 |
+
}
|
229 |
+
$start = strpos($text,"[quote|all]");
|
230 |
+
if ($start !== FALSE) {
|
231 |
+
$text = preg_replace_callback( "/\[quote\|all\]/i", array( $this, 'do_shortcode' ), $text );
|
232 |
+
}
|
233 |
+
$start = strpos($text,"[quote|author=");
|
234 |
+
if($start !== FALSE) {
|
235 |
+
$text = preg_replace_callback("/\[quote\|author=(.{1,})?\]/i", array( $this, 'displayquotes_author' ), $text);
|
236 |
+
}
|
237 |
+
$start = strpos($text,"[quote|source=");
|
238 |
+
if($start !== FALSE) {
|
239 |
+
$text = preg_replace_callback("/\[quote\|source=(.{1,})?\]/i", array( $this, 'displayquotes_source' ), $text);
|
240 |
+
}
|
241 |
+
$start = strpos($text,"[quote|tags=");
|
242 |
+
if($start !== FALSE) {
|
243 |
+
$text = preg_replace_callback("/\[quote\|tags=(.{1,})?\]/i", array( $this, 'displayquotes_tags' ), $text);
|
244 |
+
}
|
245 |
+
return $text;
|
246 |
+
}
|
247 |
+
|
248 |
+
private function displayquote($matches)
|
249 |
+
{
|
250 |
+
if(!isset($matches[1]) || (isset($matches[1]) && !$matches[1]) || $matches[0] == "[quote|random]")
|
251 |
+
$atts = array( 'orderby' => 'random', 'limit' => 1 );
|
252 |
+
else
|
253 |
+
$atts = array ( 'id' => $matches[1] );
|
254 |
+
|
255 |
+
return $this->do_shortcode($atts);
|
256 |
+
}
|
257 |
+
|
258 |
+
|
259 |
+
private function displayquotes_author($matches)
|
260 |
+
{
|
261 |
+
return $this->do_shortcode(array('author'=>$matches[1]));
|
262 |
+
}
|
263 |
+
|
264 |
+
|
265 |
+
private function displayquotes_source($matches)
|
266 |
+
{
|
267 |
+
return $this->do_shortcode(array('source'=>$matches[1]));
|
268 |
+
}
|
269 |
+
|
270 |
+
private function displayquotes_tags($matches)
|
271 |
+
{
|
272 |
+
return $this->do_shortcode(array('tags'=>$matches[1]));
|
273 |
+
}
|
274 |
+
|
275 |
+
|
276 |
+
|
277 |
+
}
|
278 |
+
|
279 |
+
?>
|
inc/class-quotes-collection-widget.php
ADDED
@@ -0,0 +1,224 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Quotes Collection Widget
|
4 |
+
*
|
5 |
+
* @package Quotes Collection
|
6 |
+
* @since 2.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Quotes_Collection_Widget extends WP_Widget {
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Constructor. Sets up the widget name, description, etc.
|
13 |
+
*/
|
14 |
+
function __construct() {
|
15 |
+
parent::__construct(
|
16 |
+
'quotescollection', // Base ID
|
17 |
+
_x('Random Quote', 'widget name', 'quotes-collection'), // Name
|
18 |
+
array( 'description' => _x('Random quote from your quotes collection', 'widget description', 'quotes-collection'), ) // Args
|
19 |
+
);
|
20 |
+
}
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Register the widget. Should be hooked to 'widgets_init'.
|
24 |
+
*/
|
25 |
+
public static function register() {
|
26 |
+
register_widget( get_class() );
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Front end output
|
31 |
+
*
|
32 |
+
* @see WP_Widget::widget()
|
33 |
+
*
|
34 |
+
* @param array $args Widget arguments.
|
35 |
+
* @param array $instance Saved values from database.
|
36 |
+
*/
|
37 |
+
public function widget( $args, $instance ) {
|
38 |
+
global $quotescollection;
|
39 |
+
|
40 |
+
if( $instance ) {
|
41 |
+
$options['title'] = isset($instance['title'])?$instance['title']:__('Random Quote', 'quotes-collection');
|
42 |
+
$options['show_author'] = isset($instance['show_author'])?$instance['show_author']:1;
|
43 |
+
$options['show_source'] = isset($instance['show_source'])?$instance['show_source']:1;
|
44 |
+
$options['ajax_refresh'] = isset($instance['ajax_refresh'])?$instance['ajax_refresh']:1;
|
45 |
+
$options['auto_refresh'] = isset($instance['auto_refresh'])?$instance['auto_refresh']:0;
|
46 |
+
$options['random'] = isset($instance['random_refresh'])?$instance['random_refresh']:1;
|
47 |
+
if($options['auto_refresh'])
|
48 |
+
$options['auto_refresh'] = isset($instance['refresh_interval'])?$instance['refresh_interval']:5;
|
49 |
+
$options['char_limit'] = $instance['char_limit'];
|
50 |
+
$options['tags'] = $instance['tags'];
|
51 |
+
}
|
52 |
+
else { // Default options
|
53 |
+
$options = $this->default_options();
|
54 |
+
$options['random'] = $options['random_refresh'];
|
55 |
+
}
|
56 |
+
|
57 |
+
|
58 |
+
$options['order'] = 'DESC';
|
59 |
+
$options['echo'] = 0;
|
60 |
+
$options['instance'] = 'w_'.str_replace('-', '_', $args['widget_id']);
|
61 |
+
|
62 |
+
if($quote = $quotescollection->quote($options)) {
|
63 |
+
extract( $args );
|
64 |
+
echo $before_widget;
|
65 |
+
if($options['title']) echo $before_title . $options['title'] . $after_title . "\n";
|
66 |
+
echo $quote;
|
67 |
+
echo $after_widget;
|
68 |
+
}
|
69 |
+
|
70 |
+
}
|
71 |
+
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Back-end widget form.
|
75 |
+
*
|
76 |
+
* @see WP_Widget::form()
|
77 |
+
*
|
78 |
+
* @param array $instance Previously saved values from database.
|
79 |
+
*/
|
80 |
+
public function form( $instance ) {
|
81 |
+
|
82 |
+
if( $instance ) {
|
83 |
+
$options['title'] = isset($instance['title'])?$instance['title']:__('Random Quote', 'quotes-collection');
|
84 |
+
$options['show_author'] = isset($instance['show_author'])?$instance['show_author']:1;
|
85 |
+
$options['show_source'] = isset($instance['show_source'])?$instance['show_source']:1;
|
86 |
+
$options['ajax_refresh'] = isset($instance['ajax_refresh'])?$instance['ajax_refresh']:1;
|
87 |
+
$options['auto_refresh'] = isset($instance['auto_refresh'])?$instance['auto_refresh']:0;
|
88 |
+
$options['random_refresh'] = isset($instance['random_refresh'])?$instance['random_refresh']:1;
|
89 |
+
$options['refresh_interval'] = isset($instance['refresh_interval'])?$instance['refresh_interval']:5;
|
90 |
+
if( isset( $instance['char_limit'] ) && is_numeric( $instance['char_limit'] ) ) {
|
91 |
+
$options['char_limit'] = $instance['char_limit'];
|
92 |
+
} else {
|
93 |
+
$options['char_limit'] = __('none', 'quotes-collection');
|
94 |
+
}
|
95 |
+
$options['tags'] = $instance['tags'];
|
96 |
+
}
|
97 |
+
else {
|
98 |
+
$options = $this->default_options();
|
99 |
+
}
|
100 |
+
|
101 |
+
|
102 |
+
$show_author_checked = $show_source_checked = $ajax_refresh_checked = $auto_refresh_checked = $random_refresh_checked = '';
|
103 |
+
$int_select = array ( '5' => '', '10' => '', '15' => '', '20' => '', '30' => '', '60' => '');
|
104 |
+
if($options['show_author'])
|
105 |
+
$show_author_checked = ' checked="checked"';
|
106 |
+
if($options['show_source'])
|
107 |
+
$show_source_checked = ' checked="checked"';
|
108 |
+
if($options['ajax_refresh'])
|
109 |
+
$ajax_refresh_checked = ' checked="checked"';
|
110 |
+
if($options['auto_refresh'])
|
111 |
+
$auto_refresh_checked = ' checked="checked"';
|
112 |
+
if($options['random_refresh'])
|
113 |
+
$random_refresh_checked = ' checked="checked"';
|
114 |
+
$int_select[$options['refresh_interval']] = ' selected="selected"';
|
115 |
+
|
116 |
+
|
117 |
+
echo '<p>';
|
118 |
+
echo '<label for="'.$this->get_field_id( 'title' ).'">'.__( 'Title', 'quotes-collection' ).'</label>';
|
119 |
+
echo '<input class="widefat" id="'.$this->get_field_id( 'title' ).'" name="'.$this->get_field_name( 'title' ).'" type="text" value="'.esc_attr( $options['title'] ).'">';
|
120 |
+
echo '</p>';
|
121 |
+
|
122 |
+
echo '<p>';
|
123 |
+
echo '<input type="checkbox" id="'.$this->get_field_id( 'show_author' ).'" name="'.$this->get_field_name('show_author').'"'.$show_author_checked.' />';
|
124 |
+
echo '<label for="'.$this->get_field_id( 'show_author' ).'">'.__( 'Show author?', 'quotes-collection' ).'</label>';
|
125 |
+
echo '</p>';
|
126 |
+
|
127 |
+
echo '<p>';
|
128 |
+
echo '<input type="checkbox" id="'.$this->get_field_id( 'show_source' ).'" name="'.$this->get_field_name('show_source').'"'.$show_source_checked.' />';
|
129 |
+
echo '<label for="'.$this->get_field_id( 'show_source' ).'">'.__( 'Show source?', 'quotes-collection' ).'</label>';
|
130 |
+
echo '</p>';
|
131 |
+
|
132 |
+
echo '<p>';
|
133 |
+
echo '<input type="checkbox" id="'.$this->get_field_id( 'ajax_refresh' ).'" name="'.$this->get_field_name('ajax_refresh').'"'.$ajax_refresh_checked.' />';
|
134 |
+
echo '<label for="'.$this->get_field_id( 'ajax_refresh' ).'">'.__( 'Refresh feature', 'quotes-collection' ).'</label>';
|
135 |
+
echo '</p>';
|
136 |
+
|
137 |
+
echo "<p style=\"text-align:left;\"><small><a id=\"quotescollection-adv-key\" style=\"cursor:pointer;\" onclick=\"jQuery('div#quotescollection-adv-opts').slideToggle();\">".__('Advanced options', 'quotes-collection')." »</a></small></p>";
|
138 |
+
echo "<div id=\"quotescollection-adv-opts\" style=\"display:none\">";
|
139 |
+
|
140 |
+
echo '<p>';
|
141 |
+
echo '<input type="checkbox" id="'.$this->get_field_id( 'random_refresh' ).'" name="'.$this->get_field_name('random_refresh').'"'.$random_refresh_checked.' />';
|
142 |
+
echo '<label for="'.$this->get_field_id( 'random_refresh' ).'">'.__( 'Random refresh', 'quotes-collection' ).'</label>';
|
143 |
+
echo '<br/><span class="setting-description"><small>'.__('Unchecking this will rotate quotes in the order added, latest first.', 'quotes-collection').'</small></span></p>';
|
144 |
+
echo '</p>';
|
145 |
+
|
146 |
+
echo '<p>';
|
147 |
+
echo '<input type="checkbox" id="'.$this->get_field_id( 'auto_refresh' ).'" name="'.$this->get_field_name('auto_refresh').'"'.$auto_refresh_checked.' />';
|
148 |
+
echo '<label for="'.$this->get_field_id( 'auto_refresh' ).'">'.__( 'Auto refresh', 'quotes-collection' ).'</label>';
|
149 |
+
echo ' <label for="'.$this->get_field_id( 'refresh_interval' ).'"">';
|
150 |
+
printf( __('every %s sec', 'quotes-collection'), '<input type="number" id="'.$this->get_field_id( 'refresh_interval' ).'" name="'.$this->get_field_name('refresh_interval').'" value="'. esc_attr( $options['refresh_interval'] ).'" min="3" max="60" step="1" style="width:3em;" />' );
|
151 |
+
echo '</label>';
|
152 |
+
echo '</p>';
|
153 |
+
|
154 |
+
echo '<p>';
|
155 |
+
echo '<label for="'.$this->get_field_id( 'tags' ).'">'.__( 'Tags filter', 'quotes-collection' ).'</label>';
|
156 |
+
echo '<input class="widefat" id="'.$this->get_field_id( 'tags' ).'" name="'.$this->get_field_name( 'tags' ).'" type="text" value="'.esc_attr( $options['tags'] ).'">';
|
157 |
+
echo '<br/><span class="setting-description"><small>'.__('Comma separated', 'quotes-collection').'</small>';
|
158 |
+
echo '</p>';
|
159 |
+
|
160 |
+
echo '<p>';
|
161 |
+
echo '<label for="'.$this->get_field_id( 'char_limit' ).'">'.__( 'Character limit', 'quotes-collection' ).'</label>';
|
162 |
+
echo '<input class="widefat" id="'.$this->get_field_id( 'char_limit' ).'" name="'.$this->get_field_name( 'char_limit' ).'" type="text" value="'.esc_attr( $options['char_limit'] ).'">';
|
163 |
+
echo '</p>';
|
164 |
+
|
165 |
+
echo '</div> <!-- #quotescollection-adv-opts -->';
|
166 |
+
|
167 |
+
}
|
168 |
+
|
169 |
+
|
170 |
+
/**
|
171 |
+
* Sanitize widget form values as they are saved.
|
172 |
+
*
|
173 |
+
* @see WP_Widget::update()
|
174 |
+
*
|
175 |
+
* @param array $new_instance Values just sent to be saved.
|
176 |
+
* @param array $old_instance Previously saved values from database.
|
177 |
+
*
|
178 |
+
* @return array Updated safe values to be saved.
|
179 |
+
*/
|
180 |
+
public function update( $new_instance, $old_instance ) {
|
181 |
+
$instance = array();
|
182 |
+
|
183 |
+
$instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( stripslashes( $new_instance['title'] ) ) : '';
|
184 |
+
$instance['show_author'] = (isset($new_instance['show_author']) && $new_instance['show_author'])?1:0;
|
185 |
+
$instance['show_source'] = (isset($new_instance['show_source']) && $new_instance['show_source'])?1:0;
|
186 |
+
$instance['ajax_refresh'] = (isset($new_instance['ajax_refresh']) && $new_instance['ajax_refresh'])?1:0;
|
187 |
+
$instance['auto_refresh'] = (isset($new_instance['auto_refresh']) && $new_instance['auto_refresh'])?1:0;
|
188 |
+
if( is_numeric( $new_instance['refresh_interval'] ) ) {
|
189 |
+
$instance['refresh_interval'] = $new_instance['refresh_interval'];
|
190 |
+
} else {
|
191 |
+
$instance['refresh_interval'] = $old_instance['refresh_interval'];
|
192 |
+
}
|
193 |
+
$instance['random_refresh'] = (isset($new_instance['random_refresh']) && $new_instance['random_refresh'])?1:0;
|
194 |
+
$instance['tags'] = strip_tags(stripslashes($new_instance['tags']));
|
195 |
+
$instance['char_limit'] = strip_tags(stripslashes($new_instance['char_limit']));
|
196 |
+
if(!$instance['char_limit'] || !is_numeric($instance['char_limit']))
|
197 |
+
$instance['char_limit'] = __('none', 'quotes-collection');
|
198 |
+
|
199 |
+
return $instance;
|
200 |
+
}
|
201 |
+
|
202 |
+
/**
|
203 |
+
* The default widget options
|
204 |
+
*
|
205 |
+
* @return array The default options
|
206 |
+
*/
|
207 |
+
private function default_options() {
|
208 |
+
return array(
|
209 |
+
'title' => __('Random Quote', 'quotes-collection'),
|
210 |
+
'show_author' => 1,
|
211 |
+
'show_source' => 0,
|
212 |
+
'ajax_refresh' => 1,
|
213 |
+
'auto_refresh' => 0,
|
214 |
+
'random_refresh' => 1,
|
215 |
+
'refresh_interval' => 5,
|
216 |
+
'tags' => '',
|
217 |
+
'char_limit' => 500,
|
218 |
+
);
|
219 |
+
}
|
220 |
+
|
221 |
+
|
222 |
+
}
|
223 |
+
|
224 |
+
?>
|
inc/class-quotes-collection.php
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The main plugin class
|
4 |
+
*
|
5 |
+
* @package Quotes Collection
|
6 |
+
* @since 2.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Quotes_Collection {
|
10 |
+
|
11 |
+
/** Plugin version **/
|
12 |
+
const PLUGIN_VERSION = '2.0.10';
|
13 |
+
|
14 |
+
public $refresh_link_text;
|
15 |
+
public $auto_refresh_max;
|
16 |
+
|
17 |
+
function __construct() {
|
18 |
+
load_plugin_textdomain( 'quotes-collection', false, quotescollection_rel_path( 'languages' ) );
|
19 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'load_scripts_and_styles' ) );
|
20 |
+
add_action( 'wp_ajax_quotescollection', array( $this, 'ajax_response' ) );
|
21 |
+
add_action( 'wp_ajax_nopriv_quotescollection', array( $this, 'ajax_response' ) );
|
22 |
+
$this->initialize_options();
|
23 |
+
}
|
24 |
+
|
25 |
+
|
26 |
+
public static function activate() {
|
27 |
+
if ( ! current_user_can( 'activate_plugins' ) ) {
|
28 |
+
return;
|
29 |
+
}
|
30 |
+
|
31 |
+
$plugin = isset( $_REQUEST['plugin'] ) ? $_REQUEST['plugin'] : '';
|
32 |
+
check_admin_referer( 'activate-plugin_'.$plugin );
|
33 |
+
|
34 |
+
Quotes_Collection_DB::install_db();
|
35 |
+
}
|
36 |
+
|
37 |
+
|
38 |
+
/** Instantiate the plugin classes. Hooked to 'plugins_loaded' action **/
|
39 |
+
public static function load() {
|
40 |
+
global $quotescollection;
|
41 |
+
global $quotescollection_db;
|
42 |
+
global $quotescollection_admin;
|
43 |
+
global $quotescollection_shortcode;
|
44 |
+
|
45 |
+
if( NULL === $quotescollection ) {
|
46 |
+
$quotescollection = new self();
|
47 |
+
}
|
48 |
+
|
49 |
+
if( NULL === $quotescollection_db ) {
|
50 |
+
$quotescollection_db = new Quotes_Collection_DB();
|
51 |
+
}
|
52 |
+
|
53 |
+
if( is_admin() && NULL === $quotescollection_admin ) {
|
54 |
+
$quotescollection_admin = new Quotes_Collection_Admin();
|
55 |
+
}
|
56 |
+
|
57 |
+
if( NULL === $quotescollection_shortcode ) {
|
58 |
+
$quotescollection_shortcode = new Quotes_Collection_Shortcode();
|
59 |
+
}
|
60 |
+
}
|
61 |
+
|
62 |
+
/** Load scripts and styles required at the front end **/
|
63 |
+
public function load_scripts_and_styles() {
|
64 |
+
|
65 |
+
// Enqueue scripts required for the ajax refresh functionality
|
66 |
+
wp_enqueue_script(
|
67 |
+
'quotescollection', // handle
|
68 |
+
quotescollection_url( 'js/quotes-collection.js' ), // source
|
69 |
+
array('jquery'), // dependencies
|
70 |
+
self::PLUGIN_VERSION, // version
|
71 |
+
false // load in header, because quotecollectionTimer() has to be loaded before it's called
|
72 |
+
);
|
73 |
+
wp_localize_script( 'quotescollection', 'quotescollectionAjax', array(
|
74 |
+
// URL to wp-admin/admin-ajax.php to process the request
|
75 |
+
'ajaxUrl' => admin_url( 'admin-ajax.php' ),
|
76 |
+
|
77 |
+
// generate a nonce with a unique ID "myajax-post-comment-nonce"
|
78 |
+
// so that you can check it later when an AJAX request is sent
|
79 |
+
'nonce' => wp_create_nonce( 'quotescollection' ),
|
80 |
+
|
81 |
+
'nextQuote' => $this->refresh_link_text,
|
82 |
+
'loading' => __('Loading...', 'quotes-collection'),
|
83 |
+
'error' => __('Error getting quote', 'quotes-collection'),
|
84 |
+
'autoRefreshMax' => $this->auto_refresh_max,
|
85 |
+
'autoRefreshCount' => 0
|
86 |
+
)
|
87 |
+
);
|
88 |
+
|
89 |
+
// Enqueue styles for the front end
|
90 |
+
if ( !is_admin() ) {
|
91 |
+
wp_register_style(
|
92 |
+
'quotescollection',
|
93 |
+
quotescollection_url( 'css/quotes-collection.css' ),
|
94 |
+
false,
|
95 |
+
self::PLUGIN_VERSION
|
96 |
+
);
|
97 |
+
wp_enqueue_style( 'quotescollection' );
|
98 |
+
}
|
99 |
+
|
100 |
+
}
|
101 |
+
|
102 |
+
/** Initialize the plugin options **/
|
103 |
+
private function initialize_options() {
|
104 |
+
$this->refresh_link_text = __("Next quote »", 'quotes-collection');
|
105 |
+
$this->auto_refresh_max = 20;
|
106 |
+
if( $options = get_option( 'quotescollection' ) ) {
|
107 |
+
if( isset($options['refresh_link_text']) && $options['refresh_link_text'] ) {
|
108 |
+
$this->refresh_link_text = $options['refresh_link_text'];
|
109 |
+
}
|
110 |
+
if( isset($options['auto_refresh_max']) && $options['auto_refresh_max'] ) {
|
111 |
+
$this->auto_refresh_max = $options['auto_refresh_max'];
|
112 |
+
}
|
113 |
+
}
|
114 |
+
else {
|
115 |
+
$options = array(
|
116 |
+
'refresh_link_text' => $this->refresh_link_text,
|
117 |
+
'auto_refresh_max' => $this->auto_refresh_max,
|
118 |
+
);
|
119 |
+
|
120 |
+
add_option( 'quotescollection', $options );
|
121 |
+
}
|
122 |
+
}
|
123 |
+
|
124 |
+
|
125 |
+
/** Ajax response **/
|
126 |
+
public function ajax_response()
|
127 |
+
{
|
128 |
+
check_ajax_referer('quotescollection');
|
129 |
+
|
130 |
+
$char_limit = (isset($_POST['char_limit']) && is_numeric($_POST['char_limit']))?$_POST['char_limit']:'';
|
131 |
+
$tags = $_POST['tags'];
|
132 |
+
$orderby = $_POST['orderby'];
|
133 |
+
$order = '';
|
134 |
+
$exclude = '';
|
135 |
+
$splice = '';
|
136 |
+
|
137 |
+
if($orderby == 'random' && $_POST['current'] && is_numeric($_POST['current'])) {
|
138 |
+
$exclude = $_POST['current'];
|
139 |
+
$splice = '';
|
140 |
+
$order = '';
|
141 |
+
}
|
142 |
+
else {
|
143 |
+
if ($_POST['current'] && is_numeric($_POST['current']))
|
144 |
+
$splice = $_POST['current'];
|
145 |
+
$exclude = '';
|
146 |
+
$order = 'DESC';
|
147 |
+
}
|
148 |
+
|
149 |
+
$args = array(
|
150 |
+
'char_limit' => $char_limit,
|
151 |
+
'tags' => $tags,
|
152 |
+
'orderby' => $orderby,
|
153 |
+
'order' => $order,
|
154 |
+
'splice' => $splice,
|
155 |
+
'exclude' => $exclude,
|
156 |
+
'public' => 'yes',
|
157 |
+
);
|
158 |
+
|
159 |
+
|
160 |
+
global $quotescollection_db;
|
161 |
+
|
162 |
+
if(false === ($quote_data = $quotescollection_db->get_quote($args)) && $splice) {
|
163 |
+
$args['splice'] = '';
|
164 |
+
$quote_data = $quotescollection_db->get_quote($args);
|
165 |
+
}
|
166 |
+
|
167 |
+
if($quote_data) {
|
168 |
+
$quote_data->prepare_data(); // Format the data for output before sending
|
169 |
+
$response = json_encode($quote_data);
|
170 |
+
@header("Content-type: text/json; charset=utf-8");
|
171 |
+
die( $response );
|
172 |
+
}
|
173 |
+
else
|
174 |
+
die();
|
175 |
+
}
|
176 |
+
|
177 |
+
|
178 |
+
/**
|
179 |
+
* Function to display a random (or not so random) quote with (or without)
|
180 |
+
* ajax refresh functionality. Used by the 'quotescollection_quote' template
|
181 |
+
* function and the 'Random Quote' widget.
|
182 |
+
*/
|
183 |
+
public function quote( $args = array() ) {
|
184 |
+
|
185 |
+
global $quotescollection_db;
|
186 |
+
|
187 |
+
$args_default = array(
|
188 |
+
'instance' => '',
|
189 |
+
'show_author' => 1,
|
190 |
+
'show_source' => 0,
|
191 |
+
'ajax_refresh' => 1,
|
192 |
+
'random' => 1,
|
193 |
+
'auto_refresh' => 0,
|
194 |
+
'tags' => '',
|
195 |
+
'char_limit' => 500,
|
196 |
+
'echo' => 1,
|
197 |
+
);
|
198 |
+
|
199 |
+
// Merge with default values
|
200 |
+
$args = array_merge( $args_default, $args );
|
201 |
+
|
202 |
+
$instance = ( is_string( $args['instance'] ) )? $args['instance'] : '';
|
203 |
+
$show_author = ( false == $args['show_author'] )? 0 : 1;
|
204 |
+
$show_source = ( true == $args['show_source'] )? 1 : 0;
|
205 |
+
$ajax_refresh = ( false == $args['ajax_refresh'] )? 0 : 1;
|
206 |
+
$auto_refresh = 0;
|
207 |
+
if( $args['auto_refresh'] ) {
|
208 |
+
if( is_numeric( $args['auto_refresh'] ) ) {
|
209 |
+
$auto_refresh = $args['auto_refresh'];
|
210 |
+
}
|
211 |
+
else if( true === $args['auto_refresh'] ) {
|
212 |
+
$auto_refresh = 5;
|
213 |
+
}
|
214 |
+
}
|
215 |
+
|
216 |
+
$random = ( false == $args['random'] )? 0 : 1;
|
217 |
+
|
218 |
+
// Tags can only be passed as a string, comma separated
|
219 |
+
$tags = ( is_string( $args['tags'] ) )? $args['tags'] : '';
|
220 |
+
|
221 |
+
// Only a numeral can be passed as char_limit
|
222 |
+
$char_limit = ( is_numeric($args['char_limit']) )? $args['char_limit'] : 500;
|
223 |
+
|
224 |
+
// By default, we fetch a random quote
|
225 |
+
$orderby = 'random';
|
226 |
+
if( !$random ) {
|
227 |
+
$orderby = 'quote_id';
|
228 |
+
}
|
229 |
+
|
230 |
+
// Frame the conditions to fetch the quote
|
231 |
+
$condition = array(
|
232 |
+
'orderby' => $orderby,
|
233 |
+
'order' => 'DESC',
|
234 |
+
'tags' => $tags,
|
235 |
+
'char_limit' => $char_limit,
|
236 |
+
'public' => 'yes',
|
237 |
+
);
|
238 |
+
|
239 |
+
if(! ($count = $quotescollection_db->count( $condition ) ) ) {
|
240 |
+
return "";
|
241 |
+
}
|
242 |
+
|
243 |
+
$dynamic_fetch = 0;
|
244 |
+
if( 'random' == $orderby
|
245 |
+
&& ( $options = get_option('quotescollection') )
|
246 |
+
&& isset( $options['dynamic_fetch'] )
|
247 |
+
&& $options['dynamic_fetch'] == 'on'
|
248 |
+
&& $count > 1
|
249 |
+
) {
|
250 |
+
$dynamic_fetch = 1;
|
251 |
+
}
|
252 |
+
|
253 |
+
$display = "";
|
254 |
+
|
255 |
+
// And fetch the quote, only if dynamic fetch is off
|
256 |
+
if( !$dynamic_fetch ) {
|
257 |
+
if ( $quote = Quotes_Collection_Quote::with_condition( $condition ) ) {
|
258 |
+
$curr_quote_id = $quote->quote_id;
|
259 |
+
$display = $quote->output_format(
|
260 |
+
array(
|
261 |
+
'show_author' => $show_author,
|
262 |
+
'show_source' => $show_source,
|
263 |
+
'before' => '',
|
264 |
+
'after' => '',
|
265 |
+
'before_attribution' => '<div class="attribution">— ',
|
266 |
+
'after_attribution' => '</div>',
|
267 |
+
)
|
268 |
+
);
|
269 |
+
if( !$display ) {
|
270 |
+
return "";
|
271 |
+
}
|
272 |
+
}
|
273 |
+
else {
|
274 |
+
return "";
|
275 |
+
}
|
276 |
+
}
|
277 |
+
else {
|
278 |
+
$curr_quote_id = 0;
|
279 |
+
}
|
280 |
+
// Refresh functionality is included only when there is more than one quote for the condition
|
281 |
+
// And instance ID is required for the refresh functionality
|
282 |
+
if( $count > 1 && $instance ) {
|
283 |
+
if( $dynamic_fetch || $ajax_refresh ) {
|
284 |
+
$display .= "<script type=\"text/javascript\">\n";
|
285 |
+
$display .= 'var args_'.$instance.' = {'
|
286 |
+
.'"instanceID":"'.$instance.'", '
|
287 |
+
.'"currQuoteID":'.$curr_quote_id.', '
|
288 |
+
.'"showAuthor":'.$show_author.', '
|
289 |
+
.'"showSource":'.$show_source.', '
|
290 |
+
.'"tags":"'.$tags.'", '
|
291 |
+
.'"charLimit":'.$char_limit.', '
|
292 |
+
.'"orderBy":"'.$orderby.'", '
|
293 |
+
.'"ajaxRefresh":'.$ajax_refresh.', '
|
294 |
+
.'"autoRefresh":'.$auto_refresh.', '
|
295 |
+
.'"dynamicFetch":'.$dynamic_fetch
|
296 |
+
.'};';
|
297 |
+
|
298 |
+
if( $dynamic_fetch ) {
|
299 |
+
$display .= 'quotescollectionRefresh(args_'.$instance.');';
|
300 |
+
}
|
301 |
+
else if( $ajax_refresh && $auto_refresh ) {
|
302 |
+
$display .= 'quotescollectionTimer(args_'.$instance.');';
|
303 |
+
}
|
304 |
+
else if ( $ajax_refresh && !$auto_refresh ) {
|
305 |
+
$display .=
|
306 |
+
"\n<!--\ndocument.write(\""
|
307 |
+
.'<div class=\"navigation\">'
|
308 |
+
.'<div class=\"nav-next\">'
|
309 |
+
.'<a class=\"next-quote-link\" style=\"cursor:pointer;\" onclick=\"quotescollectionRefresh(args_'.$instance.')\">'
|
310 |
+
. html_entity_decode( $this->refresh_link_text )
|
311 |
+
.'</a>'
|
312 |
+
.'</div>'
|
313 |
+
.'</div>'
|
314 |
+
."\")\n//-->\n";
|
315 |
+
}
|
316 |
+
|
317 |
+
$display .= "</script>\n";
|
318 |
+
}
|
319 |
+
}
|
320 |
+
|
321 |
+
$instance_id = ' id="'.$args['instance'].'"';
|
322 |
+
$display = '<div class="quotescollection-quote"'.$instance_id.'>'.$display.'</div>';
|
323 |
+
|
324 |
+
// If 'echo' argument is false, we return the display.
|
325 |
+
if( isset($args['echo']) && !$args['echo'] ) {
|
326 |
+
return $display;
|
327 |
+
}
|
328 |
+
else { // Else we simply output the display
|
329 |
+
echo $display;
|
330 |
+
}
|
331 |
+
|
332 |
+
return true;
|
333 |
+
|
334 |
+
}
|
335 |
+
|
336 |
+
|
337 |
+
}
|
338 |
+
|
339 |
+
?>
|
js/confirm-delete.js
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery( document ).ready(function(){
|
2 |
+
jQuery( "#quotescollection-dialog" ).dialog({
|
3 |
+
autoOpen: false,
|
4 |
+
modal: true,
|
5 |
+
title: quotescollectionConfirm.dialogTitle,
|
6 |
+
});
|
7 |
+
});
|
8 |
+
|
9 |
+
jQuery( "span.delete a" ).click(function(event) {
|
10 |
+
event.preventDefault();
|
11 |
+
var targetUrl = jQuery(this).attr("href");
|
12 |
+
jQuery( "#quotescollection-dialog" ).dialog({
|
13 |
+
buttons: [
|
14 |
+
{
|
15 |
+
text: quotescollectionConfirm.buttonYes,
|
16 |
+
tabIndex: -1,
|
17 |
+
click: function() {
|
18 |
+
window.location.href = targetUrl;
|
19 |
+
}
|
20 |
+
},
|
21 |
+
{
|
22 |
+
text: quotescollectionConfirm.buttonNo,
|
23 |
+
click: function() {
|
24 |
+
jQuery(this).dialog("close");
|
25 |
+
}
|
26 |
+
}
|
27 |
+
]
|
28 |
+
});
|
29 |
+
jQuery("#quotescollection-dialog").html(quotescollectionConfirm.dialogTextSingular);
|
30 |
+
jQuery("#quotescollection-dialog").dialog("open");
|
31 |
+
});
|
32 |
+
|
33 |
+
function quotescollectionConfirmBulkDelete() {
|
34 |
+
jQuery( "#quotescollection-dialog" ).dialog({
|
35 |
+
buttons: [
|
36 |
+
{
|
37 |
+
text: quotescollectionConfirm.buttonYes,
|
38 |
+
tabIndex: -1,
|
39 |
+
click: function() {
|
40 |
+
jQuery("form#quotescollection").submit();
|
41 |
+
}
|
42 |
+
},
|
43 |
+
{
|
44 |
+
text: quotescollectionConfirm.buttonNo,
|
45 |
+
focus: true,
|
46 |
+
click: function() {
|
47 |
+
jQuery(this).dialog("close");
|
48 |
+
}
|
49 |
+
}
|
50 |
+
]
|
51 |
+
});
|
52 |
+
if( jQuery("form#quotescollection input:checked").length == 0 ) {
|
53 |
+
return;
|
54 |
+
}
|
55 |
+
else if( jQuery("form#quotescollection input:checked").length == 1 ) {
|
56 |
+
jQuery("#quotescollection-dialog").html(quotescollectionConfirm.dialogTextSingular);
|
57 |
+
}
|
58 |
+
else {
|
59 |
+
jQuery("#quotescollection-dialog").html(quotescollectionConfirm.dialogTextPlural);
|
60 |
+
}
|
61 |
+
|
62 |
+
jQuery("#quotescollection-dialog").dialog("open");
|
63 |
+
}
|
64 |
+
|
65 |
+
jQuery( "#doaction" ).click(function(event) {
|
66 |
+
if( 'bulk_delete' == jQuery('#bulk-action-selector-top option:selected').val() ) {
|
67 |
+
event.preventDefault();
|
68 |
+
quotescollectionConfirmBulkDelete();
|
69 |
+
}
|
70 |
+
});
|
71 |
+
jQuery( "#doaction2" ).click(function(event) {
|
72 |
+
if( 'bulk_delete' == jQuery('#bulk-action-selector-bottom option:selected').val() ) {
|
73 |
+
event.preventDefault();
|
74 |
+
quotescollectionConfirmBulkDelete();
|
75 |
+
}
|
76 |
+
});
|
js/quotes-collection.js
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
var quotescollectionInstances = [];
|
2 |
+
|
3 |
+
function quotescollectionRefresh(args) {
|
4 |
+
if(args.ajaxRefresh && !args.autoRefresh)
|
5 |
+
jQuery("#"+args.instanceID+" .nav-next").html(quotescollectionAjax.loading);
|
6 |
+
jQuery.ajax({
|
7 |
+
type: "POST",
|
8 |
+
url: quotescollectionAjax.ajaxUrl,
|
9 |
+
data: "action=quotescollection&_ajax_nonce="+quotescollectionAjax.nonce+"¤t="+args.currQuoteID+"&char_limit="+args.charLimit+"&tags="+args.tags+"&orderby="+args.orderBy,
|
10 |
+
success: function(response) {
|
11 |
+
if(response == '-1' || !response) {
|
12 |
+
if(args.ajaxRefresh && args.autoRefresh)
|
13 |
+
quotescollectionTimer(args);
|
14 |
+
else if(args.ajaxRefresh && !args.autoRefresh)
|
15 |
+
jQuery("#"+args.instanceID+" .nav-next").html('<a class=\"next-quote-link\" style=\"cursor:pointer;\" onclick=\"quotescollectionRefreshInstance(\''+args.instanceID+'\')\">'+quotescollectionAjax.nextQuote+'</a>');
|
16 |
+
}
|
17 |
+
else {
|
18 |
+
if(args.dynamicFetch) {
|
19 |
+
args.dynamicFetch = 0;
|
20 |
+
}
|
21 |
+
args.currQuoteID = response.quote_id;
|
22 |
+
quotescollectionInstances[args.instanceID] = args;
|
23 |
+
display = quotescollectionDisplayFormat(response, args);
|
24 |
+
jQuery("#"+args.instanceID).hide();
|
25 |
+
jQuery("#"+args.instanceID).html(display, args);
|
26 |
+
jQuery("#"+args.instanceID).fadeIn('slow');
|
27 |
+
if(args.ajaxRefresh && args.autoRefresh)
|
28 |
+
quotescollectionTimer(args);
|
29 |
+
}
|
30 |
+
},
|
31 |
+
error: function(xhr, textStatus, errorThrown) {
|
32 |
+
console.log(textStatus+' '+xhr.status+': '+errorThrown);
|
33 |
+
if(args.ajaxRefresh && !args.autoRefresh) {
|
34 |
+
jQuery("#"+args.instanceID+" .nav-next").html('<a class=\"next-quote-link\" style=\"cursor:pointer;\" onclick=\"quotescollectionRefreshInstance(\''+args.instanceID+'\')\">'+quotescollectionAjax.nextQuote+';</a>');
|
35 |
+
}
|
36 |
+
}
|
37 |
+
});
|
38 |
+
|
39 |
+
}
|
40 |
+
|
41 |
+
function quotescollectionDisplayFormat(quoteData, args) {
|
42 |
+
var display = "";
|
43 |
+
var attribution = "";
|
44 |
+
|
45 |
+
display += '<p>' + quoteData.quote + '</p>';
|
46 |
+
if( args.showAuthor && quoteData.author && quoteData.author != 'null' ) {
|
47 |
+
attribution = '<cite class=\"author\">' + quoteData.author + '</cite>';
|
48 |
+
}
|
49 |
+
if( args.showSource && quoteData.source && quoteData.source != 'null' ) {
|
50 |
+
if(attribution) attribution += ', ';
|
51 |
+
attribution += '<cite class=\"source title\">' + quoteData.source + '</cite>';
|
52 |
+
}
|
53 |
+
if(attribution) {
|
54 |
+
display += '<div class=\"attribution\">— ' + attribution + '</div>';
|
55 |
+
}
|
56 |
+
if(args.ajaxRefresh && !args.autoRefresh)
|
57 |
+
display += '<div class=\"navigation\"><div class=\"nav-next\"><a class=\"next-quote-link\" style=\"cursor:pointer;\" onclick=\"quotescollectionRefreshInstance(\''+args.instanceID+'\')\">'+quotescollectionAjax.nextQuote+'</a></div></div>';
|
58 |
+
return display;
|
59 |
+
}
|
60 |
+
|
61 |
+
function quotescollectionRefreshInstance(instanceID) {
|
62 |
+
quotescollectionRefresh(quotescollectionInstances[instanceID]);
|
63 |
+
}
|
64 |
+
|
65 |
+
function quotescollectionTimer(args) {
|
66 |
+
var timeInterval = args.autoRefresh * 1000;
|
67 |
+
var autoRefreshMax = Number(quotescollectionAjax.autoRefreshMax);
|
68 |
+
var autoRefreshCount = Number(quotescollectionAjax.autoRefreshCount);
|
69 |
+
if(!quotescollectionInstances[args.instanceID])
|
70 |
+
quotescollectionInstances[args.instanceID] = args;
|
71 |
+
if( (autoRefreshMax == 0) || (autoRefreshCount < autoRefreshMax) ) {
|
72 |
+
setTimeout("quotescollectionRefreshInstance('"+args.instanceID+"')", timeInterval);
|
73 |
+
quotescollectionAjax.autoRefreshCount = ++autoRefreshCount;
|
74 |
+
}
|
75 |
+
|
76 |
+
}
|
languages/quotes-collection-de_DE.mo
CHANGED
Binary file
|
languages/quotes-collection-de_DE.po
CHANGED
@@ -1,237 +1,508 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Quotes Collection
|
4 |
-
"Report-Msgid-Bugs-To:
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
-
"Language
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"Content-
|
12 |
-
"
|
13 |
-
"X-Poedit-
|
14 |
-
"X-
|
15 |
-
"X-
|
16 |
-
"X-
|
17 |
-
|
18 |
-
|
19 |
-
#: quotes-collection.php:
|
20 |
-
|
21 |
-
msgid "
|
22 |
-
msgstr "
|
23 |
-
|
24 |
-
#: quotes-collection.php:
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
#: quotes-collection.php:
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
#: quotes-collection.php:
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
#: quotes-collection.php:
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
#: quotes-collection.php:
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
#: quotes-collection.php:
|
128 |
-
|
129 |
-
msgid "
|
130 |
-
msgstr "
|
131 |
-
|
132 |
-
#: quotes-collection.php:
|
133 |
-
#: quotes-collection.php:
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
#: quotes-collection.php:
|
146 |
-
|
147 |
-
msgid "
|
148 |
-
msgstr "
|
149 |
-
|
150 |
-
#: quotes-collection.php:
|
151 |
-
|
152 |
-
msgid "
|
153 |
-
msgstr "
|
154 |
-
|
155 |
-
#: quotes-collection.php:
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
#: quotes-collection.php:
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
#: quotes-collection.php:
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
#: quotes-collection.php:
|
207 |
-
|
208 |
-
msgid "
|
209 |
-
msgstr "
|
210 |
-
|
211 |
-
#: quotes-collection.php:
|
212 |
-
msgid "
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
msgid "
|
225 |
-
msgstr "
|
226 |
-
|
227 |
-
#: quotes-collection.php:
|
228 |
-
msgid "
|
229 |
-
msgstr "
|
230 |
-
|
231 |
-
#: quotes-collection.php:
|
232 |
-
msgid "
|
233 |
-
msgstr "
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Quotes Collection 2.0\n"
|
4 |
+
"Report-Msgid-Bugs-To: s@srinig.com\n"
|
5 |
+
"POT-Creation-Date: 2015-04-14 12:23+0530\n"
|
6 |
+
"PO-Revision-Date: 2015-04-17 13:27+0200\n"
|
7 |
+
"Last-Translator: Tobias Koch <noreply@kochs-online.net>\n"
|
8 |
+
"Language: de_DE\n"
|
9 |
+
"Plural-Forms: nplurals=2; plural=n!=1\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
+
"X-Loco-Source-Locale: en\n"
|
15 |
+
"X-Loco-Parser: loco_parse_po\n"
|
16 |
+
"X-Loco-Target-Locale: de_DE\n"
|
17 |
+
"X-Generator: Loco - https://localise.biz/"
|
18 |
+
|
19 |
+
#: inc/class-quotes-collection-widget.php:17
|
20 |
+
msgctxt "widget name"
|
21 |
+
msgid "Random Quote"
|
22 |
+
msgstr "Zufälliges Zitat"
|
23 |
+
|
24 |
+
#: inc/class-quotes-collection-widget.php:18
|
25 |
+
msgctxt "widget description"
|
26 |
+
msgid "Random quote from your quotes collection"
|
27 |
+
msgstr "Zufälliges Zitat aus deiner Zitatesammlung"
|
28 |
+
|
29 |
+
#: inc/class-quotes-collection-widget.php:41
|
30 |
+
#: inc/class-quotes-collection-widget.php:83
|
31 |
+
#: inc/class-quotes-collection-widget.php:201
|
32 |
+
msgid "Random Quote"
|
33 |
+
msgstr "Zufälliges Zitat"
|
34 |
+
|
35 |
+
#: inc/class-quotes-collection-widget.php:114
|
36 |
+
msgid "Title"
|
37 |
+
msgstr "Titel"
|
38 |
+
|
39 |
+
#: inc/class-quotes-collection-widget.php:120
|
40 |
+
msgid "Show author?"
|
41 |
+
msgstr "Urheber anzeigen"
|
42 |
+
|
43 |
+
#: inc/class-quotes-collection-widget.php:125
|
44 |
+
msgid "Show source?"
|
45 |
+
msgstr "Quelle anzeigen?\n"
|
46 |
+
|
47 |
+
#: inc/class-quotes-collection-widget.php:130
|
48 |
+
msgid "Refresh feature"
|
49 |
+
msgstr "Aktualisierungsoption"
|
50 |
+
|
51 |
+
#: inc/class-quotes-collection-widget.php:133
|
52 |
+
msgid "Advanced options"
|
53 |
+
msgstr "Erweiterte Optionen"
|
54 |
+
|
55 |
+
#: inc/class-quotes-collection-widget.php:138
|
56 |
+
msgid "Random refresh"
|
57 |
+
msgstr "Zufällige Aktualisierung"
|
58 |
+
|
59 |
+
#: inc/class-quotes-collection-widget.php:139
|
60 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
61 |
+
msgstr ""
|
62 |
+
"Deaktivieren, um Zitate in der Reihenfolge anzuzeigen in der sie hinzugefügt "
|
63 |
+
"wurden (älteste zuerst)."
|
64 |
+
|
65 |
+
#: inc/class-quotes-collection-widget.php:144
|
66 |
+
msgid "Auto refresh"
|
67 |
+
msgstr "Automatisch aktualisieren"
|
68 |
+
|
69 |
+
#: inc/class-quotes-collection-widget.php:146
|
70 |
+
#, php-format
|
71 |
+
msgid "every %s sec"
|
72 |
+
msgstr "alle %s Sek"
|
73 |
+
|
74 |
+
#: inc/class-quotes-collection-widget.php:151
|
75 |
+
msgid "Tags filter"
|
76 |
+
msgstr "Schlagwortfilter\n"
|
77 |
+
|
78 |
+
#: inc/class-quotes-collection-widget.php:153
|
79 |
+
msgid "Comma separated"
|
80 |
+
msgstr "durch Kommata getrennt"
|
81 |
+
|
82 |
+
#: inc/class-quotes-collection-widget.php:157
|
83 |
+
msgid "Character limit"
|
84 |
+
msgstr "Zeichenbegrenzung"
|
85 |
+
|
86 |
+
#: inc/class-quotes-collection-widget.php:189
|
87 |
+
msgid "none"
|
88 |
+
msgstr "kein"
|
89 |
+
|
90 |
+
#: inc/class-quotes-collection.php:82
|
91 |
+
msgid "Loading..."
|
92 |
+
msgstr "Laden..."
|
93 |
+
|
94 |
+
#: inc/class-quotes-collection.php:83
|
95 |
+
msgid "Error getting quote"
|
96 |
+
msgstr "Fehler beim Laden des Zitats"
|
97 |
+
|
98 |
+
#: inc/class-quotes-collection.php:104
|
99 |
+
msgid "Next quote »"
|
100 |
+
msgstr "Nächstes Zitat »"
|
101 |
+
|
102 |
+
#: inc/class-quotes-collection-admin.php:73
|
103 |
+
#: inc/class-quotes-collection-admin.php:241
|
104 |
+
msgctxt "heading"
|
105 |
+
msgid "Add New Quote"
|
106 |
+
msgstr "Neues Zitat hinzufügen"
|
107 |
+
|
108 |
+
#: inc/class-quotes-collection-admin.php:74
|
109 |
+
#: inc/class-quotes-collection-admin.php:389
|
110 |
+
msgctxt "submenu item text"
|
111 |
+
msgid "Add New"
|
112 |
+
msgstr "Neu hinzufügen"
|
113 |
+
|
114 |
+
#: inc/class-quotes-collection-admin.php:84
|
115 |
+
#: inc/class-quotes-collection-admin.php:274
|
116 |
+
msgctxt "heading"
|
117 |
+
msgid "Import Quotes"
|
118 |
+
msgstr "Zitate importieren"
|
119 |
+
|
120 |
+
#: inc/class-quotes-collection-admin.php:85
|
121 |
+
#: inc/class-quotes-collection-admin.php:395
|
122 |
+
msgctxt "submenu item text"
|
123 |
+
msgid "Import"
|
124 |
+
msgstr "Import"
|
125 |
+
|
126 |
+
#: inc/class-quotes-collection-admin.php:95
|
127 |
+
#: inc/class-quotes-collection-admin.php:302
|
128 |
+
msgctxt "heading"
|
129 |
+
msgid "Export Quotes"
|
130 |
+
msgstr "Zitate exportieren"
|
131 |
+
|
132 |
+
#: inc/class-quotes-collection-admin.php:96
|
133 |
+
#: inc/class-quotes-collection-admin.php:398
|
134 |
+
msgctxt "submenu item text"
|
135 |
+
msgid "Export"
|
136 |
+
msgstr "Export"
|
137 |
+
|
138 |
+
#: inc/class-quotes-collection-admin.php:106
|
139 |
+
#: inc/class-quotes-collection-admin.php:362
|
140 |
+
msgctxt "heading"
|
141 |
+
msgid "Quotes Collection Options"
|
142 |
+
msgstr "Quotes Collection Optionen"
|
143 |
+
|
144 |
+
#: inc/class-quotes-collection-admin.php:107
|
145 |
+
#: inc/class-quotes-collection-admin.php:404
|
146 |
+
msgctxt "submenu item text"
|
147 |
+
msgid "Options"
|
148 |
+
msgstr "Optionen"
|
149 |
+
|
150 |
+
#: inc/class-quotes-collection-admin.php:116
|
151 |
+
msgctxt "submenu item text"
|
152 |
+
msgid "All Quotes"
|
153 |
+
msgstr "Alle Zitate"
|
154 |
+
|
155 |
+
#: inc/class-quotes-collection-admin.php:150
|
156 |
+
#: inc/class-quotes-collection-admin.php:474
|
157 |
+
#: inc/class-quotes-collection-admin.php:575
|
158 |
+
msgctxt "submit button text"
|
159 |
+
msgid "Save Changes"
|
160 |
+
msgstr "Änderungen sichern"
|
161 |
+
|
162 |
+
#: inc/class-quotes-collection-admin.php:157
|
163 |
+
#: inc/class-quotes-collection-admin.php:385
|
164 |
+
msgctxt "submenu item text"
|
165 |
+
msgid "Edit Quote"
|
166 |
+
msgstr "Zitat bearbeiten"
|
167 |
+
|
168 |
+
#: inc/class-quotes-collection-admin.php:188
|
169 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
170 |
+
msgid "All Quotes"
|
171 |
+
msgstr "Alle Zitate"
|
172 |
+
|
173 |
+
#: inc/class-quotes-collection-admin.php:193
|
174 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
175 |
+
msgid "Public"
|
176 |
+
msgstr "Öffentlich"
|
177 |
+
|
178 |
+
#: inc/class-quotes-collection-admin.php:198
|
179 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
180 |
+
msgid "Private"
|
181 |
+
msgstr "Privat"
|
182 |
+
|
183 |
+
#: inc/class-quotes-collection-admin.php:204
|
184 |
+
#, php-format
|
185 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
186 |
+
msgid "Search results for \"%s\""
|
187 |
+
msgstr "Suchergebnisse für \"%s\""
|
188 |
+
|
189 |
+
#: inc/class-quotes-collection-admin.php:220
|
190 |
+
msgid "Search"
|
191 |
+
msgstr "Suchen"
|
192 |
+
|
193 |
+
#: inc/class-quotes-collection-admin.php:255
|
194 |
+
msgid ""
|
195 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
196 |
+
"json) file to upload, then click the 'Import' button."
|
197 |
+
msgstr ""
|
198 |
+
"Suche und wähle eine <abbr title=\"JavaScript Object Notation\">JSON</abbr>-"
|
199 |
+
"Datei (.json) zum Hochladen, dann klicke auf die 'Import'-Schaltfläche."
|
200 |
+
|
201 |
+
#: inc/class-quotes-collection-admin.php:260
|
202 |
+
msgid "Choose a file to upload:"
|
203 |
+
msgstr "Datei zum Hochladen auswählen:"
|
204 |
+
|
205 |
+
#: inc/class-quotes-collection-admin.php:265
|
206 |
+
#: inc/class-quotes-collection-admin.php:588
|
207 |
+
msgctxt "submit button text"
|
208 |
+
msgid "Import"
|
209 |
+
msgstr "Import"
|
210 |
+
|
211 |
+
#: inc/class-quotes-collection-admin.php:287
|
212 |
+
msgid ""
|
213 |
+
"When you click the button below, a <abbr title=\"JavaScript Object "
|
214 |
+
"Notation\">JSON</abbr> file with the entire collection of quotes will be "
|
215 |
+
"created, that you can save to your computer."
|
216 |
+
msgstr ""
|
217 |
+
"Wenn du die Schaltfläche unten anklickst, wird eine <abbr title=\"JavaScript "
|
218 |
+
"Object Notation\">JSON</abbr>-Datei der gesamten Zitatesammlung erzeugt, die "
|
219 |
+
"du auf deinem Computer speichern kannst."
|
220 |
+
|
221 |
+
#: inc/class-quotes-collection-admin.php:292
|
222 |
+
#: inc/class-quotes-collection-admin.php:594
|
223 |
+
msgctxt "submit button text"
|
224 |
+
msgid "Export"
|
225 |
+
msgstr "Export"
|
226 |
+
|
227 |
+
#: inc/class-quotes-collection-admin.php:339
|
228 |
+
msgid "Refresh link text"
|
229 |
+
msgstr "Text für Aktualisieren-Link\n"
|
230 |
+
|
231 |
+
#: inc/class-quotes-collection-admin.php:343
|
232 |
+
msgid "Maximum number of iterations for auto-refresh"
|
233 |
+
msgstr "Maximale Anzahl der Durchläufe für Autoaktualisierung"
|
234 |
+
|
235 |
+
#: inc/class-quotes-collection-admin.php:347
|
236 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
237 |
+
msgstr "Dynamisch das erste zufällige Zitat im Widget ermitteln?"
|
238 |
+
|
239 |
+
#: inc/class-quotes-collection-admin.php:350
|
240 |
+
msgid ""
|
241 |
+
"Check this if your site is cached and the 'random quote' widget always shows "
|
242 |
+
"a particular quote as the initial quote."
|
243 |
+
msgstr ""
|
244 |
+
"Aktiviere dies, wenn deine Seite einen Cache verwendet und das 'Zufälliges "
|
245 |
+
"Zitat'-Widget jedes Mal ein bestimmtes Zitat als erstes Zitat anzeigt.\n"
|
246 |
+
|
247 |
+
#: inc/class-quotes-collection-admin.php:353
|
248 |
+
#: inc/class-quotes-collection-admin.php:600
|
249 |
+
msgctxt "submit button text"
|
250 |
+
msgid "Update Options"
|
251 |
+
msgstr "Optionen aktualisieren"
|
252 |
+
|
253 |
+
#: inc/class-quotes-collection-admin.php:381
|
254 |
+
msgid "All Quotes"
|
255 |
+
msgstr "Alle Zitate"
|
256 |
+
|
257 |
+
#: inc/class-quotes-collection-admin.php:457
|
258 |
+
#: inc/class-quotes-collection-admin.php:560
|
259 |
+
msgctxt "submit button text"
|
260 |
+
msgid "Add Quote"
|
261 |
+
msgstr "Zitat hinzufügen"
|
262 |
+
|
263 |
+
#: inc/class-quotes-collection-admin.php:486
|
264 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
265 |
+
msgid "Quote"
|
266 |
+
msgstr "Zitat"
|
267 |
+
|
268 |
+
#: inc/class-quotes-collection-admin.php:487
|
269 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
270 |
+
msgid "Author"
|
271 |
+
msgstr "Urheber"
|
272 |
+
|
273 |
+
#: inc/class-quotes-collection-admin.php:488
|
274 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
275 |
+
msgid "Source"
|
276 |
+
msgstr "Quelle"
|
277 |
+
|
278 |
+
#: inc/class-quotes-collection-admin.php:489
|
279 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
280 |
+
msgid "Tags"
|
281 |
+
msgstr "Tags"
|
282 |
+
|
283 |
+
#: inc/class-quotes-collection-admin.php:490
|
284 |
+
msgid "Public?"
|
285 |
+
msgstr "Öffentlich?"
|
286 |
+
|
287 |
+
#: inc/class-quotes-collection-admin.php:491
|
288 |
+
msgid "optional"
|
289 |
+
msgstr "optional"
|
290 |
+
|
291 |
+
#: inc/class-quotes-collection-admin.php:492
|
292 |
+
msgid "comma separated"
|
293 |
+
msgstr "durch Kommata getrennt"
|
294 |
+
|
295 |
+
#: inc/class-quotes-collection-admin.php:564
|
296 |
+
#: inc/class-quotes-collection-admin.php:579
|
297 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
298 |
+
msgstr ""
|
299 |
+
"Das Zitatfeld darf nicht leer sein. Fülle das Zitatfeld und versuche es "
|
300 |
+
"erneut."
|
301 |
+
|
302 |
+
#: inc/class-quotes-collection-admin.php:567
|
303 |
+
msgid "Quote added"
|
304 |
+
msgstr "Zitat hinzugefügt"
|
305 |
+
|
306 |
+
#: inc/class-quotes-collection-admin.php:570
|
307 |
+
msgid "Error adding quote"
|
308 |
+
msgstr "Fehler beim Hinzufügen des Zitats"
|
309 |
+
|
310 |
+
#: inc/class-quotes-collection-admin.php:582
|
311 |
+
msgid "Changes saved"
|
312 |
+
msgstr "Änderungen gespeichert"
|
313 |
+
|
314 |
+
#: inc/class-quotes-collection-admin.php:584
|
315 |
+
msgid "Error updating quote"
|
316 |
+
msgstr "Fehler beim Ändern des Zitats"
|
317 |
+
|
318 |
+
#: inc/class-quotes-collection-admin.php:614
|
319 |
+
msgid "Quote deleted"
|
320 |
+
msgstr "Zitat gelöscht"
|
321 |
+
|
322 |
+
#: inc/class-quotes-collection-admin.php:616
|
323 |
+
msgid "Error deleting quote"
|
324 |
+
msgstr "Fehler beim Löschen des Zitats"
|
325 |
+
|
326 |
+
#: inc/class-quotes-collection-admin.php:621
|
327 |
+
#: inc/class-quotes-collection-admin.php:635
|
328 |
+
#: inc/class-quotes-collection-admin.php:648
|
329 |
+
msgid "No item selected"
|
330 |
+
msgstr "Kein Eintrag ausgewählt"
|
331 |
+
|
332 |
+
#: inc/class-quotes-collection-admin.php:625
|
333 |
+
#, php-format
|
334 |
+
msgid "One quote deleted"
|
335 |
+
msgid_plural "%d quotes deleted"
|
336 |
+
msgstr[0] "Ein Zitat gelöscht"
|
337 |
+
msgstr[1] "%d Zitate gelöscht"
|
338 |
+
|
339 |
+
#: inc/class-quotes-collection-admin.php:629
|
340 |
+
msgid "Error deleting quotes"
|
341 |
+
msgstr "Fehler beim Löschen der Zitate"
|
342 |
+
|
343 |
+
#: inc/class-quotes-collection-admin.php:639
|
344 |
+
#, php-format
|
345 |
+
msgid "Quote made public"
|
346 |
+
msgid_plural "%d quotes made public"
|
347 |
+
msgstr[0] "Zitat veröffentlicht"
|
348 |
+
msgstr[1] "%d Zitate veröffentlicht"
|
349 |
+
|
350 |
+
#: inc/class-quotes-collection-admin.php:643
|
351 |
+
#: inc/class-quotes-collection-admin.php:656
|
352 |
+
msgid "Error. Privacy status not changed."
|
353 |
+
msgstr "Fehler. Sichtbarkeitsstatus nicht geändert."
|
354 |
+
|
355 |
+
#: inc/class-quotes-collection-admin.php:652
|
356 |
+
#, php-format
|
357 |
+
msgid "Quote kept private"
|
358 |
+
msgid_plural "%d quotes kept private"
|
359 |
+
msgstr[0] "Zitat privat gesetzt"
|
360 |
+
msgstr[1] "%d Zitate privat gesetzt"
|
361 |
+
|
362 |
+
#: inc/class-quotes-collection-admin.php:668
|
363 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
364 |
+
msgstr ""
|
365 |
+
"Wähle bitte eine Datei zum Hochladen bevor du die 'Import'-Schaltfläche "
|
366 |
+
"anklickst"
|
367 |
+
|
368 |
+
#: inc/class-quotes-collection-admin.php:674
|
369 |
+
msgid "Invalid file format"
|
370 |
+
msgstr "Ungültiges Dateiformat"
|
371 |
+
|
372 |
+
#: inc/class-quotes-collection-admin.php:680
|
373 |
+
msgid "The file you uploaded is too big. Import failed."
|
374 |
+
msgstr ""
|
375 |
+
"Die Datei, die du hochgeladen hast, ist zu groß. Der Import ist "
|
376 |
+
"fehlgeschlagen."
|
377 |
+
|
378 |
+
#: inc/class-quotes-collection-admin.php:688
|
379 |
+
msgid "The file uploaded was empty"
|
380 |
+
msgstr "Die hochgeladene Datei war leer"
|
381 |
+
|
382 |
+
#: inc/class-quotes-collection-admin.php:693
|
383 |
+
msgid "Error in JSON file"
|
384 |
+
msgstr "Fehler in JSON-Datei"
|
385 |
+
|
386 |
+
#: inc/class-quotes-collection-admin.php:701
|
387 |
+
#: inc/class-quotes-collection-admin.php:715
|
388 |
+
msgid "Import failed. Please try again."
|
389 |
+
msgstr "Import fehlgeschlagen. Bitte erneut versuchen."
|
390 |
+
|
391 |
+
#: inc/class-quotes-collection-admin.php:704
|
392 |
+
msgid "No quotes imported"
|
393 |
+
msgstr "Keine Zitate importiert"
|
394 |
+
|
395 |
+
#: inc/class-quotes-collection-admin.php:708
|
396 |
+
#, php-format
|
397 |
+
msgid "One quote imported"
|
398 |
+
msgid_plural "%d quotes imported"
|
399 |
+
msgstr[0] "Ein Zitat importiert"
|
400 |
+
msgstr[1] "%d Zitate importiert\n"
|
401 |
+
|
402 |
+
#: inc/class-quotes-collection-admin.php:728
|
403 |
+
msgid "Nothing to export"
|
404 |
+
msgstr "Nichts zum Exportieren"
|
405 |
+
|
406 |
+
#: inc/class-quotes-collection-admin.php:767
|
407 |
+
msgid "No change in values. Options not updated."
|
408 |
+
msgstr "Keine Änderung der Werte. Optionen wurden nicht geändert."
|
409 |
+
|
410 |
+
#: inc/class-quotes-collection-admin.php:772
|
411 |
+
msgid "Options updated"
|
412 |
+
msgstr "Optionen geändert"
|
413 |
+
|
414 |
+
#: inc/class-quotes-collection-admin.php:775
|
415 |
+
msgid "Options not updated"
|
416 |
+
msgstr "Optionen wurden nicht geändert"
|
417 |
+
|
418 |
+
#: inc/class-quotes-collection-admin.php:791
|
419 |
+
msgid "Maximum items"
|
420 |
+
msgstr "Maximale Anzahl"
|
421 |
+
|
422 |
+
#: inc/class-quotes-collection-admin.php:821
|
423 |
+
msgctxt "confirmation dialog title"
|
424 |
+
msgid "Delete?"
|
425 |
+
msgstr "Löschen?"
|
426 |
+
|
427 |
+
#: inc/class-quotes-collection-admin.php:822
|
428 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
429 |
+
msgid "Are you sure you want to delete this quote?"
|
430 |
+
msgstr "Bist du sicher, dass du dieses Zitat löschen möchtest?"
|
431 |
+
|
432 |
+
#: inc/class-quotes-collection-admin.php:823
|
433 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
434 |
+
msgid "Are you sure you want to delete these quotes?"
|
435 |
+
msgstr "Bist du sicher, dass du diese Zitate löschen möchtest?"
|
436 |
+
|
437 |
+
#: inc/class-quotes-collection-admin.php:824
|
438 |
+
msgctxt "confirmation dialog button text"
|
439 |
+
msgid "Yes"
|
440 |
+
msgstr "Ja\n"
|
441 |
+
|
442 |
+
#: inc/class-quotes-collection-admin.php:825
|
443 |
+
msgctxt "confirmation dialog button text"
|
444 |
+
msgid "No"
|
445 |
+
msgstr "Nein"
|
446 |
+
|
447 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
448 |
+
msgid "Go to the first page"
|
449 |
+
msgstr "Gehe zur ersten Seite"
|
450 |
+
|
451 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
452 |
+
msgid "Go to the previous page"
|
453 |
+
msgstr "Gehe zur vorherigen Seite"
|
454 |
+
|
455 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
456 |
+
msgid "Go to the next page"
|
457 |
+
msgstr "Gehe zur nächsten Seite"
|
458 |
+
|
459 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
460 |
+
msgid "Go to the last page"
|
461 |
+
msgstr "Gehe zur letzten Seite"
|
462 |
+
|
463 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
464 |
+
msgid "Goto page:"
|
465 |
+
msgstr "Gehe zu Seite:"
|
466 |
+
|
467 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
468 |
+
msgid "Edit"
|
469 |
+
msgstr "Bearbeiten"
|
470 |
+
|
471 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
472 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
473 |
+
msgid "Delete"
|
474 |
+
msgstr "Löschen"
|
475 |
+
|
476 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
477 |
+
msgctxt "date and time format"
|
478 |
+
msgid "Y/m/d h:i:s A"
|
479 |
+
msgstr "d.m.Y H:i:s"
|
480 |
+
|
481 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
482 |
+
msgctxt "date format"
|
483 |
+
msgid "Y/m/d"
|
484 |
+
msgstr "d.m.Y"
|
485 |
+
|
486 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
487 |
+
msgid "Private"
|
488 |
+
msgstr "Privat"
|
489 |
+
|
490 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
491 |
+
msgid "Public"
|
492 |
+
msgstr "Öffentlich"
|
493 |
+
|
494 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
495 |
+
msgid "ID"
|
496 |
+
msgstr "ID\n"
|
497 |
+
|
498 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
499 |
+
msgid "Date"
|
500 |
+
msgstr "Datum"
|
501 |
+
|
502 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
503 |
+
msgid "Make public"
|
504 |
+
msgstr "Veröffentlichen"
|
505 |
+
|
506 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
507 |
+
msgid "Keep private"
|
508 |
+
msgstr "Privat setzen"
|
languages/quotes-collection-fr_FR.mo
CHANGED
Binary file
|
languages/quotes-collection-fr_FR.po
CHANGED
@@ -1,327 +1,623 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Quotes Collection
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2008-04-22 22:08+0100\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: psykotik <psykotik@ikiru.ch>\n"
|
8 |
"Language-Team: www.ikiru.ch/blog <psykotik@ikiru.ch>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"Plural-Forms: nplurals=2; plural=n
|
13 |
-
"X-
|
14 |
-
"X-Poedit-Country: FRANCE\n"
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2
|
17 |
-
"X-
|
18 |
-
"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
-
"X-Textdomain-Support: yes"
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
msgid "Next quote"
|
25 |
-
msgstr "Citation suivante"
|
26 |
-
|
27 |
-
#: quotes-collection.php:88
|
28 |
-
#@ quotes-collection
|
29 |
msgid "Loading..."
|
30 |
msgstr "Chargement..."
|
31 |
|
32 |
-
|
33 |
-
|
34 |
msgid "Error getting quote"
|
35 |
msgstr "Erreur d'obtention de la citation"
|
36 |
|
37 |
-
|
38 |
-
#: quotes-collection.php:
|
39 |
-
|
|
|
40 |
msgid "Random Quote"
|
41 |
msgstr "Citation au hasard"
|
42 |
|
43 |
-
|
44 |
-
|
45 |
msgid "Title"
|
46 |
msgstr "Titre"
|
47 |
|
48 |
-
|
49 |
-
|
50 |
msgid "Show author?"
|
51 |
msgstr "Montrer l'auteur ?"
|
52 |
|
53 |
-
|
54 |
-
|
55 |
msgid "Show source?"
|
56 |
msgstr "Montrer la source ?"
|
57 |
|
58 |
-
|
59 |
-
|
60 |
-
msgid "Ajax refresh feature"
|
61 |
-
msgstr "Composant Ajax de mise à jour"
|
62 |
-
|
63 |
-
#: quotes-collection.php:335
|
64 |
-
#@ quotes-collection
|
65 |
-
msgid "Nothing added to the database."
|
66 |
-
msgstr "Rien n'a été ajouté à la base."
|
67 |
-
|
68 |
-
#: quotes-collection.php:363
|
69 |
-
#: quotes-collection.php:405
|
70 |
-
#: quotes-collection.php:419
|
71 |
-
#@ quotes-collection
|
72 |
-
msgid "There was an error in the MySQL query"
|
73 |
-
msgstr "Erreur dans le requête MySQL"
|
74 |
-
|
75 |
-
#: quotes-collection.php:365
|
76 |
-
#@ quotes-collection
|
77 |
msgid "Quote added"
|
78 |
msgstr "Citation ajoutêe"
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
msgid "Quote not updated."
|
83 |
-
msgstr "Citation pas mise à jour."
|
84 |
-
|
85 |
-
#: quotes-collection.php:407
|
86 |
-
#@ quotes-collection
|
87 |
msgid "Changes saved"
|
88 |
msgstr "Changements sauvegardés"
|
89 |
|
90 |
-
|
91 |
-
|
92 |
msgid "Quote deleted"
|
93 |
msgstr "Citation effacée"
|
94 |
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
msgstr "La citation ne peut être effacée"
|
99 |
-
|
100 |
-
#: quotes-collection.php:439
|
101 |
-
#: quotes-collection.php:536
|
102 |
-
#@ quotes-collection
|
103 |
-
msgid "Add Quote"
|
104 |
-
msgstr "Ajouter citation"
|
105 |
-
|
106 |
-
#: quotes-collection.php:455
|
107 |
-
#: quotes-collection.php:540
|
108 |
-
#@ quotes-collection
|
109 |
-
msgid "Save changes"
|
110 |
-
msgstr "Sauvegarder les changements"
|
111 |
-
|
112 |
-
#: quotes-collection.php:456
|
113 |
-
#@ quotes-collection
|
114 |
-
msgid "Back"
|
115 |
-
msgstr "Retour"
|
116 |
-
|
117 |
-
#: quotes-collection.php:460
|
118 |
-
#: quotes-collection.php:646
|
119 |
-
#@ quotes-collection
|
120 |
-
msgid "The quote"
|
121 |
-
msgstr "La citation"
|
122 |
-
|
123 |
-
#: quotes-collection.php:461
|
124 |
-
#: quotes-collection.php:629
|
125 |
-
#: quotes-collection.php:648
|
126 |
-
#@ quotes-collection
|
127 |
msgid "Author"
|
128 |
msgstr "Auteur"
|
129 |
|
130 |
-
|
131 |
-
#: quotes-collection.php:
|
132 |
-
#: quotes-collection.php:
|
133 |
-
#@ quotes-collection
|
134 |
msgid "Source"
|
135 |
msgstr "Source"
|
136 |
|
137 |
-
|
138 |
-
#: quotes-collection.php:
|
139 |
-
|
140 |
msgid "Tags"
|
141 |
-
msgstr "Mots-clé"
|
142 |
|
143 |
-
|
144 |
-
|
145 |
msgid "optional"
|
146 |
msgstr "optionnel"
|
147 |
|
148 |
-
|
149 |
-
|
150 |
msgid "comma separated"
|
151 |
msgstr "séparé par des virgules"
|
152 |
|
153 |
-
|
154 |
-
#: quotes-collection.php:
|
155 |
-
|
156 |
-
msgid "Nothing done!"
|
157 |
-
msgstr "Rien n'a été fait !"
|
158 |
-
|
159 |
-
#: quotes-collection.php:524
|
160 |
-
#@ quotes-collection
|
161 |
-
msgid "Quote(s) deleted"
|
162 |
-
msgstr "Citation(s) effacée(s)"
|
163 |
-
|
164 |
-
#: quotes-collection.php:545
|
165 |
-
#@ quotes-collection
|
166 |
-
msgid "Edit quote"
|
167 |
-
msgstr "Editer la citation"
|
168 |
-
|
169 |
-
#: quotes-collection.php:555
|
170 |
-
#: quotes-collection.php:606
|
171 |
-
#: quotes-collection.php:621
|
172 |
-
#: quotes-collection.php:660
|
173 |
-
#@ quotes-collection
|
174 |
msgid "Delete"
|
175 |
msgstr "Effacer"
|
176 |
|
177 |
-
|
178 |
-
#: quotes-collection.php:
|
179 |
-
#@ quotes-collection
|
180 |
-
msgid "Add new quote"
|
181 |
-
msgstr "Ajouter une nouvelle citation"
|
182 |
-
|
183 |
-
#: quotes-collection.php:605
|
184 |
-
#@ quotes-collection
|
185 |
msgid "Edit"
|
186 |
msgstr "Editer"
|
187 |
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
msgstr "Etes vous sûr de vouloir effacer cette citation ?"
|
192 |
-
|
193 |
-
#: quotes-collection.php:625
|
194 |
-
#@ quotes-collection
|
195 |
-
msgid "Sort by: "
|
196 |
-
msgstr "Trier par :"
|
197 |
-
|
198 |
-
#: quotes-collection.php:627
|
199 |
-
#: quotes-collection.php:628
|
200 |
-
#@ quotes-collection
|
201 |
msgid "Quote"
|
202 |
msgstr "Citation"
|
203 |
|
204 |
-
|
205 |
-
|
206 |
-
msgid "Date added"
|
207 |
-
msgstr "Date d'ajout"
|
208 |
-
|
209 |
-
#: quotes-collection.php:632
|
210 |
-
#@ quotes-collection
|
211 |
-
msgid "Date updated"
|
212 |
-
msgstr "Date de mise à jour"
|
213 |
-
|
214 |
-
#: quotes-collection.php:633
|
215 |
-
#@ quotes-collection
|
216 |
-
msgid "Visibility"
|
217 |
-
msgstr "Visibilité"
|
218 |
-
|
219 |
-
#: quotes-collection.php:636
|
220 |
-
#@ quotes-collection
|
221 |
-
msgid "Go"
|
222 |
-
msgstr "Aller"
|
223 |
-
|
224 |
-
#: quotes-collection.php:652
|
225 |
-
#@ quotes-collection
|
226 |
-
msgid "Action"
|
227 |
-
msgstr "Action"
|
228 |
-
|
229 |
-
#: quotes-collection.php:671
|
230 |
-
#@ quotes-collection
|
231 |
-
msgid "No quotes in the database"
|
232 |
-
msgstr "Aucune citation dans la base"
|
233 |
-
|
234 |
-
#: quotes-collection.php:613
|
235 |
-
#, php-format
|
236 |
-
#@ quotes-collection
|
237 |
-
msgid "Currently, you have %d quote."
|
238 |
-
msgid_plural "Currently, you have %d quotes."
|
239 |
-
msgstr[0] "Actuellement, vous avez %d citation."
|
240 |
-
msgstr[1] "Actuellement, vous avez %d citations."
|
241 |
-
|
242 |
-
#: quotes-collection.php:315
|
243 |
-
#@ quotes-collection
|
244 |
msgid "Tags filter"
|
245 |
msgstr "Filtre de tags"
|
246 |
|
247 |
-
|
248 |
-
|
249 |
msgid "Comma separated"
|
250 |
msgstr "Séparé par virgule"
|
251 |
|
252 |
-
|
253 |
-
|
254 |
msgid "Character limit"
|
255 |
-
msgstr "Limite des
|
256 |
|
257 |
-
|
258 |
-
|
259 |
msgid "none"
|
260 |
msgstr "aucun"
|
261 |
|
262 |
-
|
263 |
-
|
264 |
msgid "Advanced options"
|
265 |
msgstr "Options avancées"
|
266 |
|
267 |
-
|
268 |
-
|
269 |
msgid "Random refresh"
|
270 |
msgstr "Rafraîchir aléatoirement"
|
271 |
|
272 |
-
|
273 |
-
|
274 |
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
275 |
-
msgstr "Décocher cette option va faire
|
276 |
|
277 |
-
|
278 |
-
|
279 |
msgid "Auto refresh"
|
280 |
msgstr "Rafraîchir automatiquement"
|
281 |
|
282 |
-
|
283 |
-
|
284 |
-
msgid "every"
|
285 |
-
msgstr "toutes les "
|
286 |
-
|
287 |
-
#: quotes-collection.php:314
|
288 |
-
#@ quotes-collection
|
289 |
-
msgid "sec"
|
290 |
-
msgstr "sec."
|
291 |
-
|
292 |
-
#: quotes-collection.php:339
|
293 |
-
#: quotes-collection.php:376
|
294 |
-
#@ quotes-collection
|
295 |
-
msgid "Database table not found"
|
296 |
-
msgstr "Aucune table n'a été trouvée dans la base de données."
|
297 |
-
|
298 |
-
#: quotes-collection.php:464
|
299 |
-
#: quotes-collection.php:651
|
300 |
-
#@ quotes-collection
|
301 |
msgid "Public?"
|
302 |
msgstr "Public?"
|
303 |
|
304 |
-
|
305 |
-
|
306 |
-
msgid "Selected quotes made public"
|
307 |
-
msgstr "Les citations sélectionnées sont maintenant visibles par tous."
|
308 |
-
|
309 |
-
#: quotes-collection.php:513
|
310 |
-
#@ quotes-collection
|
311 |
-
msgid "Selected quotes made private"
|
312 |
-
msgstr "Les citations sélectionnées ne sont désormais visible que par vous."
|
313 |
-
|
314 |
-
#: quotes-collection.php:557
|
315 |
-
#: quotes-collection.php:622
|
316 |
-
#: quotes-collection.php:661
|
317 |
-
#@ quotes-collection
|
318 |
msgid "Make public"
|
319 |
msgstr "Rendre public"
|
320 |
|
321 |
-
|
322 |
-
#: quotes-collection.php:
|
323 |
-
#: quotes-collection.php:662
|
324 |
-
#@ quotes-collection
|
325 |
msgid "Keep private"
|
326 |
msgstr "Garder privé"
|
327 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Quotes Collection v2.0 beta\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2008-04-22 22:08+0100\n"
|
6 |
+
"PO-Revision-Date: 2015-04-16 23:01+0100\n"
|
7 |
"Last-Translator: psykotik <psykotik@ikiru.ch>\n"
|
8 |
"Language-Team: www.ikiru.ch/blog <psykotik@ikiru.ch>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n>1;\n"
|
13 |
+
"X-Generator: Poedit 1.7.5\n"
|
|
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
16 |
+
"X-Textdomain-Support: yes\n"
|
17 |
+
"Language: fr_FR\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
|
|
19 |
|
20 |
+
# @ quotes-collection
|
21 |
+
#: inc/class-quotes-collection.php:82
|
|
|
|
|
|
|
|
|
|
|
22 |
msgid "Loading..."
|
23 |
msgstr "Chargement..."
|
24 |
|
25 |
+
# @ quotes-collection
|
26 |
+
#: inc/class-quotes-collection.php:83
|
27 |
msgid "Error getting quote"
|
28 |
msgstr "Erreur d'obtention de la citation"
|
29 |
|
30 |
+
# @ quotes-collection
|
31 |
+
#: inc/class-quotes-collection-widget.php:41
|
32 |
+
#: inc/class-quotes-collection-widget.php:83
|
33 |
+
#: inc/class-quotes-collection-widget.php:201
|
34 |
msgid "Random Quote"
|
35 |
msgstr "Citation au hasard"
|
36 |
|
37 |
+
# @ quotes-collection
|
38 |
+
#: inc/class-quotes-collection-widget.php:114
|
39 |
msgid "Title"
|
40 |
msgstr "Titre"
|
41 |
|
42 |
+
# @ quotes-collection
|
43 |
+
#: inc/class-quotes-collection-widget.php:120
|
44 |
msgid "Show author?"
|
45 |
msgstr "Montrer l'auteur ?"
|
46 |
|
47 |
+
# @ quotes-collection
|
48 |
+
#: inc/class-quotes-collection-widget.php:125
|
49 |
msgid "Show source?"
|
50 |
msgstr "Montrer la source ?"
|
51 |
|
52 |
+
# @ quotes-collection
|
53 |
+
#: inc/class-quotes-collection-admin.php:567
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
msgid "Quote added"
|
55 |
msgstr "Citation ajoutêe"
|
56 |
|
57 |
+
# @ quotes-collection
|
58 |
+
#: inc/class-quotes-collection-admin.php:582
|
|
|
|
|
|
|
|
|
|
|
59 |
msgid "Changes saved"
|
60 |
msgstr "Changements sauvegardés"
|
61 |
|
62 |
+
# @ quotes-collection
|
63 |
+
#: inc/class-quotes-collection-admin.php:614
|
64 |
msgid "Quote deleted"
|
65 |
msgstr "Citation effacée"
|
66 |
|
67 |
+
# @ quotes-collection
|
68 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
69 |
+
#: inc/class-quotes-collection-admin.php:487
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
msgid "Author"
|
71 |
msgstr "Auteur"
|
72 |
|
73 |
+
# @ quotes-collection
|
74 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
75 |
+
#: inc/class-quotes-collection-admin.php:488
|
|
|
76 |
msgid "Source"
|
77 |
msgstr "Source"
|
78 |
|
79 |
+
# @ quotes-collection
|
80 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
81 |
+
#: inc/class-quotes-collection-admin.php:489
|
82 |
msgid "Tags"
|
83 |
+
msgstr "Mots-clés"
|
84 |
|
85 |
+
# @ quotes-collection
|
86 |
+
#: inc/class-quotes-collection-admin.php:491
|
87 |
msgid "optional"
|
88 |
msgstr "optionnel"
|
89 |
|
90 |
+
# @ quotes-collection
|
91 |
+
#: inc/class-quotes-collection-admin.php:492
|
92 |
msgid "comma separated"
|
93 |
msgstr "séparé par des virgules"
|
94 |
|
95 |
+
# @ quotes-collection
|
96 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
97 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
msgid "Delete"
|
99 |
msgstr "Effacer"
|
100 |
|
101 |
+
# @ quotes-collection
|
102 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
msgid "Edit"
|
104 |
msgstr "Editer"
|
105 |
|
106 |
+
# @ quotes-collection
|
107 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
108 |
+
#: inc/class-quotes-collection-admin.php:486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
msgid "Quote"
|
110 |
msgstr "Citation"
|
111 |
|
112 |
+
# @ quotes-collection
|
113 |
+
#: inc/class-quotes-collection-widget.php:151
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
msgid "Tags filter"
|
115 |
msgstr "Filtre de tags"
|
116 |
|
117 |
+
# @ quotes-collection
|
118 |
+
#: inc/class-quotes-collection-widget.php:153
|
119 |
msgid "Comma separated"
|
120 |
msgstr "Séparé par virgule"
|
121 |
|
122 |
+
# @ quotes-collection
|
123 |
+
#: inc/class-quotes-collection-widget.php:157
|
124 |
msgid "Character limit"
|
125 |
+
msgstr "Limite des caractères"
|
126 |
|
127 |
+
# @ quotes-collection
|
128 |
+
#: inc/class-quotes-collection-widget.php:189
|
129 |
msgid "none"
|
130 |
msgstr "aucun"
|
131 |
|
132 |
+
# @ quotes-collection
|
133 |
+
#: inc/class-quotes-collection-widget.php:133
|
134 |
msgid "Advanced options"
|
135 |
msgstr "Options avancées"
|
136 |
|
137 |
+
# @ quotes-collection
|
138 |
+
#: inc/class-quotes-collection-widget.php:138
|
139 |
msgid "Random refresh"
|
140 |
msgstr "Rafraîchir aléatoirement"
|
141 |
|
142 |
+
# @ quotes-collection
|
143 |
+
#: inc/class-quotes-collection-widget.php:139
|
144 |
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
145 |
+
msgstr "Décocher cette option va faire défiler les citations dans l'ordre d'ajout, les dernières en premier."
|
146 |
|
147 |
+
# @ quotes-collection
|
148 |
+
#: inc/class-quotes-collection-widget.php:144
|
149 |
msgid "Auto refresh"
|
150 |
msgstr "Rafraîchir automatiquement"
|
151 |
|
152 |
+
# @ quotes-collection
|
153 |
+
#: inc/class-quotes-collection-admin.php:490
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
msgid "Public?"
|
155 |
msgstr "Public?"
|
156 |
|
157 |
+
# @ quotes-collection
|
158 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
msgid "Make public"
|
160 |
msgstr "Rendre public"
|
161 |
|
162 |
+
# @ quotes-collection
|
163 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
|
|
|
|
164 |
msgid "Keep private"
|
165 |
msgstr "Garder privé"
|
166 |
|
167 |
+
# @ quotes-collection
|
168 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
169 |
+
msgctxt "date and time format"
|
170 |
+
msgid "Y/m/d h:i:s A"
|
171 |
+
msgstr "d/m/Y H:i:s"
|
172 |
+
|
173 |
+
# @ quotes-collection
|
174 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
175 |
+
msgctxt "date format"
|
176 |
+
msgid "Y/m/d"
|
177 |
+
msgstr "d/m/Y"
|
178 |
+
|
179 |
+
# @ quotes-collection
|
180 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
181 |
+
msgid "Private"
|
182 |
+
msgstr "Privé"
|
183 |
+
|
184 |
+
# @ quotes-collection
|
185 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
186 |
+
msgid "Public"
|
187 |
+
msgstr "Public"
|
188 |
+
|
189 |
+
# @ quotes-collection
|
190 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
191 |
+
msgid "ID"
|
192 |
+
msgstr "ID"
|
193 |
+
|
194 |
+
# @ quotes-collection
|
195 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
196 |
+
msgid "Date"
|
197 |
+
msgstr "Date"
|
198 |
+
|
199 |
+
# @ quotes-collection
|
200 |
+
#: inc/class-quotes-collection-admin.php:73
|
201 |
+
#: inc/class-quotes-collection-admin.php:241
|
202 |
+
msgctxt "heading"
|
203 |
+
msgid "Add New Quote"
|
204 |
+
msgstr "Ajouter une nouvelle citation"
|
205 |
+
|
206 |
+
# @ quotes-collection
|
207 |
+
#: inc/class-quotes-collection-admin.php:74
|
208 |
+
#: inc/class-quotes-collection-admin.php:389
|
209 |
+
msgctxt "submenu item text"
|
210 |
+
msgid "Add New"
|
211 |
+
msgstr "Nouveau"
|
212 |
+
|
213 |
+
# @ quotes-collection
|
214 |
+
#: inc/class-quotes-collection-admin.php:84
|
215 |
+
#: inc/class-quotes-collection-admin.php:274
|
216 |
+
msgctxt "heading"
|
217 |
+
msgid "Import Quotes"
|
218 |
+
msgstr "Importer des citations"
|
219 |
+
|
220 |
+
# @ quotes-collection
|
221 |
+
#: inc/class-quotes-collection-admin.php:85
|
222 |
+
#: inc/class-quotes-collection-admin.php:395
|
223 |
+
msgctxt "submenu item text"
|
224 |
+
msgid "Import"
|
225 |
+
msgstr "Importer"
|
226 |
+
|
227 |
+
# @ quotes-collection
|
228 |
+
#: inc/class-quotes-collection-admin.php:95
|
229 |
+
#: inc/class-quotes-collection-admin.php:302
|
230 |
+
msgctxt "heading"
|
231 |
+
msgid "Export Quotes"
|
232 |
+
msgstr "Exporter les citations"
|
233 |
+
|
234 |
+
# @ quotes-collection
|
235 |
+
#: inc/class-quotes-collection-admin.php:96
|
236 |
+
#: inc/class-quotes-collection-admin.php:398
|
237 |
+
msgctxt "submenu item text"
|
238 |
+
msgid "Export"
|
239 |
+
msgstr "Exporter"
|
240 |
+
|
241 |
+
# @ quotes-collection
|
242 |
+
#: inc/class-quotes-collection-admin.php:106
|
243 |
+
#: inc/class-quotes-collection-admin.php:362
|
244 |
+
msgctxt "heading"
|
245 |
+
msgid "Quotes Collection Options"
|
246 |
+
msgstr "Quotes collections : Options "
|
247 |
+
|
248 |
+
# @ quotes-collection
|
249 |
+
#: inc/class-quotes-collection-admin.php:107
|
250 |
+
#: inc/class-quotes-collection-admin.php:404
|
251 |
+
msgctxt "submenu item text"
|
252 |
+
msgid "Options"
|
253 |
+
msgstr "Options"
|
254 |
+
|
255 |
+
# @ quotes-collection
|
256 |
+
#: inc/class-quotes-collection-admin.php:116
|
257 |
+
msgctxt "submenu item text"
|
258 |
+
msgid "All Quotes"
|
259 |
+
msgstr "Toutes les citations"
|
260 |
+
|
261 |
+
# @ quotes-collection
|
262 |
+
#: inc/class-quotes-collection-admin.php:150
|
263 |
+
#: inc/class-quotes-collection-admin.php:474
|
264 |
+
#: inc/class-quotes-collection-admin.php:575
|
265 |
+
msgctxt "submit button text"
|
266 |
+
msgid "Save Changes"
|
267 |
+
msgstr "Sauvegarder les changements"
|
268 |
+
|
269 |
+
# @ quotes-collection
|
270 |
+
#: inc/class-quotes-collection-admin.php:157
|
271 |
+
#: inc/class-quotes-collection-admin.php:385
|
272 |
+
msgctxt "submenu item text"
|
273 |
+
msgid "Edit Quote"
|
274 |
+
msgstr "Modifier la citation"
|
275 |
+
|
276 |
+
# @ quotes-collection
|
277 |
+
#: inc/class-quotes-collection-admin.php:188
|
278 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
279 |
+
msgid "All Quotes"
|
280 |
+
msgstr "Toutes les citations"
|
281 |
+
|
282 |
+
# @ quotes-collection
|
283 |
+
#: inc/class-quotes-collection-admin.php:193
|
284 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
285 |
+
msgid "Public"
|
286 |
+
msgstr "Public"
|
287 |
+
|
288 |
+
# @ quotes-collection
|
289 |
+
#: inc/class-quotes-collection-admin.php:198
|
290 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
291 |
+
msgid "Private"
|
292 |
+
msgstr "Privé"
|
293 |
+
|
294 |
+
# @ quotes-collection
|
295 |
+
#: inc/class-quotes-collection-admin.php:204
|
296 |
+
#, php-format
|
297 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
298 |
+
msgid "Search results for \"%s\""
|
299 |
+
msgstr "Résultats de recherche pour \"%s\""
|
300 |
+
|
301 |
+
# @ quotes-collection
|
302 |
+
#: inc/class-quotes-collection-admin.php:220
|
303 |
+
msgid "Search"
|
304 |
+
msgstr "Recherche"
|
305 |
+
|
306 |
+
# @ quotes-collection
|
307 |
+
#: inc/class-quotes-collection-admin.php:255
|
308 |
+
msgid "Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (.json) file to upload, then click the 'Import' button."
|
309 |
+
msgstr "Depuis votre ordinateur, cherchez un fichier <abbr title=\"JavaScript Object Notation\">JSON</abbr> (.json) à importer, puis cliquez sur le bouton \\\"Importer\\\"."
|
310 |
+
|
311 |
+
# @ quotes-collection
|
312 |
+
#: inc/class-quotes-collection-admin.php:260
|
313 |
+
msgid "Choose a file to upload:"
|
314 |
+
msgstr "Choisir un fichier à importer :"
|
315 |
+
|
316 |
+
# @ quotes-collection
|
317 |
+
#: inc/class-quotes-collection-admin.php:265
|
318 |
+
#: inc/class-quotes-collection-admin.php:588
|
319 |
+
msgctxt "submit button text"
|
320 |
+
msgid "Import"
|
321 |
+
msgstr "Importer"
|
322 |
+
|
323 |
+
# @ quotes-collection
|
324 |
+
#: inc/class-quotes-collection-admin.php:287
|
325 |
+
msgid "When you click the button below, a <abbr title=\"JavaScript Object Notation\">JSON</abbr> file with the entire collection of quotes will be created, that you can save to your computer."
|
326 |
+
msgstr "En cliquant sur ce bouton, un fichier <abbr title=\"JavaScript Object Notation\">JSON</abbr> (.json) contenant l'intégralité de vos citations va être créé. Vous pouvez sauvegarder ce fichier sur votre ordinateur."
|
327 |
+
|
328 |
+
# @ quotes-collection
|
329 |
+
#: inc/class-quotes-collection-admin.php:292
|
330 |
+
#: inc/class-quotes-collection-admin.php:594
|
331 |
+
msgctxt "submit button text"
|
332 |
+
msgid "Export"
|
333 |
+
msgstr "Exporter"
|
334 |
+
|
335 |
+
# @ quotes-collection
|
336 |
+
#: inc/class-quotes-collection-admin.php:339
|
337 |
+
msgid "Refresh link text"
|
338 |
+
msgstr "Actualiser le texte du lien"
|
339 |
+
|
340 |
+
# @ quotes-collection
|
341 |
+
#: inc/class-quotes-collection-admin.php:343
|
342 |
+
msgid "Maximum number of iterations for auto-refresh"
|
343 |
+
msgstr "Nombre maximum d'itérations pour l’auto-rafraichissement"
|
344 |
+
|
345 |
+
# @ quotes-collection
|
346 |
+
#: inc/class-quotes-collection-admin.php:347
|
347 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
348 |
+
msgstr "Afficher de façon dynamique la première citation aléatoire dans le widget?"
|
349 |
+
|
350 |
+
# @ quotes-collection
|
351 |
+
#: inc/class-quotes-collection-admin.php:350
|
352 |
+
msgid "Check this if your site is cached and the 'random quote' widget always shows a particular quote as the initial quote."
|
353 |
+
msgstr "Cochez cette option si votre site dispose d'un système de cache et si le widget \\\"Citation aléatoire\\\" affiche toujours la même première citation."
|
354 |
+
|
355 |
+
# @ quotes-collection
|
356 |
+
#: inc/class-quotes-collection-admin.php:353
|
357 |
+
#: inc/class-quotes-collection-admin.php:600
|
358 |
+
msgctxt "submit button text"
|
359 |
+
msgid "Update Options"
|
360 |
+
msgstr "Mettre à jour les options"
|
361 |
+
|
362 |
+
# @ quotes-collection
|
363 |
+
#: inc/class-quotes-collection-admin.php:381
|
364 |
+
msgid "All Quotes"
|
365 |
+
msgstr "Toutes les citations"
|
366 |
+
|
367 |
+
# @ quotes-collection
|
368 |
+
#: inc/class-quotes-collection-admin.php:457
|
369 |
+
#: inc/class-quotes-collection-admin.php:560
|
370 |
+
msgctxt "submit button text"
|
371 |
+
msgid "Add Quote"
|
372 |
+
msgstr "Ajouter une citation"
|
373 |
+
|
374 |
+
# @ quotes-collection
|
375 |
+
#: inc/class-quotes-collection-admin.php:564
|
376 |
+
#: inc/class-quotes-collection-admin.php:579
|
377 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
378 |
+
msgstr "Ce champ ne peut pas être vide."
|
379 |
+
|
380 |
+
# @ quotes-collection
|
381 |
+
#: inc/class-quotes-collection-admin.php:570
|
382 |
+
msgid "Error adding quote"
|
383 |
+
msgstr "Une erreur s'est produite lors de l'ajout de la citation."
|
384 |
+
|
385 |
+
# @ quotes-collection
|
386 |
+
#: inc/class-quotes-collection-admin.php:584
|
387 |
+
msgid "Error updating quote"
|
388 |
+
msgstr "Une erreur s'est produite lors de la mise à jour de la citation"
|
389 |
+
|
390 |
+
# @ quotes-collection
|
391 |
+
#: inc/class-quotes-collection-admin.php:616
|
392 |
+
msgid "Error deleting quote"
|
393 |
+
msgstr "Une erreur s'est produite lors de la suppression de la citation"
|
394 |
+
|
395 |
+
# @ quotes-collection
|
396 |
+
#: inc/class-quotes-collection-admin.php:621
|
397 |
+
#: inc/class-quotes-collection-admin.php:635
|
398 |
+
#: inc/class-quotes-collection-admin.php:648
|
399 |
+
msgid "No item selected"
|
400 |
+
msgstr "Aucun élément sélectionné"
|
401 |
+
|
402 |
+
# @ quotes-collection
|
403 |
+
#: inc/class-quotes-collection-admin.php:625
|
404 |
+
#, php-format
|
405 |
+
msgid "One quote deleted"
|
406 |
+
msgid_plural "%d quotes deleted"
|
407 |
+
msgstr[0] "Une citation supprimée"
|
408 |
+
msgstr[1] "%d citations supprimées"
|
409 |
+
|
410 |
+
# @ quotes-collection
|
411 |
+
#: inc/class-quotes-collection-admin.php:629
|
412 |
+
msgid "Error deleting quotes"
|
413 |
+
msgstr "Une erreur s'est produite lors de la suppression des citations"
|
414 |
+
|
415 |
+
# @ quotes-collection
|
416 |
+
#: inc/class-quotes-collection-admin.php:639
|
417 |
+
#, php-format
|
418 |
+
msgid "Quote made public"
|
419 |
+
msgid_plural "%d quotes made public"
|
420 |
+
msgstr[0] "La citation a été rendue publique"
|
421 |
+
msgstr[1] "%d ont été rendues publiques"
|
422 |
+
|
423 |
+
# @ quotes-collection
|
424 |
+
#: inc/class-quotes-collection-admin.php:643
|
425 |
+
#: inc/class-quotes-collection-admin.php:656
|
426 |
+
msgid "Error. Privacy status not changed."
|
427 |
+
msgstr "Erreur. Les statuts n'ont pas pu être changés."
|
428 |
+
|
429 |
+
# @ quotes-collection
|
430 |
+
#: inc/class-quotes-collection-admin.php:652
|
431 |
+
#, php-format
|
432 |
+
msgid "Quote kept private"
|
433 |
+
msgid_plural "%d quotes kept private"
|
434 |
+
msgstr[0] "La citation est devenue privée"
|
435 |
+
msgstr[1] "%d citations devenues privées"
|
436 |
+
|
437 |
+
# @ quotes-collection
|
438 |
+
#: inc/class-quotes-collection-admin.php:668
|
439 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
440 |
+
msgstr "Merci de choisir un fichier avant de cliquer sur le bouton \\\"Importer\\\""
|
441 |
+
|
442 |
+
# @ quotes-collection
|
443 |
+
#: inc/class-quotes-collection-admin.php:674
|
444 |
+
msgid "Invalid file format"
|
445 |
+
msgstr "Type de fichier non valide"
|
446 |
+
|
447 |
+
# @ quotes-collection
|
448 |
+
#: inc/class-quotes-collection-admin.php:680
|
449 |
+
msgid "The file you uploaded is too big. Import failed."
|
450 |
+
msgstr "Echec de l'import. Votre fichier est trop volumineux. "
|
451 |
+
|
452 |
+
# @ quotes-collection
|
453 |
+
#: inc/class-quotes-collection-admin.php:688
|
454 |
+
msgid "The file uploaded was empty"
|
455 |
+
msgstr "Le fichier importé est vide"
|
456 |
+
|
457 |
+
# @ quotes-collection
|
458 |
+
#: inc/class-quotes-collection-admin.php:693
|
459 |
+
msgid "Error in JSON file"
|
460 |
+
msgstr "Erreur dans le fichier JSON"
|
461 |
+
|
462 |
+
# @ quotes-collection
|
463 |
+
#: inc/class-quotes-collection-admin.php:701
|
464 |
+
#: inc/class-quotes-collection-admin.php:715
|
465 |
+
msgid "Import failed. Please try again."
|
466 |
+
msgstr "L'import à échoué. Veuillez réessayer."
|
467 |
+
|
468 |
+
# @ quotes-collection
|
469 |
+
#: inc/class-quotes-collection-admin.php:704
|
470 |
+
msgid "No quotes imported"
|
471 |
+
msgstr "Aucune citation importée."
|
472 |
+
|
473 |
+
# @ quotes-collection
|
474 |
+
#: inc/class-quotes-collection-admin.php:708
|
475 |
+
#, php-format
|
476 |
+
msgid "One quote imported"
|
477 |
+
msgid_plural "%d quotes imported"
|
478 |
+
msgstr[0] "Une citation importée"
|
479 |
+
msgstr[1] "%d citation importées"
|
480 |
+
|
481 |
+
# @ quotes-collection
|
482 |
+
#: inc/class-quotes-collection-admin.php:728
|
483 |
+
msgid "Nothing to export"
|
484 |
+
msgstr "Contenu à exporter inexistant"
|
485 |
+
|
486 |
+
# @ quotes-collection
|
487 |
+
#: inc/class-quotes-collection-admin.php:767
|
488 |
+
msgid "No change in values. Options not updated."
|
489 |
+
msgstr "Les options n'ont pas été mises à jour car aucun changement n'a été effectué."
|
490 |
+
|
491 |
+
# @ quotes-collection
|
492 |
+
#: inc/class-quotes-collection-admin.php:772
|
493 |
+
msgid "Options updated"
|
494 |
+
msgstr "Options mises à jour."
|
495 |
+
|
496 |
+
# @ quotes-collection
|
497 |
+
#: inc/class-quotes-collection-admin.php:775
|
498 |
+
msgid "Options not updated"
|
499 |
+
msgstr "Les options n'ont pas pu être mises à jour."
|
500 |
+
|
501 |
+
# @ quotes-collection
|
502 |
+
#: inc/class-quotes-collection-admin.php:791
|
503 |
+
msgid "Maximum items"
|
504 |
+
msgstr "Nombre d'éléments maximum"
|
505 |
+
|
506 |
+
# @ quotes-collection
|
507 |
+
#: inc/class-quotes-collection-admin.php:821
|
508 |
+
msgctxt "confirmation dialog title"
|
509 |
+
msgid "Delete?"
|
510 |
+
msgstr "Supprimer?"
|
511 |
+
|
512 |
+
# @ quotes-collection
|
513 |
+
#: inc/class-quotes-collection-admin.php:822
|
514 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
515 |
+
msgid "Are you sure you want to delete this quote?"
|
516 |
+
msgstr "Etes-vous sûr de vouloir supprimer cette citation?"
|
517 |
+
|
518 |
+
# @ quotes-collection
|
519 |
+
#: inc/class-quotes-collection-admin.php:823
|
520 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
521 |
+
msgid "Are you sure you want to delete these quotes?"
|
522 |
+
msgstr "Etes-vous sûr de vouloir supprimer ces citations?"
|
523 |
+
|
524 |
+
# @ quotes-collection
|
525 |
+
#: inc/class-quotes-collection-admin.php:824
|
526 |
+
msgctxt "confirmation dialog button text"
|
527 |
+
msgid "Yes"
|
528 |
+
msgstr "Oui"
|
529 |
+
|
530 |
+
# @ quotes-collection
|
531 |
+
#: inc/class-quotes-collection-admin.php:825
|
532 |
+
msgctxt "confirmation dialog button text"
|
533 |
+
msgid "No"
|
534 |
+
msgstr "Non"
|
535 |
+
|
536 |
+
# @ quotes-collection
|
537 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
538 |
+
msgid "Go to the first page"
|
539 |
+
msgstr "Première page"
|
540 |
+
|
541 |
+
# @ quotes-collection
|
542 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
543 |
+
msgid "Go to the previous page"
|
544 |
+
msgstr "Page précédente"
|
545 |
+
|
546 |
+
# @ quotes-collection
|
547 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
548 |
+
msgid "Go to the next page"
|
549 |
+
msgstr "Page suivante"
|
550 |
+
|
551 |
+
# @ quotes-collection
|
552 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
553 |
+
msgid "Go to the last page"
|
554 |
+
msgstr "Dernière page"
|
555 |
+
|
556 |
+
# @ quotes-collection
|
557 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
558 |
+
msgid "Goto page:"
|
559 |
+
msgstr "Se rendre à la page :"
|
560 |
+
|
561 |
+
# @ quotes-collection
|
562 |
+
#: inc/class-quotes-collection-widget.php:17
|
563 |
+
msgctxt "widget name"
|
564 |
+
msgid "Random Quote"
|
565 |
+
msgstr "Citation aléatoire"
|
566 |
+
|
567 |
+
# @ quotes-collection
|
568 |
+
#: inc/class-quotes-collection-widget.php:18
|
569 |
+
msgctxt "widget description"
|
570 |
+
msgid "Random quote from your quotes collection"
|
571 |
+
msgstr "Citation aléatoire depuis votre collection"
|
572 |
+
|
573 |
+
# @ quotes-collection
|
574 |
+
#: inc/class-quotes-collection-widget.php:130
|
575 |
+
msgid "Refresh feature"
|
576 |
+
msgstr "Fonction Actualiser"
|
577 |
+
|
578 |
+
# @ quotes-collection
|
579 |
+
#: inc/class-quotes-collection-widget.php:146
|
580 |
+
#, php-format
|
581 |
+
msgid "every %s sec"
|
582 |
+
msgstr "toutes les %s secondes"
|
583 |
+
|
584 |
+
# @ quotes-collection
|
585 |
+
#: inc/class-quotes-collection.php:104
|
586 |
+
msgid "Next quote »"
|
587 |
+
msgstr "Prochaine citation »"
|
588 |
+
|
589 |
+
# @ quotes-collection
|
590 |
+
#. translators: plugin header field 'Name'
|
591 |
+
#: quotes-collection.php:0
|
592 |
+
msgid "Quotes Collection"
|
593 |
+
msgstr "Collections de citations"
|
594 |
+
|
595 |
+
# @ quotes-collection
|
596 |
+
#. translators: plugin header field 'PluginURI'
|
597 |
+
#: quotes-collection.php:0
|
598 |
+
msgid "http://srinig.com/wordpress/plugins/quotes-collection/"
|
599 |
+
msgstr "http://srinig.com/wordpress/plugins/quotes-collection/"
|
600 |
+
|
601 |
+
# @ quotes-collection
|
602 |
+
#. translators: plugin header field 'Description'
|
603 |
+
#: quotes-collection.php:0
|
604 |
+
msgid "Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress blog/website."
|
605 |
+
msgstr "L'extension Quotes Collection (collections de citation) avec le widget Ajax \\\"Citation aléatoire\\\" vous aide à collecter et afficher vos citations favorites sur votre site/blog WordPress."
|
606 |
+
|
607 |
+
# @ quotes-collection
|
608 |
+
#. translators: plugin header field 'Author'
|
609 |
+
#: quotes-collection.php:0
|
610 |
+
msgid "Srini G"
|
611 |
+
msgstr "Srini G"
|
612 |
+
|
613 |
+
# @ quotes-collection
|
614 |
+
#. translators: plugin header field 'AuthorURI'
|
615 |
+
#: quotes-collection.php:0
|
616 |
+
msgid "http://srinig.com/"
|
617 |
+
msgstr "http://srinig.com/"
|
618 |
+
|
619 |
+
# @ quotes-collection
|
620 |
+
#. translators: plugin header field 'Version'
|
621 |
+
#: quotes-collection.php:0
|
622 |
+
msgid "2.0 beta"
|
623 |
+
msgstr "2.0 beta"
|
languages/quotes-collection-he_IL.mo
CHANGED
Binary file
|
languages/quotes-collection-he_IL.po
CHANGED
@@ -1,301 +1,627 @@
|
|
1 |
-
# Quotes Collection plugin for WordPress: Localization template.
|
2 |
-
# Copyright (C) 2011 Srini G
|
3 |
-
# This file is distributed under the same license as the Quotes Collection package.
|
4 |
-
# Srini G <srinig.com@gmail.com>, 2011.
|
5 |
-
#
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
-
"Project-Id-Version: Quotes Collection
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
|
10 |
"POT-Creation-Date: 2011-06-30 13:32+0530\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: Tailor Vijay <tailor.vj@gmail.com>\n"
|
13 |
"Language-Team: Tailor Vijay <tailor.vj@gmail.com>\n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=utf-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
-
"Plural-Forms: nplurals=2; plural=
|
|
|
18 |
"X-Poedit-Language: Hebrew\n"
|
19 |
"X-Poedit-Country: ISRAEL\n"
|
20 |
"X-Poedit-SourceCharset: utf-8\n"
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
#: quotes-collection
|
|
|
28 |
msgid "Loading..."
|
29 |
msgstr "טוען..."
|
30 |
|
31 |
-
#: quotes-collection
|
|
|
32 |
msgid "Error getting quote"
|
33 |
msgstr "שגיאה בטעינת הציטוט"
|
34 |
|
35 |
-
#: quotes-collection.php:
|
|
|
36 |
msgid "Go to the first page"
|
37 |
msgstr "עבור לעמוד הראשון"
|
38 |
|
39 |
-
#: quotes-collection.php:
|
|
|
40 |
msgid "Go to the previous page"
|
41 |
msgstr "עבור לעמוד הקודם"
|
42 |
|
43 |
-
#: quotes-collection.php:
|
|
|
44 |
msgid "Go to the next page"
|
45 |
msgstr "עבור לעמוד הבא"
|
46 |
|
47 |
-
#: quotes-collection.php:
|
|
|
48 |
msgid "Go to the last page"
|
49 |
msgstr "עבור לעמוד האחרון"
|
50 |
|
51 |
-
#: quotes-collection.php:
|
|
|
52 |
msgid "Goto page:"
|
53 |
msgstr "עבור לעמוד מספר:"
|
54 |
|
55 |
-
#: quotes-collection-admin.php:
|
56 |
-
|
57 |
-
msgstr "לא נוספו ערכים למסד הנתונים."
|
58 |
-
|
59 |
-
#: quotes-collection-admin.php:18
|
60 |
-
#: quotes-collection-admin.php:55
|
61 |
-
msgid "Database table not found"
|
62 |
-
msgstr "לא ניתן לאתר את הטבלה במסד הנתונים"
|
63 |
-
|
64 |
-
#: quotes-collection-admin.php:42
|
65 |
-
#: quotes-collection-admin.php:84
|
66 |
-
#: quotes-collection-admin.php:98
|
67 |
-
msgid "There was an error in the MySQL query"
|
68 |
-
msgstr "שגיאה בחיפוש במסד הנתונים"
|
69 |
-
|
70 |
-
#: quotes-collection-admin.php:44
|
71 |
msgid "Quote added"
|
72 |
msgstr "הציטוט נוסף"
|
73 |
|
74 |
-
#: quotes-collection-admin.php:
|
75 |
-
|
76 |
-
msgstr "הציטוט לא עודכן."
|
77 |
-
|
78 |
-
#: quotes-collection-admin.php:86
|
79 |
msgid "Changes saved"
|
80 |
msgstr "השינויים נשמרו"
|
81 |
|
82 |
-
#: quotes-collection-admin.php:
|
|
|
83 |
msgid "Quote deleted"
|
84 |
msgstr "הציטוט נמחק"
|
85 |
|
86 |
-
#: quotes-collection-admin.php:
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
#: quotes-collection-admin.php:118
|
91 |
-
#: quotes-collection-admin.php:220
|
92 |
-
msgid "Add Quote"
|
93 |
-
msgstr "הוסף ציטוט"
|
94 |
-
|
95 |
-
#: quotes-collection-admin.php:135
|
96 |
-
#: quotes-collection-admin.php:224
|
97 |
-
msgid "Save changes"
|
98 |
-
msgstr "שמור שינויים"
|
99 |
-
|
100 |
-
#: quotes-collection-admin.php:136
|
101 |
-
msgid "Back"
|
102 |
-
msgstr "חזרה"
|
103 |
-
|
104 |
-
#: quotes-collection-admin.php:140
|
105 |
-
#: quotes-collection-admin.php:386
|
106 |
-
msgid "The quote"
|
107 |
-
msgstr "הציטוט"
|
108 |
-
|
109 |
-
#: quotes-collection-admin.php:141
|
110 |
-
#: quotes-collection-admin.php:368
|
111 |
-
#: quotes-collection-admin.php:388
|
112 |
msgid "Author"
|
113 |
msgstr "כותב"
|
114 |
|
115 |
-
#: quotes-collection-admin.php:
|
116 |
-
#: quotes-collection-admin.php:
|
117 |
-
|
118 |
msgid "Source"
|
119 |
msgstr "מקור"
|
120 |
|
121 |
-
#: quotes-collection-admin.php:
|
122 |
-
#: quotes-collection-admin.php:
|
|
|
123 |
msgid "Tags"
|
124 |
msgstr "תגיות"
|
125 |
|
126 |
-
#: quotes-collection-admin.php:
|
127 |
-
|
128 |
msgid "Public?"
|
129 |
msgstr "ציבורי?"
|
130 |
|
131 |
-
#: quotes-collection-admin.php:
|
|
|
132 |
msgid "optional"
|
133 |
msgstr "אופציונלי"
|
134 |
|
135 |
-
#: quotes-collection-admin.php:
|
|
|
136 |
msgid "comma separated"
|
137 |
msgstr "מופרד בפסיקים"
|
138 |
|
139 |
-
#: quotes-collection-admin.php:
|
140 |
-
|
141 |
-
msgid "Nothing done!"
|
142 |
-
msgstr "לא בוצע דבר!"
|
143 |
-
|
144 |
-
#: quotes-collection-admin.php:191
|
145 |
-
msgid "Selected quotes made public"
|
146 |
-
msgstr "הציטוטים שנבחרו פורסמו"
|
147 |
-
|
148 |
-
#: quotes-collection-admin.php:193
|
149 |
-
msgid "Selected quotes made private"
|
150 |
-
msgstr "הציטוטים שנבחרו הוגדרו כפרטיים"
|
151 |
-
|
152 |
-
#: quotes-collection-admin.php:204
|
153 |
-
msgid "Quote(s) deleted"
|
154 |
-
msgstr "ציטוטים נמחקו"
|
155 |
-
|
156 |
-
#: quotes-collection-admin.php:231
|
157 |
-
msgid "Edit quote"
|
158 |
-
msgstr "ערוץ ציטוט"
|
159 |
-
|
160 |
-
#: quotes-collection-admin.php:258
|
161 |
-
#: quotes-collection-admin.php:267
|
162 |
-
#: quotes-collection-admin.php:412
|
163 |
-
msgid "Add new quote"
|
164 |
-
msgstr "הוסף ציטוט חדש"
|
165 |
-
|
166 |
-
#: quotes-collection-admin.php:263
|
167 |
-
#: quotes-collection-admin.php:406
|
168 |
-
msgid "No quotes in the database"
|
169 |
-
msgstr "אין ציטוטים במסד הנתונים"
|
170 |
-
|
171 |
-
#: quotes-collection-admin.php:337
|
172 |
msgid "Edit"
|
173 |
msgstr "ערוך"
|
174 |
|
175 |
-
#: quotes-collection-admin.php:
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
#: quotes-collection-admin.php:337
|
180 |
-
#: quotes-collection-admin.php:358
|
181 |
msgid "Delete"
|
182 |
msgstr "מחק"
|
183 |
|
184 |
-
#: quotes-collection-admin.php:
|
185 |
-
|
186 |
-
msgstr "לא"
|
187 |
-
|
188 |
-
#: quotes-collection-admin.php:345
|
189 |
-
msgid "Yes"
|
190 |
-
msgstr "כן"
|
191 |
-
|
192 |
-
#: quotes-collection-admin.php:357
|
193 |
-
msgid "Bulk Actions"
|
194 |
-
msgstr "בחירה מרובה"
|
195 |
-
|
196 |
-
#: quotes-collection-admin.php:359
|
197 |
msgid "Make public"
|
198 |
msgstr "הפוך לציבורי"
|
199 |
|
200 |
-
#: quotes-collection-admin.php:
|
|
|
201 |
msgid "Keep private"
|
202 |
msgstr "השאר כפרטי"
|
203 |
|
204 |
-
#: quotes-collection-admin.php:
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
#: quotes-collection-admin.php:364
|
209 |
-
msgid "Sort by: "
|
210 |
-
msgstr "מיין לפי:"
|
211 |
-
|
212 |
-
#: quotes-collection-admin.php:366
|
213 |
-
#: quotes-collection-admin.php:367
|
214 |
msgid "Quote"
|
215 |
msgstr "ציטוט"
|
216 |
|
217 |
-
#: quotes-collection-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
#: quotes-collection-admin.php:371
|
222 |
-
msgid "Date updated"
|
223 |
-
msgstr "תאריך עדכון"
|
224 |
-
|
225 |
-
#: quotes-collection-admin.php:372
|
226 |
-
msgid "Visibility"
|
227 |
-
msgstr "ניראות"
|
228 |
-
|
229 |
-
#: quotes-collection-admin.php:375
|
230 |
-
msgid "Go"
|
231 |
-
msgstr "קדימה"
|
232 |
-
|
233 |
-
#: quotes-collection-admin.php:377
|
234 |
-
#: quotes-collection-admin.php:397
|
235 |
-
#, php-format
|
236 |
-
msgid "%d quote"
|
237 |
-
msgid_plural "%d quotes"
|
238 |
-
msgstr[0] "%d ציטוט"
|
239 |
-
msgstr[1] "%d ציטוטים"
|
240 |
-
|
241 |
-
#: quotes-collection-widget.php:13
|
242 |
-
#: quotes-collection-widget.php:38
|
243 |
msgid "Random Quote"
|
244 |
msgstr "ציטוט אקראי"
|
245 |
|
246 |
-
#: quotes-collection-widget.php:
|
|
|
247 |
msgid "none"
|
248 |
msgstr "ריק"
|
249 |
|
250 |
-
#: quotes-collection-widget.php:
|
|
|
251 |
msgid "Title"
|
252 |
msgstr "כותרת"
|
253 |
|
254 |
-
#: quotes-collection-widget.php:
|
|
|
255 |
msgid "Show author?"
|
256 |
msgstr "הצג כותב"
|
257 |
|
258 |
-
#: quotes-collection-widget.php:
|
|
|
259 |
msgid "Show source?"
|
260 |
msgstr "הצג מקור"
|
261 |
|
262 |
-
#: quotes-collection-widget.php:
|
263 |
-
|
264 |
-
msgstr "תכונת עדכון תצוגה דינאמי"
|
265 |
-
|
266 |
-
#: quotes-collection-widget.php:88
|
267 |
msgid "Advanced options"
|
268 |
msgstr "אפשרויות מתקדמות"
|
269 |
|
270 |
-
#: quotes-collection-widget.php:
|
|
|
271 |
msgid "Random refresh"
|
272 |
msgstr "עדכון רנדומלי"
|
273 |
|
274 |
-
#: quotes-collection-widget.php:
|
|
|
275 |
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
276 |
msgstr "סימון אפשרות זו יגרום לציטוטים להופיע לפי סדר ההוספה מהאחרון לראשון."
|
277 |
|
278 |
-
#: quotes-collection-widget.php:
|
|
|
279 |
msgid "Auto refresh"
|
280 |
msgstr "עדכון תצוגה אוטומטי"
|
281 |
|
282 |
-
#: quotes-collection-widget.php:
|
283 |
-
|
284 |
-
msgstr "כל"
|
285 |
-
|
286 |
-
#: quotes-collection-widget.php:91
|
287 |
-
msgid "sec"
|
288 |
-
msgstr "שניות"
|
289 |
-
|
290 |
-
#: quotes-collection-widget.php:92
|
291 |
msgid "Tags filter"
|
292 |
msgstr "מסנן תגיות"
|
293 |
|
294 |
-
#: quotes-collection-widget.php:
|
|
|
295 |
msgid "Comma separated"
|
296 |
msgstr "מופרד בפסיקים"
|
297 |
|
298 |
-
#: quotes-collection-widget.php:
|
|
|
299 |
msgid "Character limit"
|
300 |
msgstr "מספר תווים מקסימלי"
|
301 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Quotes Collection v2.0 beta\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
|
5 |
"POT-Creation-Date: 2011-06-30 13:32+0530\n"
|
6 |
+
"PO-Revision-Date: 2015-04-14 23:37:08+0000\n"
|
7 |
"Last-Translator: Tailor Vijay <tailor.vj@gmail.com>\n"
|
8 |
"Language-Team: Tailor Vijay <tailor.vj@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Generator: CSL v1.x\n"
|
14 |
"X-Poedit-Language: Hebrew\n"
|
15 |
"X-Poedit-Country: ISRAEL\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
18 |
+
"X-Poedit-Basepath: \n"
|
19 |
+
"X-Poedit-Bookmarks: \n"
|
20 |
+
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
"X-Textdomain-Support: yes"
|
22 |
+
|
23 |
+
#: inc/class-quotes-collection.php:82
|
24 |
+
#@ quotes-collection
|
25 |
msgid "Loading..."
|
26 |
msgstr "טוען..."
|
27 |
|
28 |
+
#: inc/class-quotes-collection.php:83
|
29 |
+
#@ quotes-collection
|
30 |
msgid "Error getting quote"
|
31 |
msgstr "שגיאה בטעינת הציטוט"
|
32 |
|
33 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
34 |
+
#@ quotes-collection
|
35 |
msgid "Go to the first page"
|
36 |
msgstr "עבור לעמוד הראשון"
|
37 |
|
38 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
39 |
+
#@ quotes-collection
|
40 |
msgid "Go to the previous page"
|
41 |
msgstr "עבור לעמוד הקודם"
|
42 |
|
43 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
44 |
+
#@ quotes-collection
|
45 |
msgid "Go to the next page"
|
46 |
msgstr "עבור לעמוד הבא"
|
47 |
|
48 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
49 |
+
#@ quotes-collection
|
50 |
msgid "Go to the last page"
|
51 |
msgstr "עבור לעמוד האחרון"
|
52 |
|
53 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
54 |
+
#@ quotes-collection
|
55 |
msgid "Goto page:"
|
56 |
msgstr "עבור לעמוד מספר:"
|
57 |
|
58 |
+
#: inc/class-quotes-collection-admin.php:567
|
59 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
msgid "Quote added"
|
61 |
msgstr "הציטוט נוסף"
|
62 |
|
63 |
+
#: inc/class-quotes-collection-admin.php:582
|
64 |
+
#@ quotes-collection
|
|
|
|
|
|
|
65 |
msgid "Changes saved"
|
66 |
msgstr "השינויים נשמרו"
|
67 |
|
68 |
+
#: inc/class-quotes-collection-admin.php:614
|
69 |
+
#@ quotes-collection
|
70 |
msgid "Quote deleted"
|
71 |
msgstr "הציטוט נמחק"
|
72 |
|
73 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
74 |
+
#: inc/class-quotes-collection-admin.php:487
|
75 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
msgid "Author"
|
77 |
msgstr "כותב"
|
78 |
|
79 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
80 |
+
#: inc/class-quotes-collection-admin.php:488
|
81 |
+
#@ quotes-collection
|
82 |
msgid "Source"
|
83 |
msgstr "מקור"
|
84 |
|
85 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
86 |
+
#: inc/class-quotes-collection-admin.php:489
|
87 |
+
#@ quotes-collection
|
88 |
msgid "Tags"
|
89 |
msgstr "תגיות"
|
90 |
|
91 |
+
#: inc/class-quotes-collection-admin.php:490
|
92 |
+
#@ quotes-collection
|
93 |
msgid "Public?"
|
94 |
msgstr "ציבורי?"
|
95 |
|
96 |
+
#: inc/class-quotes-collection-admin.php:491
|
97 |
+
#@ quotes-collection
|
98 |
msgid "optional"
|
99 |
msgstr "אופציונלי"
|
100 |
|
101 |
+
#: inc/class-quotes-collection-admin.php:492
|
102 |
+
#@ quotes-collection
|
103 |
msgid "comma separated"
|
104 |
msgstr "מופרד בפסיקים"
|
105 |
|
106 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
107 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
msgid "Edit"
|
109 |
msgstr "ערוך"
|
110 |
|
111 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
112 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
113 |
+
#@ quotes-collection
|
|
|
|
|
|
|
114 |
msgid "Delete"
|
115 |
msgstr "מחק"
|
116 |
|
117 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
118 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
msgid "Make public"
|
120 |
msgstr "הפוך לציבורי"
|
121 |
|
122 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
123 |
+
#@ quotes-collection
|
124 |
msgid "Keep private"
|
125 |
msgstr "השאר כפרטי"
|
126 |
|
127 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
128 |
+
#: inc/class-quotes-collection-admin.php:486
|
129 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
msgid "Quote"
|
131 |
msgstr "ציטוט"
|
132 |
|
133 |
+
#: inc/class-quotes-collection-widget.php:41
|
134 |
+
#: inc/class-quotes-collection-widget.php:83
|
135 |
+
#: inc/class-quotes-collection-widget.php:201
|
136 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
msgid "Random Quote"
|
138 |
msgstr "ציטוט אקראי"
|
139 |
|
140 |
+
#: inc/class-quotes-collection-widget.php:189
|
141 |
+
#@ quotes-collection
|
142 |
msgid "none"
|
143 |
msgstr "ריק"
|
144 |
|
145 |
+
#: inc/class-quotes-collection-widget.php:114
|
146 |
+
#@ quotes-collection
|
147 |
msgid "Title"
|
148 |
msgstr "כותרת"
|
149 |
|
150 |
+
#: inc/class-quotes-collection-widget.php:120
|
151 |
+
#@ quotes-collection
|
152 |
msgid "Show author?"
|
153 |
msgstr "הצג כותב"
|
154 |
|
155 |
+
#: inc/class-quotes-collection-widget.php:125
|
156 |
+
#@ quotes-collection
|
157 |
msgid "Show source?"
|
158 |
msgstr "הצג מקור"
|
159 |
|
160 |
+
#: inc/class-quotes-collection-widget.php:133
|
161 |
+
#@ quotes-collection
|
|
|
|
|
|
|
162 |
msgid "Advanced options"
|
163 |
msgstr "אפשרויות מתקדמות"
|
164 |
|
165 |
+
#: inc/class-quotes-collection-widget.php:138
|
166 |
+
#@ quotes-collection
|
167 |
msgid "Random refresh"
|
168 |
msgstr "עדכון רנדומלי"
|
169 |
|
170 |
+
#: inc/class-quotes-collection-widget.php:139
|
171 |
+
#@ quotes-collection
|
172 |
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
173 |
msgstr "סימון אפשרות זו יגרום לציטוטים להופיע לפי סדר ההוספה מהאחרון לראשון."
|
174 |
|
175 |
+
#: inc/class-quotes-collection-widget.php:144
|
176 |
+
#@ quotes-collection
|
177 |
msgid "Auto refresh"
|
178 |
msgstr "עדכון תצוגה אוטומטי"
|
179 |
|
180 |
+
#: inc/class-quotes-collection-widget.php:151
|
181 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
msgid "Tags filter"
|
183 |
msgstr "מסנן תגיות"
|
184 |
|
185 |
+
#: inc/class-quotes-collection-widget.php:153
|
186 |
+
#@ quotes-collection
|
187 |
msgid "Comma separated"
|
188 |
msgstr "מופרד בפסיקים"
|
189 |
|
190 |
+
#: inc/class-quotes-collection-widget.php:157
|
191 |
+
#@ quotes-collection
|
192 |
msgid "Character limit"
|
193 |
msgstr "מספר תווים מקסימלי"
|
194 |
|
195 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
196 |
+
#@ quotes-collection
|
197 |
+
msgctxt "date and time format"
|
198 |
+
msgid "Y/m/d h:i:s A"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
202 |
+
#@ quotes-collection
|
203 |
+
msgctxt "date format"
|
204 |
+
msgid "Y/m/d"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
208 |
+
#@ quotes-collection
|
209 |
+
msgid "Private"
|
210 |
+
msgstr "פרטי"
|
211 |
+
|
212 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
213 |
+
#@ quotes-collection
|
214 |
+
msgid "Public"
|
215 |
+
msgstr "ציבורי"
|
216 |
+
|
217 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
218 |
+
#@ quotes-collection
|
219 |
+
msgid "ID"
|
220 |
+
msgstr "מזהה"
|
221 |
+
|
222 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
223 |
+
#@ quotes-collection
|
224 |
+
msgid "Date"
|
225 |
+
msgstr "תאריך"
|
226 |
+
|
227 |
+
#: inc/class-quotes-collection-admin.php:73
|
228 |
+
#: inc/class-quotes-collection-admin.php:241
|
229 |
+
#@ quotes-collection
|
230 |
+
msgctxt "heading"
|
231 |
+
msgid "Add New Quote"
|
232 |
+
msgstr "הוסף ציטוט חדש"
|
233 |
+
|
234 |
+
#: inc/class-quotes-collection-admin.php:74
|
235 |
+
#: inc/class-quotes-collection-admin.php:389
|
236 |
+
#@ quotes-collection
|
237 |
+
msgctxt "submenu item text"
|
238 |
+
msgid "Add New"
|
239 |
+
msgstr "הוסף חדש"
|
240 |
+
|
241 |
+
#: inc/class-quotes-collection-admin.php:84
|
242 |
+
#: inc/class-quotes-collection-admin.php:274
|
243 |
+
#@ quotes-collection
|
244 |
+
msgctxt "heading"
|
245 |
+
msgid "Import Quotes"
|
246 |
+
msgstr "ייבוא ציטוטים"
|
247 |
+
|
248 |
+
#: inc/class-quotes-collection-admin.php:85
|
249 |
+
#: inc/class-quotes-collection-admin.php:395
|
250 |
+
#@ quotes-collection
|
251 |
+
msgctxt "submenu item text"
|
252 |
+
msgid "Import"
|
253 |
+
msgstr "ייבוא"
|
254 |
+
|
255 |
+
#: inc/class-quotes-collection-admin.php:95
|
256 |
+
#: inc/class-quotes-collection-admin.php:302
|
257 |
+
#@ quotes-collection
|
258 |
+
msgctxt "heading"
|
259 |
+
msgid "Export Quotes"
|
260 |
+
msgstr "ייצוא ציטוטים"
|
261 |
+
|
262 |
+
#: inc/class-quotes-collection-admin.php:96
|
263 |
+
#: inc/class-quotes-collection-admin.php:398
|
264 |
+
#@ quotes-collection
|
265 |
+
msgctxt "submenu item text"
|
266 |
+
msgid "Export"
|
267 |
+
msgstr "ייצוא"
|
268 |
+
|
269 |
+
#: inc/class-quotes-collection-admin.php:106
|
270 |
+
#: inc/class-quotes-collection-admin.php:362
|
271 |
+
#@ quotes-collection
|
272 |
+
msgctxt "heading"
|
273 |
+
msgid "Quotes Collection Options"
|
274 |
+
msgstr "הגדרות לאוסף הציטוטים"
|
275 |
+
|
276 |
+
#: inc/class-quotes-collection-admin.php:107
|
277 |
+
#: inc/class-quotes-collection-admin.php:404
|
278 |
+
#@ quotes-collection
|
279 |
+
msgctxt "submenu item text"
|
280 |
+
msgid "Options"
|
281 |
+
msgstr "הגדרות"
|
282 |
+
|
283 |
+
#: inc/class-quotes-collection-admin.php:116
|
284 |
+
#@ quotes-collection
|
285 |
+
msgctxt "submenu item text"
|
286 |
+
msgid "All Quotes"
|
287 |
+
msgstr "כל הציטוטים"
|
288 |
+
|
289 |
+
#: inc/class-quotes-collection-admin.php:150
|
290 |
+
#: inc/class-quotes-collection-admin.php:474
|
291 |
+
#: inc/class-quotes-collection-admin.php:575
|
292 |
+
#@ quotes-collection
|
293 |
+
msgctxt "submit button text"
|
294 |
+
msgid "Save Changes"
|
295 |
+
msgstr "שמירת שינויים"
|
296 |
+
|
297 |
+
#: inc/class-quotes-collection-admin.php:157
|
298 |
+
#: inc/class-quotes-collection-admin.php:385
|
299 |
+
#@ quotes-collection
|
300 |
+
msgctxt "submenu item text"
|
301 |
+
msgid "Edit Quote"
|
302 |
+
msgstr "עריכת ציטוט"
|
303 |
+
|
304 |
+
#: inc/class-quotes-collection-admin.php:188
|
305 |
+
#@ quotes-collection
|
306 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
307 |
+
msgid "All Quotes"
|
308 |
+
msgstr "כל הציטוטים"
|
309 |
+
|
310 |
+
#: inc/class-quotes-collection-admin.php:193
|
311 |
+
#@ quotes-collection
|
312 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
313 |
+
msgid "Public"
|
314 |
+
msgstr "ציבורי"
|
315 |
+
|
316 |
+
#: inc/class-quotes-collection-admin.php:198
|
317 |
+
#@ quotes-collection
|
318 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
319 |
+
msgid "Private"
|
320 |
+
msgstr "פרטי"
|
321 |
+
|
322 |
+
#: inc/class-quotes-collection-admin.php:204
|
323 |
+
#, php-format
|
324 |
+
#@ quotes-collection
|
325 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
326 |
+
msgid "Search results for \"%s\""
|
327 |
+
msgstr "תוצאות חיפוש עבור \"%s\""
|
328 |
+
|
329 |
+
#: inc/class-quotes-collection-admin.php:220
|
330 |
+
#@ quotes-collection
|
331 |
+
msgid "Search"
|
332 |
+
msgstr "חיפוש"
|
333 |
+
|
334 |
+
#: inc/class-quotes-collection-admin.php:255
|
335 |
+
#@ quotes-collection
|
336 |
+
msgid "Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (.json) file to upload, then click the 'Import' button."
|
337 |
+
msgstr "לחץ על הכפתור ובחר קובץ <abbr title=\"JavaScript Object Notation\">JSON</abbr> (.json) להעלאה. לאחר מכן לחץ כפתור ה'ייבוא'."
|
338 |
+
|
339 |
+
#: inc/class-quotes-collection-admin.php:260
|
340 |
+
#@ quotes-collection
|
341 |
+
msgid "Choose a file to upload:"
|
342 |
+
msgstr "בחר קובץ להעלאה:"
|
343 |
+
|
344 |
+
#: inc/class-quotes-collection-admin.php:265
|
345 |
+
#: inc/class-quotes-collection-admin.php:588
|
346 |
+
#@ quotes-collection
|
347 |
+
msgctxt "submit button text"
|
348 |
+
msgid "Import"
|
349 |
+
msgstr "ייבוא"
|
350 |
+
|
351 |
+
#: inc/class-quotes-collection-admin.php:287
|
352 |
+
#@ quotes-collection
|
353 |
+
msgid "When you click the button below, a <abbr title=\"JavaScript Object Notation\">JSON</abbr> file with the entire collection of quotes will be created, that you can save to your computer."
|
354 |
+
msgstr "לאחר הלחיצה על הכפתור, קובץ ה <abbr title=\"JavaScript Object Notation\">JSON</abbr> ייווצר. לאחר מכן תוכל להוריד את הקובץ למחשב שלך. "
|
355 |
+
|
356 |
+
#: inc/class-quotes-collection-admin.php:292
|
357 |
+
#: inc/class-quotes-collection-admin.php:594
|
358 |
+
#@ quotes-collection
|
359 |
+
msgctxt "submit button text"
|
360 |
+
msgid "Export"
|
361 |
+
msgstr "ייצוא"
|
362 |
+
|
363 |
+
#: inc/class-quotes-collection-admin.php:339
|
364 |
+
#@ quotes-collection
|
365 |
+
msgid "Refresh link text"
|
366 |
+
msgstr "רענן טקסט קישור"
|
367 |
+
|
368 |
+
#: inc/class-quotes-collection-admin.php:343
|
369 |
+
#@ quotes-collection
|
370 |
+
msgid "Maximum number of iterations for auto-refresh"
|
371 |
+
msgstr "מספר איטרציות מקסימלי לריענון אוטומטי"
|
372 |
+
|
373 |
+
#: inc/class-quotes-collection-admin.php:347
|
374 |
+
#@ quotes-collection
|
375 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
376 |
+
msgstr "להציג ציטוט רנדומלי בוידג'ט הציטוטים?"
|
377 |
+
|
378 |
+
#: inc/class-quotes-collection-admin.php:350
|
379 |
+
#@ quotes-collection
|
380 |
+
msgid "Check this if your site is cached and the 'random quote' widget always shows a particular quote as the initial quote."
|
381 |
+
msgstr "סמן תיבה זו אם האתר משתמש במנגנון קאשינג והוידג'ט תמיד מציג את אותו ציטוט."
|
382 |
+
|
383 |
+
#: inc/class-quotes-collection-admin.php:353
|
384 |
+
#: inc/class-quotes-collection-admin.php:600
|
385 |
+
#@ quotes-collection
|
386 |
+
msgctxt "submit button text"
|
387 |
+
msgid "Update Options"
|
388 |
+
msgstr "עדכן הגדרות"
|
389 |
+
|
390 |
+
#: inc/class-quotes-collection-admin.php:381
|
391 |
+
#@ quotes-collection
|
392 |
+
msgid "All Quotes"
|
393 |
+
msgstr "כל הציטוטים"
|
394 |
+
|
395 |
+
#: inc/class-quotes-collection-admin.php:457
|
396 |
+
#: inc/class-quotes-collection-admin.php:560
|
397 |
+
#@ quotes-collection
|
398 |
+
msgctxt "submit button text"
|
399 |
+
msgid "Add Quote"
|
400 |
+
msgstr "הוספת ציטוט"
|
401 |
+
|
402 |
+
#: inc/class-quotes-collection-admin.php:564
|
403 |
+
#: inc/class-quotes-collection-admin.php:579
|
404 |
+
#@ quotes-collection
|
405 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
406 |
+
msgstr "חובה למלא את שדה הציטוט. מלא את השדה ונסה שנית. "
|
407 |
+
|
408 |
+
#: inc/class-quotes-collection-admin.php:570
|
409 |
+
#@ quotes-collection
|
410 |
+
msgid "Error adding quote"
|
411 |
+
msgstr "שגיאה בהוספת ציטוט"
|
412 |
+
|
413 |
+
#: inc/class-quotes-collection-admin.php:584
|
414 |
+
#@ quotes-collection
|
415 |
+
msgid "Error updating quote"
|
416 |
+
msgstr "שגיאה בעדכון ציטוט"
|
417 |
+
|
418 |
+
#: inc/class-quotes-collection-admin.php:616
|
419 |
+
#@ quotes-collection
|
420 |
+
msgid "Error deleting quote"
|
421 |
+
msgstr "שגיאה במחיקת ציטוט"
|
422 |
+
|
423 |
+
#: inc/class-quotes-collection-admin.php:621
|
424 |
+
#: inc/class-quotes-collection-admin.php:635
|
425 |
+
#: inc/class-quotes-collection-admin.php:648
|
426 |
+
#@ quotes-collection
|
427 |
+
msgid "No item selected"
|
428 |
+
msgstr "לא נבחרו פריטים"
|
429 |
+
|
430 |
+
#: inc/class-quotes-collection-admin.php:625
|
431 |
+
#, php-format
|
432 |
+
#@ quotes-collection
|
433 |
+
msgid "One quote deleted"
|
434 |
+
msgid_plural "%d quotes deleted"
|
435 |
+
msgstr[0] "ציטוט אחד נמחק"
|
436 |
+
msgstr[1] "%d ציטוטים נמחקו"
|
437 |
+
|
438 |
+
#: inc/class-quotes-collection-admin.php:629
|
439 |
+
#@ quotes-collection
|
440 |
+
msgid "Error deleting quotes"
|
441 |
+
msgstr "שגיאה במחיקת ציטוטים"
|
442 |
+
|
443 |
+
#: inc/class-quotes-collection-admin.php:639
|
444 |
+
#, php-format
|
445 |
+
#@ quotes-collection
|
446 |
+
msgid "Quote made public"
|
447 |
+
msgid_plural "%d quotes made public"
|
448 |
+
msgstr[0] "הציטוט הוגדר כציבורי"
|
449 |
+
msgstr[1] "%d ציטוטים הוגדרו כציבוריים"
|
450 |
+
|
451 |
+
#: inc/class-quotes-collection-admin.php:643
|
452 |
+
#: inc/class-quotes-collection-admin.php:656
|
453 |
+
#@ quotes-collection
|
454 |
+
msgid "Error. Privacy status not changed."
|
455 |
+
msgstr "שגיאה. הגדרות הפרטיות לא שונו. "
|
456 |
+
|
457 |
+
#: inc/class-quotes-collection-admin.php:652
|
458 |
+
#, php-format
|
459 |
+
#@ quotes-collection
|
460 |
+
msgid "Quote kept private"
|
461 |
+
msgid_plural "%d quotes kept private"
|
462 |
+
msgstr[0] "הציטוט הוגדר כפרטי"
|
463 |
+
msgstr[1] "%d ציטוטים הוגדרו כפרטיים"
|
464 |
+
|
465 |
+
#: inc/class-quotes-collection-admin.php:668
|
466 |
+
#@ quotes-collection
|
467 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
468 |
+
msgstr "נא לבחור קובץ להעלאה לפני שלוחצים על כפתור ה'ייבוא'"
|
469 |
+
|
470 |
+
#: inc/class-quotes-collection-admin.php:674
|
471 |
+
#@ quotes-collection
|
472 |
+
msgid "Invalid file format"
|
473 |
+
msgstr "פורמט הקובץ שגוי"
|
474 |
+
|
475 |
+
#: inc/class-quotes-collection-admin.php:680
|
476 |
+
#@ quotes-collection
|
477 |
+
msgid "The file you uploaded is too big. Import failed."
|
478 |
+
msgstr "הקובץ שניסית להעלות גדול מדי. הייבוא נכשל. "
|
479 |
+
|
480 |
+
#: inc/class-quotes-collection-admin.php:688
|
481 |
+
#@ quotes-collection
|
482 |
+
msgid "The file uploaded was empty"
|
483 |
+
msgstr "הקובץ שהעלית ריק מתוכן"
|
484 |
+
|
485 |
+
#: inc/class-quotes-collection-admin.php:693
|
486 |
+
#@ quotes-collection
|
487 |
+
msgid "Error in JSON file"
|
488 |
+
msgstr "שגיאה בקובץ ה JSON"
|
489 |
+
|
490 |
+
#: inc/class-quotes-collection-admin.php:701
|
491 |
+
#: inc/class-quotes-collection-admin.php:715
|
492 |
+
#@ quotes-collection
|
493 |
+
msgid "Import failed. Please try again."
|
494 |
+
msgstr "הייבוא נכשל. נסה שנית. "
|
495 |
+
|
496 |
+
#: inc/class-quotes-collection-admin.php:704
|
497 |
+
#@ quotes-collection
|
498 |
+
msgid "No quotes imported"
|
499 |
+
msgstr "לא יובאו ציטוטים כלשהם"
|
500 |
+
|
501 |
+
#: inc/class-quotes-collection-admin.php:708
|
502 |
+
#, php-format
|
503 |
+
#@ quotes-collection
|
504 |
+
msgid "One quote imported"
|
505 |
+
msgid_plural "%d quotes imported"
|
506 |
+
msgstr[0] "ציטוט אחד יובא"
|
507 |
+
msgstr[1] "%d ציטוטים יובאו"
|
508 |
+
|
509 |
+
#: inc/class-quotes-collection-admin.php:728
|
510 |
+
#@ quotes-collection
|
511 |
+
msgid "Nothing to export"
|
512 |
+
msgstr "אין מה לייצא"
|
513 |
+
|
514 |
+
#: inc/class-quotes-collection-admin.php:767
|
515 |
+
#@ quotes-collection
|
516 |
+
msgid "No change in values. Options not updated."
|
517 |
+
msgstr "לא נעשו שינויים כלשהם בהגדרות. ההגדרות לא עודכנו. "
|
518 |
+
|
519 |
+
#: inc/class-quotes-collection-admin.php:772
|
520 |
+
#@ quotes-collection
|
521 |
+
msgid "Options updated"
|
522 |
+
msgstr "ההגדרות עודכנו"
|
523 |
+
|
524 |
+
#: inc/class-quotes-collection-admin.php:775
|
525 |
+
#@ quotes-collection
|
526 |
+
msgid "Options not updated"
|
527 |
+
msgstr "ההגדרות לא עודכנו"
|
528 |
+
|
529 |
+
#: inc/class-quotes-collection-admin.php:791
|
530 |
+
#@ quotes-collection
|
531 |
+
msgid "Maximum items"
|
532 |
+
msgstr "מקסימום פריטים"
|
533 |
+
|
534 |
+
#: inc/class-quotes-collection-admin.php:821
|
535 |
+
#@ quotes-collection
|
536 |
+
msgctxt "confirmation dialog title"
|
537 |
+
msgid "Delete?"
|
538 |
+
msgstr "האם למחוק?"
|
539 |
+
|
540 |
+
#: inc/class-quotes-collection-admin.php:822
|
541 |
+
#@ quotes-collection
|
542 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
543 |
+
msgid "Are you sure you want to delete this quote?"
|
544 |
+
msgstr "האם אתה בטוח שברצונך למחוק ציטוט זה?"
|
545 |
+
|
546 |
+
#: inc/class-quotes-collection-admin.php:823
|
547 |
+
#@ quotes-collection
|
548 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
549 |
+
msgid "Are you sure you want to delete these quotes?"
|
550 |
+
msgstr "האם אתה בטוח שברצונך למחוק ציטוטים אלה?"
|
551 |
+
|
552 |
+
#: inc/class-quotes-collection-admin.php:824
|
553 |
+
#@ quotes-collection
|
554 |
+
msgctxt "confirmation dialog button text"
|
555 |
+
msgid "Yes"
|
556 |
+
msgstr "כן"
|
557 |
+
|
558 |
+
#: inc/class-quotes-collection-admin.php:825
|
559 |
+
#@ quotes-collection
|
560 |
+
msgctxt "confirmation dialog button text"
|
561 |
+
msgid "No"
|
562 |
+
msgstr "לא"
|
563 |
+
|
564 |
+
#: inc/class-quotes-collection-widget.php:17
|
565 |
+
#@ quotes-collection
|
566 |
+
msgctxt "widget name"
|
567 |
+
msgid "Random Quote"
|
568 |
+
msgstr "ציטוט רנדומלי"
|
569 |
+
|
570 |
+
#: inc/class-quotes-collection-widget.php:18
|
571 |
+
#@ quotes-collection
|
572 |
+
msgctxt "widget description"
|
573 |
+
msgid "Random quote from your quotes collection"
|
574 |
+
msgstr "ציטוט רנדומלי מאוסף הציטוטים שלך"
|
575 |
+
|
576 |
+
#: inc/class-quotes-collection-widget.php:130
|
577 |
+
#@ quotes-collection
|
578 |
+
msgid "Refresh feature"
|
579 |
+
msgstr "רענן תכונה זו"
|
580 |
+
|
581 |
+
#: inc/class-quotes-collection-widget.php:146
|
582 |
+
#, php-format
|
583 |
+
#@ quotes-collection
|
584 |
+
msgid "every %s sec"
|
585 |
+
msgstr "כל %s שניות"
|
586 |
+
|
587 |
+
#: inc/class-quotes-collection.php:104
|
588 |
+
#@ quotes-collection
|
589 |
+
msgid "Next quote »"
|
590 |
+
msgstr "ציטוט הבא «"
|
591 |
+
|
592 |
+
#. translators: plugin header field 'Name'
|
593 |
+
#: quotes-collection.php:0
|
594 |
+
#@ quotes-collection
|
595 |
+
msgid "Quotes Collection"
|
596 |
+
msgstr "אוסף ציטוטים"
|
597 |
+
|
598 |
+
#. translators: plugin header field 'PluginURI'
|
599 |
+
#: quotes-collection.php:0
|
600 |
+
#@ quotes-collection
|
601 |
+
msgid "http://srinig.com/wordpress/plugins/quotes-collection/"
|
602 |
+
msgstr "http://srinig.com/wordpress/plugins/quotes-collection/"
|
603 |
+
|
604 |
+
#. translators: plugin header field 'Description'
|
605 |
+
#: quotes-collection.php:0
|
606 |
+
#@ quotes-collection
|
607 |
+
msgid "Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress blog/website."
|
608 |
+
msgstr "תוסף אוסף הציטוטים הכולל הצגת ציטוט רנדומלי באג'קס מאפשר לך לאסוף ולהציג את הציטוטים האהובים עליך באתר הוורדפרס שלך. "
|
609 |
+
|
610 |
+
#. translators: plugin header field 'Author'
|
611 |
+
#: quotes-collection.php:0
|
612 |
+
#@ quotes-collection
|
613 |
+
msgid "Srini G"
|
614 |
+
msgstr "סריני ג. - תורגם על ידי טיילור ויג'יי"
|
615 |
+
|
616 |
+
#. translators: plugin header field 'AuthorURI'
|
617 |
+
#: quotes-collection.php:0
|
618 |
+
#@ quotes-collection
|
619 |
+
msgid "http://srinig.com/"
|
620 |
+
msgstr "http://srinig.com/"
|
621 |
+
|
622 |
+
#. translators: plugin header field 'Version'
|
623 |
+
#: quotes-collection.php:0
|
624 |
+
#@ quotes-collection
|
625 |
+
msgid "2.0 beta"
|
626 |
+
msgstr "גירסה 2.0 בטא"
|
627 |
+
|
languages/quotes-collection-hu_HU.mo
CHANGED
Binary file
|
languages/quotes-collection-hu_HU.po
CHANGED
@@ -1,185 +1,505 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Quotes Collection
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: KOOS
|
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 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
-
"X-
|
14 |
-
"
|
15 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
|
17 |
|
18 |
-
msgid "Next quote"
|
19 |
-
msgstr "Következő idézet"
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
msgstr "Idézet megjelenítési hiba"
|
26 |
|
27 |
-
|
28 |
-
|
|
|
|
|
29 |
|
|
|
|
|
|
|
30 |
msgid "Random Quote"
|
31 |
-
msgstr "
|
32 |
|
|
|
33 |
msgid "Title"
|
34 |
msgstr "Cím"
|
35 |
|
|
|
36 |
msgid "Show author?"
|
37 |
-
msgstr "
|
38 |
|
|
|
39 |
msgid "Show source?"
|
40 |
-
msgstr "
|
41 |
|
42 |
-
|
43 |
-
|
|
|
44 |
|
45 |
-
|
46 |
-
|
|
|
47 |
|
48 |
-
|
49 |
-
|
|
|
50 |
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
53 |
|
54 |
-
|
55 |
-
|
|
|
56 |
|
57 |
-
|
58 |
-
|
|
|
|
|
59 |
|
60 |
-
|
61 |
-
|
|
|
62 |
|
63 |
-
|
64 |
-
|
|
|
65 |
|
66 |
-
|
67 |
-
|
|
|
68 |
|
69 |
-
|
70 |
-
|
|
|
71 |
|
72 |
-
|
73 |
-
|
|
|
74 |
|
75 |
-
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
msgstr "Változások mentése"
|
80 |
|
81 |
-
|
82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
-
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
msgid "Author"
|
88 |
msgstr "Szerző"
|
89 |
|
|
|
|
|
90 |
msgid "Source"
|
91 |
msgstr "Forrás"
|
92 |
|
|
|
|
|
93 |
msgid "Tags"
|
94 |
msgstr "Cimkék"
|
95 |
|
96 |
-
|
97 |
-
|
|
|
98 |
|
|
|
99 |
msgid "optional"
|
100 |
-
msgstr "
|
101 |
|
|
|
102 |
msgid "comma separated"
|
103 |
msgstr "vesszővel elválasztva"
|
104 |
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
107 |
|
108 |
-
|
109 |
-
|
|
|
110 |
|
111 |
-
|
112 |
-
|
|
|
113 |
|
114 |
-
|
115 |
-
|
|
|
116 |
|
117 |
-
|
118 |
-
|
|
|
119 |
|
120 |
-
|
121 |
-
|
|
|
122 |
|
123 |
-
|
124 |
-
|
|
|
125 |
|
126 |
-
|
127 |
-
|
|
|
|
|
|
|
128 |
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
|
|
131 |
|
132 |
-
|
133 |
-
|
|
|
134 |
|
135 |
-
|
136 |
-
|
|
|
|
|
|
|
|
|
137 |
|
138 |
-
|
139 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
|
141 |
-
|
142 |
-
|
|
|
143 |
|
144 |
-
|
145 |
-
|
|
|
146 |
|
147 |
-
|
148 |
-
|
|
|
149 |
|
150 |
-
|
151 |
-
|
|
|
152 |
|
153 |
-
|
154 |
-
|
|
|
|
|
155 |
|
156 |
-
|
157 |
-
|
|
|
158 |
|
159 |
-
#: quotes-collection.php:
|
160 |
#, php-format
|
161 |
-
msgid "
|
162 |
-
msgid_plural "
|
163 |
-
msgstr[0] "
|
164 |
-
msgstr[1] "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
|
|
|
|
|
|
|
|
|
166 |
|
167 |
-
#: quotes-collection.php:
|
168 |
-
|
169 |
-
|
|
|
170 |
|
171 |
-
#: quotes-collection.php:
|
172 |
-
|
173 |
-
|
|
|
174 |
|
175 |
-
#: quotes-collection.php:
|
176 |
-
msgid "
|
177 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
|
179 |
-
#: quotes-collection.php:
|
180 |
-
msgid "
|
181 |
-
msgstr "
|
182 |
|
183 |
-
#: quotes-collection.php:
|
184 |
-
msgid "
|
185 |
-
msgstr "
|
1 |
+
# Quotes Collection plugin for WordPress: Localization template.
|
2 |
+
# Copyright (C) 2007-2015 Srini G
|
3 |
+
# This file is distributed under the same license as the Quotes Collection package.
|
4 |
+
# Srini G <s@srinig.com>, 2015.
|
5 |
+
#
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
+
"Project-Id-Version: Quotes Collection 2.0\n"
|
9 |
+
"Report-Msgid-Bugs-To: s@srinig.com\n"
|
10 |
+
"POT-Creation-Date: 2015-04-14 12:23+0530\n"
|
11 |
+
"PO-Revision-Date: 2015-05-17 18:04+0100\n"
|
12 |
+
"Last-Translator: Tamas KOOS <a@feny.be>\n"
|
13 |
+
"Language-Team: Tamas <tamas@koosfoto.hu>\n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
"X-Generator: Poedit 1.5.4\n"
|
19 |
+
"Language: Hungarian\n"
|
|
|
|
|
20 |
|
|
|
|
|
21 |
|
22 |
+
#: inc/class-quotes-collection-widget.php:17
|
23 |
+
msgctxt "widget name"
|
24 |
+
msgid "Random Quote"
|
25 |
+
msgstr "Egy idézet találomra"
|
|
|
26 |
|
27 |
+
#: inc/class-quotes-collection-widget.php:18
|
28 |
+
msgctxt "widget description"
|
29 |
+
msgid "Random quote from your quotes collection"
|
30 |
+
msgstr "Egy idézet találomra az idézet-gyűjteményedből"
|
31 |
|
32 |
+
#: inc/class-quotes-collection-widget.php:41
|
33 |
+
#: inc/class-quotes-collection-widget.php:83
|
34 |
+
#: inc/class-quotes-collection-widget.php:201
|
35 |
msgid "Random Quote"
|
36 |
+
msgstr "Egy idézet találomra"
|
37 |
|
38 |
+
#: inc/class-quotes-collection-widget.php:114
|
39 |
msgid "Title"
|
40 |
msgstr "Cím"
|
41 |
|
42 |
+
#: inc/class-quotes-collection-widget.php:120
|
43 |
msgid "Show author?"
|
44 |
+
msgstr "Szerző mutatása?"
|
45 |
|
46 |
+
#: inc/class-quotes-collection-widget.php:125
|
47 |
msgid "Show source?"
|
48 |
+
msgstr "Forrás mutatása?"
|
49 |
|
50 |
+
#: inc/class-quotes-collection-widget.php:130
|
51 |
+
msgid "Refresh feature"
|
52 |
+
msgstr "Frissítés"
|
53 |
|
54 |
+
#: inc/class-quotes-collection-widget.php:133
|
55 |
+
msgid "Advanced options"
|
56 |
+
msgstr "Haladó beállítások"
|
57 |
|
58 |
+
#: inc/class-quotes-collection-widget.php:138
|
59 |
+
msgid "Random refresh"
|
60 |
+
msgstr "Találomra frissítése"
|
61 |
|
62 |
+
#: inc/class-quotes-collection-widget.php:139
|
63 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
64 |
+
msgstr ""
|
65 |
+
"Ha ezt kikapcsolod, az idézetek a hozzáadás sorrendjében jönnek "
|
66 |
+
"(legutóbbival kezdve)"
|
67 |
|
68 |
+
#: inc/class-quotes-collection-widget.php:144
|
69 |
+
msgid "Auto refresh"
|
70 |
+
msgstr "Automatikus frissítés"
|
71 |
|
72 |
+
#: inc/class-quotes-collection-widget.php:146
|
73 |
+
#, php-format
|
74 |
+
msgid "every %s sec"
|
75 |
+
msgstr "Minden %s másodpercben"
|
76 |
|
77 |
+
#: inc/class-quotes-collection-widget.php:151
|
78 |
+
msgid "Tags filter"
|
79 |
+
msgstr "Cimke szűrő"
|
80 |
|
81 |
+
#: inc/class-quotes-collection-widget.php:153
|
82 |
+
msgid "Comma separated"
|
83 |
+
msgstr "Vesszővel elválasztva"
|
84 |
|
85 |
+
#: inc/class-quotes-collection-widget.php:157
|
86 |
+
msgid "Character limit"
|
87 |
+
msgstr "Elválasztó karakter"
|
88 |
|
89 |
+
#: inc/class-quotes-collection-widget.php:189
|
90 |
+
msgid "none"
|
91 |
+
msgstr "egyik sem"
|
92 |
|
93 |
+
#: inc/class-quotes-collection.php:82
|
94 |
+
msgid "Loading..."
|
95 |
+
msgstr "Betöltés..."
|
96 |
|
97 |
+
#: inc/class-quotes-collection.php:83
|
98 |
+
msgid "Error getting quote"
|
99 |
+
msgstr "Hiba idézet-keresés közben"
|
100 |
+
|
101 |
+
#: inc/class-quotes-collection.php:104
|
102 |
+
msgid "Next quote »"
|
103 |
+
msgstr "Következő idézet »"
|
104 |
+
|
105 |
+
#: inc/class-quotes-collection-admin.php:73
|
106 |
+
#: inc/class-quotes-collection-admin.php:241
|
107 |
+
msgctxt "heading"
|
108 |
+
msgid "Add New Quote"
|
109 |
+
msgstr "Új idézet hozzáadása"
|
110 |
|
111 |
+
#: inc/class-quotes-collection-admin.php:74
|
112 |
+
#: inc/class-quotes-collection-admin.php:389
|
113 |
+
msgctxt "submenu item text"
|
114 |
+
msgid "Add New"
|
115 |
+
msgstr "Új hozzáadása"
|
116 |
+
|
117 |
+
#: inc/class-quotes-collection-admin.php:84
|
118 |
+
#: inc/class-quotes-collection-admin.php:274
|
119 |
+
msgctxt "heading"
|
120 |
+
msgid "Import Quotes"
|
121 |
+
msgstr "Idézetek importálása"
|
122 |
+
|
123 |
+
#: inc/class-quotes-collection-admin.php:85
|
124 |
+
#: inc/class-quotes-collection-admin.php:395
|
125 |
+
msgctxt "submenu item text"
|
126 |
+
msgid "Import"
|
127 |
+
msgstr "Importálás"
|
128 |
+
|
129 |
+
#: inc/class-quotes-collection-admin.php:95
|
130 |
+
#: inc/class-quotes-collection-admin.php:302
|
131 |
+
msgctxt "heading"
|
132 |
+
msgid "Export Quotes"
|
133 |
+
msgstr "Idézetek exportálása"
|
134 |
+
|
135 |
+
#: inc/class-quotes-collection-admin.php:96
|
136 |
+
#: inc/class-quotes-collection-admin.php:398
|
137 |
+
msgctxt "submenu item text"
|
138 |
+
msgid "Export"
|
139 |
+
msgstr "Exportálás"
|
140 |
+
|
141 |
+
#: inc/class-quotes-collection-admin.php:106
|
142 |
+
#: inc/class-quotes-collection-admin.php:362
|
143 |
+
msgctxt "heading"
|
144 |
+
msgid "Quotes Collection Options"
|
145 |
+
msgstr "Idézet-gyűjtemény beállítások"
|
146 |
+
|
147 |
+
#: inc/class-quotes-collection-admin.php:107
|
148 |
+
#: inc/class-quotes-collection-admin.php:404
|
149 |
+
msgctxt "submenu item text"
|
150 |
+
msgid "Options"
|
151 |
+
msgstr "Beállításaok"
|
152 |
+
|
153 |
+
#: inc/class-quotes-collection-admin.php:116
|
154 |
+
msgctxt "submenu item text"
|
155 |
+
msgid "All Quotes"
|
156 |
+
msgstr "Összes idézet"
|
157 |
+
|
158 |
+
#: inc/class-quotes-collection-admin.php:150
|
159 |
+
#: inc/class-quotes-collection-admin.php:474
|
160 |
+
#: inc/class-quotes-collection-admin.php:575
|
161 |
+
msgctxt "submit button text"
|
162 |
+
msgid "Save Changes"
|
163 |
msgstr "Változások mentése"
|
164 |
|
165 |
+
#: inc/class-quotes-collection-admin.php:157
|
166 |
+
#: inc/class-quotes-collection-admin.php:385
|
167 |
+
msgctxt "submenu item text"
|
168 |
+
msgid "Edit Quote"
|
169 |
+
msgstr "Idézet szerkesztése"
|
170 |
+
|
171 |
+
#: inc/class-quotes-collection-admin.php:188
|
172 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
173 |
+
msgid "All Quotes"
|
174 |
+
msgstr "Összes idézet"
|
175 |
+
|
176 |
+
#: inc/class-quotes-collection-admin.php:193
|
177 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
178 |
+
msgid "Public"
|
179 |
+
msgstr "Nyilvános"
|
180 |
+
|
181 |
+
#: inc/class-quotes-collection-admin.php:198
|
182 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
183 |
+
msgid "Private"
|
184 |
+
msgstr "Személyes"
|
185 |
+
|
186 |
+
#: inc/class-quotes-collection-admin.php:204
|
187 |
+
#, php-format
|
188 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
189 |
+
msgid "Search results for \"%s\""
|
190 |
+
msgstr "A \"%s\" keresés eredménye"
|
191 |
+
|
192 |
+
#: inc/class-quotes-collection-admin.php:220
|
193 |
+
msgid "Search"
|
194 |
+
msgstr "Keresés"
|
195 |
+
|
196 |
+
#: inc/class-quotes-collection-admin.php:255
|
197 |
+
msgid ""
|
198 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
199 |
+
"json) file to upload, then click the 'Import' button."
|
200 |
+
msgstr ""
|
201 |
+
"Keress és válassz egy <abbr title=\"JavaScript Object Notation\">JSON</abbr> "
|
202 |
+
"(.json) file-t feltöltésre, és klikkelj az 'Importálás' gombra."
|
203 |
+
|
204 |
+
#: inc/class-quotes-collection-admin.php:260
|
205 |
+
msgid "Choose a file to upload:"
|
206 |
+
msgstr "Válassz egy feltöltendő file-t:"
|
207 |
+
|
208 |
+
#: inc/class-quotes-collection-admin.php:265
|
209 |
+
#: inc/class-quotes-collection-admin.php:588
|
210 |
+
msgctxt "submit button text"
|
211 |
+
msgid "Import"
|
212 |
+
msgstr "Importálás"
|
213 |
|
214 |
+
#: inc/class-quotes-collection-admin.php:287
|
215 |
+
msgid ""
|
216 |
+
"When you click the button below, a <abbr title=\"JavaScript Object Notation"
|
217 |
+
"\">JSON</abbr> file with the entire collection of quotes will be created, "
|
218 |
+
"that you can save to your computer."
|
219 |
+
msgstr ""
|
220 |
+
"Amikor az alábbi gomra klikkelsz, a <abbr title=\"JavaScript Object Notation"
|
221 |
+
"\">JSON</abbr> file elkészül az összes idézettel, és elmentheted a gépeden"
|
222 |
+
|
223 |
+
#: inc/class-quotes-collection-admin.php:292
|
224 |
+
#: inc/class-quotes-collection-admin.php:594
|
225 |
+
msgctxt "submit button text"
|
226 |
+
msgid "Export"
|
227 |
+
msgstr "Export"
|
228 |
+
|
229 |
+
#: inc/class-quotes-collection-admin.php:339
|
230 |
+
msgid "Refresh link text"
|
231 |
+
msgstr "Link frissítése szöveg"
|
232 |
+
|
233 |
+
#: inc/class-quotes-collection-admin.php:343
|
234 |
+
msgid "Maximum number of iterations for auto-refresh"
|
235 |
+
msgstr "A maximális automatikus frissítések száma"
|
236 |
+
|
237 |
+
#: inc/class-quotes-collection-admin.php:347
|
238 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
239 |
+
msgstr "A widget-ben dinamikusan vegyük elő az első idézetet?"
|
240 |
+
|
241 |
+
#: inc/class-quotes-collection-admin.php:350
|
242 |
+
msgid ""
|
243 |
+
"Check this if your site is cached and the 'random quote' widget always shows "
|
244 |
+
"a particular quote as the initial quote."
|
245 |
+
msgstr ""
|
246 |
+
"Jelöld be ezt, ha a honlapod gyorsmentéseű (cached) és az 'idézet találomra' "
|
247 |
+
"widget mindig ugyan azt idézetet mutatja kezdetben."
|
248 |
+
|
249 |
+
#: inc/class-quotes-collection-admin.php:353
|
250 |
+
#: inc/class-quotes-collection-admin.php:600
|
251 |
+
msgctxt "submit button text"
|
252 |
+
msgid "Update Options"
|
253 |
+
msgstr "Frissítési lehetőségek"
|
254 |
+
|
255 |
+
#: inc/class-quotes-collection-admin.php:381
|
256 |
+
msgid "All Quotes"
|
257 |
+
msgstr "Összes idézet"
|
258 |
+
|
259 |
+
#: inc/class-quotes-collection-admin.php:457
|
260 |
+
#: inc/class-quotes-collection-admin.php:560
|
261 |
+
msgctxt "submit button text"
|
262 |
+
msgid "Add Quote"
|
263 |
+
msgstr "Idézet hozzáadása"
|
264 |
|
265 |
+
#: inc/class-quotes-collection-admin.php:486
|
266 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
267 |
+
msgid "Quote"
|
268 |
+
msgstr "Idézet"
|
269 |
+
|
270 |
+
#: inc/class-quotes-collection-admin.php:487
|
271 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
272 |
msgid "Author"
|
273 |
msgstr "Szerző"
|
274 |
|
275 |
+
#: inc/class-quotes-collection-admin.php:488
|
276 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
277 |
msgid "Source"
|
278 |
msgstr "Forrás"
|
279 |
|
280 |
+
#: inc/class-quotes-collection-admin.php:489
|
281 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
282 |
msgid "Tags"
|
283 |
msgstr "Cimkék"
|
284 |
|
285 |
+
#: inc/class-quotes-collection-admin.php:490
|
286 |
+
msgid "Public?"
|
287 |
+
msgstr "Nyilvános?"
|
288 |
|
289 |
+
#: inc/class-quotes-collection-admin.php:491
|
290 |
msgid "optional"
|
291 |
+
msgstr "választható"
|
292 |
|
293 |
+
#: inc/class-quotes-collection-admin.php:492
|
294 |
msgid "comma separated"
|
295 |
msgstr "vesszővel elválasztva"
|
296 |
|
297 |
+
#: inc/class-quotes-collection-admin.php:564
|
298 |
+
#: inc/class-quotes-collection-admin.php:579
|
299 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
300 |
+
msgstr ""
|
301 |
+
"Az idézet mező nem lehet üres. Töltsd ki az idézet mezőt és próbáld újra."
|
302 |
|
303 |
+
#: inc/class-quotes-collection-admin.php:567
|
304 |
+
msgid "Quote added"
|
305 |
+
msgstr "Idézet hozzáadva"
|
306 |
|
307 |
+
#: inc/class-quotes-collection-admin.php:570
|
308 |
+
msgid "Error adding quote"
|
309 |
+
msgstr "Hiba idézet hozzáadásakor"
|
310 |
|
311 |
+
#: inc/class-quotes-collection-admin.php:582
|
312 |
+
msgid "Changes saved"
|
313 |
+
msgstr "Változások mentve"
|
314 |
|
315 |
+
#: inc/class-quotes-collection-admin.php:584
|
316 |
+
msgid "Error updating quote"
|
317 |
+
msgstr "Hiba az idézet firssítésekor"
|
318 |
|
319 |
+
#: inc/class-quotes-collection-admin.php:614
|
320 |
+
msgid "Quote deleted"
|
321 |
+
msgstr "Idézet törölve"
|
322 |
|
323 |
+
#: inc/class-quotes-collection-admin.php:616
|
324 |
+
msgid "Error deleting quote"
|
325 |
+
msgstr "Hiva az idézet törlésekor"
|
326 |
|
327 |
+
#: inc/class-quotes-collection-admin.php:621
|
328 |
+
#: inc/class-quotes-collection-admin.php:635
|
329 |
+
#: inc/class-quotes-collection-admin.php:648
|
330 |
+
msgid "No item selected"
|
331 |
+
msgstr "Nincs kiválasztott tétel"
|
332 |
|
333 |
+
#: inc/class-quotes-collection-admin.php:625
|
334 |
+
#, php-format
|
335 |
+
msgid "One quote deleted"
|
336 |
+
msgid_plural "%d quotes deleted"
|
337 |
+
msgstr[0] "Egy idézet törölve"
|
338 |
+
msgstr[1] "%d idézet törölve"
|
339 |
|
340 |
+
#: inc/class-quotes-collection-admin.php:629
|
341 |
+
msgid "Error deleting quotes"
|
342 |
+
msgstr "Hiba idézetek törlésekor"
|
343 |
|
344 |
+
#: inc/class-quotes-collection-admin.php:639
|
345 |
+
#, php-format
|
346 |
+
msgid "Quote made public"
|
347 |
+
msgid_plural "%d quotes made public"
|
348 |
+
msgstr[0] "Idézet nyilvánossá téve"
|
349 |
+
msgstr[1] "%d idézet nyilvánossá téve"
|
350 |
|
351 |
+
#: inc/class-quotes-collection-admin.php:643
|
352 |
+
#: inc/class-quotes-collection-admin.php:656
|
353 |
+
msgid "Error. Privacy status not changed."
|
354 |
+
msgstr "Hiba: a személyesség állapota nem változott."
|
355 |
+
|
356 |
+
#: inc/class-quotes-collection-admin.php:652
|
357 |
+
#, php-format
|
358 |
+
msgid "Quote kept private"
|
359 |
+
msgid_plural "%d quotes kept private"
|
360 |
+
msgstr[0] "Idézet személyes maradt"
|
361 |
+
msgstr[1] "%d idézet személyes maradt"
|
362 |
+
|
363 |
+
#: inc/class-quotes-collection-admin.php:668
|
364 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
365 |
+
msgstr "Kérlek, válassz egy file-t, mielőtt az 'importálás' gombra klikkelsz"
|
366 |
|
367 |
+
#: inc/class-quotes-collection-admin.php:674
|
368 |
+
msgid "Invalid file format"
|
369 |
+
msgstr "Érvénytelen file formátum"
|
370 |
|
371 |
+
#: inc/class-quotes-collection-admin.php:680
|
372 |
+
msgid "The file you uploaded is too big. Import failed."
|
373 |
+
msgstr "A feltöltött file túl nagy. Importálás sikertelen."
|
374 |
|
375 |
+
#: inc/class-quotes-collection-admin.php:688
|
376 |
+
msgid "The file uploaded was empty"
|
377 |
+
msgstr "A feltöltött file üres"
|
378 |
|
379 |
+
#: inc/class-quotes-collection-admin.php:693
|
380 |
+
msgid "Error in JSON file"
|
381 |
+
msgstr "Hiba a JSON file-ban"
|
382 |
|
383 |
+
#: inc/class-quotes-collection-admin.php:701
|
384 |
+
#: inc/class-quotes-collection-admin.php:715
|
385 |
+
msgid "Import failed. Please try again."
|
386 |
+
msgstr "Sikertelen importálás. Kérlek, próbáld újra."
|
387 |
|
388 |
+
#: inc/class-quotes-collection-admin.php:704
|
389 |
+
msgid "No quotes imported"
|
390 |
+
msgstr "Nincs importált idézet"
|
391 |
|
392 |
+
#: inc/class-quotes-collection-admin.php:708
|
393 |
#, php-format
|
394 |
+
msgid "One quote imported"
|
395 |
+
msgid_plural "%d quotes imported"
|
396 |
+
msgstr[0] "Egy idézet importálva"
|
397 |
+
msgstr[1] "%d idézet importálva"
|
398 |
+
|
399 |
+
#: inc/class-quotes-collection-admin.php:728
|
400 |
+
msgid "Nothing to export"
|
401 |
+
msgstr "Nincs mit exportálni"
|
402 |
+
|
403 |
+
#: inc/class-quotes-collection-admin.php:767
|
404 |
+
msgid "No change in values. Options not updated."
|
405 |
+
msgstr "Az értékek változatlanok. A beállítások változatlanul maradtak. "
|
406 |
+
|
407 |
+
#: inc/class-quotes-collection-admin.php:772
|
408 |
+
msgid "Options updated"
|
409 |
+
msgstr "A beállítások frissítva"
|
410 |
+
|
411 |
+
#: inc/class-quotes-collection-admin.php:775
|
412 |
+
msgid "Options not updated"
|
413 |
+
msgstr "A beállítások változatlanok"
|
414 |
+
|
415 |
+
#: inc/class-quotes-collection-admin.php:791
|
416 |
+
msgid "Maximum items"
|
417 |
+
msgstr "Maximális tétel"
|
418 |
+
|
419 |
+
#: inc/class-quotes-collection-admin.php:821
|
420 |
+
msgctxt "confirmation dialog title"
|
421 |
+
msgid "Delete?"
|
422 |
+
msgstr "Töröljük?"
|
423 |
+
|
424 |
+
#: inc/class-quotes-collection-admin.php:822
|
425 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
426 |
+
msgid "Are you sure you want to delete this quote?"
|
427 |
+
msgstr "Biztosan törölni szeretnéd ezt az idézetet?"
|
428 |
|
429 |
+
#: inc/class-quotes-collection-admin.php:823
|
430 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
431 |
+
msgid "Are you sure you want to delete these quotes?"
|
432 |
+
msgstr "Biztosan törölni szeretnéd ezeket az idézeteket?"
|
433 |
|
434 |
+
#: inc/class-quotes-collection-admin.php:824
|
435 |
+
msgctxt "confirmation dialog button text"
|
436 |
+
msgid "Yes"
|
437 |
+
msgstr "Igen"
|
438 |
|
439 |
+
#: inc/class-quotes-collection-admin.php:825
|
440 |
+
msgctxt "confirmation dialog button text"
|
441 |
+
msgid "No"
|
442 |
+
msgstr "Nem"
|
443 |
|
444 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
445 |
+
msgid "Go to the first page"
|
446 |
+
msgstr "Ugrás az első oldalra"
|
447 |
+
|
448 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
449 |
+
msgid "Go to the previous page"
|
450 |
+
msgstr "Ugrás az előző oldalra"
|
451 |
+
|
452 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
453 |
+
msgid "Go to the next page"
|
454 |
+
msgstr "Ugrás az következő oldalra"
|
455 |
+
|
456 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
457 |
+
msgid "Go to the last page"
|
458 |
+
msgstr "Ugrás az utolsó oldalra"
|
459 |
+
|
460 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
461 |
+
msgid "Goto page:"
|
462 |
+
msgstr "Ugrás erre az oldalra: "
|
463 |
+
|
464 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
465 |
+
msgid "Edit"
|
466 |
+
msgstr "Szerkesztés"
|
467 |
+
|
468 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
469 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
470 |
+
msgid "Delete"
|
471 |
+
msgstr "Törlés"
|
472 |
+
|
473 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
474 |
+
msgctxt "date and time format"
|
475 |
+
msgid "Y/m/d h:i:s A"
|
476 |
+
msgstr "Y/m/d h:i:s A"
|
477 |
+
|
478 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
479 |
+
msgctxt "date format"
|
480 |
+
msgid "Y/m/d"
|
481 |
+
msgstr "Y/m/d"
|
482 |
+
|
483 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
484 |
+
msgid "Private"
|
485 |
+
msgstr "Személyes"
|
486 |
+
|
487 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
488 |
+
msgid "Public"
|
489 |
+
msgstr "Nyilvános"
|
490 |
+
|
491 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
492 |
+
msgid "ID"
|
493 |
+
msgstr "Azonosító"
|
494 |
+
|
495 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
496 |
+
msgid "Date"
|
497 |
+
msgstr "Dátum"
|
498 |
|
499 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
500 |
+
msgid "Make public"
|
501 |
+
msgstr "Nyilvánossá tétel"
|
502 |
|
503 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
504 |
+
msgid "Keep private"
|
505 |
+
msgstr "Marad személyes"
|
languages/quotes-collection-nb_NO.mo
CHANGED
Binary file
|
languages/quotes-collection-nb_NO.po
CHANGED
@@ -1,327 +1,496 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Quotes Collection
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: Christian
|
8 |
-
"Language-Team: \n"
|
|
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"
|
13 |
-
"X-
|
14 |
-
"X-
|
15 |
-
"X-
|
16 |
-
"X-
|
17 |
-
"X-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
msgid "Loading..."
|
30 |
-
msgstr "Laster
|
31 |
|
32 |
-
#: quotes-collection.php:
|
33 |
-
|
34 |
-
|
35 |
-
msgstr "Feil i henting av sitat"
|
36 |
|
37 |
-
#: quotes-collection.php:
|
38 |
-
|
39 |
-
|
40 |
-
msgid "Random Quote"
|
41 |
-
msgstr "Tilfeldig sitat"
|
42 |
|
43 |
-
#: quotes-collection.php:
|
44 |
-
|
45 |
-
msgid "
|
46 |
-
msgstr "
|
47 |
|
48 |
-
#: quotes-collection.php:
|
49 |
-
|
50 |
-
|
51 |
-
msgstr "Tittel"
|
52 |
|
53 |
-
#: quotes-collection.php:
|
54 |
-
|
55 |
-
msgid "
|
56 |
-
msgstr "
|
57 |
|
58 |
-
#: quotes-collection.php:
|
59 |
-
|
60 |
-
msgid "
|
61 |
-
msgstr "
|
62 |
|
63 |
-
#: quotes-collection.php:
|
64 |
-
|
65 |
-
|
66 |
-
msgstr "Ajax-gjenoppfrisking"
|
67 |
|
68 |
-
#: quotes-collection.php:
|
69 |
-
#@ quotes-collection
|
70 |
msgid "Advanced options"
|
71 |
-
msgstr "Avanserte
|
72 |
|
73 |
-
#: quotes-collection.php:
|
74 |
-
|
75 |
-
|
76 |
-
msgstr "Tilfeldig gjenoppfrisking"
|
77 |
-
|
78 |
-
#: quotes-collection.php:313
|
79 |
-
#@ quotes-collection
|
80 |
-
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
81 |
-
msgstr "Når denne boksen avsjekkes vil sitatene rotere i henhold til rekkefølgen de ble lagt til i, de siste først."
|
82 |
|
83 |
-
#: quotes-collection.php:
|
84 |
-
#@ quotes-collection
|
85 |
msgid "Auto refresh"
|
86 |
-
msgstr "Automatisk
|
87 |
|
88 |
-
#: quotes-collection.php:
|
89 |
-
|
90 |
-
|
91 |
-
|
|
|
|
|
|
|
92 |
|
93 |
-
#: quotes-collection.php:
|
94 |
-
|
95 |
-
|
96 |
-
msgstr "sekund"
|
97 |
|
98 |
-
#: quotes-collection.php:
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
-
#: quotes-collection.php:
|
104 |
-
|
|
|
|
|
|
|
105 |
msgid "Comma separated"
|
106 |
-
msgstr "
|
107 |
|
108 |
-
#: quotes-collection.php:
|
109 |
-
|
110 |
-
|
111 |
-
msgstr "Tegnbegrensning"
|
112 |
-
|
113 |
-
#: quotes-collection.php:335
|
114 |
-
#@ quotes-collection
|
115 |
-
msgid "Nothing added to the database."
|
116 |
-
msgstr "Ingenting er lagt til i databasen."
|
117 |
-
|
118 |
-
#: quotes-collection.php:339
|
119 |
-
#: quotes-collection.php:376
|
120 |
-
#@ quotes-collection
|
121 |
-
msgid "Database table not found"
|
122 |
-
msgstr "Databasetabellen kan ikke finnes."
|
123 |
-
|
124 |
-
#: quotes-collection.php:363
|
125 |
-
#: quotes-collection.php:405
|
126 |
-
#: quotes-collection.php:419
|
127 |
-
#@ quotes-collection
|
128 |
-
msgid "There was an error in the MySQL query"
|
129 |
-
msgstr "Det oppsto en feil i MySQL-forespørselen"
|
130 |
-
|
131 |
-
#: quotes-collection.php:365
|
132 |
-
#@ quotes-collection
|
133 |
-
msgid "Quote added"
|
134 |
-
msgstr "Sitat lagt til"
|
135 |
|
136 |
-
#: quotes-collection.php:
|
137 |
-
|
138 |
-
msgid "
|
139 |
-
msgstr "
|
140 |
|
141 |
-
#: quotes-collection.php:
|
142 |
-
|
143 |
-
msgid "
|
144 |
-
msgstr "
|
145 |
|
146 |
-
#: quotes-collection.php:
|
147 |
-
|
148 |
-
msgid "
|
149 |
-
msgstr "
|
150 |
|
151 |
-
#: quotes-collection.php:
|
152 |
-
|
153 |
-
msgid "
|
154 |
-
msgstr "
|
155 |
|
156 |
-
#: quotes-collection.php:
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
msgstr "Legg til sitat"
|
161 |
|
162 |
-
#: quotes-collection.php:
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
msgstr "Lagre endringer"
|
167 |
-
|
168 |
-
#: quotes-collection.php:456
|
169 |
-
#@ quotes-collection
|
170 |
-
msgid "Back"
|
171 |
-
msgstr "Tilbake"
|
172 |
-
|
173 |
-
#: quotes-collection.php:460
|
174 |
-
#: quotes-collection.php:646
|
175 |
-
#@ quotes-collection
|
176 |
-
msgid "The quote"
|
177 |
-
msgstr "Sitatet"
|
178 |
-
|
179 |
-
#: quotes-collection.php:461
|
180 |
-
#: quotes-collection.php:629
|
181 |
-
#: quotes-collection.php:648
|
182 |
-
#@ quotes-collection
|
183 |
-
msgid "Author"
|
184 |
-
msgstr "Opphavsperson"
|
185 |
|
186 |
-
#: quotes-collection.php:
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
msgid "Source"
|
191 |
-
msgstr "Kilde"
|
192 |
|
193 |
-
#: quotes-collection.php:
|
194 |
-
|
195 |
-
|
196 |
-
msgid "Tags"
|
197 |
-
msgstr "Nøkkelord"
|
198 |
|
199 |
-
#: quotes-collection.php:
|
200 |
-
|
201 |
-
|
202 |
-
msgid "Public?"
|
203 |
-
msgstr "Offentlig?"
|
204 |
|
205 |
-
#: quotes-collection.php:
|
206 |
-
|
207 |
-
|
208 |
-
msgstr "valgfritt"
|
209 |
|
210 |
-
#: quotes-collection.php:
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
msgid "
|
229 |
-
msgstr "
|
230 |
-
|
231 |
-
#: quotes-collection.php:
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
#: quotes-collection.php:
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
|
249 |
-
#: quotes-collection.php:
|
250 |
-
|
251 |
-
|
252 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
msgid "Make public"
|
254 |
msgstr "Gjør offentlig"
|
255 |
|
256 |
-
#: quotes-collection.php:
|
257 |
-
|
258 |
-
|
259 |
-
#@ quotes-collection
|
260 |
-
msgid "Keep private"
|
261 |
-
msgstr "Hold privat"
|
262 |
|
263 |
-
#: quotes-collection.php:
|
264 |
-
|
265 |
-
|
266 |
-
msgstr "Redigere"
|
267 |
|
268 |
-
#: quotes-collection.php:
|
269 |
-
|
270 |
-
|
271 |
-
msgstr "Er du sikker på at du vil slette dette sitatet?"
|
272 |
-
|
273 |
-
#: quotes-collection.php:613
|
274 |
-
#, php-format
|
275 |
-
#@ quotes-collection
|
276 |
-
msgid "Currently, you have %d quote."
|
277 |
-
msgid_plural "Currently, you have %d quotes."
|
278 |
-
msgstr[0] "Du har %d sitat."
|
279 |
-
msgstr[1] "Du har %d sitater."
|
280 |
-
|
281 |
-
#: quotes-collection.php:615
|
282 |
-
#: quotes-collection.php:677
|
283 |
-
#@ quotes-collection
|
284 |
-
msgid "Add new quote"
|
285 |
-
msgstr "Nytt sitat"
|
286 |
-
|
287 |
-
#: quotes-collection.php:625
|
288 |
-
#@ quotes-collection
|
289 |
-
msgid "Sort by: "
|
290 |
-
msgstr "Sortere etter:"
|
291 |
-
|
292 |
-
#: quotes-collection.php:627
|
293 |
-
#: quotes-collection.php:628
|
294 |
-
#@ quotes-collection
|
295 |
-
msgid "Quote"
|
296 |
-
msgstr "Sitat"
|
297 |
|
298 |
-
#: quotes-collection.php:
|
299 |
-
|
300 |
-
|
301 |
-
msgstr "Dato lagt til"
|
302 |
|
303 |
-
#: quotes-collection.php:
|
304 |
-
|
305 |
-
|
306 |
-
|
|
|
307 |
|
308 |
-
#: quotes-collection.php:
|
309 |
-
|
310 |
-
|
311 |
-
msgstr "Synlighet"
|
312 |
|
313 |
-
#: quotes-collection.php:
|
314 |
-
|
315 |
-
|
316 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
|
318 |
-
#: quotes-collection.php:
|
319 |
-
|
320 |
-
|
321 |
-
msgstr "Handling"
|
322 |
|
323 |
-
#: quotes-collection.php:
|
324 |
-
|
325 |
-
|
326 |
-
msgstr "Ingen sitater i databasen"
|
327 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Quotes Collection 2.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-04-14 17:24+0100\n"
|
6 |
+
"PO-Revision-Date: 2015-04-17 21:38+0100\n"
|
7 |
+
"Last-Translator: Christian Nordtomme\n"
|
8 |
+
"Language-Team: Skriftlig.no\n"
|
9 |
+
"Language: Bokmål\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Generator: Loco https://localise.biz\n"
|
16 |
+
"X-Loco-Source-Locale: en_GB\n"
|
17 |
+
"X-Loco-Target-Locale: nb_NO\n"
|
18 |
+
"X-Loco-Project-Id: 6869\n"
|
19 |
+
"X-Loco-Api-Version: 1.0.9"
|
20 |
+
|
21 |
+
#: inc/class-quotes-collection-admin.php:487
|
22 |
+
#: inc/class-quotes-collection-admin-list-table.php:127 loco:#: 552d3f2c14d72594268b459f
|
23 |
+
msgid "Author"
|
24 |
+
msgstr "Opphavsperson"
|
25 |
+
|
26 |
+
#: inc/class-quotes-collection-admin-list-table.php:129 loco:#: 552d3f2c14d72594268b45cc
|
27 |
+
msgid "Date"
|
28 |
+
msgstr "Dato"
|
29 |
+
|
30 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
31 |
+
#: inc/class-quotes-collection-admin-list-table.php:145 loco:#: 552d3f2c14d72594268b45c6
|
32 |
+
msgid "Delete"
|
33 |
+
msgstr "Slett"
|
34 |
+
|
35 |
+
#: inc/class-quotes-collection-admin-list-table.php:64 loco:#: 552d3f2c14d72594268b45c5
|
36 |
+
msgid "Edit"
|
37 |
+
msgstr "Endre"
|
38 |
+
|
39 |
+
#: inc/class-quotes-collection-admin-list-table.php:125 loco:#: 552d3f2c14d72594268b45cb
|
40 |
+
msgid "ID"
|
41 |
+
msgstr "ID"
|
42 |
+
|
43 |
+
#: inc/class-quotes-collection.php:82 loco:552d3f2c14d72594268b457f
|
44 |
msgid "Loading..."
|
45 |
+
msgstr "Laster…"
|
46 |
|
47 |
+
#: inc/class-quotes-collection-admin-list-table.php:110 loco:#: 552d3f2c14d72594268b45c9
|
48 |
+
msgid "Private"
|
49 |
+
msgstr "Privat"
|
|
|
50 |
|
51 |
+
#: inc/class-quotes-collection-admin-list-table.php:110 loco:#: 552d3f2c14d72594268b45ca
|
52 |
+
msgid "Public"
|
53 |
+
msgstr "Offentlig"
|
|
|
|
|
54 |
|
55 |
+
#: inc/class-quotes-collection-admin.php:486
|
56 |
+
#: inc/class-quotes-collection-admin-list-table.php:126 loco:#: 552d3f2c14d72594268b459e
|
57 |
+
msgid "Quote"
|
58 |
+
msgstr "Sitat"
|
59 |
|
60 |
+
#: inc/class-quotes-collection-admin.php:220 loco:552d3f2c14d72594268b4591
|
61 |
+
msgid "Search"
|
62 |
+
msgstr "Søk"
|
|
|
63 |
|
64 |
+
#: inc/class-quotes-collection-admin.php:488
|
65 |
+
#: inc/class-quotes-collection-admin-list-table.php:127 loco:#: 552d3f2c14d72594268b45a0
|
66 |
+
msgid "Source"
|
67 |
+
msgstr "Kilde"
|
68 |
|
69 |
+
#: inc/class-quotes-collection-admin.php:489
|
70 |
+
#: inc/class-quotes-collection-admin-list-table.php:128 loco:#: 552d3f2c14d72594268b45a1
|
71 |
+
msgid "Tags"
|
72 |
+
msgstr "Nøkkelord"
|
73 |
|
74 |
+
#: inc/class-quotes-collection-widget.php:114 loco:552d3f2c14d72594268b4572
|
75 |
+
msgid "Title"
|
76 |
+
msgstr "Tittel"
|
|
|
77 |
|
78 |
+
#: inc/class-quotes-collection-widget.php:133 loco:552d3f2c14d72594268b4576
|
|
|
79 |
msgid "Advanced options"
|
80 |
+
msgstr "Avanserte innstillinger"
|
81 |
|
82 |
+
#: inc/class-quotes-collection-admin.php:381 loco:552d3f2c14d72594268b459c
|
83 |
+
msgid "All Quotes"
|
84 |
+
msgstr "Alle sitater"
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
+
#: inc/class-quotes-collection-widget.php:144 loco:552d3f2c14d72594268b4579
|
|
|
87 |
msgid "Auto refresh"
|
88 |
+
msgstr "Automatisk gjenoppfriskning"
|
89 |
|
90 |
+
#: inc/class-quotes-collection-admin.php:255 loco:552d3f2c14d72594268b4592
|
91 |
+
msgid ""
|
92 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
93 |
+
"json) file to upload, then click the 'Import' button."
|
94 |
+
msgstr ""
|
95 |
+
"Velg en <abbr title=\"JavaScript Object Notification\">JSON</abbr>-fil (.json) "
|
96 |
+
"å laste opp, og klikk på \"importere\"-knappen."
|
97 |
|
98 |
+
#: inc/class-quotes-collection-admin.php:582 loco:552d3f2c14d72594268b45a8
|
99 |
+
msgid "Changes saved"
|
100 |
+
msgstr "Endringene er lagret"
|
|
|
101 |
|
102 |
+
#: inc/class-quotes-collection-widget.php:157 loco:552d3f2c14d72594268b457d
|
103 |
+
msgid "Character limit"
|
104 |
+
msgstr "Maksimalt antall tegn"
|
105 |
+
|
106 |
+
#: inc/class-quotes-collection-admin.php:350 loco:552d3f2c14d72594268b459a
|
107 |
+
msgid ""
|
108 |
+
"Check this if your site is cached and the 'random quote' widget always shows "
|
109 |
+
"a particular quote as the initial quote."
|
110 |
+
msgstr ""
|
111 |
+
"Kryss av her hvis siden din mellomlagres og \"tilfeldig sitat\"-widgeten alltid "
|
112 |
+
"viser samme sitat som første sitat."
|
113 |
|
114 |
+
#: inc/class-quotes-collection-admin.php:260 loco:552d3f2c14d72594268b4593
|
115 |
+
msgid "Choose a file to upload:"
|
116 |
+
msgstr "Velg en fil å laste opp:"
|
117 |
+
|
118 |
+
#: inc/class-quotes-collection-widget.php:153 loco:552d3f2c14d72594268b457c
|
119 |
msgid "Comma separated"
|
120 |
+
msgstr "Komma-separert"
|
121 |
|
122 |
+
#: inc/class-quotes-collection-admin.php:492 loco:552d3f2c14d72594268b45a4
|
123 |
+
msgid "comma separated"
|
124 |
+
msgstr "komma-separert"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|
126 |
+
#: inc/class-quotes-collection-admin.php:825 loco:552d3f2c14d72594268b45bf
|
127 |
+
msgctxt "confirmation dialog button text"
|
128 |
+
msgid "No"
|
129 |
+
msgstr "Nei"
|
130 |
|
131 |
+
#: inc/class-quotes-collection-admin.php:824 loco:552d3f2c14d72594268b45be
|
132 |
+
msgctxt "confirmation dialog button text"
|
133 |
+
msgid "Yes"
|
134 |
+
msgstr "Ja"
|
135 |
|
136 |
+
#: inc/class-quotes-collection-admin.php:822 loco:552d3f2c14d72594268b45bc
|
137 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
138 |
+
msgid "Are you sure you want to delete this quote?"
|
139 |
+
msgstr "Er du sikker på at du ønsker å slette dette sitatet?"
|
140 |
|
141 |
+
#: inc/class-quotes-collection-admin.php:823 loco:552d3f2c14d72594268b45bd
|
142 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
143 |
+
msgid "Are you sure you want to delete these quotes?"
|
144 |
+
msgstr "Er du sikker på at du ønsker å slette disse sitatene?"
|
145 |
|
146 |
+
#: inc/class-quotes-collection-admin.php:821 loco:552d3f2c14d72594268b45bb
|
147 |
+
msgctxt "confirmation dialog title"
|
148 |
+
msgid "Delete?"
|
149 |
+
msgstr "Slette?"
|
|
|
150 |
|
151 |
+
#: inc/class-quotes-collection-admin-list-table.php:107 loco:#: 552d3f2c14d72594268b45c7
|
152 |
+
msgctxt "date and time format"
|
153 |
+
msgid "Y/m/d h:i:s A"
|
154 |
+
msgstr "j. M. Y, G:i"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
|
156 |
+
#: inc/class-quotes-collection-admin-list-table.php:108 loco:#: 552d3f2c14d72594268b45c8
|
157 |
+
msgctxt "date format"
|
158 |
+
msgid "Y/m/d"
|
159 |
+
msgstr "j. M. Y"
|
|
|
|
|
160 |
|
161 |
+
#: inc/class-quotes-collection-admin.php:347 loco:552d3f2c14d72594268b4599
|
162 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
163 |
+
msgstr "Dynamisk innhenting av første tilfeldige sitat i widgeten?"
|
|
|
|
|
164 |
|
165 |
+
#: inc/class-quotes-collection-admin.php:570 loco:552d3f2c14d72594268b45a7
|
166 |
+
msgid "Error adding quote"
|
167 |
+
msgstr "En feil hindret sitatet fra å bli lagret"
|
|
|
|
|
168 |
|
169 |
+
#: inc/class-quotes-collection-admin.php:616 loco:552d3f2c14d72594268b45ab
|
170 |
+
msgid "Error deleting quote"
|
171 |
+
msgstr "Slettingen av sitatet mislyktes"
|
|
|
172 |
|
173 |
+
#: inc/class-quotes-collection-admin.php:629 loco:552d3f2c14d72594268b45ad
|
174 |
+
msgid "Error deleting quotes"
|
175 |
+
msgstr "Slettingen av sitater mislyktes"
|
176 |
+
|
177 |
+
#: inc/class-quotes-collection.php:83 loco:552d3f2c14d72594268b4580
|
178 |
+
msgid "Error getting quote"
|
179 |
+
msgstr "Feil i å finne sitat"
|
180 |
+
|
181 |
+
#: inc/class-quotes-collection-admin.php:693 loco:552d3f2c14d72594268b45b3
|
182 |
+
msgid "Error in JSON file"
|
183 |
+
msgstr "Det er en feil i JSON-filen"
|
184 |
+
|
185 |
+
#: inc/class-quotes-collection-admin.php:643
|
186 |
+
#: inc/class-quotes-collection-admin.php:656 loco:552d3f2c14d72594268b45ae
|
187 |
+
msgid "Error. Privacy status not changed."
|
188 |
+
msgstr "En feil oppsto. Publiseringsstatusen er ikke oppdatert. "
|
189 |
+
|
190 |
+
#: inc/class-quotes-collection-admin.php:584 loco:552d3f2c14d72594268b45a9
|
191 |
+
msgid "Error updating quote"
|
192 |
+
msgstr "Oppdatering av sitatet mislyktes"
|
193 |
+
|
194 |
+
#: inc/class-quotes-collection-widget.php:146 loco:552d3f2c14d72594268b457a
|
195 |
+
msgid "every %s sec"
|
196 |
+
msgstr "hvert %s sekund"
|
197 |
+
|
198 |
+
#: inc/class-quotes-collection-shortcode.php:192 loco:552d3f2c14d72594268b45c0
|
199 |
+
msgid "Go to the first page"
|
200 |
+
msgstr "Første side"
|
201 |
+
|
202 |
+
#: inc/class-quotes-collection-shortcode.php:200 loco:552d3f2c14d72594268b45c3
|
203 |
+
msgid "Go to the last page"
|
204 |
+
msgstr "Siste side"
|
205 |
+
|
206 |
+
#: inc/class-quotes-collection-shortcode.php:198 loco:552d3f2c14d72594268b45c2
|
207 |
+
msgid "Go to the next page"
|
208 |
+
msgstr "Neste side"
|
209 |
+
|
210 |
+
#: inc/class-quotes-collection-shortcode.php:194 loco:552d3f2c14d72594268b45c1
|
211 |
+
msgid "Go to the previous page"
|
212 |
+
msgstr "Forrige side"
|
213 |
+
|
214 |
+
#: inc/class-quotes-collection-shortcode.php:204 loco:552d3f2c14d72594268b45c4
|
215 |
+
msgid "Goto page:"
|
216 |
+
msgstr "Gå til: "
|
217 |
+
|
218 |
+
#: inc/class-quotes-collection-admin.php:73
|
219 |
+
#: inc/class-quotes-collection-admin.php:241 loco:552d3f2c14d72594268b4582
|
220 |
+
msgctxt "heading"
|
221 |
+
msgid "Add New Quote"
|
222 |
+
msgstr "Legg til nytt sitat"
|
223 |
+
|
224 |
+
#: inc/class-quotes-collection-admin.php:95
|
225 |
+
#: inc/class-quotes-collection-admin.php:302 loco:552d3f2c14d72594268b4586
|
226 |
+
msgctxt "heading"
|
227 |
+
msgid "Export Quotes"
|
228 |
+
msgstr "Eksportere sitater"
|
229 |
+
|
230 |
+
#: inc/class-quotes-collection-admin.php:84
|
231 |
+
#: inc/class-quotes-collection-admin.php:274 loco:552d3f2c14d72594268b4584
|
232 |
+
msgctxt "heading"
|
233 |
+
msgid "Import Quotes"
|
234 |
+
msgstr "Importere sitater"
|
235 |
+
|
236 |
+
#: inc/class-quotes-collection-admin.php:106
|
237 |
+
#: inc/class-quotes-collection-admin.php:362 loco:552d3f2c14d72594268b4588
|
238 |
+
msgctxt "heading"
|
239 |
+
msgid "Quotes Collection Options"
|
240 |
+
msgstr "Innstillinger for Quotes Collection "
|
241 |
+
|
242 |
+
#: inc/class-quotes-collection-admin.php:701
|
243 |
+
#: inc/class-quotes-collection-admin.php:715 loco:552d3f2c14d72594268b45b4
|
244 |
+
msgid "Import failed. Please try again."
|
245 |
+
msgstr "Importen mislyktes. Vennligst prøv igjen."
|
246 |
+
|
247 |
+
#: inc/class-quotes-collection-admin.php:674 loco:552d3f2c14d72594268b45b0
|
248 |
+
msgid "Invalid file format"
|
249 |
+
msgstr "Ugyldig filformat"
|
250 |
+
|
251 |
+
#: inc/class-quotes-collection-admin-list-table.php:147 loco:#: 552d3f2c14d72594268b45ce
|
252 |
+
msgid "Keep private"
|
253 |
+
msgstr "Gjør privat"
|
254 |
+
|
255 |
+
#: inc/class-quotes-collection-admin.php:188 loco:552d3f2c14d72594268b458d
|
256 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
257 |
+
msgid "All Quotes"
|
258 |
+
msgstr "Alle sitater"
|
259 |
|
260 |
+
#: inc/class-quotes-collection-admin.php:198 loco:552d3f2c14d72594268b458f
|
261 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
262 |
+
msgid "Private"
|
263 |
+
msgstr "Privat"
|
264 |
+
|
265 |
+
#: inc/class-quotes-collection-admin.php:193 loco:552d3f2c14d72594268b458e
|
266 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
267 |
+
msgid "Public"
|
268 |
+
msgstr "Offentlig"
|
269 |
+
|
270 |
+
#: inc/class-quotes-collection-admin.php:204 loco:552d3f2c14d72594268b4590
|
271 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
272 |
+
msgid "Search results for \"%s\""
|
273 |
+
msgstr "Søkeresultater for \"%s\""
|
274 |
+
|
275 |
+
#: inc/class-quotes-collection-admin-list-table.php:146 loco:#: 552d3f2c14d72594268b45cd
|
276 |
msgid "Make public"
|
277 |
msgstr "Gjør offentlig"
|
278 |
|
279 |
+
#: inc/class-quotes-collection-admin.php:791 loco:552d3f2c14d72594268b45ba
|
280 |
+
msgid "Maximum items"
|
281 |
+
msgstr "Maksimalt antall"
|
|
|
|
|
|
|
282 |
|
283 |
+
#: inc/class-quotes-collection-admin.php:343 loco:552d3f2c14d72594268b4598
|
284 |
+
msgid "Maximum number of iterations for auto-refresh"
|
285 |
+
msgstr "Maksimalt antall gjentagelser for automatisk gjenoppfrisking"
|
|
|
286 |
|
287 |
+
#: inc/class-quotes-collection.php:104 loco:552d3f2c14d72594268b4581
|
288 |
+
msgid "Next quote »"
|
289 |
+
msgstr "Neste sitat »"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
|
291 |
+
#: inc/class-quotes-collection-admin.php:767 loco:552d3f2c14d72594268b45b7
|
292 |
+
msgid "No change in values. Options not updated."
|
293 |
+
msgstr "Ingen endring. Innstillingene er ikke oppdatert."
|
|
|
294 |
|
295 |
+
#: inc/class-quotes-collection-admin.php:621
|
296 |
+
#: inc/class-quotes-collection-admin.php:635
|
297 |
+
#: inc/class-quotes-collection-admin.php:648 loco:552d3f2c14d72594268b45ac
|
298 |
+
msgid "No item selected"
|
299 |
+
msgstr "Ingen valgt"
|
300 |
|
301 |
+
#: inc/class-quotes-collection-admin.php:704 loco:552d3f2c14d72594268b45b5
|
302 |
+
msgid "No quotes imported"
|
303 |
+
msgstr "Ingen sitater importert"
|
|
|
304 |
|
305 |
+
#: inc/class-quotes-collection-widget.php:189 loco:552d3f2c14d72594268b457e
|
306 |
+
msgid "none"
|
307 |
+
msgstr "ingen"
|
308 |
+
|
309 |
+
#: inc/class-quotes-collection-admin.php:728 loco:552d3f2c14d72594268b45b6
|
310 |
+
msgid "Nothing to export"
|
311 |
+
msgstr "Ingenting å eksportere"
|
312 |
+
|
313 |
+
#: inc/class-quotes-collection-admin.php:625 loco:552d3f2c14d72594268b4567
|
314 |
+
msgid "One quote deleted"
|
315 |
+
msgid_plural "%d quotes deleted"
|
316 |
+
msgstr[0] "Ett sitat slettet"
|
317 |
+
msgstr[1] "%d sitater slettet"
|
318 |
+
|
319 |
+
#: inc/class-quotes-collection-admin.php:708 loco:552d3f2c14d72594268b456d
|
320 |
+
msgid "One quote imported"
|
321 |
+
msgid_plural "%d quotes imported"
|
322 |
+
msgstr[0] "Ett sitat importert"
|
323 |
+
msgstr[1] "%d sitater importert"
|
324 |
+
|
325 |
+
#: inc/class-quotes-collection-admin.php:491 loco:552d3f2c14d72594268b45a3
|
326 |
+
msgid "optional"
|
327 |
+
msgstr "valgfritt"
|
328 |
|
329 |
+
#: inc/class-quotes-collection-admin.php:775 loco:552d3f2c14d72594268b45b9
|
330 |
+
msgid "Options not updated"
|
331 |
+
msgstr "Innstillingene er ikke oppdatert"
|
|
|
332 |
|
333 |
+
#: inc/class-quotes-collection-admin.php:772 loco:552d3f2c14d72594268b45b8
|
334 |
+
msgid "Options updated"
|
335 |
+
msgstr "Innstillingene er oppdatert"
|
|
|
336 |
|
337 |
+
#: inc/class-quotes-collection-admin.php:668 loco:552d3f2c14d72594268b45af
|
338 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
339 |
+
msgstr "Vennligst velg en fil du vil laste opp før du klikker for å importere"
|
340 |
+
|
341 |
+
#: inc/class-quotes-collection-admin.php:490 loco:552d3f2c14d72594268b45a2
|
342 |
+
msgid "Public?"
|
343 |
+
msgstr "Offentlig?"
|
344 |
+
|
345 |
+
#: inc/class-quotes-collection-admin.php:567 loco:552d3f2c14d72594268b45a6
|
346 |
+
msgid "Quote added"
|
347 |
+
msgstr "Sitatet er lagt til"
|
348 |
+
|
349 |
+
#: inc/class-quotes-collection-admin.php:614 loco:552d3f2c14d72594268b45aa
|
350 |
+
msgid "Quote deleted"
|
351 |
+
msgstr "Sitatet er slettet"
|
352 |
+
|
353 |
+
#: inc/class-quotes-collection-admin.php:652 loco:552d3f2c14d72594268b456b
|
354 |
+
msgid "Quote kept private"
|
355 |
+
msgid_plural "%d quotes kept private"
|
356 |
+
msgstr[0] "Sitatet er privat"
|
357 |
+
msgstr[1] "%d sitater er private. "
|
358 |
+
|
359 |
+
#: inc/class-quotes-collection-admin.php:639 loco:552d3f2c14d72594268b4569
|
360 |
+
msgid "Quote made public"
|
361 |
+
msgid_plural "%d quotes made public"
|
362 |
+
msgstr[0] "Sitatet er offentliggjort"
|
363 |
+
msgstr[1] "%d sitater er offentliggjort"
|
364 |
+
|
365 |
+
#: inc/class-quotes-collection-widget.php:41
|
366 |
+
#: inc/class-quotes-collection-widget.php:83
|
367 |
+
#: inc/class-quotes-collection-widget.php:201 loco:552d3f2c14d72594268b4571
|
368 |
+
msgid "Random Quote"
|
369 |
+
msgstr "Tilfeldig sitat"
|
370 |
+
|
371 |
+
#: inc/class-quotes-collection-widget.php:138 loco:552d3f2c14d72594268b4577
|
372 |
+
msgid "Random refresh"
|
373 |
+
msgstr "Tilfeldig gjenoppfrisking"
|
374 |
+
|
375 |
+
#: inc/class-quotes-collection-widget.php:130 loco:552d3f2c14d72594268b4575
|
376 |
+
msgid "Refresh feature"
|
377 |
+
msgstr "Gjenoppfriskning"
|
378 |
+
|
379 |
+
#: inc/class-quotes-collection-admin.php:339 loco:552d3f2c14d72594268b4597
|
380 |
+
msgid "Refresh link text"
|
381 |
+
msgstr "Tekst for gjenoppfriskningslenke"
|
382 |
+
|
383 |
+
#: inc/class-quotes-collection-widget.php:120 loco:552d3f2c14d72594268b4573
|
384 |
+
msgid "Show author?"
|
385 |
+
msgstr "Vis opphavsperson?"
|
386 |
+
|
387 |
+
#: inc/class-quotes-collection-widget.php:125 loco:552d3f2c14d72594268b4574
|
388 |
+
msgid "Show source?"
|
389 |
+
msgstr "Vis kilde?"
|
390 |
+
|
391 |
+
#: inc/class-quotes-collection-admin.php:74
|
392 |
+
#: inc/class-quotes-collection-admin.php:389 loco:552d3f2c14d72594268b4583
|
393 |
+
msgctxt "submenu item text"
|
394 |
+
msgid "Add New"
|
395 |
+
msgstr "Legg til"
|
396 |
+
|
397 |
+
#: inc/class-quotes-collection-admin.php:116 loco:552d3f2c14d72594268b458a
|
398 |
+
msgctxt "submenu item text"
|
399 |
+
msgid "All Quotes"
|
400 |
+
msgstr "Alle sitater"
|
401 |
+
|
402 |
+
#: inc/class-quotes-collection-admin.php:157
|
403 |
+
#: inc/class-quotes-collection-admin.php:385 loco:552d3f2c14d72594268b458c
|
404 |
+
msgctxt "submenu item text"
|
405 |
+
msgid "Edit Quote"
|
406 |
+
msgstr "Endre sitat"
|
407 |
+
|
408 |
+
#: inc/class-quotes-collection-admin.php:96
|
409 |
+
#: inc/class-quotes-collection-admin.php:398 loco:552d3f2c14d72594268b4587
|
410 |
+
msgctxt "submenu item text"
|
411 |
+
msgid "Export"
|
412 |
+
msgstr "Eksport"
|
413 |
+
|
414 |
+
#: inc/class-quotes-collection-admin.php:85
|
415 |
+
#: inc/class-quotes-collection-admin.php:395 loco:552d3f2c14d72594268b4585
|
416 |
+
msgctxt "submenu item text"
|
417 |
+
msgid "Import"
|
418 |
+
msgstr "Import"
|
419 |
+
|
420 |
+
#: inc/class-quotes-collection-admin.php:107
|
421 |
+
#: inc/class-quotes-collection-admin.php:404 loco:552d3f2c14d72594268b4589
|
422 |
+
msgctxt "submenu item text"
|
423 |
+
msgid "Options"
|
424 |
+
msgstr "Innstillinger"
|
425 |
+
|
426 |
+
#: inc/class-quotes-collection-admin.php:457
|
427 |
+
#: inc/class-quotes-collection-admin.php:560 loco:552d3f2c14d72594268b459d
|
428 |
+
msgctxt "submit button text"
|
429 |
+
msgid "Add Quote"
|
430 |
+
msgstr "Legg til sitat"
|
431 |
+
|
432 |
+
#: inc/class-quotes-collection-admin.php:292
|
433 |
+
#: inc/class-quotes-collection-admin.php:594 loco:552d3f2c14d72594268b4596
|
434 |
+
msgctxt "submit button text"
|
435 |
+
msgid "Export"
|
436 |
+
msgstr "Eksportere"
|
437 |
+
|
438 |
+
#: inc/class-quotes-collection-admin.php:265
|
439 |
+
#: inc/class-quotes-collection-admin.php:588 loco:552d3f2c14d72594268b4594
|
440 |
+
msgctxt "submit button text"
|
441 |
+
msgid "Import"
|
442 |
+
msgstr "Importere"
|
443 |
+
|
444 |
+
#: inc/class-quotes-collection-admin.php:150
|
445 |
+
#: inc/class-quotes-collection-admin.php:474
|
446 |
+
#: inc/class-quotes-collection-admin.php:575 loco:552d3f2c14d72594268b458b
|
447 |
+
msgctxt "submit button text"
|
448 |
+
msgid "Save Changes"
|
449 |
+
msgstr "Lagre endringe"
|
450 |
+
|
451 |
+
#: inc/class-quotes-collection-admin.php:353
|
452 |
+
#: inc/class-quotes-collection-admin.php:600 loco:552d3f2c14d72594268b459b
|
453 |
+
msgctxt "submit button text"
|
454 |
+
msgid "Update Options"
|
455 |
+
msgstr "Oppdatere innstillinger"
|
456 |
+
|
457 |
+
#: inc/class-quotes-collection-widget.php:151 loco:552d3f2c14d72594268b457b
|
458 |
+
msgid "Tags filter"
|
459 |
+
msgstr "Filtrere på nøkkelord"
|
460 |
+
|
461 |
+
#: inc/class-quotes-collection-admin.php:688 loco:552d3f2c14d72594268b45b2
|
462 |
+
msgid "The file uploaded was empty"
|
463 |
+
msgstr "Filen er tom"
|
464 |
+
|
465 |
+
#: inc/class-quotes-collection-admin.php:680 loco:552d3f2c14d72594268b45b1
|
466 |
+
msgid "The file you uploaded is too big. Import failed."
|
467 |
+
msgstr "Filen du lastet opp er for stor, og importen feilet."
|
468 |
+
|
469 |
+
#: inc/class-quotes-collection-admin.php:564
|
470 |
+
#: inc/class-quotes-collection-admin.php:579 loco:552d3f2c14d72594268b45a5
|
471 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
472 |
+
msgstr "Sitat-feltet kan ikke være tomt. Vennligst fyll inn et sitat og prøv igjen."
|
473 |
+
|
474 |
+
#: inc/class-quotes-collection-widget.php:139 loco:552d3f2c14d72594268b4578
|
475 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
476 |
+
msgstr "Slå av for å rotere sitater i rekkefølgen de er lagt til (nyeste først)."
|
477 |
+
|
478 |
+
#: inc/class-quotes-collection-admin.php:287 loco:552d3f2c14d72594268b4595
|
479 |
+
msgid ""
|
480 |
+
"When you click the button below, a <abbr title=\"JavaScript Object Notation\">"
|
481 |
+
"JSON</abbr> file with the entire collection of quotes will be created, that "
|
482 |
+
"you can save to your computer."
|
483 |
+
msgstr ""
|
484 |
+
"Ved å klikke på knappen under genererer du en <abbr title=\"JavaScript Object "
|
485 |
+
"Notation\">JSON</abbr>-fil med hele sitat-samlingen din, som du så kan lagre "
|
486 |
+
"lokalt på maskinen din."
|
487 |
+
|
488 |
+
#: inc/class-quotes-collection-widget.php:18 loco:552d3f2c14d72594268b4570
|
489 |
+
msgctxt "widget description"
|
490 |
+
msgid "Random quote from your quotes collection"
|
491 |
+
msgstr "Tilfeldig sitat fra samlingen din"
|
492 |
+
|
493 |
+
#: inc/class-quotes-collection-widget.php:17 loco:552d3f2c14d72594268b456f
|
494 |
+
msgctxt "widget name"
|
495 |
+
msgid "Random Quote"
|
496 |
+
msgstr "Tilfeldig sitat"
|
languages/quotes-collection-nl_NL.mo
CHANGED
Binary file
|
languages/quotes-collection-nl_NL.po
CHANGED
@@ -1,230 +1,627 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Quotes Collection
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
|
5 |
"POT-Creation-Date: 2008-05-24 14:49+0530\n"
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator:
|
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: Dutch\n"
|
13 |
-
"X-Poedit-Country:
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
msgid "Loading..."
|
24 |
msgstr "Laden..."
|
25 |
|
26 |
-
#: quotes-collection.php:
|
|
|
27 |
msgid "Error getting quote"
|
28 |
msgstr "Fout bij ophalen citaat"
|
29 |
|
30 |
-
#: quotes-collection.php:
|
31 |
-
#: quotes-collection.php:
|
|
|
|
|
32 |
msgid "Random Quote"
|
33 |
-
msgstr "Willekeurig
|
34 |
|
35 |
-
#: quotes-collection.php:
|
|
|
36 |
msgid "Title"
|
37 |
msgstr "Titel"
|
38 |
|
39 |
-
#: quotes-collection.php:
|
|
|
40 |
msgid "Show author?"
|
41 |
msgstr "Toon auteur?"
|
42 |
|
43 |
-
#: quotes-collection.php:
|
|
|
44 |
msgid "Show source?"
|
45 |
msgstr "Toon bron?"
|
46 |
|
47 |
-
#: quotes-collection.php:
|
48 |
-
|
49 |
-
msgstr "Ajax ververs functie"
|
50 |
-
|
51 |
-
#: quotes-collection.php:169
|
52 |
-
msgid "Manage your collection of quotes at"
|
53 |
-
msgstr "Beheer je collectie citaten op"
|
54 |
-
|
55 |
-
#: quotes-collection.php:169
|
56 |
-
msgid "Manage"
|
57 |
-
msgstr "Beheren"
|
58 |
-
|
59 |
-
#: quotes-collection.php:186
|
60 |
-
msgid "Nothing added to the database."
|
61 |
-
msgstr "Niets toegevoegd aan de database."
|
62 |
-
|
63 |
-
#: quotes-collection.php:190
|
64 |
-
#: quotes-collection.php:228
|
65 |
-
msgid "Database table not found"
|
66 |
-
msgstr "Database tabel niet gevodnen"
|
67 |
-
|
68 |
-
#: quotes-collection.php:215
|
69 |
-
#: quotes-collection.php:258
|
70 |
-
#: quotes-collection.php:272
|
71 |
-
msgid "There was an error in the MySQL query"
|
72 |
-
msgstr "Er is een fout gevonden in de MySQL query"
|
73 |
-
|
74 |
-
#: quotes-collection.php:217
|
75 |
msgid "Quote added"
|
76 |
msgstr "Citaat toegevoegd"
|
77 |
|
78 |
-
#: quotes-collection.php:
|
79 |
-
|
80 |
-
msgstr "Citaat niet bijgewerkt"
|
81 |
-
|
82 |
-
#: quotes-collection.php:260
|
83 |
msgid "Changes saved"
|
84 |
msgstr "Wijzigingen opgeslagen"
|
85 |
|
86 |
-
#: quotes-collection.php:
|
|
|
87 |
msgid "Quote deleted"
|
88 |
msgstr "Citaat verwijderd"
|
89 |
|
90 |
-
#: quotes-collection.php:
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
#: quotes-collection.php:292
|
95 |
-
#: quotes-collection.php:385
|
96 |
-
msgid "Add Quote"
|
97 |
-
msgstr "Citaat toevoegen"
|
98 |
-
|
99 |
-
#: quotes-collection.php:308
|
100 |
-
#: quotes-collection.php:389
|
101 |
-
msgid "Save changes"
|
102 |
-
msgstr "Wijzigingen opslaan"
|
103 |
-
|
104 |
-
#: quotes-collection.php:309
|
105 |
-
msgid "Back"
|
106 |
-
msgstr "Terug"
|
107 |
-
|
108 |
-
#: quotes-collection.php:313
|
109 |
-
#: quotes-collection.php:491
|
110 |
-
msgid "The quote"
|
111 |
-
msgstr "Het citaat"
|
112 |
-
|
113 |
-
#: quotes-collection.php:314
|
114 |
-
#: quotes-collection.php:477
|
115 |
-
#: quotes-collection.php:493
|
116 |
msgid "Author"
|
117 |
msgstr "Auteur"
|
118 |
|
119 |
-
#: quotes-collection.php:
|
120 |
-
#: quotes-collection.php:
|
121 |
-
|
122 |
msgid "Source"
|
123 |
msgstr "Bron"
|
124 |
|
125 |
-
#: quotes-collection.php:
|
126 |
-
#: quotes-collection.php:
|
|
|
127 |
msgid "Tags"
|
128 |
-
msgstr "
|
129 |
|
130 |
-
#: quotes-collection.php:
|
131 |
-
|
132 |
-
msgid "Visible?"
|
133 |
-
msgstr "Zichtbaar?"
|
134 |
-
|
135 |
-
#: quotes-collection.php:318
|
136 |
msgid "optional"
|
137 |
msgstr "Optioneel"
|
138 |
|
139 |
-
#: quotes-collection.php:
|
|
|
140 |
msgid "comma separated"
|
141 |
-
msgstr "
|
142 |
-
|
143 |
-
#: quotes-collection.php:355
|
144 |
-
#: quotes-collection.php:368
|
145 |
-
msgid "Nothing done!"
|
146 |
-
msgstr "Er is niets gebeurd!"
|
147 |
-
|
148 |
-
#: quotes-collection.php:362
|
149 |
-
#, php-format
|
150 |
-
msgid "Visibility status of selected quotes set to '%s'"
|
151 |
-
msgstr "Zichtbaarheidsstatus van geselecteerde citaten op '%s' gezet"
|
152 |
-
|
153 |
-
#: quotes-collection.php:373
|
154 |
-
msgid "Quote(s) deleted"
|
155 |
-
msgstr "Cita(a)t(en) verwijderd"
|
156 |
|
157 |
-
#: quotes-collection.php:
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
#: quotes-collection.php:404
|
162 |
-
#: quotes-collection.php:455
|
163 |
-
#: quotes-collection.php:469
|
164 |
-
#: quotes-collection.php:505
|
165 |
msgid "Delete"
|
166 |
msgstr "Verwijder"
|
167 |
|
168 |
-
#: quotes-collection.php:
|
169 |
-
|
170 |
-
#: quotes-collection.php:506
|
171 |
-
msgid "Make visible"
|
172 |
-
msgstr "Maak zichtbaar"
|
173 |
-
|
174 |
-
#: quotes-collection.php:409
|
175 |
-
#: quotes-collection.php:471
|
176 |
-
#: quotes-collection.php:507
|
177 |
-
msgid "Make invisible"
|
178 |
-
msgstr "Maak onzichtbaar"
|
179 |
-
|
180 |
-
#: quotes-collection.php:454
|
181 |
msgid "Edit"
|
182 |
-
msgstr "
|
183 |
-
|
184 |
-
#: quotes-collection.php:455
|
185 |
-
msgid "Are you sure you want to delete this quote?"
|
186 |
-
msgstr "Ben je zeker dat je dit citaat wil verwijderen?"
|
187 |
|
188 |
-
#: quotes-collection.php:
|
189 |
-
|
190 |
-
|
191 |
-
msgstr "Momenteel heb je %d cita(a)t(en)"
|
192 |
-
|
193 |
-
#: quotes-collection.php:464
|
194 |
-
#: quotes-collection.php:521
|
195 |
-
msgid "Add new quote"
|
196 |
-
msgstr "Voeg citaat toe"
|
197 |
-
|
198 |
-
#: quotes-collection.php:473
|
199 |
-
msgid "Sort by: "
|
200 |
-
msgstr "Sorteer volgens"
|
201 |
-
|
202 |
-
#: quotes-collection.php:475
|
203 |
-
#: quotes-collection.php:476
|
204 |
msgid "Quote"
|
205 |
msgstr "Citaat"
|
206 |
|
207 |
-
#: quotes-collection.php:
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
|
219 |
-
#: quotes-collection.php:
|
220 |
-
|
221 |
-
|
|
|
|
|
222 |
|
223 |
-
#: quotes-collection.php:
|
224 |
-
|
225 |
-
|
|
|
226 |
|
227 |
-
#: quotes-collection.php:
|
228 |
-
|
229 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Quotes Collection v2.0.2\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
|
5 |
"POT-Creation-Date: 2008-05-24 14:49+0530\n"
|
6 |
+
"PO-Revision-Date: 2015-04-28 17:35:09+0000\n"
|
7 |
+
"Last-Translator: Guido van der Leest\n"
|
8 |
+
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Generator: CSL v1.x\n"
|
14 |
"X-Poedit-Language: Dutch\n"
|
15 |
+
"X-Poedit-Country: NETHERLANDS\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
18 |
+
"X-Poedit-Basepath: \n"
|
19 |
+
"X-Poedit-Bookmarks: \n"
|
20 |
+
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
"X-Textdomain-Support: yes"
|
22 |
+
|
23 |
+
#: inc/class-quotes-collection.php:82
|
24 |
+
#@ quotes-collection
|
25 |
msgid "Loading..."
|
26 |
msgstr "Laden..."
|
27 |
|
28 |
+
#: inc/class-quotes-collection.php:83
|
29 |
+
#@ quotes-collection
|
30 |
msgid "Error getting quote"
|
31 |
msgstr "Fout bij ophalen citaat"
|
32 |
|
33 |
+
#: inc/class-quotes-collection-widget.php:41
|
34 |
+
#: inc/class-quotes-collection-widget.php:83
|
35 |
+
#: inc/class-quotes-collection-widget.php:201
|
36 |
+
#@ quotes-collection
|
37 |
msgid "Random Quote"
|
38 |
+
msgstr "Willekeurig Citaat"
|
39 |
|
40 |
+
#: inc/class-quotes-collection-widget.php:114
|
41 |
+
#@ quotes-collection
|
42 |
msgid "Title"
|
43 |
msgstr "Titel"
|
44 |
|
45 |
+
#: inc/class-quotes-collection-widget.php:120
|
46 |
+
#@ quotes-collection
|
47 |
msgid "Show author?"
|
48 |
msgstr "Toon auteur?"
|
49 |
|
50 |
+
#: inc/class-quotes-collection-widget.php:125
|
51 |
+
#@ quotes-collection
|
52 |
msgid "Show source?"
|
53 |
msgstr "Toon bron?"
|
54 |
|
55 |
+
#: inc/class-quotes-collection-admin.php:580
|
56 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
msgid "Quote added"
|
58 |
msgstr "Citaat toegevoegd"
|
59 |
|
60 |
+
#: inc/class-quotes-collection-admin.php:596
|
61 |
+
#@ quotes-collection
|
|
|
|
|
|
|
62 |
msgid "Changes saved"
|
63 |
msgstr "Wijzigingen opgeslagen"
|
64 |
|
65 |
+
#: inc/class-quotes-collection-admin.php:630
|
66 |
+
#@ quotes-collection
|
67 |
msgid "Quote deleted"
|
68 |
msgstr "Citaat verwijderd"
|
69 |
|
70 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
71 |
+
#: inc/class-quotes-collection-admin.php:500
|
72 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
msgid "Author"
|
74 |
msgstr "Auteur"
|
75 |
|
76 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
77 |
+
#: inc/class-quotes-collection-admin.php:501
|
78 |
+
#@ quotes-collection
|
79 |
msgid "Source"
|
80 |
msgstr "Bron"
|
81 |
|
82 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
83 |
+
#: inc/class-quotes-collection-admin.php:502
|
84 |
+
#@ quotes-collection
|
85 |
msgid "Tags"
|
86 |
+
msgstr "Tags"
|
87 |
|
88 |
+
#: inc/class-quotes-collection-admin.php:504
|
89 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
90 |
msgid "optional"
|
91 |
msgstr "Optioneel"
|
92 |
|
93 |
+
#: inc/class-quotes-collection-admin.php:505
|
94 |
+
#@ quotes-collection
|
95 |
msgid "comma separated"
|
96 |
+
msgstr "door komma gescheiden"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
|
98 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
99 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
100 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
101 |
msgid "Delete"
|
102 |
msgstr "Verwijder"
|
103 |
|
104 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
105 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
msgid "Edit"
|
107 |
+
msgstr "Bewerk"
|
|
|
|
|
|
|
|
|
108 |
|
109 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
110 |
+
#: inc/class-quotes-collection-admin.php:499
|
111 |
+
#@ quotes-collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
msgid "Quote"
|
113 |
msgstr "Citaat"
|
114 |
|
115 |
+
#: inc/class-quotes-collection-admin.php:503
|
116 |
+
#@ quotes-collection
|
117 |
+
msgid "Public?"
|
118 |
+
msgstr "Publiek?"
|
119 |
+
|
120 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
121 |
+
#@ quotes-collection
|
122 |
+
msgid "Make public"
|
123 |
+
msgstr "Maak publiek"
|
124 |
+
|
125 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
126 |
+
#@ quotes-collection
|
127 |
+
msgid "Keep private"
|
128 |
+
msgstr "Laat prive"
|
129 |
+
|
130 |
+
#: inc/class-quotes-collection-widget.php:189
|
131 |
+
#@ quotes-collection
|
132 |
+
msgid "none"
|
133 |
+
msgstr "geen"
|
134 |
+
|
135 |
+
#: inc/class-quotes-collection-widget.php:133
|
136 |
+
#@ quotes-collection
|
137 |
+
msgid "Advanced options"
|
138 |
+
msgstr "Uitgebreide opties"
|
139 |
+
|
140 |
+
#: inc/class-quotes-collection-widget.php:138
|
141 |
+
#@ quotes-collection
|
142 |
+
msgid "Random refresh"
|
143 |
+
msgstr "Willekeurig verversen"
|
144 |
+
|
145 |
+
#: inc/class-quotes-collection-widget.php:139
|
146 |
+
#@ quotes-collection
|
147 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
148 |
+
msgstr "Door dit uit te vinken zullen citaten op volgorde geplaatst worden, de laatste eerst."
|
149 |
+
|
150 |
+
#: inc/class-quotes-collection-widget.php:144
|
151 |
+
#@ quotes-collection
|
152 |
+
msgid "Auto refresh"
|
153 |
+
msgstr "Automatisch verversen"
|
154 |
+
|
155 |
+
#: inc/class-quotes-collection-widget.php:151
|
156 |
+
#@ quotes-collection
|
157 |
+
msgid "Tags filter"
|
158 |
+
msgstr "Tags filter"
|
159 |
+
|
160 |
+
#: inc/class-quotes-collection-widget.php:153
|
161 |
+
#@ quotes-collection
|
162 |
+
msgid "Comma separated"
|
163 |
+
msgstr "Door komma gescheiden"
|
164 |
+
|
165 |
+
#: inc/class-quotes-collection-widget.php:157
|
166 |
+
#@ quotes-collection
|
167 |
+
msgid "Character limit"
|
168 |
+
msgstr "Karakter limiet"
|
169 |
+
|
170 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
171 |
+
#@ quotes-collection
|
172 |
+
msgid "Go to the first page"
|
173 |
+
msgstr "Ga naar eerste pagina"
|
174 |
+
|
175 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
176 |
+
#@ quotes-collection
|
177 |
+
msgid "Go to the previous page"
|
178 |
+
msgstr "Ga naar vorige pagina"
|
179 |
+
|
180 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
181 |
+
#@ quotes-collection
|
182 |
+
msgid "Go to the next page"
|
183 |
+
msgstr "Ga naar volgende pagina"
|
184 |
+
|
185 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
186 |
+
#@ quotes-collection
|
187 |
+
msgid "Go to the last page"
|
188 |
+
msgstr "Ga naar laatste pagina"
|
189 |
+
|
190 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
191 |
+
#@ quotes-collection
|
192 |
+
msgid "Goto page:"
|
193 |
+
msgstr "Ga naar pagina:"
|
194 |
+
|
195 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
196 |
+
#@ quotes-collection
|
197 |
+
msgctxt "date and time format"
|
198 |
+
msgid "Y/m/d h:i:s A"
|
199 |
+
msgstr "d/m/Y H:i:s"
|
200 |
+
|
201 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
202 |
+
#@ quotes-collection
|
203 |
+
msgctxt "date format"
|
204 |
+
msgid "Y/m/d"
|
205 |
+
msgstr "d/m/Y"
|
206 |
+
|
207 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
208 |
+
#@ quotes-collection
|
209 |
+
msgid "Private"
|
210 |
+
msgstr "Prive"
|
211 |
+
|
212 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
213 |
+
#@ quotes-collection
|
214 |
+
msgid "Public"
|
215 |
+
msgstr "Publiek"
|
216 |
+
|
217 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
218 |
+
#@ quotes-collection
|
219 |
+
msgid "ID"
|
220 |
+
msgstr "ID"
|
221 |
+
|
222 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
223 |
+
#@ quotes-collection
|
224 |
+
msgid "Date"
|
225 |
+
msgstr "Datum"
|
226 |
+
|
227 |
+
#: inc/class-quotes-collection-admin.php:77
|
228 |
+
#: inc/class-quotes-collection-admin.php:245
|
229 |
+
#@ quotes-collection
|
230 |
+
msgctxt "heading"
|
231 |
+
msgid "Add New Quote"
|
232 |
+
msgstr "Nieuw Citaat Toevoegen"
|
233 |
+
|
234 |
+
#: inc/class-quotes-collection-admin.php:78
|
235 |
+
#: inc/class-quotes-collection-admin.php:393
|
236 |
+
#@ quotes-collection
|
237 |
+
msgctxt "submenu item text"
|
238 |
+
msgid "Add New"
|
239 |
+
msgstr "Nieuwe Toevoegen"
|
240 |
+
|
241 |
+
#: inc/class-quotes-collection-admin.php:88
|
242 |
+
#: inc/class-quotes-collection-admin.php:278
|
243 |
+
#@ quotes-collection
|
244 |
+
msgctxt "heading"
|
245 |
+
msgid "Import Quotes"
|
246 |
+
msgstr "Importeer Citaten"
|
247 |
+
|
248 |
+
#: inc/class-quotes-collection-admin.php:89
|
249 |
+
#: inc/class-quotes-collection-admin.php:399
|
250 |
+
#@ quotes-collection
|
251 |
+
msgctxt "submenu item text"
|
252 |
+
msgid "Import"
|
253 |
+
msgstr "Importeer"
|
254 |
+
|
255 |
+
#: inc/class-quotes-collection-admin.php:99
|
256 |
+
#: inc/class-quotes-collection-admin.php:306
|
257 |
+
#@ quotes-collection
|
258 |
+
msgctxt "heading"
|
259 |
+
msgid "Export Quotes"
|
260 |
+
msgstr "Exporteer Citaten"
|
261 |
+
|
262 |
+
#: inc/class-quotes-collection-admin.php:100
|
263 |
+
#: inc/class-quotes-collection-admin.php:402
|
264 |
+
#@ quotes-collection
|
265 |
+
msgctxt "submenu item text"
|
266 |
+
msgid "Export"
|
267 |
+
msgstr "Exporteer"
|
268 |
+
|
269 |
+
#: inc/class-quotes-collection-admin.php:110
|
270 |
+
#: inc/class-quotes-collection-admin.php:366
|
271 |
+
#@ quotes-collection
|
272 |
+
msgctxt "heading"
|
273 |
+
msgid "Quotes Collection Options"
|
274 |
+
msgstr "Quotes Collection Opties"
|
275 |
+
|
276 |
+
#: inc/class-quotes-collection-admin.php:111
|
277 |
+
#: inc/class-quotes-collection-admin.php:408
|
278 |
+
#@ quotes-collection
|
279 |
+
msgctxt "submenu item text"
|
280 |
+
msgid "Options"
|
281 |
+
msgstr "Opties"
|
282 |
+
|
283 |
+
#: inc/class-quotes-collection-admin.php:120
|
284 |
+
#@ quotes-collection
|
285 |
+
msgctxt "submenu item text"
|
286 |
+
msgid "All Quotes"
|
287 |
+
msgstr "Alle Citaten"
|
288 |
+
|
289 |
+
#: inc/class-quotes-collection-admin.php:154
|
290 |
+
#: inc/class-quotes-collection-admin.php:487
|
291 |
+
#: inc/class-quotes-collection-admin.php:589
|
292 |
+
#@ quotes-collection
|
293 |
+
msgctxt "submit button text"
|
294 |
+
msgid "Save Changes"
|
295 |
+
msgstr "Wijzigingen Opslaan"
|
296 |
+
|
297 |
+
#: inc/class-quotes-collection-admin.php:161
|
298 |
+
#: inc/class-quotes-collection-admin.php:389
|
299 |
+
#@ quotes-collection
|
300 |
+
msgctxt "submenu item text"
|
301 |
+
msgid "Edit Quote"
|
302 |
+
msgstr "Bewerk Citaat"
|
303 |
+
|
304 |
+
#: inc/class-quotes-collection-admin.php:192
|
305 |
+
#@ quotes-collection
|
306 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
307 |
+
msgid "All Quotes"
|
308 |
+
msgstr "Alle Citaten"
|
309 |
+
|
310 |
+
#: inc/class-quotes-collection-admin.php:197
|
311 |
+
#@ quotes-collection
|
312 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
313 |
+
msgid "Public"
|
314 |
+
msgstr "Publiek"
|
315 |
+
|
316 |
+
#: inc/class-quotes-collection-admin.php:202
|
317 |
+
#@ quotes-collection
|
318 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
319 |
+
msgid "Private"
|
320 |
+
msgstr "Prive"
|
321 |
+
|
322 |
+
#: inc/class-quotes-collection-admin.php:208
|
323 |
+
#, php-format
|
324 |
+
#@ quotes-collection
|
325 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
326 |
+
msgid "Search results for \"%s\""
|
327 |
+
msgstr "Zoekresultaten voor \"%s\""
|
328 |
+
|
329 |
+
#: inc/class-quotes-collection-admin.php:224
|
330 |
+
#@ quotes-collection
|
331 |
+
msgid "Search"
|
332 |
+
msgstr "Zoek"
|
333 |
+
|
334 |
+
#: inc/class-quotes-collection-admin.php:259
|
335 |
+
#@ quotes-collection
|
336 |
+
msgid "Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (.json) file to upload, then click the 'Import' button."
|
337 |
+
msgstr "Doorzoek en selecteer een <abbr title=\"JavaScript Object Notation\">JSON</abbr> (.json) bestand om te uploaden, klik daarna op de 'Importeer' knop."
|
338 |
+
|
339 |
+
#: inc/class-quotes-collection-admin.php:264
|
340 |
+
#@ quotes-collection
|
341 |
+
msgid "Choose a file to upload:"
|
342 |
+
msgstr "Selecteer bestand om te uploaden:"
|
343 |
+
|
344 |
+
#: inc/class-quotes-collection-admin.php:269
|
345 |
+
#: inc/class-quotes-collection-admin.php:604
|
346 |
+
#@ quotes-collection
|
347 |
+
msgctxt "submit button text"
|
348 |
+
msgid "Import"
|
349 |
+
msgstr "Importeer"
|
350 |
+
|
351 |
+
#: inc/class-quotes-collection-admin.php:291
|
352 |
+
#@ quotes-collection
|
353 |
+
msgid "When you click the button below, a <abbr title=\"JavaScript Object Notation\">JSON</abbr> file with the entire collection of quotes will be created, that you can save to your computer."
|
354 |
+
msgstr "Als je op de onderstaande knop klikt, wordt een <abbr title=\"JavaScript Object Notation\">JSON</abbr> bestand met de gehele collectie citaten aangemaakt, die je op je computer kunt opslaan."
|
355 |
+
|
356 |
+
#: inc/class-quotes-collection-admin.php:296
|
357 |
+
#: inc/class-quotes-collection-admin.php:610
|
358 |
+
#@ quotes-collection
|
359 |
+
msgctxt "submit button text"
|
360 |
+
msgid "Export"
|
361 |
+
msgstr "Exporteer"
|
362 |
+
|
363 |
+
#: inc/class-quotes-collection-admin.php:343
|
364 |
+
#@ quotes-collection
|
365 |
+
msgid "Refresh link text"
|
366 |
+
msgstr "Link tekst verversen"
|
367 |
+
|
368 |
+
#: inc/class-quotes-collection-admin.php:347
|
369 |
+
#@ quotes-collection
|
370 |
+
msgid "Maximum number of iterations for auto-refresh"
|
371 |
+
msgstr "Maximaal aantal herhalingen voor automatisch verversen."
|
372 |
+
|
373 |
+
#: inc/class-quotes-collection-admin.php:351
|
374 |
+
#@ quotes-collection
|
375 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
376 |
+
msgstr "Dynamisch de eerste willekeurige citaat in widget ophalen?"
|
377 |
+
|
378 |
+
#: inc/class-quotes-collection-admin.php:354
|
379 |
+
#@ quotes-collection
|
380 |
+
msgid "Check this if your site is cached and the 'random quote' widget always shows a particular quote as the initial quote."
|
381 |
+
msgstr "Dit aanvinken als je site gebruikt maakt van caching en de 'willekeurige citaat' widget altijd een bepaalde citaat als eerste citaat toont."
|
382 |
+
|
383 |
+
#: inc/class-quotes-collection-admin.php:357
|
384 |
+
#: inc/class-quotes-collection-admin.php:616
|
385 |
+
#@ quotes-collection
|
386 |
+
msgctxt "submit button text"
|
387 |
+
msgid "Update Options"
|
388 |
+
msgstr "Wijzig Opties"
|
389 |
+
|
390 |
+
#: inc/class-quotes-collection-admin.php:385
|
391 |
+
#@ quotes-collection
|
392 |
+
msgid "All Quotes"
|
393 |
+
msgstr "Alle Citaten"
|
394 |
+
|
395 |
+
#: inc/class-quotes-collection-admin.php:470
|
396 |
+
#: inc/class-quotes-collection-admin.php:573
|
397 |
+
#@ quotes-collection
|
398 |
+
msgctxt "submit button text"
|
399 |
+
msgid "Add Quote"
|
400 |
+
msgstr "Citaat Toevoegen"
|
401 |
+
|
402 |
+
#: inc/class-quotes-collection-admin.php:577
|
403 |
+
#: inc/class-quotes-collection-admin.php:593
|
404 |
+
#@ quotes-collection
|
405 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
406 |
+
msgstr "Het citaat veld kan niet leeg blijven. Vul dit veld in en probeer het opnieuw."
|
407 |
+
|
408 |
+
#: inc/class-quotes-collection-admin.php:584
|
409 |
+
#@ quotes-collection
|
410 |
+
msgid "Error adding quote"
|
411 |
+
msgstr "Fout tijdens toevoegen citaat"
|
412 |
+
|
413 |
+
#: inc/class-quotes-collection-admin.php:600
|
414 |
+
#@ quotes-collection
|
415 |
+
msgid "Error updating quote"
|
416 |
+
msgstr "Fout tijdens wijzigen citaat"
|
417 |
+
|
418 |
+
#: inc/class-quotes-collection-admin.php:632
|
419 |
+
#@ quotes-collection
|
420 |
+
msgid "Error deleting quote"
|
421 |
+
msgstr "Fout tijdens verwijderen citaat"
|
422 |
+
|
423 |
+
#: inc/class-quotes-collection-admin.php:637
|
424 |
+
#: inc/class-quotes-collection-admin.php:651
|
425 |
+
#: inc/class-quotes-collection-admin.php:664
|
426 |
+
#@ quotes-collection
|
427 |
+
msgid "No item selected"
|
428 |
+
msgstr "Geen item geselecteerd"
|
429 |
+
|
430 |
+
#: inc/class-quotes-collection-admin.php:641
|
431 |
+
#, php-format
|
432 |
+
#@ quotes-collection
|
433 |
+
msgid "One quote deleted"
|
434 |
+
msgid_plural "%d quotes deleted"
|
435 |
+
msgstr[0] "1 citaat verwijderd"
|
436 |
+
msgstr[1] "%d citaten verwijderd"
|
437 |
+
|
438 |
+
#: inc/class-quotes-collection-admin.php:645
|
439 |
+
#@ quotes-collection
|
440 |
+
msgid "Error deleting quotes"
|
441 |
+
msgstr "Fout tijdens verwijderen citaten"
|
442 |
+
|
443 |
+
#: inc/class-quotes-collection-admin.php:655
|
444 |
+
#, php-format
|
445 |
+
#@ quotes-collection
|
446 |
+
msgid "Quote made public"
|
447 |
+
msgid_plural "%d quotes made public"
|
448 |
+
msgstr[0] "Citaat publiek gemaakt"
|
449 |
+
msgstr[1] "%d citaten publiek gemaakt"
|
450 |
+
|
451 |
+
#: inc/class-quotes-collection-admin.php:659
|
452 |
+
#: inc/class-quotes-collection-admin.php:672
|
453 |
+
#@ quotes-collection
|
454 |
+
msgid "Error. Privacy status not changed."
|
455 |
+
msgstr "Fout. Privacy status niet gewijzigd."
|
456 |
+
|
457 |
+
#: inc/class-quotes-collection-admin.php:668
|
458 |
+
#, php-format
|
459 |
+
#@ quotes-collection
|
460 |
+
msgid "Quote kept private"
|
461 |
+
msgid_plural "%d quotes kept private"
|
462 |
+
msgstr[0] "Citaat prive gebleven"
|
463 |
+
msgstr[1] "%d citaten prive gebleven"
|
464 |
+
|
465 |
+
#: inc/class-quotes-collection-admin.php:684
|
466 |
+
#@ quotes-collection
|
467 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
468 |
+
msgstr "Selecteer svp een bestand om te uploaden voordat je op de 'Importeer' knop drukt."
|
469 |
+
|
470 |
+
#: inc/class-quotes-collection-admin.php:690
|
471 |
+
#@ quotes-collection
|
472 |
+
msgid "Invalid file format"
|
473 |
+
msgstr "Ongeldig bestandsformaat"
|
474 |
+
|
475 |
+
#: inc/class-quotes-collection-admin.php:696
|
476 |
+
#@ quotes-collection
|
477 |
+
msgid "The file you uploaded is too big. Import failed."
|
478 |
+
msgstr "Het te uploaden bestand is te groot. Importeren mislukt."
|
479 |
+
|
480 |
+
#: inc/class-quotes-collection-admin.php:704
|
481 |
+
#@ quotes-collection
|
482 |
+
msgid "The file uploaded was empty"
|
483 |
+
msgstr "Het geuploade bestand was leeg"
|
484 |
+
|
485 |
+
#: inc/class-quotes-collection-admin.php:709
|
486 |
+
#@ quotes-collection
|
487 |
+
msgid "Error in JSON file"
|
488 |
+
msgstr "Fout in JSON bestand"
|
489 |
+
|
490 |
+
#: inc/class-quotes-collection-admin.php:717
|
491 |
+
#: inc/class-quotes-collection-admin.php:731
|
492 |
+
#@ quotes-collection
|
493 |
+
msgid "Import failed. Please try again."
|
494 |
+
msgstr "Importeren mislukt. Probeer svp opnieuw."
|
495 |
+
|
496 |
+
#: inc/class-quotes-collection-admin.php:720
|
497 |
+
#@ quotes-collection
|
498 |
+
msgid "No quotes imported"
|
499 |
+
msgstr "Geen citaten geimporteerd"
|
500 |
+
|
501 |
+
#: inc/class-quotes-collection-admin.php:724
|
502 |
+
#, php-format
|
503 |
+
#@ quotes-collection
|
504 |
+
msgid "One quote imported"
|
505 |
+
msgid_plural "%d quotes imported"
|
506 |
+
msgstr[0] "1 citaat geimporteerd"
|
507 |
+
msgstr[1] "%d citaten geimporteerd"
|
508 |
+
|
509 |
+
#: inc/class-quotes-collection-admin.php:744
|
510 |
+
#@ quotes-collection
|
511 |
+
msgid "Nothing to export"
|
512 |
+
msgstr "Niets om te exporteren"
|
513 |
+
|
514 |
+
#: inc/class-quotes-collection-admin.php:783
|
515 |
+
#@ quotes-collection
|
516 |
+
msgid "No change in values. Options not updated."
|
517 |
+
msgstr "Geen verschil in waardes. Opties niet gewijzigd."
|
518 |
+
|
519 |
+
#: inc/class-quotes-collection-admin.php:788
|
520 |
+
#@ quotes-collection
|
521 |
+
msgid "Options updated"
|
522 |
+
msgstr "Opties gewijzigd"
|
523 |
+
|
524 |
+
#: inc/class-quotes-collection-admin.php:791
|
525 |
+
#@ quotes-collection
|
526 |
+
msgid "Options not updated"
|
527 |
+
msgstr "Opties niet gewijzigd"
|
528 |
+
|
529 |
+
#: inc/class-quotes-collection-admin.php:807
|
530 |
+
#@ quotes-collection
|
531 |
+
msgid "Maximum items"
|
532 |
+
msgstr "Maximaal aantal items"
|
533 |
+
|
534 |
+
#: inc/class-quotes-collection-admin.php:837
|
535 |
+
#@ quotes-collection
|
536 |
+
msgctxt "confirmation dialog title"
|
537 |
+
msgid "Delete?"
|
538 |
+
msgstr "Verwijder?"
|
539 |
+
|
540 |
+
#: inc/class-quotes-collection-admin.php:838
|
541 |
+
#@ quotes-collection
|
542 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
543 |
+
msgid "Are you sure you want to delete this quote?"
|
544 |
+
msgstr "Weet je zeker dat je deze citaat wilt verwijderen?"
|
545 |
+
|
546 |
+
#: inc/class-quotes-collection-admin.php:839
|
547 |
+
#@ quotes-collection
|
548 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
549 |
+
msgid "Are you sure you want to delete these quotes?"
|
550 |
+
msgstr "Weet je zeker dat je deze citaten wilt verwijderen?"
|
551 |
+
|
552 |
+
#: inc/class-quotes-collection-admin.php:840
|
553 |
+
#@ quotes-collection
|
554 |
+
msgctxt "confirmation dialog button text"
|
555 |
+
msgid "Yes"
|
556 |
+
msgstr "Ja"
|
557 |
+
|
558 |
+
#: inc/class-quotes-collection-admin.php:841
|
559 |
+
#@ quotes-collection
|
560 |
+
msgctxt "confirmation dialog button text"
|
561 |
+
msgid "No"
|
562 |
+
msgstr "Nee"
|
563 |
+
|
564 |
+
#: inc/class-quotes-collection-widget.php:17
|
565 |
+
#@ quotes-collection
|
566 |
+
msgctxt "widget name"
|
567 |
+
msgid "Random Quote"
|
568 |
+
msgstr "Willekeurig Citaat"
|
569 |
|
570 |
+
#: inc/class-quotes-collection-widget.php:18
|
571 |
+
#@ quotes-collection
|
572 |
+
msgctxt "widget description"
|
573 |
+
msgid "Random quote from your quotes collection"
|
574 |
+
msgstr "Willekeurig citaat van je collectie citaten"
|
575 |
|
576 |
+
#: inc/class-quotes-collection-widget.php:130
|
577 |
+
#@ quotes-collection
|
578 |
+
msgid "Refresh feature"
|
579 |
+
msgstr "Ververs Optie"
|
580 |
|
581 |
+
#: inc/class-quotes-collection-widget.php:146
|
582 |
+
#, php-format
|
583 |
+
#@ quotes-collection
|
584 |
+
msgid "every %s sec"
|
585 |
+
msgstr "iedere %s sec"
|
586 |
+
|
587 |
+
#: inc/class-quotes-collection.php:104
|
588 |
+
#@ quotes-collection
|
589 |
+
msgid "Next quote »"
|
590 |
+
msgstr "Volgend citaat »"
|
591 |
+
|
592 |
+
#. translators: plugin header field 'Name'
|
593 |
+
#: quotes-collection.php:0
|
594 |
+
#@ quotes-collection
|
595 |
+
msgid "Quotes Collection"
|
596 |
+
msgstr "Quotes Collection"
|
597 |
+
|
598 |
+
#. translators: plugin header field 'PluginURI'
|
599 |
+
#: quotes-collection.php:0
|
600 |
+
#@ quotes-collection
|
601 |
+
msgid "http://srinig.com/wordpress/plugins/quotes-collection/"
|
602 |
+
msgstr "http://srinig.com/wordpress/plugins/quotes-collection/"
|
603 |
+
|
604 |
+
#. translators: plugin header field 'Description'
|
605 |
+
#: quotes-collection.php:0
|
606 |
+
#@ quotes-collection
|
607 |
+
msgid "Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress blog/website."
|
608 |
+
msgstr "De plugin Quotes Collection met Ajax ondersteunde Willekeurige Citaat zijbalk widget helpt je om je favoriete citaten te verzamelen en in je WordPress blog te tonen."
|
609 |
+
|
610 |
+
#. translators: plugin header field 'Author'
|
611 |
+
#: quotes-collection.php:0
|
612 |
+
#@ quotes-collection
|
613 |
+
msgid "Srini G"
|
614 |
+
msgstr "Srini G"
|
615 |
+
|
616 |
+
#. translators: plugin header field 'AuthorURI'
|
617 |
+
#: quotes-collection.php:0
|
618 |
+
#@ quotes-collection
|
619 |
+
msgid "http://srinig.com/"
|
620 |
+
msgstr "http://srinig.com/"
|
621 |
+
|
622 |
+
#. translators: plugin header field 'Version'
|
623 |
+
#: quotes-collection.php:0
|
624 |
+
#@ quotes-collection
|
625 |
+
msgid "2.0.2"
|
626 |
+
msgstr "2.0.2"
|
627 |
|
languages/quotes-collection-no_NO.mo
ADDED
Binary file
|
languages/quotes-collection-no_NO.po
ADDED
@@ -0,0 +1,496 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Quotes Collection 2.0\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-04-14 17:24+0100\n"
|
6 |
+
"PO-Revision-Date: 2015-04-17 21:45+0100\n"
|
7 |
+
"Last-Translator: Christian Nordtomme\n"
|
8 |
+
"Language-Team: Skriftlig.no\n"
|
9 |
+
"Language: Norwegian\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Generator: Loco https://localise.biz\n"
|
16 |
+
"X-Loco-Source-Locale: en_GB\n"
|
17 |
+
"X-Loco-Target-Locale: no_NO\n"
|
18 |
+
"X-Loco-Project-Id: 6869\n"
|
19 |
+
"X-Loco-Api-Version: 1.0.9"
|
20 |
+
|
21 |
+
#: inc/class-quotes-collection-admin.php:487
|
22 |
+
#: inc/class-quotes-collection-admin-list-table.php:127 59f loco:#: 552d3f2c14d72594268b459f
|
23 |
+
msgid "Author"
|
24 |
+
msgstr "Opphavsperson"
|
25 |
+
|
26 |
+
#: inc/class-quotes-collection-admin-list-table.php:129 5cc loco:#: 552d3f2c14d72594268b45cc
|
27 |
+
msgid "Date"
|
28 |
+
msgstr "Dato"
|
29 |
+
|
30 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
31 |
+
#: inc/class-quotes-collection-admin-list-table.php:145 5c6 loco:#: 552d3f2c14d72594268b45c6
|
32 |
+
msgid "Delete"
|
33 |
+
msgstr "Slett"
|
34 |
+
|
35 |
+
#: inc/class-quotes-collection-admin-list-table.php:64 5c5 loco:#: 552d3f2c14d72594268b45c5
|
36 |
+
msgid "Edit"
|
37 |
+
msgstr "Endre"
|
38 |
+
|
39 |
+
#: inc/class-quotes-collection-admin-list-table.php:125 5cb loco:#: 552d3f2c14d72594268b45cb
|
40 |
+
msgid "ID"
|
41 |
+
msgstr "ID"
|
42 |
+
|
43 |
+
#: inc/class-quotes-collection.php:82 loco:552d3f2c14d72594268b457f
|
44 |
+
msgid "Loading..."
|
45 |
+
msgstr "Laster…"
|
46 |
+
|
47 |
+
#: inc/class-quotes-collection-admin-list-table.php:110 5c9 loco:#: 552d3f2c14d72594268b45c9
|
48 |
+
msgid "Private"
|
49 |
+
msgstr "Privat"
|
50 |
+
|
51 |
+
#: inc/class-quotes-collection-admin-list-table.php:110 5ca loco:#: 552d3f2c14d72594268b45ca
|
52 |
+
msgid "Public"
|
53 |
+
msgstr "Offentlig"
|
54 |
+
|
55 |
+
#: inc/class-quotes-collection-admin.php:486
|
56 |
+
#: inc/class-quotes-collection-admin-list-table.php:126 59e loco:#: 552d3f2c14d72594268b459e
|
57 |
+
msgid "Quote"
|
58 |
+
msgstr "Sitat"
|
59 |
+
|
60 |
+
#: inc/class-quotes-collection-admin.php:220 loco:552d3f2c14d72594268b4591
|
61 |
+
msgid "Search"
|
62 |
+
msgstr "Søk"
|
63 |
+
|
64 |
+
#: inc/class-quotes-collection-admin.php:488
|
65 |
+
#: inc/class-quotes-collection-admin-list-table.php:127 5a0 loco:#: 552d3f2c14d72594268b45a0
|
66 |
+
msgid "Source"
|
67 |
+
msgstr "Kilde"
|
68 |
+
|
69 |
+
#: inc/class-quotes-collection-admin.php:489
|
70 |
+
#: inc/class-quotes-collection-admin-list-table.php:128 5a1 loco:#: 552d3f2c14d72594268b45a1
|
71 |
+
msgid "Tags"
|
72 |
+
msgstr "Nøkkelord"
|
73 |
+
|
74 |
+
#: inc/class-quotes-collection-widget.php:114 loco:552d3f2c14d72594268b4572
|
75 |
+
msgid "Title"
|
76 |
+
msgstr "Tittel"
|
77 |
+
|
78 |
+
#: inc/class-quotes-collection-widget.php:133 loco:552d3f2c14d72594268b4576
|
79 |
+
msgid "Advanced options"
|
80 |
+
msgstr "Avanserte innstillinger"
|
81 |
+
|
82 |
+
#: inc/class-quotes-collection-admin.php:381 loco:552d3f2c14d72594268b459c
|
83 |
+
msgid "All Quotes"
|
84 |
+
msgstr "Alle sitater"
|
85 |
+
|
86 |
+
#: inc/class-quotes-collection-widget.php:144 loco:552d3f2c14d72594268b4579
|
87 |
+
msgid "Auto refresh"
|
88 |
+
msgstr "Automatisk gjenoppfriskning"
|
89 |
+
|
90 |
+
#: inc/class-quotes-collection-admin.php:255 loco:552d3f2c14d72594268b4592
|
91 |
+
msgid ""
|
92 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
93 |
+
"json) file to upload, then click the 'Import' button."
|
94 |
+
msgstr ""
|
95 |
+
"Velg en <abbr title=\"JavaScript Object Notification\">JSON</abbr>-fil (.json) "
|
96 |
+
"å laste opp, og klikk på \"importere\"-knappen."
|
97 |
+
|
98 |
+
#: inc/class-quotes-collection-admin.php:582 loco:552d3f2c14d72594268b45a8
|
99 |
+
msgid "Changes saved"
|
100 |
+
msgstr "Endringene er lagret"
|
101 |
+
|
102 |
+
#: inc/class-quotes-collection-widget.php:157 loco:552d3f2c14d72594268b457d
|
103 |
+
msgid "Character limit"
|
104 |
+
msgstr "Maksimalt antall tegn"
|
105 |
+
|
106 |
+
#: inc/class-quotes-collection-admin.php:350 loco:552d3f2c14d72594268b459a
|
107 |
+
msgid ""
|
108 |
+
"Check this if your site is cached and the 'random quote' widget always shows "
|
109 |
+
"a particular quote as the initial quote."
|
110 |
+
msgstr ""
|
111 |
+
"Kryss av her hvis siden din mellomlagres og \"tilfeldig sitat\"-widgeten alltid "
|
112 |
+
"viser samme sitat som første sitat."
|
113 |
+
|
114 |
+
#: inc/class-quotes-collection-admin.php:260 loco:552d3f2c14d72594268b4593
|
115 |
+
msgid "Choose a file to upload:"
|
116 |
+
msgstr "Velg en fil å laste opp:"
|
117 |
+
|
118 |
+
#: inc/class-quotes-collection-widget.php:153 loco:552d3f2c14d72594268b457c
|
119 |
+
msgid "Comma separated"
|
120 |
+
msgstr "Komma-separert"
|
121 |
+
|
122 |
+
#: inc/class-quotes-collection-admin.php:492 loco:552d3f2c14d72594268b45a4
|
123 |
+
msgid "comma separated"
|
124 |
+
msgstr "komma-separert"
|
125 |
+
|
126 |
+
#: inc/class-quotes-collection-admin.php:825 loco:552d3f2c14d72594268b45bf
|
127 |
+
msgctxt "confirmation dialog button text"
|
128 |
+
msgid "No"
|
129 |
+
msgstr "Nei"
|
130 |
+
|
131 |
+
#: inc/class-quotes-collection-admin.php:824 loco:552d3f2c14d72594268b45be
|
132 |
+
msgctxt "confirmation dialog button text"
|
133 |
+
msgid "Yes"
|
134 |
+
msgstr "Ja"
|
135 |
+
|
136 |
+
#: inc/class-quotes-collection-admin.php:822 loco:552d3f2c14d72594268b45bc
|
137 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
138 |
+
msgid "Are you sure you want to delete this quote?"
|
139 |
+
msgstr "Er du sikker på at du ønsker å slette dette sitatet?"
|
140 |
+
|
141 |
+
#: inc/class-quotes-collection-admin.php:823 loco:552d3f2c14d72594268b45bd
|
142 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
143 |
+
msgid "Are you sure you want to delete these quotes?"
|
144 |
+
msgstr "Er du sikker på at du ønsker å slette disse sitatene?"
|
145 |
+
|
146 |
+
#: inc/class-quotes-collection-admin.php:821 loco:552d3f2c14d72594268b45bb
|
147 |
+
msgctxt "confirmation dialog title"
|
148 |
+
msgid "Delete?"
|
149 |
+
msgstr "Slette?"
|
150 |
+
|
151 |
+
#: inc/class-quotes-collection-admin-list-table.php:107 5c7 loco:#: 552d3f2c14d72594268b45c7
|
152 |
+
msgctxt "date and time format"
|
153 |
+
msgid "Y/m/d h:i:s A"
|
154 |
+
msgstr "j. M. Y, G:i"
|
155 |
+
|
156 |
+
#: inc/class-quotes-collection-admin-list-table.php:108 5c8 loco:#: 552d3f2c14d72594268b45c8
|
157 |
+
msgctxt "date format"
|
158 |
+
msgid "Y/m/d"
|
159 |
+
msgstr "j. M. Y"
|
160 |
+
|
161 |
+
#: inc/class-quotes-collection-admin.php:347 loco:552d3f2c14d72594268b4599
|
162 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
163 |
+
msgstr "Dynamisk innhenting av første tilfeldige sitat i widgeten?"
|
164 |
+
|
165 |
+
#: inc/class-quotes-collection-admin.php:570 loco:552d3f2c14d72594268b45a7
|
166 |
+
msgid "Error adding quote"
|
167 |
+
msgstr "En feil hindret sitatet fra å bli lagret"
|
168 |
+
|
169 |
+
#: inc/class-quotes-collection-admin.php:616 loco:552d3f2c14d72594268b45ab
|
170 |
+
msgid "Error deleting quote"
|
171 |
+
msgstr "Slettingen av sitatet mislyktes"
|
172 |
+
|
173 |
+
#: inc/class-quotes-collection-admin.php:629 loco:552d3f2c14d72594268b45ad
|
174 |
+
msgid "Error deleting quotes"
|
175 |
+
msgstr "Slettingen av sitater mislyktes"
|
176 |
+
|
177 |
+
#: inc/class-quotes-collection.php:83 loco:552d3f2c14d72594268b4580
|
178 |
+
msgid "Error getting quote"
|
179 |
+
msgstr "Feil i å finne sitat"
|
180 |
+
|
181 |
+
#: inc/class-quotes-collection-admin.php:693 loco:552d3f2c14d72594268b45b3
|
182 |
+
msgid "Error in JSON file"
|
183 |
+
msgstr "Det er en feil i JSON-filen"
|
184 |
+
|
185 |
+
#: inc/class-quotes-collection-admin.php:643
|
186 |
+
#: inc/class-quotes-collection-admin.php:656 loco:552d3f2c14d72594268b45ae
|
187 |
+
msgid "Error. Privacy status not changed."
|
188 |
+
msgstr "En feil oppsto. Publiseringsstatusen er ikke oppdatert. "
|
189 |
+
|
190 |
+
#: inc/class-quotes-collection-admin.php:584 loco:552d3f2c14d72594268b45a9
|
191 |
+
msgid "Error updating quote"
|
192 |
+
msgstr "Oppdatering av sitatet mislyktes"
|
193 |
+
|
194 |
+
#: inc/class-quotes-collection-widget.php:146 loco:552d3f2c14d72594268b457a
|
195 |
+
msgid "every %s sec"
|
196 |
+
msgstr "hvert %s sekund"
|
197 |
+
|
198 |
+
#: inc/class-quotes-collection-shortcode.php:192 loco:552d3f2c14d72594268b45c0
|
199 |
+
msgid "Go to the first page"
|
200 |
+
msgstr "Første side"
|
201 |
+
|
202 |
+
#: inc/class-quotes-collection-shortcode.php:200 loco:552d3f2c14d72594268b45c3
|
203 |
+
msgid "Go to the last page"
|
204 |
+
msgstr "Siste side"
|
205 |
+
|
206 |
+
#: inc/class-quotes-collection-shortcode.php:198 loco:552d3f2c14d72594268b45c2
|
207 |
+
msgid "Go to the next page"
|
208 |
+
msgstr "Neste side"
|
209 |
+
|
210 |
+
#: inc/class-quotes-collection-shortcode.php:194 loco:552d3f2c14d72594268b45c1
|
211 |
+
msgid "Go to the previous page"
|
212 |
+
msgstr "Forrige side"
|
213 |
+
|
214 |
+
#: inc/class-quotes-collection-shortcode.php:204 loco:552d3f2c14d72594268b45c4
|
215 |
+
msgid "Goto page:"
|
216 |
+
msgstr "Gå til: "
|
217 |
+
|
218 |
+
#: inc/class-quotes-collection-admin.php:73
|
219 |
+
#: inc/class-quotes-collection-admin.php:241 loco:552d3f2c14d72594268b4582
|
220 |
+
msgctxt "heading"
|
221 |
+
msgid "Add New Quote"
|
222 |
+
msgstr "Legg til nytt sitat"
|
223 |
+
|
224 |
+
#: inc/class-quotes-collection-admin.php:95
|
225 |
+
#: inc/class-quotes-collection-admin.php:302 loco:552d3f2c14d72594268b4586
|
226 |
+
msgctxt "heading"
|
227 |
+
msgid "Export Quotes"
|
228 |
+
msgstr "Eksportere sitater"
|
229 |
+
|
230 |
+
#: inc/class-quotes-collection-admin.php:84
|
231 |
+
#: inc/class-quotes-collection-admin.php:274 loco:552d3f2c14d72594268b4584
|
232 |
+
msgctxt "heading"
|
233 |
+
msgid "Import Quotes"
|
234 |
+
msgstr "Importere sitater"
|
235 |
+
|
236 |
+
#: inc/class-quotes-collection-admin.php:106
|
237 |
+
#: inc/class-quotes-collection-admin.php:362 loco:552d3f2c14d72594268b4588
|
238 |
+
msgctxt "heading"
|
239 |
+
msgid "Quotes Collection Options"
|
240 |
+
msgstr "Innstillinger for Quotes Collection "
|
241 |
+
|
242 |
+
#: inc/class-quotes-collection-admin.php:701
|
243 |
+
#: inc/class-quotes-collection-admin.php:715 loco:552d3f2c14d72594268b45b4
|
244 |
+
msgid "Import failed. Please try again."
|
245 |
+
msgstr "Importen mislyktes. Vennligst prøv igjen."
|
246 |
+
|
247 |
+
#: inc/class-quotes-collection-admin.php:674 loco:552d3f2c14d72594268b45b0
|
248 |
+
msgid "Invalid file format"
|
249 |
+
msgstr "Ugyldig filformat"
|
250 |
+
|
251 |
+
#: inc/class-quotes-collection-admin-list-table.php:147 5ce loco:#: 552d3f2c14d72594268b45ce
|
252 |
+
msgid "Keep private"
|
253 |
+
msgstr "Gjør privat"
|
254 |
+
|
255 |
+
#: inc/class-quotes-collection-admin.php:188 loco:552d3f2c14d72594268b458d
|
256 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
257 |
+
msgid "All Quotes"
|
258 |
+
msgstr "Alle sitater"
|
259 |
+
|
260 |
+
#: inc/class-quotes-collection-admin.php:198 loco:552d3f2c14d72594268b458f
|
261 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
262 |
+
msgid "Private"
|
263 |
+
msgstr "Privat"
|
264 |
+
|
265 |
+
#: inc/class-quotes-collection-admin.php:193 loco:552d3f2c14d72594268b458e
|
266 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
267 |
+
msgid "Public"
|
268 |
+
msgstr "Offentlig"
|
269 |
+
|
270 |
+
#: inc/class-quotes-collection-admin.php:204 loco:552d3f2c14d72594268b4590
|
271 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
272 |
+
msgid "Search results for \"%s\""
|
273 |
+
msgstr "Søkeresultater for \"%s\""
|
274 |
+
|
275 |
+
#: inc/class-quotes-collection-admin-list-table.php:146 5cd loco:#: 552d3f2c14d72594268b45cd
|
276 |
+
msgid "Make public"
|
277 |
+
msgstr "Gjør offentlig"
|
278 |
+
|
279 |
+
#: inc/class-quotes-collection-admin.php:791 loco:552d3f2c14d72594268b45ba
|
280 |
+
msgid "Maximum items"
|
281 |
+
msgstr "Maksimalt antall"
|
282 |
+
|
283 |
+
#: inc/class-quotes-collection-admin.php:343 loco:552d3f2c14d72594268b4598
|
284 |
+
msgid "Maximum number of iterations for auto-refresh"
|
285 |
+
msgstr "Maksimalt antall gjentagelser for automatisk gjenoppfrisking"
|
286 |
+
|
287 |
+
#: inc/class-quotes-collection.php:104 loco:552d3f2c14d72594268b4581
|
288 |
+
msgid "Next quote »"
|
289 |
+
msgstr "Neste sitat »"
|
290 |
+
|
291 |
+
#: inc/class-quotes-collection-admin.php:767 loco:552d3f2c14d72594268b45b7
|
292 |
+
msgid "No change in values. Options not updated."
|
293 |
+
msgstr "Ingen endring. Innstillingene er ikke oppdatert."
|
294 |
+
|
295 |
+
#: inc/class-quotes-collection-admin.php:621
|
296 |
+
#: inc/class-quotes-collection-admin.php:635
|
297 |
+
#: inc/class-quotes-collection-admin.php:648 loco:552d3f2c14d72594268b45ac
|
298 |
+
msgid "No item selected"
|
299 |
+
msgstr "Ingen valgt"
|
300 |
+
|
301 |
+
#: inc/class-quotes-collection-admin.php:704 loco:552d3f2c14d72594268b45b5
|
302 |
+
msgid "No quotes imported"
|
303 |
+
msgstr "Ingen sitater importert"
|
304 |
+
|
305 |
+
#: inc/class-quotes-collection-widget.php:189 loco:552d3f2c14d72594268b457e
|
306 |
+
msgid "none"
|
307 |
+
msgstr "ingen"
|
308 |
+
|
309 |
+
#: inc/class-quotes-collection-admin.php:728 loco:552d3f2c14d72594268b45b6
|
310 |
+
msgid "Nothing to export"
|
311 |
+
msgstr "Ingenting å eksportere"
|
312 |
+
|
313 |
+
#: inc/class-quotes-collection-admin.php:625 loco:552d3f2c14d72594268b4567
|
314 |
+
msgid "One quote deleted"
|
315 |
+
msgid_plural "%d quotes deleted"
|
316 |
+
msgstr[0] "Ett sitat slettet"
|
317 |
+
msgstr[1] "%d sitater slettet"
|
318 |
+
|
319 |
+
#: inc/class-quotes-collection-admin.php:708 loco:552d3f2c14d72594268b456d
|
320 |
+
msgid "One quote imported"
|
321 |
+
msgid_plural "%d quotes imported"
|
322 |
+
msgstr[0] "Ett sitat importert"
|
323 |
+
msgstr[1] "%d sitater importert"
|
324 |
+
|
325 |
+
#: inc/class-quotes-collection-admin.php:491 loco:552d3f2c14d72594268b45a3
|
326 |
+
msgid "optional"
|
327 |
+
msgstr "valgfritt"
|
328 |
+
|
329 |
+
#: inc/class-quotes-collection-admin.php:775 loco:552d3f2c14d72594268b45b9
|
330 |
+
msgid "Options not updated"
|
331 |
+
msgstr "Innstillingene er ikke oppdatert"
|
332 |
+
|
333 |
+
#: inc/class-quotes-collection-admin.php:772 loco:552d3f2c14d72594268b45b8
|
334 |
+
msgid "Options updated"
|
335 |
+
msgstr "Innstillingene er oppdatert"
|
336 |
+
|
337 |
+
#: inc/class-quotes-collection-admin.php:668 loco:552d3f2c14d72594268b45af
|
338 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
339 |
+
msgstr "Vennligst velg en fil du vil laste opp før du klikker for å importere"
|
340 |
+
|
341 |
+
#: inc/class-quotes-collection-admin.php:490 loco:552d3f2c14d72594268b45a2
|
342 |
+
msgid "Public?"
|
343 |
+
msgstr "Offentlig?"
|
344 |
+
|
345 |
+
#: inc/class-quotes-collection-admin.php:567 loco:552d3f2c14d72594268b45a6
|
346 |
+
msgid "Quote added"
|
347 |
+
msgstr "Sitatet er lagt til"
|
348 |
+
|
349 |
+
#: inc/class-quotes-collection-admin.php:614 loco:552d3f2c14d72594268b45aa
|
350 |
+
msgid "Quote deleted"
|
351 |
+
msgstr "Sitatet er slettet"
|
352 |
+
|
353 |
+
#: inc/class-quotes-collection-admin.php:652 loco:552d3f2c14d72594268b456b
|
354 |
+
msgid "Quote kept private"
|
355 |
+
msgid_plural "%d quotes kept private"
|
356 |
+
msgstr[0] "Sitatet er privat"
|
357 |
+
msgstr[1] "%d sitater er private. "
|
358 |
+
|
359 |
+
#: inc/class-quotes-collection-admin.php:639 loco:552d3f2c14d72594268b4569
|
360 |
+
msgid "Quote made public"
|
361 |
+
msgid_plural "%d quotes made public"
|
362 |
+
msgstr[0] "Sitatet er offentliggjort"
|
363 |
+
msgstr[1] "%d sitater er offentliggjort"
|
364 |
+
|
365 |
+
#: inc/class-quotes-collection-widget.php:41
|
366 |
+
#: inc/class-quotes-collection-widget.php:83
|
367 |
+
#: inc/class-quotes-collection-widget.php:201 loco:552d3f2c14d72594268b4571
|
368 |
+
msgid "Random Quote"
|
369 |
+
msgstr "Tilfeldig sitat"
|
370 |
+
|
371 |
+
#: inc/class-quotes-collection-widget.php:138 loco:552d3f2c14d72594268b4577
|
372 |
+
msgid "Random refresh"
|
373 |
+
msgstr "Tilfeldig gjenoppfrisking"
|
374 |
+
|
375 |
+
#: inc/class-quotes-collection-widget.php:130 loco:552d3f2c14d72594268b4575
|
376 |
+
msgid "Refresh feature"
|
377 |
+
msgstr "Gjenoppfriskning"
|
378 |
+
|
379 |
+
#: inc/class-quotes-collection-admin.php:339 loco:552d3f2c14d72594268b4597
|
380 |
+
msgid "Refresh link text"
|
381 |
+
msgstr "Tekst for gjenoppfriskningslenke"
|
382 |
+
|
383 |
+
#: inc/class-quotes-collection-widget.php:120 loco:552d3f2c14d72594268b4573
|
384 |
+
msgid "Show author?"
|
385 |
+
msgstr "Vis opphavsperson?"
|
386 |
+
|
387 |
+
#: inc/class-quotes-collection-widget.php:125 loco:552d3f2c14d72594268b4574
|
388 |
+
msgid "Show source?"
|
389 |
+
msgstr "Vis kilde?"
|
390 |
+
|
391 |
+
#: inc/class-quotes-collection-admin.php:74
|
392 |
+
#: inc/class-quotes-collection-admin.php:389 loco:552d3f2c14d72594268b4583
|
393 |
+
msgctxt "submenu item text"
|
394 |
+
msgid "Add New"
|
395 |
+
msgstr "Legg til"
|
396 |
+
|
397 |
+
#: inc/class-quotes-collection-admin.php:116 loco:552d3f2c14d72594268b458a
|
398 |
+
msgctxt "submenu item text"
|
399 |
+
msgid "All Quotes"
|
400 |
+
msgstr "Alle sitater"
|
401 |
+
|
402 |
+
#: inc/class-quotes-collection-admin.php:157
|
403 |
+
#: inc/class-quotes-collection-admin.php:385 loco:552d3f2c14d72594268b458c
|
404 |
+
msgctxt "submenu item text"
|
405 |
+
msgid "Edit Quote"
|
406 |
+
msgstr "Endre sitat"
|
407 |
+
|
408 |
+
#: inc/class-quotes-collection-admin.php:96
|
409 |
+
#: inc/class-quotes-collection-admin.php:398 loco:552d3f2c14d72594268b4587
|
410 |
+
msgctxt "submenu item text"
|
411 |
+
msgid "Export"
|
412 |
+
msgstr "Eksport"
|
413 |
+
|
414 |
+
#: inc/class-quotes-collection-admin.php:85
|
415 |
+
#: inc/class-quotes-collection-admin.php:395 loco:552d3f2c14d72594268b4585
|
416 |
+
msgctxt "submenu item text"
|
417 |
+
msgid "Import"
|
418 |
+
msgstr "Import"
|
419 |
+
|
420 |
+
#: inc/class-quotes-collection-admin.php:107
|
421 |
+
#: inc/class-quotes-collection-admin.php:404 loco:552d3f2c14d72594268b4589
|
422 |
+
msgctxt "submenu item text"
|
423 |
+
msgid "Options"
|
424 |
+
msgstr "Innstillinger"
|
425 |
+
|
426 |
+
#: inc/class-quotes-collection-admin.php:457
|
427 |
+
#: inc/class-quotes-collection-admin.php:560 loco:552d3f2c14d72594268b459d
|
428 |
+
msgctxt "submit button text"
|
429 |
+
msgid "Add Quote"
|
430 |
+
msgstr "Legg til sitat"
|
431 |
+
|
432 |
+
#: inc/class-quotes-collection-admin.php:292
|
433 |
+
#: inc/class-quotes-collection-admin.php:594 loco:552d3f2c14d72594268b4596
|
434 |
+
msgctxt "submit button text"
|
435 |
+
msgid "Export"
|
436 |
+
msgstr "Eksportere"
|
437 |
+
|
438 |
+
#: inc/class-quotes-collection-admin.php:265
|
439 |
+
#: inc/class-quotes-collection-admin.php:588 loco:552d3f2c14d72594268b4594
|
440 |
+
msgctxt "submit button text"
|
441 |
+
msgid "Import"
|
442 |
+
msgstr "Importere"
|
443 |
+
|
444 |
+
#: inc/class-quotes-collection-admin.php:150
|
445 |
+
#: inc/class-quotes-collection-admin.php:474
|
446 |
+
#: inc/class-quotes-collection-admin.php:575 loco:552d3f2c14d72594268b458b
|
447 |
+
msgctxt "submit button text"
|
448 |
+
msgid "Save Changes"
|
449 |
+
msgstr "Lagre endringe"
|
450 |
+
|
451 |
+
#: inc/class-quotes-collection-admin.php:353
|
452 |
+
#: inc/class-quotes-collection-admin.php:600 loco:552d3f2c14d72594268b459b
|
453 |
+
msgctxt "submit button text"
|
454 |
+
msgid "Update Options"
|
455 |
+
msgstr "Oppdatere innstillinger"
|
456 |
+
|
457 |
+
#: inc/class-quotes-collection-widget.php:151 loco:552d3f2c14d72594268b457b
|
458 |
+
msgid "Tags filter"
|
459 |
+
msgstr "Filtrere på nøkkelord"
|
460 |
+
|
461 |
+
#: inc/class-quotes-collection-admin.php:688 loco:552d3f2c14d72594268b45b2
|
462 |
+
msgid "The file uploaded was empty"
|
463 |
+
msgstr "Filen er tom"
|
464 |
+
|
465 |
+
#: inc/class-quotes-collection-admin.php:680 loco:552d3f2c14d72594268b45b1
|
466 |
+
msgid "The file you uploaded is too big. Import failed."
|
467 |
+
msgstr "Filen du lastet opp er for stor, og importen feilet."
|
468 |
+
|
469 |
+
#: inc/class-quotes-collection-admin.php:564
|
470 |
+
#: inc/class-quotes-collection-admin.php:579 loco:552d3f2c14d72594268b45a5
|
471 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
472 |
+
msgstr "Sitat-feltet kan ikke være tomt. Vennligst fyll inn et sitat og prøv igjen."
|
473 |
+
|
474 |
+
#: inc/class-quotes-collection-widget.php:139 loco:552d3f2c14d72594268b4578
|
475 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
476 |
+
msgstr "Slå av for å rotere sitater i rekkefølgen de er lagt til (nyeste først)."
|
477 |
+
|
478 |
+
#: inc/class-quotes-collection-admin.php:287 loco:552d3f2c14d72594268b4595
|
479 |
+
msgid ""
|
480 |
+
"When you click the button below, a <abbr title=\"JavaScript Object Notation\">"
|
481 |
+
"JSON</abbr> file with the entire collection of quotes will be created, that "
|
482 |
+
"you can save to your computer."
|
483 |
+
msgstr ""
|
484 |
+
"Ved å klikke på knappen under genererer du en <abbr title=\"JavaScript Object "
|
485 |
+
"Notation\">JSON</abbr>-fil med hele sitat-samlingen din, som du så kan lagre "
|
486 |
+
"lokalt på maskinen din."
|
487 |
+
|
488 |
+
#: inc/class-quotes-collection-widget.php:18 loco:552d3f2c14d72594268b4570
|
489 |
+
msgctxt "widget description"
|
490 |
+
msgid "Random quote from your quotes collection"
|
491 |
+
msgstr "Tilfeldig sitat fra samlingen din"
|
492 |
+
|
493 |
+
#: inc/class-quotes-collection-widget.php:17 loco:552d3f2c14d72594268b456f
|
494 |
+
msgctxt "widget name"
|
495 |
+
msgid "Random Quote"
|
496 |
+
msgstr "Tilfeldig sitat"
|
languages/quotes-collection-sk_SK.mo
CHANGED
Binary file
|
languages/quotes-collection-sk_SK.po
CHANGED
@@ -1,238 +1,503 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Quotes Collection
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: Stefan Stieranka <test@email.sk>\n"
|
8 |
-
"Language-Team: <diequeeq@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"Plural-Forms: nplurals=
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"X-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
msgid "Next quote"
|
24 |
-
msgstr "Ďalší citát"
|
25 |
-
|
26 |
-
#: ../quotes-collection.php:61
|
27 |
-
msgid "Loading..."
|
28 |
-
msgstr "Načítavam..."
|
29 |
|
30 |
-
#:
|
31 |
-
|
32 |
-
|
|
|
33 |
|
34 |
-
#:
|
35 |
-
#:
|
|
|
36 |
msgid "Random Quote"
|
37 |
msgstr "Náhodný citát"
|
38 |
|
39 |
-
#:
|
40 |
msgid "Title"
|
41 |
msgstr "Titulok"
|
42 |
|
43 |
-
#:
|
44 |
msgid "Show author?"
|
45 |
-
msgstr "
|
46 |
|
47 |
-
#:
|
48 |
msgid "Show source?"
|
49 |
-
msgstr "
|
50 |
|
51 |
-
#:
|
52 |
-
msgid "
|
53 |
-
msgstr "
|
54 |
|
55 |
-
#:
|
56 |
-
msgid "
|
57 |
-
msgstr "
|
58 |
|
59 |
-
#:
|
60 |
-
msgid "
|
61 |
-
msgstr "
|
62 |
|
63 |
-
#:
|
64 |
-
msgid "
|
65 |
-
msgstr "
|
66 |
|
67 |
-
#:
|
68 |
-
|
69 |
-
|
70 |
-
msgstr "Tabulka databázy nebola nájdená"
|
71 |
|
72 |
-
#:
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
msgstr "V MySQL dotaze bola chyba"
|
77 |
|
78 |
-
#:
|
79 |
-
msgid "
|
80 |
-
msgstr "
|
81 |
|
82 |
-
#:
|
83 |
-
msgid "
|
84 |
-
msgstr "
|
85 |
|
86 |
-
#:
|
87 |
-
msgid "
|
88 |
-
msgstr "
|
89 |
|
90 |
-
#:
|
91 |
-
msgid "
|
92 |
-
msgstr "
|
93 |
|
94 |
-
#:
|
95 |
-
msgid "
|
96 |
-
msgstr "
|
97 |
|
98 |
-
#:
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
-
#:
|
104 |
-
|
105 |
-
|
106 |
-
msgstr "Uložiť zmeny"
|
107 |
|
108 |
-
#:
|
109 |
-
msgid "
|
110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
|
112 |
-
#:
|
113 |
-
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
msgstr "Citát"
|
116 |
|
117 |
-
#:
|
118 |
-
#:
|
119 |
-
#: ../quotes-collection.php:493
|
120 |
msgid "Author"
|
121 |
msgstr "Autor"
|
122 |
|
123 |
-
#:
|
124 |
-
#:
|
125 |
-
#: ../quotes-collection.php:493
|
126 |
msgid "Source"
|
127 |
msgstr "Zdroj"
|
128 |
|
129 |
-
#:
|
130 |
-
#:
|
131 |
msgid "Tags"
|
132 |
-
msgstr "
|
133 |
|
134 |
-
#:
|
135 |
-
|
136 |
-
|
137 |
-
msgstr "Viditeľný?"
|
138 |
|
139 |
-
#:
|
140 |
msgid "optional"
|
141 |
msgstr "voliteľne"
|
142 |
|
143 |
-
#:
|
144 |
msgid "comma separated"
|
145 |
msgstr "oddelené čiarkou"
|
146 |
|
147 |
-
#:
|
148 |
-
#:
|
149 |
-
msgid "
|
150 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
|
152 |
-
#:
|
153 |
#, php-format
|
154 |
-
msgid "
|
155 |
-
|
|
|
|
|
156 |
|
157 |
-
#:
|
158 |
-
msgid "
|
159 |
-
msgstr "
|
160 |
|
161 |
-
#:
|
162 |
-
|
163 |
-
|
|
|
|
|
|
|
164 |
|
165 |
-
#:
|
166 |
-
#:
|
167 |
-
|
168 |
-
|
169 |
-
msgid "Delete"
|
170 |
-
msgstr "Zmazať"
|
171 |
|
172 |
-
#:
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
msgstr "
|
|
|
177 |
|
178 |
-
#:
|
179 |
-
|
180 |
-
|
181 |
-
msgid "Make invisible"
|
182 |
-
msgstr "Neviditeľný"
|
183 |
|
184 |
-
#:
|
185 |
-
msgid "
|
186 |
-
msgstr "
|
187 |
|
188 |
-
#:
|
189 |
-
msgid "
|
190 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
|
192 |
-
#:
|
|
|
|
|
|
|
|
|
193 |
#, php-format
|
194 |
-
msgid "
|
195 |
-
msgid_plural "
|
196 |
-
msgstr[0] "
|
197 |
-
msgstr[1] "
|
198 |
-
|
199 |
-
#:
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
|
213 |
-
#:
|
214 |
-
|
215 |
-
|
|
|
216 |
|
217 |
-
#:
|
218 |
-
msgid "
|
219 |
-
msgstr "
|
220 |
|
221 |
-
#:
|
222 |
-
msgid "
|
223 |
-
msgstr "
|
224 |
|
225 |
-
#:
|
226 |
-
msgid "
|
227 |
-
msgstr "
|
228 |
|
229 |
-
#:
|
230 |
-
msgid "
|
231 |
-
msgstr "
|
232 |
|
233 |
-
#:
|
234 |
-
msgid "
|
235 |
-
msgstr "
|
236 |
|
237 |
-
|
238 |
-
|
|
1 |
+
# Quotes Collection plugin for WordPress: Localization template.
|
2 |
+
# Copyright (C) 2007-2015 Srini G
|
3 |
+
# This file is distributed under the same license as the Quotes Collection package.
|
4 |
+
# Srini G <s@srinig.com>, 2015.
|
5 |
+
#
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
+
"Project-Id-Version: Quotes Collection 2.0\n"
|
9 |
+
"Report-Msgid-Bugs-To: s@srinig.com\n"
|
10 |
+
"POT-Creation-Date: 2015-04-14 12:23+0530\n"
|
11 |
+
"PO-Revision-Date: 2015-04-15 12:04+0100\n"
|
|
|
|
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
16 |
+
"Last-Translator: Štefan Stieranka <stieranka@itec.sk>\n"
|
17 |
+
"Language-Team: ITEC - Stefan Stieranka <stieranka@itec.sk>\n"
|
18 |
+
"Language: sk_SK\n"
|
19 |
+
"X-Generator: Poedit 1.7.5\n"
|
20 |
+
|
21 |
+
# [widget meno]
|
22 |
+
#: inc/class-quotes-collection-widget.php:17
|
23 |
+
msgctxt "widget name"
|
24 |
+
msgid "Random Quote"
|
25 |
+
msgstr "Náhodný citát"
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
+
#: inc/class-quotes-collection-widget.php:18
|
28 |
+
msgctxt "widget description"
|
29 |
+
msgid "Random quote from your quotes collection"
|
30 |
+
msgstr "Náhodný citát z vašej kolekcie citátov"
|
31 |
|
32 |
+
#: inc/class-quotes-collection-widget.php:41
|
33 |
+
#: inc/class-quotes-collection-widget.php:83
|
34 |
+
#: inc/class-quotes-collection-widget.php:201
|
35 |
msgid "Random Quote"
|
36 |
msgstr "Náhodný citát"
|
37 |
|
38 |
+
#: inc/class-quotes-collection-widget.php:114
|
39 |
msgid "Title"
|
40 |
msgstr "Titulok"
|
41 |
|
42 |
+
#: inc/class-quotes-collection-widget.php:120
|
43 |
msgid "Show author?"
|
44 |
+
msgstr "Zobraziť autora?"
|
45 |
|
46 |
+
#: inc/class-quotes-collection-widget.php:125
|
47 |
msgid "Show source?"
|
48 |
+
msgstr "Zobraziť zdroj?"
|
49 |
|
50 |
+
#: inc/class-quotes-collection-widget.php:130
|
51 |
+
msgid "Refresh feature"
|
52 |
+
msgstr "Možnosť Obnoviť"
|
53 |
|
54 |
+
#: inc/class-quotes-collection-widget.php:133
|
55 |
+
msgid "Advanced options"
|
56 |
+
msgstr "Rozšírené nastavenia"
|
57 |
|
58 |
+
#: inc/class-quotes-collection-widget.php:138
|
59 |
+
msgid "Random refresh"
|
60 |
+
msgstr "Náhodné obnovenie"
|
61 |
|
62 |
+
#: inc/class-quotes-collection-widget.php:139
|
63 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
64 |
+
msgstr "Odškrtnutím budú citáty rotovať v poradí pridania, najnovšie prvé."
|
65 |
|
66 |
+
#: inc/class-quotes-collection-widget.php:144
|
67 |
+
msgid "Auto refresh"
|
68 |
+
msgstr "Automatické obnovenie"
|
|
|
69 |
|
70 |
+
#: inc/class-quotes-collection-widget.php:146
|
71 |
+
#, php-format
|
72 |
+
msgid "every %s sec"
|
73 |
+
msgstr "každých %s sek."
|
|
|
74 |
|
75 |
+
#: inc/class-quotes-collection-widget.php:151
|
76 |
+
msgid "Tags filter"
|
77 |
+
msgstr "Filter značiek"
|
78 |
|
79 |
+
#: inc/class-quotes-collection-widget.php:153
|
80 |
+
msgid "Comma separated"
|
81 |
+
msgstr "Oddelené čiarkami"
|
82 |
|
83 |
+
#: inc/class-quotes-collection-widget.php:157
|
84 |
+
msgid "Character limit"
|
85 |
+
msgstr "Limit počtu znakov"
|
86 |
|
87 |
+
#: inc/class-quotes-collection-widget.php:189
|
88 |
+
msgid "none"
|
89 |
+
msgstr "žiadny"
|
90 |
|
91 |
+
#: inc/class-quotes-collection.php:82
|
92 |
+
msgid "Loading..."
|
93 |
+
msgstr "Načítavam..."
|
94 |
|
95 |
+
#: inc/class-quotes-collection.php:83
|
96 |
+
msgid "Error getting quote"
|
97 |
+
msgstr "Chyba načítania citátu"
|
98 |
+
|
99 |
+
#: inc/class-quotes-collection.php:104
|
100 |
+
msgid "Next quote »"
|
101 |
+
msgstr "Ďalší citát »"
|
102 |
+
|
103 |
+
#: inc/class-quotes-collection-admin.php:73
|
104 |
+
#: inc/class-quotes-collection-admin.php:241
|
105 |
+
msgctxt "heading"
|
106 |
+
msgid "Add New Quote"
|
107 |
+
msgstr "Nový citát"
|
108 |
+
|
109 |
+
#: inc/class-quotes-collection-admin.php:74
|
110 |
+
#: inc/class-quotes-collection-admin.php:389
|
111 |
+
msgctxt "submenu item text"
|
112 |
+
msgid "Add New"
|
113 |
+
msgstr "Pridaj nový"
|
114 |
+
|
115 |
+
#: inc/class-quotes-collection-admin.php:84
|
116 |
+
#: inc/class-quotes-collection-admin.php:274
|
117 |
+
msgctxt "heading"
|
118 |
+
msgid "Import Quotes"
|
119 |
+
msgstr "Import citátov"
|
120 |
+
|
121 |
+
#: inc/class-quotes-collection-admin.php:85
|
122 |
+
#: inc/class-quotes-collection-admin.php:395
|
123 |
+
msgctxt "submenu item text"
|
124 |
+
msgid "Import"
|
125 |
+
msgstr "Import"
|
126 |
+
|
127 |
+
#: inc/class-quotes-collection-admin.php:95
|
128 |
+
#: inc/class-quotes-collection-admin.php:302
|
129 |
+
msgctxt "heading"
|
130 |
+
msgid "Export Quotes"
|
131 |
+
msgstr "Export citátov"
|
132 |
+
|
133 |
+
#: inc/class-quotes-collection-admin.php:96
|
134 |
+
#: inc/class-quotes-collection-admin.php:398
|
135 |
+
msgctxt "submenu item text"
|
136 |
+
msgid "Export"
|
137 |
+
msgstr "Export"
|
138 |
+
|
139 |
+
#: inc/class-quotes-collection-admin.php:106
|
140 |
+
#: inc/class-quotes-collection-admin.php:362
|
141 |
+
msgctxt "heading"
|
142 |
+
msgid "Quotes Collection Options"
|
143 |
+
msgstr "Nastavenia Quotes Collection"
|
144 |
+
|
145 |
+
#: inc/class-quotes-collection-admin.php:107
|
146 |
+
#: inc/class-quotes-collection-admin.php:404
|
147 |
+
msgctxt "submenu item text"
|
148 |
+
msgid "Options"
|
149 |
+
msgstr "Nastavenia"
|
150 |
+
|
151 |
+
#: inc/class-quotes-collection-admin.php:116
|
152 |
+
msgctxt "submenu item text"
|
153 |
+
msgid "All Quotes"
|
154 |
+
msgstr "Všetky citáty"
|
155 |
+
|
156 |
+
#: inc/class-quotes-collection-admin.php:150
|
157 |
+
#: inc/class-quotes-collection-admin.php:474
|
158 |
+
#: inc/class-quotes-collection-admin.php:575
|
159 |
+
msgctxt "submit button text"
|
160 |
+
msgid "Save Changes"
|
161 |
+
msgstr "Ulož zmeny"
|
162 |
+
|
163 |
+
#: inc/class-quotes-collection-admin.php:157
|
164 |
+
#: inc/class-quotes-collection-admin.php:385
|
165 |
+
msgctxt "submenu item text"
|
166 |
+
msgid "Edit Quote"
|
167 |
+
msgstr "Uprav citát"
|
168 |
+
|
169 |
+
#: inc/class-quotes-collection-admin.php:188
|
170 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
171 |
+
msgid "All Quotes"
|
172 |
+
msgstr "Všetky citáty"
|
173 |
+
|
174 |
+
#: inc/class-quotes-collection-admin.php:193
|
175 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
176 |
+
msgid "Public"
|
177 |
+
msgstr "Verejné"
|
178 |
+
|
179 |
+
#: inc/class-quotes-collection-admin.php:198
|
180 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
181 |
+
msgid "Private"
|
182 |
+
msgstr "Súkromné"
|
183 |
+
|
184 |
+
#: inc/class-quotes-collection-admin.php:204
|
185 |
+
#, php-format
|
186 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
187 |
+
msgid "Search results for \"%s\""
|
188 |
+
msgstr "Výsledky vyhľadávania pre \"%s\""
|
189 |
|
190 |
+
#: inc/class-quotes-collection-admin.php:220
|
191 |
+
msgid "Search"
|
192 |
+
msgstr "Hľadaj"
|
|
|
193 |
|
194 |
+
#: inc/class-quotes-collection-admin.php:255
|
195 |
+
msgid ""
|
196 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
197 |
+
"json) file to upload, then click the 'Import' button."
|
198 |
+
msgstr ""
|
199 |
+
"Prechádzať a vybrať <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
200 |
+
"json) súbor pre nahratie, potom klikni na tlačidlo 'Import'."
|
201 |
+
|
202 |
+
#: inc/class-quotes-collection-admin.php:260
|
203 |
+
msgid "Choose a file to upload:"
|
204 |
+
msgstr "Vyber súbor pre nahratie:"
|
205 |
+
|
206 |
+
#: inc/class-quotes-collection-admin.php:265
|
207 |
+
#: inc/class-quotes-collection-admin.php:588
|
208 |
+
msgctxt "submit button text"
|
209 |
+
msgid "Import"
|
210 |
+
msgstr "Import"
|
211 |
+
|
212 |
+
#: inc/class-quotes-collection-admin.php:287
|
213 |
+
msgid ""
|
214 |
+
"When you click the button below, a <abbr title=\"JavaScript Object Notation"
|
215 |
+
"\">JSON</abbr> file with the entire collection of quotes will be created, that "
|
216 |
+
"you can save to your computer."
|
217 |
+
msgstr ""
|
218 |
+
"Keď kliknete na tlačidlo nižšie, vytvorí sa <abbr title=\"JavaScript Object "
|
219 |
+
"Notation\">JSON</abbr> súbor s celou zbierku citátov, ktorý môžete uložiť do "
|
220 |
+
"vášho počítača."
|
221 |
+
|
222 |
+
#: inc/class-quotes-collection-admin.php:292
|
223 |
+
#: inc/class-quotes-collection-admin.php:594
|
224 |
+
msgctxt "submit button text"
|
225 |
+
msgid "Export"
|
226 |
+
msgstr "Export"
|
227 |
+
|
228 |
+
#: inc/class-quotes-collection-admin.php:339
|
229 |
+
msgid "Refresh link text"
|
230 |
+
msgstr "Text odkazu Obnoviť"
|
231 |
|
232 |
+
#: inc/class-quotes-collection-admin.php:343
|
233 |
+
msgid "Maximum number of iterations for auto-refresh"
|
234 |
+
msgstr "Maximálny počet iterácií pre automatickú obnovu"
|
235 |
+
|
236 |
+
#: inc/class-quotes-collection-admin.php:347
|
237 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
238 |
+
msgstr "Dynamicky načítať prvý náhodný citát vo widgete?"
|
239 |
+
|
240 |
+
#: inc/class-quotes-collection-admin.php:350
|
241 |
+
msgid ""
|
242 |
+
"Check this if your site is cached and the 'random quote' widget always shows a "
|
243 |
+
"particular quote as the initial quote."
|
244 |
+
msgstr ""
|
245 |
+
"Zvoľte ak sú vaše stránky v medzipamäti a widget \"náhodný citát\" vždy "
|
246 |
+
"zobrazuje konkrétny citát ako počiatočný citát."
|
247 |
+
|
248 |
+
#: inc/class-quotes-collection-admin.php:353
|
249 |
+
#: inc/class-quotes-collection-admin.php:600
|
250 |
+
msgctxt "submit button text"
|
251 |
+
msgid "Update Options"
|
252 |
+
msgstr "Aktualizuj nastavenia"
|
253 |
+
|
254 |
+
#: inc/class-quotes-collection-admin.php:381
|
255 |
+
msgid "All Quotes"
|
256 |
+
msgstr "Všetky citáty"
|
257 |
+
|
258 |
+
#: inc/class-quotes-collection-admin.php:457
|
259 |
+
#: inc/class-quotes-collection-admin.php:560
|
260 |
+
msgctxt "submit button text"
|
261 |
+
msgid "Add Quote"
|
262 |
+
msgstr "Pridať citát"
|
263 |
+
|
264 |
+
#: inc/class-quotes-collection-admin.php:486
|
265 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
266 |
+
msgid "Quote"
|
267 |
msgstr "Citát"
|
268 |
|
269 |
+
#: inc/class-quotes-collection-admin.php:487
|
270 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
271 |
msgid "Author"
|
272 |
msgstr "Autor"
|
273 |
|
274 |
+
#: inc/class-quotes-collection-admin.php:488
|
275 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
276 |
msgid "Source"
|
277 |
msgstr "Zdroj"
|
278 |
|
279 |
+
#: inc/class-quotes-collection-admin.php:489
|
280 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
281 |
msgid "Tags"
|
282 |
+
msgstr "Značky"
|
283 |
|
284 |
+
#: inc/class-quotes-collection-admin.php:490
|
285 |
+
msgid "Public?"
|
286 |
+
msgstr "Verejný?"
|
|
|
287 |
|
288 |
+
#: inc/class-quotes-collection-admin.php:491
|
289 |
msgid "optional"
|
290 |
msgstr "voliteľne"
|
291 |
|
292 |
+
#: inc/class-quotes-collection-admin.php:492
|
293 |
msgid "comma separated"
|
294 |
msgstr "oddelené čiarkou"
|
295 |
|
296 |
+
#: inc/class-quotes-collection-admin.php:564
|
297 |
+
#: inc/class-quotes-collection-admin.php:579
|
298 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
299 |
+
msgstr "Pole citát nemôže byť prázdne. Vyplňte pole citát a skúste to znova."
|
300 |
+
|
301 |
+
#: inc/class-quotes-collection-admin.php:567
|
302 |
+
msgid "Quote added"
|
303 |
+
msgstr "Citát pridaný"
|
304 |
+
|
305 |
+
#: inc/class-quotes-collection-admin.php:570
|
306 |
+
msgid "Error adding quote"
|
307 |
+
msgstr "Chyba pri pridaní citátu"
|
308 |
+
|
309 |
+
#: inc/class-quotes-collection-admin.php:582
|
310 |
+
msgid "Changes saved"
|
311 |
+
msgstr "Zmeny uložené"
|
312 |
+
|
313 |
+
#: inc/class-quotes-collection-admin.php:584
|
314 |
+
msgid "Error updating quote"
|
315 |
+
msgstr "Chyba pri ukladaní zmien"
|
316 |
+
|
317 |
+
#: inc/class-quotes-collection-admin.php:614
|
318 |
+
msgid "Quote deleted"
|
319 |
+
msgstr "Citát odstránený"
|
320 |
+
|
321 |
+
#: inc/class-quotes-collection-admin.php:616
|
322 |
+
msgid "Error deleting quote"
|
323 |
+
msgstr "Chyba pri odstránení citátu"
|
324 |
+
|
325 |
+
#: inc/class-quotes-collection-admin.php:621
|
326 |
+
#: inc/class-quotes-collection-admin.php:635
|
327 |
+
#: inc/class-quotes-collection-admin.php:648
|
328 |
+
msgid "No item selected"
|
329 |
+
msgstr "Žiadne položky neboli vybraté"
|
330 |
|
331 |
+
#: inc/class-quotes-collection-admin.php:625
|
332 |
#, php-format
|
333 |
+
msgid "One quote deleted"
|
334 |
+
msgid_plural "%d quotes deleted"
|
335 |
+
msgstr[0] "Jeden citát odstránený"
|
336 |
+
msgstr[1] "%d citátov odstránených"
|
337 |
|
338 |
+
#: inc/class-quotes-collection-admin.php:629
|
339 |
+
msgid "Error deleting quotes"
|
340 |
+
msgstr "Chyba pri odstránení citátov"
|
341 |
|
342 |
+
#: inc/class-quotes-collection-admin.php:639
|
343 |
+
#, php-format
|
344 |
+
msgid "Quote made public"
|
345 |
+
msgid_plural "%d quotes made public"
|
346 |
+
msgstr[0] "Citát bol zverejnený"
|
347 |
+
msgstr[1] "%d citátov bolo zverejnených"
|
348 |
|
349 |
+
#: inc/class-quotes-collection-admin.php:643
|
350 |
+
#: inc/class-quotes-collection-admin.php:656
|
351 |
+
msgid "Error. Privacy status not changed."
|
352 |
+
msgstr "Chyba. Stav ochrany nebol zmenený."
|
|
|
|
|
353 |
|
354 |
+
#: inc/class-quotes-collection-admin.php:652
|
355 |
+
#, php-format
|
356 |
+
msgid "Quote kept private"
|
357 |
+
msgid_plural "%d quotes kept private"
|
358 |
+
msgstr[0] "Citát je súkromný"
|
359 |
+
msgstr[1] "%d citátov je súkromných"
|
360 |
|
361 |
+
#: inc/class-quotes-collection-admin.php:668
|
362 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
363 |
+
msgstr "Vyberte súbor na nahratie pred tým ako stlačíte tlačidlo \"Import\""
|
|
|
|
|
364 |
|
365 |
+
#: inc/class-quotes-collection-admin.php:674
|
366 |
+
msgid "Invalid file format"
|
367 |
+
msgstr "Nesprávny formát súboru"
|
368 |
|
369 |
+
#: inc/class-quotes-collection-admin.php:680
|
370 |
+
msgid "The file you uploaded is too big. Import failed."
|
371 |
+
msgstr "Súbor, ktorý ste nahrali je príliš veľký. Import zlyhal."
|
372 |
+
|
373 |
+
#: inc/class-quotes-collection-admin.php:688
|
374 |
+
msgid "The file uploaded was empty"
|
375 |
+
msgstr "Nahratý súbor bol prázdny"
|
376 |
+
|
377 |
+
#: inc/class-quotes-collection-admin.php:693
|
378 |
+
msgid "Error in JSON file"
|
379 |
+
msgstr "Chyba v JSON súbore"
|
380 |
+
|
381 |
+
#: inc/class-quotes-collection-admin.php:701
|
382 |
+
#: inc/class-quotes-collection-admin.php:715
|
383 |
+
msgid "Import failed. Please try again."
|
384 |
+
msgstr "Chyba importu. Prosím skúste znova."
|
385 |
|
386 |
+
#: inc/class-quotes-collection-admin.php:704
|
387 |
+
msgid "No quotes imported"
|
388 |
+
msgstr "Žiadne citáty neboli importované"
|
389 |
+
|
390 |
+
#: inc/class-quotes-collection-admin.php:708
|
391 |
#, php-format
|
392 |
+
msgid "One quote imported"
|
393 |
+
msgid_plural "%d quotes imported"
|
394 |
+
msgstr[0] "Jeden citát importovaný"
|
395 |
+
msgstr[1] "%d citátov importovaných"
|
396 |
+
|
397 |
+
#: inc/class-quotes-collection-admin.php:728
|
398 |
+
msgid "Nothing to export"
|
399 |
+
msgstr "Nič na export"
|
400 |
+
|
401 |
+
#: inc/class-quotes-collection-admin.php:767
|
402 |
+
msgid "No change in values. Options not updated."
|
403 |
+
msgstr "Žiadna zmena v hodnotách. Nastavenie neboli aktualizované."
|
404 |
+
|
405 |
+
#: inc/class-quotes-collection-admin.php:772
|
406 |
+
msgid "Options updated"
|
407 |
+
msgstr "Nastavenia aktualizované"
|
408 |
+
|
409 |
+
#: inc/class-quotes-collection-admin.php:775
|
410 |
+
msgid "Options not updated"
|
411 |
+
msgstr "Nastavenia neboli aktualizované"
|
412 |
+
|
413 |
+
#: inc/class-quotes-collection-admin.php:791
|
414 |
+
msgid "Maximum items"
|
415 |
+
msgstr "Maximum položiek"
|
416 |
+
|
417 |
+
#: inc/class-quotes-collection-admin.php:821
|
418 |
+
msgctxt "confirmation dialog title"
|
419 |
+
msgid "Delete?"
|
420 |
+
msgstr "Odstrániť?"
|
421 |
+
|
422 |
+
#: inc/class-quotes-collection-admin.php:822
|
423 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
424 |
+
msgid "Are you sure you want to delete this quote?"
|
425 |
+
msgstr "Naozaj chcete odstrániť tento citát?"
|
426 |
+
|
427 |
+
#: inc/class-quotes-collection-admin.php:823
|
428 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
429 |
+
msgid "Are you sure you want to delete these quotes?"
|
430 |
+
msgstr "Naozaj chcete odstrániť tieto citáty?"
|
431 |
+
|
432 |
+
#: inc/class-quotes-collection-admin.php:824
|
433 |
+
msgctxt "confirmation dialog button text"
|
434 |
+
msgid "Yes"
|
435 |
+
msgstr "Áno"
|
436 |
+
|
437 |
+
#: inc/class-quotes-collection-admin.php:825
|
438 |
+
msgctxt "confirmation dialog button text"
|
439 |
+
msgid "No"
|
440 |
+
msgstr "Nie"
|
441 |
+
|
442 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
443 |
+
msgid "Go to the first page"
|
444 |
+
msgstr "Choď na prvú stranu"
|
445 |
+
|
446 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
447 |
+
msgid "Go to the previous page"
|
448 |
+
msgstr "Choď na prechádzajúcu stranu"
|
449 |
+
|
450 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
451 |
+
msgid "Go to the next page"
|
452 |
+
msgstr "Choď na ďalšiu stranu"
|
453 |
+
|
454 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
455 |
+
msgid "Go to the last page"
|
456 |
+
msgstr "Choď na poslednú stranu"
|
457 |
+
|
458 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
459 |
+
msgid "Goto page:"
|
460 |
+
msgstr "Choď na stranu:"
|
461 |
+
|
462 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
463 |
+
msgid "Edit"
|
464 |
+
msgstr "Upraviť"
|
465 |
+
|
466 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
467 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
468 |
+
msgid "Delete"
|
469 |
+
msgstr "Odstrániť"
|
470 |
+
|
471 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
472 |
+
msgctxt "date and time format"
|
473 |
+
msgid "Y/m/d h:i:s A"
|
474 |
+
msgstr "d.m.Y H:i:s"
|
475 |
|
476 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
477 |
+
msgctxt "date format"
|
478 |
+
msgid "Y/m/d"
|
479 |
+
msgstr "d.m.Y"
|
480 |
|
481 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
482 |
+
msgid "Private"
|
483 |
+
msgstr "Súkromné"
|
484 |
|
485 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
486 |
+
msgid "Public"
|
487 |
+
msgstr "Verejné"
|
488 |
|
489 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
490 |
+
msgid "ID"
|
491 |
+
msgstr "ID"
|
492 |
|
493 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
494 |
+
msgid "Date"
|
495 |
+
msgstr "Dátum"
|
496 |
|
497 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
498 |
+
msgid "Make public"
|
499 |
+
msgstr "Zverejniť"
|
500 |
|
501 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
502 |
+
msgid "Keep private"
|
503 |
+
msgstr "Označiť ako súkromné"
|
languages/quotes-collection-sv_SE.mo
CHANGED
Binary file
|
languages/quotes-collection-sv_SE.po
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Quotes Collection 1.1.2\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Julian Kommunikation <info@julian.se>\n"
|
8 |
"Language-Team: \n"
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -13,243 +14,587 @@ msgstr ""
|
|
13 |
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
|
15 |
"X-Poedit-Basepath: .\n"
|
|
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
-
#:
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
msgstr "Nästa citat"
|
23 |
-
|
24 |
-
#: ../quotes-collection.php:63
|
25 |
-
msgid "Loading..."
|
26 |
-
msgstr "Laddar..."
|
27 |
|
28 |
-
#:
|
29 |
-
|
30 |
-
|
|
|
31 |
|
32 |
-
#:
|
33 |
-
#:
|
|
|
34 |
msgid "Random Quote"
|
35 |
msgstr "Slumpat citat"
|
36 |
|
37 |
-
#:
|
38 |
-
msgid "none"
|
39 |
-
msgstr "inga"
|
40 |
-
|
41 |
-
#: ../quotes-collection.php:253
|
42 |
msgid "Title"
|
43 |
msgstr "Titel"
|
44 |
|
45 |
-
#:
|
46 |
msgid "Show author?"
|
47 |
msgstr "Visa författare?"
|
48 |
|
49 |
-
#:
|
50 |
msgid "Show source?"
|
51 |
msgstr "Visa källa?"
|
52 |
|
53 |
-
#:
|
54 |
-
msgid "
|
55 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
msgid "Tags filter"
|
59 |
msgstr "Etikett-filter"
|
60 |
|
61 |
-
#:
|
62 |
msgid "Comma separated"
|
63 |
msgstr "Kommaseparerad"
|
64 |
|
65 |
-
#:
|
66 |
msgid "Character limit"
|
67 |
msgstr "Tecken-begränsning"
|
68 |
|
69 |
-
#:
|
70 |
-
msgid "
|
71 |
-
msgstr "
|
72 |
|
73 |
-
#:
|
74 |
-
msgid "
|
75 |
-
msgstr "
|
76 |
|
77 |
-
#:
|
78 |
-
msgid "
|
79 |
-
msgstr "
|
80 |
|
81 |
-
#:
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
-
#:
|
87 |
-
#:
|
88 |
-
|
89 |
-
msgid "
|
90 |
-
msgstr "
|
91 |
|
92 |
-
#:
|
93 |
-
|
94 |
-
|
|
|
95 |
|
96 |
-
#:
|
97 |
-
|
98 |
-
|
|
|
99 |
|
100 |
-
#:
|
101 |
-
|
102 |
-
|
|
|
103 |
|
104 |
-
#:
|
105 |
-
|
106 |
-
|
|
|
|
|
107 |
|
108 |
-
#:
|
109 |
-
msgid "
|
110 |
-
msgstr "
|
111 |
|
112 |
-
#:
|
113 |
-
|
114 |
-
|
115 |
-
|
|
|
|
|
|
|
116 |
|
117 |
-
#:
|
118 |
-
|
119 |
-
|
120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
|
122 |
-
#:
|
123 |
-
msgid "
|
124 |
-
msgstr "
|
125 |
|
126 |
-
#:
|
127 |
-
|
128 |
-
|
129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
|
131 |
-
#:
|
132 |
-
#:
|
133 |
-
|
|
|
|
|
|
|
|
|
134 |
msgid "Author"
|
135 |
msgstr "Författare"
|
136 |
|
137 |
-
#:
|
138 |
-
#:
|
139 |
-
#: ../quotes-collection.php:589
|
140 |
msgid "Source"
|
141 |
msgstr "Källa"
|
142 |
|
143 |
-
#:
|
144 |
-
#:
|
145 |
msgid "Tags"
|
146 |
msgstr "Etiketter"
|
147 |
|
148 |
-
#:
|
149 |
-
|
150 |
-
|
151 |
-
msgstr "Visas?"
|
152 |
|
153 |
-
#:
|
154 |
msgid "optional"
|
155 |
msgstr "valfritt"
|
156 |
|
157 |
-
#:
|
158 |
msgid "comma separated"
|
159 |
msgstr "kommaseparerad"
|
160 |
|
161 |
-
#:
|
162 |
-
#:
|
163 |
-
msgid "
|
164 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
|
166 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
#, php-format
|
168 |
-
msgid "
|
169 |
-
|
|
|
|
|
170 |
|
171 |
-
#:
|
172 |
-
msgid "
|
173 |
-
msgstr "
|
174 |
|
175 |
-
#:
|
176 |
-
|
177 |
-
|
|
|
|
|
|
|
178 |
|
179 |
-
#:
|
180 |
-
#:
|
181 |
-
|
182 |
-
|
183 |
-
msgid "Delete"
|
184 |
-
msgstr "Ta bort"
|
185 |
|
186 |
-
#:
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
msgstr "
|
|
|
191 |
|
192 |
-
#:
|
193 |
-
|
194 |
-
|
195 |
-
msgid "Make invisible"
|
196 |
-
msgstr "Gör icke visningsbar"
|
197 |
|
198 |
-
#:
|
199 |
-
msgid "
|
200 |
-
msgstr "
|
|
|
|
|
|
|
|
|
201 |
|
202 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
msgid "Are you sure you want to delete this quote?"
|
204 |
msgstr "Är du säker på att du vill ta bort detta citat?"
|
205 |
|
206 |
-
#:
|
207 |
-
|
208 |
-
msgid "
|
209 |
-
|
210 |
-
msgstr[0] "För tillfället har du %d citat."
|
211 |
-
msgstr[1] "För tillfället har du %d citat."
|
212 |
-
|
213 |
-
#: ../quotes-collection.php:556
|
214 |
-
#: ../quotes-collection.php:618
|
215 |
-
msgid "Add new quote"
|
216 |
-
msgstr "Lägg till citat"
|
217 |
|
218 |
-
#:
|
219 |
-
|
220 |
-
|
|
|
221 |
|
222 |
-
#:
|
223 |
-
|
224 |
-
msgid "
|
225 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
|
227 |
-
#:
|
228 |
-
msgid "
|
229 |
-
msgstr "
|
230 |
|
231 |
-
#:
|
232 |
-
msgid "
|
233 |
-
msgstr "
|
234 |
|
235 |
-
#:
|
236 |
-
msgid "
|
237 |
-
msgstr "
|
238 |
|
239 |
-
#:
|
240 |
-
msgid "
|
241 |
-
msgstr "
|
242 |
|
243 |
-
#:
|
244 |
-
msgid "
|
245 |
-
msgstr "
|
246 |
|
247 |
-
|
248 |
-
|
249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
|
251 |
#~ msgid "Manage"
|
252 |
#~ msgstr "Hantera"
|
|
|
253 |
#~ msgid "from"
|
254 |
#~ msgstr "aus"
|
255 |
-
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Quotes Collection 1.1.2\n"
|
4 |
+
"Report-Msgid-Bugs-To: s@srinig.com\n"
|
5 |
+
"POT-Creation-Date: 2015-04-14 12:23+0530\n"
|
6 |
+
"PO-Revision-Date: 2015-05-22 11:32+0100\n"
|
7 |
"Last-Translator: Julian Kommunikation <info@julian.se>\n"
|
8 |
"Language-Team: \n"
|
9 |
+
"Language: sv_SE\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
+
"X-Generator: Poedit 1.7.6\n"
|
18 |
"X-Poedit-SearchPath-0: ..\n"
|
19 |
|
20 |
+
#: inc/class-quotes-collection-widget.php:17
|
21 |
+
msgctxt "widget name"
|
22 |
+
msgid "Random Quote"
|
23 |
+
msgstr "Slumpat citat"
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
+
#: inc/class-quotes-collection-widget.php:18
|
26 |
+
msgctxt "widget description"
|
27 |
+
msgid "Random quote from your quotes collection"
|
28 |
+
msgstr "Slumpat citat från din citatsammling"
|
29 |
|
30 |
+
#: inc/class-quotes-collection-widget.php:41
|
31 |
+
#: inc/class-quotes-collection-widget.php:83
|
32 |
+
#: inc/class-quotes-collection-widget.php:201
|
33 |
msgid "Random Quote"
|
34 |
msgstr "Slumpat citat"
|
35 |
|
36 |
+
#: inc/class-quotes-collection-widget.php:114
|
|
|
|
|
|
|
|
|
37 |
msgid "Title"
|
38 |
msgstr "Titel"
|
39 |
|
40 |
+
#: inc/class-quotes-collection-widget.php:120
|
41 |
msgid "Show author?"
|
42 |
msgstr "Visa författare?"
|
43 |
|
44 |
+
#: inc/class-quotes-collection-widget.php:125
|
45 |
msgid "Show source?"
|
46 |
msgstr "Visa källa?"
|
47 |
|
48 |
+
#: inc/class-quotes-collection-widget.php:130
|
49 |
+
msgid "Refresh feature"
|
50 |
+
msgstr "Uppdatera funktion"
|
51 |
+
|
52 |
+
#: inc/class-quotes-collection-widget.php:133
|
53 |
+
msgid "Advanced options"
|
54 |
+
msgstr "Avancerade inställningar"
|
55 |
+
|
56 |
+
#: inc/class-quotes-collection-widget.php:138
|
57 |
+
msgid "Random refresh"
|
58 |
+
msgstr "Slumpad uppdatering"
|
59 |
|
60 |
+
#: inc/class-quotes-collection-widget.php:139
|
61 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
62 |
+
msgstr ""
|
63 |
+
"Bocka ur här och citaten roteras i den ordning dom är inlagda, äldst först."
|
64 |
+
|
65 |
+
#: inc/class-quotes-collection-widget.php:144
|
66 |
+
msgid "Auto refresh"
|
67 |
+
msgstr "Auto-uppdatering"
|
68 |
+
|
69 |
+
#: inc/class-quotes-collection-widget.php:146
|
70 |
+
#, php-format
|
71 |
+
msgid "every %s sec"
|
72 |
+
msgstr "var %s sek"
|
73 |
+
|
74 |
+
#: inc/class-quotes-collection-widget.php:151
|
75 |
msgid "Tags filter"
|
76 |
msgstr "Etikett-filter"
|
77 |
|
78 |
+
#: inc/class-quotes-collection-widget.php:153
|
79 |
msgid "Comma separated"
|
80 |
msgstr "Kommaseparerad"
|
81 |
|
82 |
+
#: inc/class-quotes-collection-widget.php:157
|
83 |
msgid "Character limit"
|
84 |
msgstr "Tecken-begränsning"
|
85 |
|
86 |
+
#: inc/class-quotes-collection-widget.php:189
|
87 |
+
msgid "none"
|
88 |
+
msgstr "inga"
|
89 |
|
90 |
+
#: inc/class-quotes-collection.php:82
|
91 |
+
msgid "Loading..."
|
92 |
+
msgstr "Laddar..."
|
93 |
|
94 |
+
#: inc/class-quotes-collection.php:83
|
95 |
+
msgid "Error getting quote"
|
96 |
+
msgstr "Fel vid citathämtning"
|
97 |
|
98 |
+
#: inc/class-quotes-collection.php:104
|
99 |
+
msgid "Next quote »"
|
100 |
+
msgstr "Nästa citat »"
|
101 |
+
|
102 |
+
#: inc/class-quotes-collection-admin.php:73
|
103 |
+
#: inc/class-quotes-collection-admin.php:241
|
104 |
+
msgctxt "heading"
|
105 |
+
msgid "Add New Quote"
|
106 |
+
msgstr "Lägg till nytt citat"
|
107 |
+
|
108 |
+
#: inc/class-quotes-collection-admin.php:74
|
109 |
+
#: inc/class-quotes-collection-admin.php:389
|
110 |
+
msgctxt "submenu item text"
|
111 |
+
msgid "Add New"
|
112 |
+
msgstr "Lägg till nytt"
|
113 |
+
|
114 |
+
#: inc/class-quotes-collection-admin.php:84
|
115 |
+
#: inc/class-quotes-collection-admin.php:274
|
116 |
+
msgctxt "heading"
|
117 |
+
msgid "Import Quotes"
|
118 |
+
msgstr "Importera citat"
|
119 |
+
|
120 |
+
#: inc/class-quotes-collection-admin.php:85
|
121 |
+
#: inc/class-quotes-collection-admin.php:395
|
122 |
+
msgctxt "submenu item text"
|
123 |
+
msgid "Import"
|
124 |
+
msgstr "Importera"
|
125 |
+
|
126 |
+
#: inc/class-quotes-collection-admin.php:95
|
127 |
+
#: inc/class-quotes-collection-admin.php:302
|
128 |
+
msgctxt "heading"
|
129 |
+
msgid "Export Quotes"
|
130 |
+
msgstr "Exportera citat"
|
131 |
+
|
132 |
+
#: inc/class-quotes-collection-admin.php:96
|
133 |
+
#: inc/class-quotes-collection-admin.php:398
|
134 |
+
msgctxt "submenu item text"
|
135 |
+
msgid "Export"
|
136 |
+
msgstr "Exportera"
|
137 |
+
|
138 |
+
#: inc/class-quotes-collection-admin.php:106
|
139 |
+
#: inc/class-quotes-collection-admin.php:362
|
140 |
+
msgctxt "heading"
|
141 |
+
msgid "Quotes Collection Options"
|
142 |
+
msgstr "Citatsammling - inställningar"
|
143 |
+
|
144 |
+
#: inc/class-quotes-collection-admin.php:107
|
145 |
+
#: inc/class-quotes-collection-admin.php:404
|
146 |
+
msgctxt "submenu item text"
|
147 |
+
msgid "Options"
|
148 |
+
msgstr "Inställningar"
|
149 |
+
|
150 |
+
#: inc/class-quotes-collection-admin.php:116
|
151 |
+
msgctxt "submenu item text"
|
152 |
+
msgid "All Quotes"
|
153 |
+
msgstr "Alla citat"
|
154 |
+
|
155 |
+
#: inc/class-quotes-collection-admin.php:150
|
156 |
+
#: inc/class-quotes-collection-admin.php:474
|
157 |
+
#: inc/class-quotes-collection-admin.php:575
|
158 |
+
msgctxt "submit button text"
|
159 |
+
msgid "Save Changes"
|
160 |
+
msgstr "Spara ändringar"
|
161 |
|
162 |
+
#: inc/class-quotes-collection-admin.php:157
|
163 |
+
#: inc/class-quotes-collection-admin.php:385
|
164 |
+
msgctxt "submenu item text"
|
165 |
+
msgid "Edit Quote"
|
166 |
+
msgstr "Redigera citat"
|
167 |
|
168 |
+
#: inc/class-quotes-collection-admin.php:188
|
169 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
170 |
+
msgid "All Quotes"
|
171 |
+
msgstr "Alla citat"
|
172 |
|
173 |
+
#: inc/class-quotes-collection-admin.php:193
|
174 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
175 |
+
msgid "Public"
|
176 |
+
msgstr "Offentliga"
|
177 |
|
178 |
+
#: inc/class-quotes-collection-admin.php:198
|
179 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
180 |
+
msgid "Private"
|
181 |
+
msgstr "Privata"
|
182 |
|
183 |
+
#: inc/class-quotes-collection-admin.php:204
|
184 |
+
#, php-format
|
185 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
186 |
+
msgid "Search results for \"%s\""
|
187 |
+
msgstr "Sökresultat för \"%s\""
|
188 |
|
189 |
+
#: inc/class-quotes-collection-admin.php:220
|
190 |
+
msgid "Search"
|
191 |
+
msgstr "Sök"
|
192 |
|
193 |
+
#: inc/class-quotes-collection-admin.php:255
|
194 |
+
msgid ""
|
195 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
196 |
+
"json) file to upload, then click the 'Import' button."
|
197 |
+
msgstr ""
|
198 |
+
"Bläddra och välj en <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
199 |
+
"json) fil att ladda upp, klicka sen 'import'-knappen."
|
200 |
|
201 |
+
#: inc/class-quotes-collection-admin.php:260
|
202 |
+
msgid "Choose a file to upload:"
|
203 |
+
msgstr "Välj en fil att ladda upp:"
|
204 |
+
|
205 |
+
#: inc/class-quotes-collection-admin.php:265
|
206 |
+
#: inc/class-quotes-collection-admin.php:588
|
207 |
+
msgctxt "submit button text"
|
208 |
+
msgid "Import"
|
209 |
+
msgstr "Importera"
|
210 |
+
|
211 |
+
#: inc/class-quotes-collection-admin.php:287
|
212 |
+
msgid ""
|
213 |
+
"When you click the button below, a <abbr title=\"JavaScript Object Notation"
|
214 |
+
"\">JSON</abbr> file with the entire collection of quotes will be created, "
|
215 |
+
"that you can save to your computer."
|
216 |
+
msgstr ""
|
217 |
+
"När du klickar på knappen nedan, kommer en <abbr title=\"JavaScript Object "
|
218 |
+
"Notation\">JSON</abbr> fil med hela sammlingen av citat att skapas, som du "
|
219 |
+
"kan spara på din dator."
|
220 |
+
|
221 |
+
#: inc/class-quotes-collection-admin.php:292
|
222 |
+
#: inc/class-quotes-collection-admin.php:594
|
223 |
+
msgctxt "submit button text"
|
224 |
+
msgid "Export"
|
225 |
+
msgstr "Exportera"
|
226 |
+
|
227 |
+
#: inc/class-quotes-collection-admin.php:339
|
228 |
+
msgid "Refresh link text"
|
229 |
+
msgstr "Uppdatera länk-text"
|
230 |
+
|
231 |
+
#: inc/class-quotes-collection-admin.php:343
|
232 |
+
msgid "Maximum number of iterations for auto-refresh"
|
233 |
+
msgstr "Max antal upprepningar för auto-uppdatering"
|
234 |
|
235 |
+
#: inc/class-quotes-collection-admin.php:347
|
236 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
237 |
+
msgstr "Dynamiskt hämta första slumpade citatet i widgeten?"
|
238 |
|
239 |
+
#: inc/class-quotes-collection-admin.php:350
|
240 |
+
msgid ""
|
241 |
+
"Check this if your site is cached and the 'random quote' widget always shows "
|
242 |
+
"a particular quote as the initial quote."
|
243 |
+
msgstr ""
|
244 |
+
"Välj detta ifall din sida är cachad och \"slumpat citat\"-widgeten alltid "
|
245 |
+
"visar samma citat som första citat."
|
246 |
+
|
247 |
+
#: inc/class-quotes-collection-admin.php:353
|
248 |
+
#: inc/class-quotes-collection-admin.php:600
|
249 |
+
msgctxt "submit button text"
|
250 |
+
msgid "Update Options"
|
251 |
+
msgstr "Uppdatera inställningar"
|
252 |
+
|
253 |
+
#: inc/class-quotes-collection-admin.php:381
|
254 |
+
msgid "All Quotes"
|
255 |
+
msgstr "Alla citat"
|
256 |
+
|
257 |
+
#: inc/class-quotes-collection-admin.php:457
|
258 |
+
#: inc/class-quotes-collection-admin.php:560
|
259 |
+
msgctxt "submit button text"
|
260 |
+
msgid "Add Quote"
|
261 |
+
msgstr "Lägg till citat"
|
262 |
|
263 |
+
#: inc/class-quotes-collection-admin.php:486
|
264 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
265 |
+
msgid "Quote"
|
266 |
+
msgstr "Citat"
|
267 |
+
|
268 |
+
#: inc/class-quotes-collection-admin.php:487
|
269 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
270 |
msgid "Author"
|
271 |
msgstr "Författare"
|
272 |
|
273 |
+
#: inc/class-quotes-collection-admin.php:488
|
274 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
275 |
msgid "Source"
|
276 |
msgstr "Källa"
|
277 |
|
278 |
+
#: inc/class-quotes-collection-admin.php:489
|
279 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
280 |
msgid "Tags"
|
281 |
msgstr "Etiketter"
|
282 |
|
283 |
+
#: inc/class-quotes-collection-admin.php:490
|
284 |
+
msgid "Public?"
|
285 |
+
msgstr "Offentlig?"
|
|
|
286 |
|
287 |
+
#: inc/class-quotes-collection-admin.php:491
|
288 |
msgid "optional"
|
289 |
msgstr "valfritt"
|
290 |
|
291 |
+
#: inc/class-quotes-collection-admin.php:492
|
292 |
msgid "comma separated"
|
293 |
msgstr "kommaseparerad"
|
294 |
|
295 |
+
#: inc/class-quotes-collection-admin.php:564
|
296 |
+
#: inc/class-quotes-collection-admin.php:579
|
297 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
298 |
+
msgstr "Citat-fältet kan inte vara tomt. Fyll i fältet och försök igen."
|
299 |
+
|
300 |
+
#: inc/class-quotes-collection-admin.php:567
|
301 |
+
msgid "Quote added"
|
302 |
+
msgstr "Citat tillagt"
|
303 |
+
|
304 |
+
#: inc/class-quotes-collection-admin.php:570
|
305 |
+
msgid "Error adding quote"
|
306 |
+
msgstr "Problem att lägga till citat"
|
307 |
+
|
308 |
+
#: inc/class-quotes-collection-admin.php:582
|
309 |
+
msgid "Changes saved"
|
310 |
+
msgstr "Uppdateringar sparade"
|
311 |
+
|
312 |
+
#: inc/class-quotes-collection-admin.php:584
|
313 |
+
msgid "Error updating quote"
|
314 |
+
msgstr "Problem att uppdatera citat"
|
315 |
+
|
316 |
+
#: inc/class-quotes-collection-admin.php:614
|
317 |
+
msgid "Quote deleted"
|
318 |
+
msgstr "Citat borttaget"
|
319 |
+
|
320 |
+
#: inc/class-quotes-collection-admin.php:616
|
321 |
+
msgid "Error deleting quote"
|
322 |
+
msgstr "Problem att ta bort citat"
|
323 |
|
324 |
+
#: inc/class-quotes-collection-admin.php:621
|
325 |
+
#: inc/class-quotes-collection-admin.php:635
|
326 |
+
#: inc/class-quotes-collection-admin.php:648
|
327 |
+
msgid "No item selected"
|
328 |
+
msgstr "Inget val gjort"
|
329 |
+
|
330 |
+
#: inc/class-quotes-collection-admin.php:625
|
331 |
#, php-format
|
332 |
+
msgid "One quote deleted"
|
333 |
+
msgid_plural "%d quotes deleted"
|
334 |
+
msgstr[0] "Ett citat borttaget"
|
335 |
+
msgstr[1] "%d citat borttagna"
|
336 |
|
337 |
+
#: inc/class-quotes-collection-admin.php:629
|
338 |
+
msgid "Error deleting quotes"
|
339 |
+
msgstr "Problem att ta bort citat"
|
340 |
|
341 |
+
#: inc/class-quotes-collection-admin.php:639
|
342 |
+
#, php-format
|
343 |
+
msgid "Quote made public"
|
344 |
+
msgid_plural "%d quotes made public"
|
345 |
+
msgstr[0] "Citat publicerat"
|
346 |
+
msgstr[1] "%d citat publicerade"
|
347 |
|
348 |
+
#: inc/class-quotes-collection-admin.php:643
|
349 |
+
#: inc/class-quotes-collection-admin.php:656
|
350 |
+
msgid "Error. Privacy status not changed."
|
351 |
+
msgstr "Fel. Integritetsinställningarna har inte uppdaterats."
|
|
|
|
|
352 |
|
353 |
+
#: inc/class-quotes-collection-admin.php:652
|
354 |
+
#, php-format
|
355 |
+
msgid "Quote kept private"
|
356 |
+
msgid_plural "%d quotes kept private"
|
357 |
+
msgstr[0] "Citat fortsatt privat"
|
358 |
+
msgstr[1] "%d citat fortsatt privata"
|
359 |
|
360 |
+
#: inc/class-quotes-collection-admin.php:668
|
361 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
362 |
+
msgstr "Välj en fil att ladda upp innan du klickar 'import'-knappen"
|
|
|
|
|
363 |
|
364 |
+
#: inc/class-quotes-collection-admin.php:674
|
365 |
+
msgid "Invalid file format"
|
366 |
+
msgstr "Ogiltigt filformat"
|
367 |
+
|
368 |
+
#: inc/class-quotes-collection-admin.php:680
|
369 |
+
msgid "The file you uploaded is too big. Import failed."
|
370 |
+
msgstr "Filen du laddade är för stor. Importen avbröts."
|
371 |
|
372 |
+
#: inc/class-quotes-collection-admin.php:688
|
373 |
+
msgid "The file uploaded was empty"
|
374 |
+
msgstr "Filen som laddades upp var tom"
|
375 |
+
|
376 |
+
#: inc/class-quotes-collection-admin.php:693
|
377 |
+
msgid "Error in JSON file"
|
378 |
+
msgstr "Fel i JSON-filen"
|
379 |
+
|
380 |
+
#: inc/class-quotes-collection-admin.php:701
|
381 |
+
#: inc/class-quotes-collection-admin.php:715
|
382 |
+
msgid "Import failed. Please try again."
|
383 |
+
msgstr "Importen gick snett. Försök igen."
|
384 |
+
|
385 |
+
#: inc/class-quotes-collection-admin.php:704
|
386 |
+
msgid "No quotes imported"
|
387 |
+
msgstr "Inga citat importerade"
|
388 |
+
|
389 |
+
#: inc/class-quotes-collection-admin.php:708
|
390 |
+
#, php-format
|
391 |
+
msgid "One quote imported"
|
392 |
+
msgid_plural "%d quotes imported"
|
393 |
+
msgstr[0] "Ett citat importerat"
|
394 |
+
msgstr[1] "%d citat importerade"
|
395 |
+
|
396 |
+
#: inc/class-quotes-collection-admin.php:728
|
397 |
+
msgid "Nothing to export"
|
398 |
+
msgstr "Inget att exportera"
|
399 |
+
|
400 |
+
#: inc/class-quotes-collection-admin.php:767
|
401 |
+
msgid "No change in values. Options not updated."
|
402 |
+
msgstr "Ingen förändring av värden. Inställningarna uppdaterades inte."
|
403 |
+
|
404 |
+
#: inc/class-quotes-collection-admin.php:772
|
405 |
+
msgid "Options updated"
|
406 |
+
msgstr "Inställningarna uppdaterade"
|
407 |
+
|
408 |
+
#: inc/class-quotes-collection-admin.php:775
|
409 |
+
msgid "Options not updated"
|
410 |
+
msgstr "Inställningarna uppdaterades inte"
|
411 |
+
|
412 |
+
#: inc/class-quotes-collection-admin.php:791
|
413 |
+
msgid "Maximum items"
|
414 |
+
msgstr "Max antal "
|
415 |
+
|
416 |
+
#: inc/class-quotes-collection-admin.php:821
|
417 |
+
msgctxt "confirmation dialog title"
|
418 |
+
msgid "Delete?"
|
419 |
+
msgstr "Ta bort?"
|
420 |
+
|
421 |
+
#: inc/class-quotes-collection-admin.php:822
|
422 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
423 |
msgid "Are you sure you want to delete this quote?"
|
424 |
msgstr "Är du säker på att du vill ta bort detta citat?"
|
425 |
|
426 |
+
#: inc/class-quotes-collection-admin.php:823
|
427 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
428 |
+
msgid "Are you sure you want to delete these quotes?"
|
429 |
+
msgstr "Är du säker på att du vill ta bort dessa citat?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
430 |
|
431 |
+
#: inc/class-quotes-collection-admin.php:824
|
432 |
+
msgctxt "confirmation dialog button text"
|
433 |
+
msgid "Yes"
|
434 |
+
msgstr "Ja"
|
435 |
|
436 |
+
#: inc/class-quotes-collection-admin.php:825
|
437 |
+
msgctxt "confirmation dialog button text"
|
438 |
+
msgid "No"
|
439 |
+
msgstr "Nej"
|
440 |
+
|
441 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
442 |
+
msgid "Go to the first page"
|
443 |
+
msgstr "Gå till förstasidan"
|
444 |
+
|
445 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
446 |
+
msgid "Go to the previous page"
|
447 |
+
msgstr "Gå till föregående sida"
|
448 |
+
|
449 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
450 |
+
msgid "Go to the next page"
|
451 |
+
msgstr "Gå till nästa sida"
|
452 |
+
|
453 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
454 |
+
msgid "Go to the last page"
|
455 |
+
msgstr "Gå till sista sidan"
|
456 |
+
|
457 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
458 |
+
msgid "Goto page:"
|
459 |
+
msgstr "Gå till sida:"
|
460 |
+
|
461 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
462 |
+
msgid "Edit"
|
463 |
+
msgstr "Ändra"
|
464 |
+
|
465 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
466 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
467 |
+
msgid "Delete"
|
468 |
+
msgstr "Ta bort"
|
469 |
+
|
470 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
471 |
+
msgctxt "date and time format"
|
472 |
+
msgid "Y/m/d h:i:s A"
|
473 |
+
msgstr "Y-m-d h:i:s A"
|
474 |
+
|
475 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
476 |
+
msgctxt "date format"
|
477 |
+
msgid "Y/m/d"
|
478 |
+
msgstr "Y-m-d"
|
479 |
+
|
480 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
481 |
+
msgid "Private"
|
482 |
+
msgstr "Privat"
|
483 |
|
484 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
485 |
+
msgid "Public"
|
486 |
+
msgstr "Offentlig"
|
487 |
|
488 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
489 |
+
msgid "ID"
|
490 |
+
msgstr "ID"
|
491 |
|
492 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
493 |
+
msgid "Date"
|
494 |
+
msgstr "Datum"
|
495 |
|
496 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
497 |
+
msgid "Make public"
|
498 |
+
msgstr "Publicera"
|
499 |
|
500 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
501 |
+
msgid "Keep private"
|
502 |
+
msgstr "Låt vara privat"
|
503 |
|
504 |
+
#~ msgid "Next quote"
|
505 |
+
#~ msgstr "Nästa citat"
|
506 |
+
|
507 |
+
#~ msgid "Ajax refresh feature"
|
508 |
+
#~ msgstr "Ajax omladdningsfunktion"
|
509 |
+
|
510 |
+
#~ msgid "Click here"
|
511 |
+
#~ msgstr "Klicka här"
|
512 |
+
|
513 |
+
#~ msgid "to manage your collection of quotes"
|
514 |
+
#~ msgstr "för att hantera din citatsamling"
|
515 |
+
|
516 |
+
#~ msgid "Nothing added to the database."
|
517 |
+
#~ msgstr "Inget lagt till databasen."
|
518 |
+
|
519 |
+
#~ msgid "Database table not found"
|
520 |
+
#~ msgstr "Databastabeller hittades inte"
|
521 |
+
|
522 |
+
#~ msgid "There was an error in the MySQL query"
|
523 |
+
#~ msgstr "Det var ett fel i MySQL frågan"
|
524 |
+
|
525 |
+
#~ msgid "Quote not updated."
|
526 |
+
#~ msgstr "Citat inte uppdaterat."
|
527 |
+
|
528 |
+
#~ msgid "The quote cannot be deleted"
|
529 |
+
#~ msgstr "Citatet kan inte tas bort"
|
530 |
+
|
531 |
+
#~ msgid "Add Quote"
|
532 |
+
#~ msgstr "Lägg till citat"
|
533 |
+
|
534 |
+
#~ msgid "Save changes"
|
535 |
+
#~ msgstr "Spara ändringar"
|
536 |
+
|
537 |
+
#~ msgid "Back"
|
538 |
+
#~ msgstr "Tillbaks"
|
539 |
+
|
540 |
+
#~ msgid "The quote"
|
541 |
+
#~ msgstr "Citatet"
|
542 |
+
|
543 |
+
#~ msgid "Visible?"
|
544 |
+
#~ msgstr "Visas?"
|
545 |
+
|
546 |
+
#~ msgid "Nothing done!"
|
547 |
+
#~ msgstr "Inget gjort!"
|
548 |
+
|
549 |
+
#~ msgid "Visibility status of selected quotes set to '%s'"
|
550 |
+
#~ msgstr "Visningsstatus för valda citat är '%s'"
|
551 |
+
|
552 |
+
#~ msgid "Quote(s) deleted"
|
553 |
+
#~ msgstr "Citat borttagna"
|
554 |
+
|
555 |
+
#~ msgid "Edit quote"
|
556 |
+
#~ msgstr "Ändra citat"
|
557 |
+
|
558 |
+
#~ msgid "Make visible"
|
559 |
+
#~ msgstr "Gör visningsbar"
|
560 |
+
|
561 |
+
#~ msgid "Make invisible"
|
562 |
+
#~ msgstr "Gör icke visningsbar"
|
563 |
+
|
564 |
+
#~ msgid "Are you sure you want to delete this quote?"
|
565 |
+
#~ msgstr "Är du säker på att du vill ta bort detta citat?"
|
566 |
+
|
567 |
+
#~ msgid "Currently, you have %d quote."
|
568 |
+
#~ msgid_plural "Currently, you have %d quotes."
|
569 |
+
#~ msgstr[0] "För tillfället har du %d citat."
|
570 |
+
#~ msgstr[1] "För tillfället har du %d citat."
|
571 |
+
|
572 |
+
#~ msgid "Add new quote"
|
573 |
+
#~ msgstr "Lägg till citat"
|
574 |
+
|
575 |
+
#~ msgid "Sort by: "
|
576 |
+
#~ msgstr "Sortera efter:"
|
577 |
+
|
578 |
+
#~ msgid "Date added"
|
579 |
+
#~ msgstr "Datum tillagt"
|
580 |
+
|
581 |
+
#~ msgid "Date updated"
|
582 |
+
#~ msgstr "Datum uppdaterat"
|
583 |
+
|
584 |
+
#~ msgid "Visibility"
|
585 |
+
#~ msgstr "Visningsläge"
|
586 |
+
|
587 |
+
#~ msgid "Go"
|
588 |
+
#~ msgstr "Utför"
|
589 |
+
|
590 |
+
#~ msgid "Action"
|
591 |
+
#~ msgstr "Handling"
|
592 |
+
|
593 |
+
#~ msgid "No quotes in the database"
|
594 |
+
#~ msgstr "Inga citat i databasen"
|
595 |
|
596 |
#~ msgid "Manage"
|
597 |
#~ msgstr "Hantera"
|
598 |
+
|
599 |
#~ msgid "from"
|
600 |
#~ msgstr "aus"
|
|
languages/quotes-collection-ta_IN.mo
CHANGED
Binary file
|
languages/quotes-collection-ta_IN.po
CHANGED
@@ -1,321 +1,507 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Quotes Collection
|
4 |
-
"Report-Msgid-Bugs-To:
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: Srini
|
8 |
"Language-Team: \n"
|
9 |
-
"Language: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
-
"X-
|
15 |
-
"X-Poedit-
|
16 |
-
"X-Poedit-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
-
#: quotes-collection-
|
19 |
-
|
20 |
-
msgid "
|
21 |
-
msgstr "
|
22 |
|
23 |
-
#: quotes-collection-
|
24 |
-
|
25 |
-
|
|
|
|
|
26 |
|
27 |
-
#: quotes-collection-
|
28 |
-
msgid "
|
29 |
-
msgstr "
|
30 |
|
31 |
-
#: quotes-collection.php:
|
32 |
-
msgid "
|
33 |
-
msgstr "
|
34 |
|
35 |
-
#: quotes-collection.php:
|
36 |
-
msgid "
|
37 |
-
msgstr "
|
38 |
|
39 |
-
#: quotes-collection.php:
|
40 |
-
msgid "
|
41 |
-
msgstr "அடுத்த
|
42 |
|
43 |
-
#: quotes-collection.php:
|
44 |
-
msgid "
|
45 |
-
msgstr "
|
46 |
|
47 |
-
#: quotes-collection.php:
|
48 |
-
msgid "
|
49 |
-
msgstr "
|
50 |
|
51 |
-
#: quotes-collection-
|
52 |
-
msgid "
|
53 |
-
msgstr "
|
|
|
|
|
54 |
|
55 |
-
#: quotes-collection-
|
56 |
-
|
57 |
-
|
58 |
-
msgstr "Database table காணவில்லை!"
|
59 |
|
60 |
-
#: quotes-collection-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
msgstr "MySQL queryஇல் பிழை இருந்தது"
|
65 |
|
66 |
-
#: quotes-collection-
|
67 |
-
msgid "
|
68 |
-
msgstr "
|
69 |
|
70 |
-
#: quotes-collection-
|
71 |
-
msgid "
|
72 |
-
msgstr "
|
73 |
|
74 |
-
#: quotes-collection-
|
75 |
-
msgid "
|
76 |
-
msgstr "
|
77 |
|
78 |
-
#: quotes-collection-
|
79 |
-
msgid "
|
80 |
-
msgstr "
|
81 |
|
82 |
-
#: quotes-collection
|
83 |
-
msgid "
|
84 |
-
msgstr "
|
85 |
|
86 |
-
#: quotes-collection
|
87 |
-
|
88 |
-
|
89 |
-
msgstr "சேர்க்கவும்"
|
90 |
|
91 |
-
#: quotes-collection
|
92 |
-
|
93 |
-
|
94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
-
#: quotes-collection-admin.php:
|
97 |
-
msgid "
|
98 |
-
msgstr "
|
99 |
|
100 |
-
#: quotes-collection-admin.php:
|
101 |
-
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
msgstr "வாசகம்"
|
104 |
|
105 |
-
#: quotes-collection-admin.php:
|
106 |
-
#: quotes-collection-admin.php:
|
107 |
-
#: quotes-collection-admin.php:388
|
108 |
msgid "Author"
|
109 |
msgstr "சொன்னவர்"
|
110 |
|
111 |
-
#: quotes-collection-admin.php:
|
112 |
-
#: quotes-collection-admin.php:
|
113 |
-
#: quotes-collection-admin.php:388
|
114 |
msgid "Source"
|
115 |
-
msgstr "
|
116 |
|
117 |
-
#: quotes-collection-admin.php:
|
118 |
-
#: quotes-collection-admin.php:
|
119 |
msgid "Tags"
|
120 |
msgstr "குறிச்சொற்கள்"
|
121 |
|
122 |
-
#: quotes-collection-admin.php:
|
123 |
-
#: quotes-collection-admin.php:391
|
124 |
msgid "Public?"
|
125 |
-
msgstr "
|
126 |
|
127 |
-
#: quotes-collection-admin.php:
|
128 |
msgid "optional"
|
129 |
-
msgstr "
|
130 |
|
131 |
-
#: quotes-collection-admin.php:
|
132 |
msgid "comma separated"
|
133 |
msgstr "ஒன்றுக்கு மேற்பட்ட சொற்களை 'கமா'வால் பிரிக்கவும்"
|
134 |
|
135 |
-
#: quotes-collection-admin.php:
|
136 |
-
#: quotes-collection-admin.php:
|
137 |
-
msgid "
|
138 |
-
msgstr "
|
139 |
-
|
140 |
-
#: quotes-collection-admin.php:191
|
141 |
-
msgid "Selected quotes made public"
|
142 |
-
msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் பொதுப் பார்வைக்கு வைக்கப்பட்டன."
|
143 |
-
|
144 |
-
#: quotes-collection-admin.php:193
|
145 |
-
msgid "Selected quotes made private"
|
146 |
-
msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் பொதுப் பார்வையிலிருந்து மறைக்கப்பட்டன."
|
147 |
|
148 |
-
#: quotes-collection-admin.php:
|
149 |
-
msgid "Quote
|
150 |
-
msgstr "
|
151 |
|
152 |
-
#: quotes-collection-admin.php:
|
153 |
-
msgid "
|
154 |
-
msgstr "வாசகத்தினை
|
155 |
|
156 |
-
#: quotes-collection-admin.php:
|
157 |
-
|
158 |
-
|
159 |
-
msgid "Add new quote"
|
160 |
-
msgstr "புதிய வாசகம் ஒன்றை சேர்க்கவும்"
|
161 |
|
162 |
-
#: quotes-collection-admin.php:
|
163 |
-
|
164 |
-
|
165 |
-
msgstr "வாசகங்கள் ஏதும் இதுவரை சேர்க்கப்படவில்லை"
|
166 |
|
167 |
-
#: quotes-collection-admin.php:
|
168 |
-
msgid "
|
169 |
-
msgstr "
|
170 |
|
171 |
-
#: quotes-collection-admin.php:
|
172 |
-
msgid "
|
173 |
-
msgstr "
|
174 |
|
175 |
-
#: quotes-collection-admin.php:
|
176 |
-
#: quotes-collection-admin.php:
|
177 |
-
|
178 |
-
|
|
|
179 |
|
180 |
-
#: quotes-collection-admin.php:
|
181 |
-
|
182 |
-
|
|
|
|
|
|
|
183 |
|
184 |
-
#: quotes-collection-admin.php:
|
185 |
-
|
186 |
-
|
187 |
-
msgstr "ஆம்"
|
188 |
|
189 |
-
#: quotes-collection-admin.php:
|
190 |
-
|
191 |
-
|
|
|
|
|
|
|
192 |
|
193 |
-
#: quotes-collection-admin.php:
|
194 |
-
|
195 |
-
|
|
|
196 |
|
197 |
-
#: quotes-collection-admin.php:
|
198 |
-
|
199 |
-
|
|
|
|
|
|
|
200 |
|
201 |
-
#: quotes-collection-admin.php:
|
202 |
-
msgid "
|
203 |
-
msgstr "
|
204 |
|
205 |
-
#: quotes-collection-admin.php:
|
206 |
-
msgid "
|
207 |
-
msgstr "
|
208 |
|
209 |
-
#: quotes-collection-admin.php:
|
210 |
-
|
211 |
-
|
212 |
-
msgstr "வாசகம்"
|
213 |
|
214 |
-
#: quotes-collection-admin.php:
|
215 |
-
msgid "
|
216 |
-
msgstr "
|
217 |
|
218 |
-
#: quotes-collection-admin.php:
|
219 |
-
msgid "
|
220 |
-
msgstr "
|
221 |
|
222 |
-
#: quotes-collection-admin.php:
|
223 |
-
|
224 |
-
|
|
|
225 |
|
226 |
-
#: quotes-collection-admin.php:
|
227 |
-
msgid "
|
228 |
-
msgstr "
|
229 |
|
230 |
-
#: quotes-collection-admin.php:
|
231 |
-
#: quotes-collection-admin.php:397
|
232 |
#, php-format
|
233 |
-
msgid "
|
234 |
-
msgid_plural "%d quotes"
|
235 |
-
msgstr[0] "
|
236 |
-
msgstr[1] "%d வாசகங்கள்"
|
237 |
-
|
238 |
-
#: quotes-collection-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
|
251 |
-
#: quotes-collection-
|
252 |
-
|
253 |
-
|
|
|
254 |
|
255 |
-
#: quotes-collection-
|
256 |
-
|
257 |
-
|
|
|
258 |
|
259 |
-
#: quotes-collection-
|
260 |
-
|
261 |
-
|
|
|
262 |
|
263 |
-
#: quotes-collection-
|
264 |
-
msgid "
|
265 |
-
msgstr "
|
266 |
|
267 |
-
#: quotes-collection-
|
268 |
-
msgid "
|
269 |
-
msgstr "
|
270 |
|
271 |
-
#: quotes-collection-
|
272 |
-
msgid "
|
273 |
-
msgstr "
|
274 |
|
275 |
-
#: quotes-collection-
|
276 |
-
msgid "
|
277 |
-
msgstr "
|
278 |
|
279 |
-
#: quotes-collection-
|
280 |
-
msgid "
|
281 |
-
msgstr "
|
282 |
|
283 |
-
#: quotes-collection-
|
284 |
-
msgid "
|
285 |
-
msgstr "
|
286 |
|
287 |
-
#: quotes-collection-
|
288 |
-
|
289 |
-
|
|
|
290 |
|
291 |
-
#: quotes-collection-
|
292 |
-
|
293 |
-
|
|
|
294 |
|
295 |
-
#: quotes-collection-
|
296 |
-
|
297 |
-
|
|
|
298 |
|
299 |
-
|
300 |
-
|
|
|
301 |
|
302 |
-
|
|
|
|
|
303 |
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
|
308 |
-
|
309 |
-
|
|
|
310 |
|
311 |
-
|
312 |
-
|
|
|
313 |
|
314 |
-
|
315 |
-
|
|
|
316 |
|
317 |
-
#~ msgid "Visibility status of selected quotes set to '%s'"
|
318 |
-
#~ msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் %s ஆக்கப்பட்டன"
|
319 |
|
320 |
-
#~ msgid "Make invisible"
|
321 |
-
#~ msgstr "invisible ஆக்கவும்"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Quotes Collection 2.0\n"
|
4 |
+
"Report-Msgid-Bugs-To: s@srinig.com\n"
|
5 |
+
"POT-Creation-Date: 2015-04-14 12:01+0530\n"
|
6 |
+
"PO-Revision-Date: 2015-04-14 12:13+0530\n"
|
7 |
+
"Last-Translator: Srini <s@srinig.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
+
"Language: Tamil\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
+
"X-Generator: Poedit 1.5.4\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c\n"
|
16 |
+
"X-Poedit-Basepath: /home/srini/Localweb/WordPress/trunk/wp-content/plugins/"
|
17 |
+
"quotes-collection/\n"
|
18 |
+
"X-Poedit-SearchPath-0: inc\n"
|
19 |
+
|
20 |
+
#: inc/class-quotes-collection-widget.php:17
|
21 |
+
msgctxt "widget name"
|
22 |
+
msgid "Random Quote"
|
23 |
+
msgstr "வாசகம் ஒன்று"
|
24 |
|
25 |
+
#: inc/class-quotes-collection-widget.php:18
|
26 |
+
msgctxt "widget description"
|
27 |
+
msgid "Random quote from your quotes collection"
|
28 |
+
msgstr "உங்கள் வாசக சேகரிப்பிலிருந்து வாசகம் ஒன்று"
|
29 |
|
30 |
+
#: inc/class-quotes-collection-widget.php:41
|
31 |
+
#: inc/class-quotes-collection-widget.php:83
|
32 |
+
#: inc/class-quotes-collection-widget.php:201
|
33 |
+
msgid "Random Quote"
|
34 |
+
msgstr "வாசகம் ஒன்று"
|
35 |
|
36 |
+
#: inc/class-quotes-collection-widget.php:114
|
37 |
+
msgid "Title"
|
38 |
+
msgstr "தலைப்பு"
|
39 |
|
40 |
+
#: inc/class-quotes-collection-widget.php:120
|
41 |
+
msgid "Show author?"
|
42 |
+
msgstr "சொன்னவரின் பெயரை காண்பிக்க வேண்டுமா?"
|
43 |
|
44 |
+
#: inc/class-quotes-collection-widget.php:125
|
45 |
+
msgid "Show source?"
|
46 |
+
msgstr "மூலத்தினை காண்பிக்க வேண்டுமா?"
|
47 |
|
48 |
+
#: inc/class-quotes-collection-widget.php:130
|
49 |
+
msgid "Refresh feature"
|
50 |
+
msgstr "அடுத்த வாசகத்தினை மீட்டல்"
|
51 |
|
52 |
+
#: inc/class-quotes-collection-widget.php:133
|
53 |
+
msgid "Advanced options"
|
54 |
+
msgstr "மற்ற அமைப்புகள்"
|
55 |
|
56 |
+
#: inc/class-quotes-collection-widget.php:138
|
57 |
+
msgid "Random refresh"
|
58 |
+
msgstr "எழுந்தமான மீட்டல் முறை"
|
59 |
|
60 |
+
#: inc/class-quotes-collection-widget.php:139
|
61 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
62 |
+
msgstr ""
|
63 |
+
"இதைத் தேர்வு செய்தால் எழுந்தமானமாக ஏதோவொரு வாசகம் மீட்கப்படும். இல்லாவிட்டால் வாசகங்கள் "
|
64 |
+
"கடைசியாக சேர்க்கப்பட்ட வரிசையில் ஒன்றன் பின் ஒன்றாக மீட்கப்படும்."
|
65 |
|
66 |
+
#: inc/class-quotes-collection-widget.php:144
|
67 |
+
msgid "Auto refresh"
|
68 |
+
msgstr "தானியக்க மீட்டல் முறை,"
|
|
|
69 |
|
70 |
+
#: inc/class-quotes-collection-widget.php:146
|
71 |
+
#, php-format
|
72 |
+
msgid "every %s sec"
|
73 |
+
msgstr "ஒவ்வொரு %s விநாடிக்கும்"
|
|
|
74 |
|
75 |
+
#: inc/class-quotes-collection-widget.php:151
|
76 |
+
msgid "Tags filter"
|
77 |
+
msgstr "குறிச்சொற்கள்"
|
78 |
|
79 |
+
#: inc/class-quotes-collection-widget.php:153
|
80 |
+
msgid "Comma separated"
|
81 |
+
msgstr "ஒன்றுக்கு மேற்பட்ட சொற்களை 'கமா'வால் பிரிக்கவும்"
|
82 |
|
83 |
+
#: inc/class-quotes-collection-widget.php:157
|
84 |
+
msgid "Character limit"
|
85 |
+
msgstr "வாசகத்தின் அதிகபட்ச நீளம்"
|
86 |
|
87 |
+
#: inc/class-quotes-collection-widget.php:189
|
88 |
+
msgid "none"
|
89 |
+
msgstr "ஒன்றும் இல்லை"
|
90 |
|
91 |
+
#: inc/class-quotes-collection.php:82
|
92 |
+
msgid "Loading..."
|
93 |
+
msgstr "இதோ வருகிறது..."
|
94 |
|
95 |
+
#: inc/class-quotes-collection.php:83
|
96 |
+
msgid "Error getting quote"
|
97 |
+
msgstr "வாசகத்தினை மீட்பதில் சிக்கல்"
|
|
|
98 |
|
99 |
+
#: inc/class-quotes-collection.php:104
|
100 |
+
msgid "Next quote »"
|
101 |
+
msgstr "அடுத்த வாசகம் »"
|
102 |
+
|
103 |
+
#: inc/class-quotes-collection-admin.php:73
|
104 |
+
#: inc/class-quotes-collection-admin.php:241
|
105 |
+
msgctxt "heading"
|
106 |
+
msgid "Add New Quote"
|
107 |
+
msgstr "புதிய வாசகம் சேர்க்கை"
|
108 |
+
|
109 |
+
#: inc/class-quotes-collection-admin.php:74
|
110 |
+
#: inc/class-quotes-collection-admin.php:389
|
111 |
+
msgctxt "submenu item text"
|
112 |
+
msgid "Add New"
|
113 |
+
msgstr "புதிய சேர்க்கை"
|
114 |
+
|
115 |
+
#: inc/class-quotes-collection-admin.php:84
|
116 |
+
#: inc/class-quotes-collection-admin.php:274
|
117 |
+
msgctxt "heading"
|
118 |
+
msgid "Import Quotes"
|
119 |
+
msgstr "வாசகங்கள் தரவேற்றம்"
|
120 |
+
|
121 |
+
#: inc/class-quotes-collection-admin.php:85
|
122 |
+
#: inc/class-quotes-collection-admin.php:395
|
123 |
+
msgctxt "submenu item text"
|
124 |
+
msgid "Import"
|
125 |
+
msgstr "தரவேற்றம்"
|
126 |
+
|
127 |
+
#: inc/class-quotes-collection-admin.php:95
|
128 |
+
#: inc/class-quotes-collection-admin.php:302
|
129 |
+
msgctxt "heading"
|
130 |
+
msgid "Export Quotes"
|
131 |
+
msgstr "வாசகங்கள் தரவிறக்கம்"
|
132 |
+
|
133 |
+
#: inc/class-quotes-collection-admin.php:96
|
134 |
+
#: inc/class-quotes-collection-admin.php:398
|
135 |
+
msgctxt "submenu item text"
|
136 |
+
msgid "Export"
|
137 |
+
msgstr "தரவிறக்கம்"
|
138 |
+
|
139 |
+
#: inc/class-quotes-collection-admin.php:106
|
140 |
+
#: inc/class-quotes-collection-admin.php:362
|
141 |
+
msgctxt "heading"
|
142 |
+
msgid "Quotes Collection Options"
|
143 |
+
msgstr "நீட்சி அமைப்புகள்"
|
144 |
+
|
145 |
+
#: inc/class-quotes-collection-admin.php:107
|
146 |
+
#: inc/class-quotes-collection-admin.php:404
|
147 |
+
msgctxt "submenu item text"
|
148 |
+
msgid "Options"
|
149 |
+
msgstr "அமைப்புகள்"
|
150 |
+
|
151 |
+
#: inc/class-quotes-collection-admin.php:116
|
152 |
+
msgctxt "submenu item text"
|
153 |
+
msgid "All Quotes"
|
154 |
+
msgstr "வாசகங்கள்"
|
155 |
+
|
156 |
+
#: inc/class-quotes-collection-admin.php:150
|
157 |
+
#: inc/class-quotes-collection-admin.php:474
|
158 |
+
#: inc/class-quotes-collection-admin.php:575
|
159 |
+
msgctxt "submit button text"
|
160 |
+
msgid "Save Changes"
|
161 |
+
msgstr "மாற்றங்களை ஏற்கவும்"
|
162 |
+
|
163 |
+
#: inc/class-quotes-collection-admin.php:157
|
164 |
+
#: inc/class-quotes-collection-admin.php:385
|
165 |
+
msgctxt "submenu item text"
|
166 |
+
msgid "Edit Quote"
|
167 |
+
msgstr "மாற்றம் செய்தல்"
|
168 |
+
|
169 |
+
#: inc/class-quotes-collection-admin.php:188
|
170 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
171 |
+
msgid "All Quotes"
|
172 |
+
msgstr "அனைத்து வாசகங்கள்"
|
173 |
+
|
174 |
+
#: inc/class-quotes-collection-admin.php:193
|
175 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
176 |
+
msgid "Public"
|
177 |
+
msgstr "வெளிப்படை வாசகங்கள்"
|
178 |
+
|
179 |
+
#: inc/class-quotes-collection-admin.php:198
|
180 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
181 |
+
msgid "Private"
|
182 |
+
msgstr "உள்ளிடை வாசகங்கள்"
|
183 |
+
|
184 |
+
#: inc/class-quotes-collection-admin.php:204
|
185 |
+
#, php-format
|
186 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
187 |
+
msgid "Search results for \"%s\""
|
188 |
+
msgstr " \"%s\" என்ற தேடலுக்கான முடிவுகள்"
|
189 |
|
190 |
+
#: inc/class-quotes-collection-admin.php:220
|
191 |
+
msgid "Search"
|
192 |
+
msgstr "தேடல்"
|
193 |
|
194 |
+
#: inc/class-quotes-collection-admin.php:255
|
195 |
+
msgid ""
|
196 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
197 |
+
"json) file to upload, then click the 'Import' button."
|
198 |
+
msgstr ""
|
199 |
+
"வாசகங்களைக் கொண்ட <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
200 |
+
"json) கோப்பு ஒன்றை கண்டெடுத்த பிறகு அதனை தரவேற்றுவதற்காக 'ஏற்றவும்' பொத்தானை அமுக்கவும்."
|
201 |
+
|
202 |
+
#: inc/class-quotes-collection-admin.php:260
|
203 |
+
msgid "Choose a file to upload:"
|
204 |
+
msgstr "ஒரு கோப்பினை கண்டெடுக்கவும்:"
|
205 |
+
|
206 |
+
#: inc/class-quotes-collection-admin.php:265
|
207 |
+
#: inc/class-quotes-collection-admin.php:588
|
208 |
+
msgctxt "submit button text"
|
209 |
+
msgid "Import"
|
210 |
+
msgstr "ஏற்றவும்"
|
211 |
+
|
212 |
+
#: inc/class-quotes-collection-admin.php:287
|
213 |
+
msgid ""
|
214 |
+
"When you click the button below, a <abbr title=\"JavaScript Object Notation"
|
215 |
+
"\">JSON</abbr> file with the entire collection of quotes will be created, "
|
216 |
+
"that you can save to your computer."
|
217 |
+
msgstr ""
|
218 |
+
"நீங்கள் கீழேயுள்ள பொத்தானை அமுக்கிய உடனே, நீங்கள் சேர்த்து வைத்துள்ள அனைத்து வாசகங்களையும் "
|
219 |
+
"கொண்ட ஒரு <abbr title=\"JavaScript Object Notation\">JSON</abbr> கோப்பு "
|
220 |
+
"உருவாக்கப் பட்டு உங்களுக்கு அளிக்கப்படும். அதை நீங்கள் உங்கள் கணினியில் சேமித்து வைத்துக் "
|
221 |
+
"கொள்ளலாம்."
|
222 |
+
|
223 |
+
#: inc/class-quotes-collection-admin.php:292
|
224 |
+
#: inc/class-quotes-collection-admin.php:594
|
225 |
+
msgctxt "submit button text"
|
226 |
+
msgid "Export"
|
227 |
+
msgstr "இறக்கவும்"
|
228 |
+
|
229 |
+
#: inc/class-quotes-collection-admin.php:339
|
230 |
+
msgid "Refresh link text"
|
231 |
+
msgstr "அடுத்த வாசகத்தினை மீட்கும் சுட்டியை குறிக்கும் வார்த்தை"
|
232 |
+
|
233 |
+
#: inc/class-quotes-collection-admin.php:343
|
234 |
+
msgid "Maximum number of iterations for auto-refresh"
|
235 |
+
msgstr "தானியக்க மீட்டல் அதிகபட்சமாக எத்தனை முறை இயக்கப்பட வேண்டும்?"
|
236 |
+
|
237 |
+
#: inc/class-quotes-collection-admin.php:347
|
238 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
239 |
+
msgstr "வெளிப்பக்கத்தில் காட்டப்படும் முதல் எழுந்தமான வாசகத்தினை dynamicஆக மீட்டலாமா?"
|
240 |
+
|
241 |
+
#: inc/class-quotes-collection-admin.php:350
|
242 |
+
msgid ""
|
243 |
+
"Check this if your site is cached and the 'random quote' widget always shows "
|
244 |
+
"a particular quote as the initial quote."
|
245 |
+
msgstr ""
|
246 |
+
"உங்கள் தளம் cache செய்யப்பட்டாலும், அதனால் எழுந்தமான மீட்டல் முறை எப்போதும் ஒரேயொரு "
|
247 |
+
"வாசகத்தை முதல் வாசகமாக திரும்பத்திரும்ப காட்டினாலும் இதை டிக் செய்யவும்."
|
248 |
+
|
249 |
+
#: inc/class-quotes-collection-admin.php:353
|
250 |
+
#: inc/class-quotes-collection-admin.php:600
|
251 |
+
msgctxt "submit button text"
|
252 |
+
msgid "Update Options"
|
253 |
+
msgstr "அமைப்புகளை மாற்றவும்"
|
254 |
+
|
255 |
+
#: inc/class-quotes-collection-admin.php:381
|
256 |
+
msgid "All Quotes"
|
257 |
+
msgstr "வாசகங்கள்"
|
258 |
+
|
259 |
+
#: inc/class-quotes-collection-admin.php:457
|
260 |
+
#: inc/class-quotes-collection-admin.php:560
|
261 |
+
msgctxt "submit button text"
|
262 |
+
msgid "Add Quote"
|
263 |
+
msgstr "சேர்க்கவும்"
|
264 |
+
|
265 |
+
#: inc/class-quotes-collection-admin.php:486
|
266 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
267 |
+
msgid "Quote"
|
268 |
msgstr "வாசகம்"
|
269 |
|
270 |
+
#: inc/class-quotes-collection-admin.php:487
|
271 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
272 |
msgid "Author"
|
273 |
msgstr "சொன்னவர்"
|
274 |
|
275 |
+
#: inc/class-quotes-collection-admin.php:488
|
276 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
277 |
msgid "Source"
|
278 |
+
msgstr "மூலம்"
|
279 |
|
280 |
+
#: inc/class-quotes-collection-admin.php:489
|
281 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
282 |
msgid "Tags"
|
283 |
msgstr "குறிச்சொற்கள்"
|
284 |
|
285 |
+
#: inc/class-quotes-collection-admin.php:490
|
|
|
286 |
msgid "Public?"
|
287 |
+
msgstr "தளத்தில் வெளிப்படையாக காட்டப்படலாமா?"
|
288 |
|
289 |
+
#: inc/class-quotes-collection-admin.php:491
|
290 |
msgid "optional"
|
291 |
+
msgstr "கட்டாயமில்லை"
|
292 |
|
293 |
+
#: inc/class-quotes-collection-admin.php:492
|
294 |
msgid "comma separated"
|
295 |
msgstr "ஒன்றுக்கு மேற்பட்ட சொற்களை 'கமா'வால் பிரிக்கவும்"
|
296 |
|
297 |
+
#: inc/class-quotes-collection-admin.php:564
|
298 |
+
#: inc/class-quotes-collection-admin.php:579
|
299 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
300 |
+
msgstr ""
|
301 |
+
"வாசகம் வெற்றாக இருக்க முடியாது. 'வாசகம்' தரவிடத்தை நிரப்பிவிட்டு மீண்டும் முயலவும்."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
|
303 |
+
#: inc/class-quotes-collection-admin.php:567
|
304 |
+
msgid "Quote added"
|
305 |
+
msgstr "வாசகம் சேர்க்கப்பட்டது"
|
306 |
|
307 |
+
#: inc/class-quotes-collection-admin.php:570
|
308 |
+
msgid "Error adding quote"
|
309 |
+
msgstr "வாசகத்தினை சேர்ப்பதில் சிக்கல்"
|
310 |
|
311 |
+
#: inc/class-quotes-collection-admin.php:582
|
312 |
+
msgid "Changes saved"
|
313 |
+
msgstr "மாற்றங்கள் ஏற்றுக்கொள்ளப் பட்டன"
|
|
|
|
|
314 |
|
315 |
+
#: inc/class-quotes-collection-admin.php:584
|
316 |
+
msgid "Error updating quote"
|
317 |
+
msgstr "மாற்றங்களை ஏற்றுக்கொள்வதில் சிக்கல்"
|
|
|
318 |
|
319 |
+
#: inc/class-quotes-collection-admin.php:614
|
320 |
+
msgid "Quote deleted"
|
321 |
+
msgstr "வாசகம் அழிக்கப்பட்டது"
|
322 |
|
323 |
+
#: inc/class-quotes-collection-admin.php:616
|
324 |
+
msgid "Error deleting quote"
|
325 |
+
msgstr "வாசகத்தினை அழிப்பதில் சிக்கல்"
|
326 |
|
327 |
+
#: inc/class-quotes-collection-admin.php:621
|
328 |
+
#: inc/class-quotes-collection-admin.php:635
|
329 |
+
#: inc/class-quotes-collection-admin.php:648
|
330 |
+
msgid "No item selected"
|
331 |
+
msgstr "செய்வதற்கு ஒன்றுமில்லை"
|
332 |
|
333 |
+
#: inc/class-quotes-collection-admin.php:625
|
334 |
+
#, php-format
|
335 |
+
msgid "One quote deleted"
|
336 |
+
msgid_plural "%d quotes deleted"
|
337 |
+
msgstr[0] "ஒரு வாசகம் அழிக்கப்பட்டது"
|
338 |
+
msgstr[1] "%d வாசகங்கள் அழிக்கப்பட்டன"
|
339 |
|
340 |
+
#: inc/class-quotes-collection-admin.php:629
|
341 |
+
msgid "Error deleting quotes"
|
342 |
+
msgstr "வாசகங்களை அழிப்பதில் சிக்கல்"
|
|
|
343 |
|
344 |
+
#: inc/class-quotes-collection-admin.php:639
|
345 |
+
#, php-format
|
346 |
+
msgid "Quote made public"
|
347 |
+
msgid_plural "%d quotes made public"
|
348 |
+
msgstr[0] "வாசகம் வெளிப்படை ஆக்கப்பட்டது"
|
349 |
+
msgstr[1] "%d வாசகங்கள் வெளிப்படை ஆக்கப்பட்டன"
|
350 |
|
351 |
+
#: inc/class-quotes-collection-admin.php:643
|
352 |
+
#: inc/class-quotes-collection-admin.php:656
|
353 |
+
msgid "Error. Privacy status not changed."
|
354 |
+
msgstr "சிக்கலாகி விட்டது. வாசகங்களின் பொதுமை அமைப்பில் மாற்றம் ஏதும் செய்யப்படவில்லை."
|
355 |
|
356 |
+
#: inc/class-quotes-collection-admin.php:652
|
357 |
+
#, php-format
|
358 |
+
msgid "Quote kept private"
|
359 |
+
msgid_plural "%d quotes kept private"
|
360 |
+
msgstr[0] "வாசகம் உள்ளிடை ஆக்கப்பட்டது"
|
361 |
+
msgstr[1] "%d வாசகங்கள் உள்ளிடை ஆக்கப்பட்டன"
|
362 |
|
363 |
+
#: inc/class-quotes-collection-admin.php:668
|
364 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
365 |
+
msgstr "'ஏற்றவும்' பொத்தானை அமுக்கும் முன் ஒரு கோப்பினை கண்டெடுக்கவும்"
|
366 |
|
367 |
+
#: inc/class-quotes-collection-admin.php:674
|
368 |
+
msgid "Invalid file format"
|
369 |
+
msgstr "கோப்பு சரியானது இல்லை"
|
370 |
|
371 |
+
#: inc/class-quotes-collection-admin.php:680
|
372 |
+
msgid "The file you uploaded is too big. Import failed."
|
373 |
+
msgstr "மிகவும் பெரிய கோப்பு. தரவேற்றம் நடக்கவில்லை."
|
|
|
374 |
|
375 |
+
#: inc/class-quotes-collection-admin.php:688
|
376 |
+
msgid "The file uploaded was empty"
|
377 |
+
msgstr "ஏற்றப்பட்ட கோப்பில் ஒன்றுமில்லை"
|
378 |
|
379 |
+
#: inc/class-quotes-collection-admin.php:693
|
380 |
+
msgid "Error in JSON file"
|
381 |
+
msgstr "JSON கோப்பில் பிழை"
|
382 |
|
383 |
+
#: inc/class-quotes-collection-admin.php:701
|
384 |
+
#: inc/class-quotes-collection-admin.php:715
|
385 |
+
msgid "Import failed. Please try again."
|
386 |
+
msgstr "தரவேற்றம் நடக்கவில்லை. மீண்டும் முயலவும்."
|
387 |
|
388 |
+
#: inc/class-quotes-collection-admin.php:704
|
389 |
+
msgid "No quotes imported"
|
390 |
+
msgstr "ஒன்றும் ஏற்றப்படவில்லை"
|
391 |
|
392 |
+
#: inc/class-quotes-collection-admin.php:708
|
|
|
393 |
#, php-format
|
394 |
+
msgid "One quote imported"
|
395 |
+
msgid_plural "%d quotes imported"
|
396 |
+
msgstr[0] "ஒரு வாசகம் ஏற்றப்பட்டது"
|
397 |
+
msgstr[1] "%d வாசகங்கள் ஏற்றப்பட்டன"
|
398 |
+
|
399 |
+
#: inc/class-quotes-collection-admin.php:728
|
400 |
+
msgid "Nothing to export"
|
401 |
+
msgstr "இறக்குவதற்கு ஒன்றுமில்லை"
|
402 |
+
|
403 |
+
#: inc/class-quotes-collection-admin.php:767
|
404 |
+
msgid "No change in values. Options not updated."
|
405 |
+
msgstr "அமைப்புகளில் மாற்றம் ஏதும் செய்ததாக தெரியவில்லை"
|
406 |
+
|
407 |
+
#: inc/class-quotes-collection-admin.php:772
|
408 |
+
msgid "Options updated"
|
409 |
+
msgstr "அமைப்புகளில் செய்த மாற்றங்கள் ஏற்றுக்கொள்ளப் பட்டன"
|
410 |
+
|
411 |
+
#: inc/class-quotes-collection-admin.php:775
|
412 |
+
msgid "Options not updated"
|
413 |
+
msgstr "மாற்றங்கள் ஏற்றுக்கொள்ளப் படவில்லை"
|
414 |
+
|
415 |
+
#: inc/class-quotes-collection-admin.php:791
|
416 |
+
msgid "Maximum items"
|
417 |
+
msgstr "அதிகபட்ச வாசகங்கள்"
|
418 |
+
|
419 |
+
#: inc/class-quotes-collection-admin.php:821
|
420 |
+
msgctxt "confirmation dialog title"
|
421 |
+
msgid "Delete?"
|
422 |
+
msgstr "அழித்துவிடவா?"
|
423 |
+
|
424 |
+
#: inc/class-quotes-collection-admin.php:822
|
425 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
426 |
+
msgid "Are you sure you want to delete this quote?"
|
427 |
+
msgstr "இந்த வாசகத்தை அழித்துவிடலாமா? உறுதியா?"
|
428 |
|
429 |
+
#: inc/class-quotes-collection-admin.php:823
|
430 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
431 |
+
msgid "Are you sure you want to delete these quotes?"
|
432 |
+
msgstr "வாசகங்களை அழித்துவிடலாமா? உறுதியா?"
|
433 |
|
434 |
+
#: inc/class-quotes-collection-admin.php:824
|
435 |
+
msgctxt "confirmation dialog button text"
|
436 |
+
msgid "Yes"
|
437 |
+
msgstr "ஆம்"
|
438 |
|
439 |
+
#: inc/class-quotes-collection-admin.php:825
|
440 |
+
msgctxt "confirmation dialog button text"
|
441 |
+
msgid "No"
|
442 |
+
msgstr "இல்லை"
|
443 |
|
444 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
445 |
+
msgid "Go to the first page"
|
446 |
+
msgstr "முதல் பக்கத்துக்கு செல்லவும்"
|
447 |
|
448 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
449 |
+
msgid "Go to the previous page"
|
450 |
+
msgstr "முன் பக்கத்துக்கு செல்லவும்"
|
451 |
|
452 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
453 |
+
msgid "Go to the next page"
|
454 |
+
msgstr "அடுத்த பக்கத்துக்கு செல்லவும்"
|
455 |
|
456 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
457 |
+
msgid "Go to the last page"
|
458 |
+
msgstr "கடைசி பக்கத்துக்கு செல்லவும்"
|
459 |
|
460 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
461 |
+
msgid "Goto page:"
|
462 |
+
msgstr "பக்கம்:"
|
463 |
|
464 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
465 |
+
msgid "Edit"
|
466 |
+
msgstr "மாற்றவும்"
|
467 |
|
468 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
469 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
470 |
+
msgid "Delete"
|
471 |
+
msgstr "அழிக்கவும்"
|
472 |
|
473 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
474 |
+
msgctxt "date and time format"
|
475 |
+
msgid "Y/m/d h:i:s A"
|
476 |
+
msgstr "Y/m/d h:i:s A"
|
477 |
|
478 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
479 |
+
msgctxt "date format"
|
480 |
+
msgid "Y/m/d"
|
481 |
+
msgstr "Y/m/d"
|
482 |
|
483 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
484 |
+
msgid "Private"
|
485 |
+
msgstr "உள்ளிடை"
|
486 |
|
487 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
488 |
+
msgid "Public"
|
489 |
+
msgstr "வெளிப்படை"
|
490 |
|
491 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
492 |
+
msgid "ID"
|
493 |
+
msgstr "எண்"
|
494 |
|
495 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
496 |
+
msgid "Date"
|
497 |
+
msgstr "தேதி"
|
498 |
|
499 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
500 |
+
msgid "Make public"
|
501 |
+
msgstr "வெளிப்படை ஆக்கவும்"
|
502 |
|
503 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
504 |
+
msgid "Keep private"
|
505 |
+
msgstr "உள்ளிடை ஆக்கவும்"
|
506 |
|
|
|
|
|
507 |
|
|
|
|
languages/quotes-collection-tr_TR.mo
CHANGED
Binary file
|
languages/quotes-collection-tr_TR.po
CHANGED
@@ -1,253 +1,592 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: kelle\n"
|
4 |
-
"Report-Msgid-Bugs-To:
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Gürkan Gür <seqizz@gmail.com>\n"
|
8 |
"Language-Team: seqizz\n"
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"Plural-Forms: nplurals=
|
|
|
13 |
|
14 |
-
#: quotes-collection.php:
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
msgstr "Sonraki alıntı"
|
19 |
|
20 |
-
#: quotes-collection.php:
|
21 |
-
|
22 |
-
|
|
|
23 |
|
24 |
-
#: quotes-collection.php:
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
#: quotes-collection.php:120
|
29 |
-
#: quotes-collection.php:137
|
30 |
msgid "Random Quote"
|
31 |
msgstr "Rastgele Alıntı"
|
32 |
|
33 |
-
#: quotes-collection.php:
|
34 |
msgid "Title"
|
35 |
msgstr "Başlık"
|
36 |
|
37 |
-
#: quotes-collection.php:
|
38 |
msgid "Show author?"
|
39 |
msgstr "Sahibini göster?"
|
40 |
|
41 |
-
#: quotes-collection.php:
|
42 |
msgid "Show source?"
|
43 |
msgstr "Kaynağı göster?"
|
44 |
|
45 |
-
#: quotes-collection.php:
|
46 |
-
msgid "
|
47 |
-
msgstr "
|
48 |
|
49 |
-
#: quotes-collection.php:
|
50 |
-
msgid "
|
51 |
-
msgstr "
|
52 |
|
53 |
-
#: quotes-collection.php:
|
54 |
-
msgid "
|
55 |
-
msgstr "
|
56 |
|
57 |
-
#: quotes-collection.php:
|
58 |
-
msgid "
|
59 |
-
msgstr "
|
|
|
60 |
|
61 |
-
#: quotes-collection.php:
|
62 |
-
|
63 |
-
|
64 |
-
msgstr "Veritabanı tablosu bulunamadı"
|
65 |
|
66 |
-
#: quotes-collection.php:
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
msgstr "MySQL sıralamasında hata"
|
71 |
|
72 |
-
#: quotes-collection.php:
|
73 |
-
msgid "
|
74 |
-
msgstr "
|
75 |
|
76 |
-
#: quotes-collection.php:
|
77 |
-
msgid "
|
78 |
-
msgstr "
|
79 |
|
80 |
-
#: quotes-collection.php:
|
81 |
-
msgid "
|
82 |
-
msgstr "
|
83 |
|
84 |
-
#: quotes-collection.php:
|
85 |
-
msgid "
|
86 |
-
msgstr "
|
87 |
|
88 |
-
#: quotes-collection.php:
|
89 |
-
msgid "
|
90 |
-
msgstr "
|
91 |
|
92 |
-
#: quotes-collection.php:
|
93 |
-
|
94 |
-
|
95 |
-
msgstr "Alıntı Ekle"
|
96 |
|
97 |
-
#: quotes-collection.php:
|
98 |
-
|
99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
msgstr "Değişiklikleri Kaydet"
|
101 |
|
102 |
-
#: quotes-collection.php:
|
103 |
-
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
|
106 |
-
#: quotes-collection.php:
|
107 |
-
|
108 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
msgstr "Alıntı"
|
110 |
|
111 |
-
#: quotes-collection.php:
|
112 |
-
#: quotes-collection.php:
|
113 |
-
#: quotes-collection.php:493
|
114 |
msgid "Author"
|
115 |
msgstr "Sahibi"
|
116 |
|
117 |
-
#: quotes-collection.php:
|
118 |
-
#: quotes-collection.php:
|
119 |
-
#: quotes-collection.php:493
|
120 |
msgid "Source"
|
121 |
msgstr "Kaynak"
|
122 |
|
123 |
-
#: quotes-collection.php:
|
124 |
-
#: quotes-collection.php:
|
125 |
msgid "Tags"
|
126 |
msgstr "Etiketler"
|
127 |
|
128 |
-
#: quotes-collection.php:
|
129 |
-
|
130 |
-
|
131 |
-
msgstr "Görünür durumda?"
|
132 |
|
133 |
-
#: quotes-collection.php:
|
134 |
msgid "optional"
|
135 |
msgstr "seçime bağlı"
|
136 |
|
137 |
-
#: quotes-collection.php:
|
138 |
msgid "comma separated"
|
139 |
msgstr "virgüllerle ayrılmış"
|
140 |
|
141 |
-
#: quotes-collection.php:
|
142 |
-
#: quotes-collection.php:
|
143 |
-
msgid "
|
144 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
|
146 |
-
#: quotes-collection.php:
|
147 |
#, php-format
|
148 |
-
msgid "
|
149 |
-
|
|
|
150 |
|
151 |
-
#: quotes-collection.php:
|
152 |
-
msgid "
|
153 |
-
msgstr "
|
154 |
|
155 |
-
#: quotes-collection.php:
|
156 |
-
|
157 |
-
|
|
|
|
|
158 |
|
159 |
-
#: quotes-collection.php:
|
160 |
-
#: quotes-collection.php:
|
161 |
-
|
162 |
-
|
163 |
-
msgid "Delete"
|
164 |
-
msgstr "Sil"
|
165 |
|
166 |
-
#: quotes-collection.php:
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
msgstr "
|
171 |
|
172 |
-
#: quotes-collection.php:
|
173 |
-
|
174 |
-
|
175 |
-
msgid "Make invisible"
|
176 |
-
msgstr "Görünmez yap"
|
177 |
|
178 |
-
#: quotes-collection.php:
|
179 |
-
msgid "
|
180 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
|
182 |
-
#: quotes-collection.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
msgid "Are you sure you want to delete this quote?"
|
184 |
msgstr "Bu alıntıyı silmek istediğinize emin misiniz?"
|
185 |
|
186 |
-
#: quotes-collection.php:
|
187 |
-
|
188 |
-
msgid "
|
189 |
-
|
190 |
-
msgstr[0] "Şu anda %d alıntınız var."
|
191 |
-
msgstr[1] "Şu anda %d alıntınız var."
|
192 |
-
|
193 |
-
#: quotes-collection.php:464
|
194 |
-
#: quotes-collection.php:521
|
195 |
-
msgid "Add new quote"
|
196 |
-
msgstr "Yeni alıntı ekle"
|
197 |
-
|
198 |
-
#: quotes-collection.php:473
|
199 |
-
msgid "Sort by: "
|
200 |
-
msgstr "Şuna göre sırala:"
|
201 |
-
|
202 |
-
#: quotes-collection.php:475
|
203 |
-
#: quotes-collection.php:476
|
204 |
-
msgid "Quote"
|
205 |
-
msgstr "Alıntı"
|
206 |
|
207 |
-
#: quotes-collection.php:
|
208 |
-
|
209 |
-
|
|
|
210 |
|
211 |
-
#: quotes-collection.php:
|
212 |
-
|
213 |
-
|
|
|
214 |
|
215 |
-
#: quotes-collection.php:
|
216 |
-
msgid "
|
217 |
-
msgstr "
|
218 |
|
219 |
-
#: quotes-collection.php:
|
220 |
-
msgid "Go"
|
221 |
-
msgstr "
|
222 |
|
223 |
-
#: quotes-collection.php:
|
224 |
-
msgid "
|
225 |
-
msgstr "
|
226 |
|
227 |
-
#: quotes-collection.php:
|
228 |
-
msgid "
|
229 |
-
msgstr "
|
230 |
|
231 |
-
#: quotes-collection.php:
|
232 |
-
msgid "
|
233 |
-
msgstr "
|
234 |
|
235 |
-
#: quotes-collection.php:
|
236 |
-
msgid "
|
237 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
238 |
|
|
|
|
|
|
|
|
|
239 |
|
240 |
-
#: quotes-collection.php:
|
241 |
-
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
|
|
|
|
|
244 |
|
245 |
-
|
246 |
-
|
247 |
-
msgstr "Buraya tıklayın"
|
248 |
|
|
|
|
|
249 |
|
250 |
-
|
251 |
-
|
252 |
-
msgstr "alıntı koleksiyonunuzu yönetmek"
|
253 |
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: kelle\n"
|
4 |
+
"Report-Msgid-Bugs-To: s@srinig.com\n"
|
5 |
+
"POT-Creation-Date: 2015-04-14 12:23+0530\n"
|
6 |
+
"PO-Revision-Date: 2015-04-22 00:12+0200\n"
|
7 |
"Last-Translator: Gürkan Gür <seqizz@gmail.com>\n"
|
8 |
"Language-Team: seqizz\n"
|
9 |
+
"Language: tr_TR\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
14 |
+
"X-Generator: Poedit 1.7.4\n"
|
15 |
|
16 |
+
#: inc/class-quotes-collection-widget.php:17
|
17 |
+
msgctxt "widget name"
|
18 |
+
msgid "Random Quote"
|
19 |
+
msgstr "Rasgele Alıntı"
|
|
|
20 |
|
21 |
+
#: inc/class-quotes-collection-widget.php:18
|
22 |
+
msgctxt "widget description"
|
23 |
+
msgid "Random quote from your quotes collection"
|
24 |
+
msgstr "Alıntılarınızın arasından rasgele seçimler gösterir"
|
25 |
|
26 |
+
#: inc/class-quotes-collection-widget.php:41
|
27 |
+
#: inc/class-quotes-collection-widget.php:83
|
28 |
+
#: inc/class-quotes-collection-widget.php:201
|
|
|
|
|
|
|
29 |
msgid "Random Quote"
|
30 |
msgstr "Rastgele Alıntı"
|
31 |
|
32 |
+
#: inc/class-quotes-collection-widget.php:114
|
33 |
msgid "Title"
|
34 |
msgstr "Başlık"
|
35 |
|
36 |
+
#: inc/class-quotes-collection-widget.php:120
|
37 |
msgid "Show author?"
|
38 |
msgstr "Sahibini göster?"
|
39 |
|
40 |
+
#: inc/class-quotes-collection-widget.php:125
|
41 |
msgid "Show source?"
|
42 |
msgstr "Kaynağı göster?"
|
43 |
|
44 |
+
#: inc/class-quotes-collection-widget.php:130
|
45 |
+
msgid "Refresh feature"
|
46 |
+
msgstr "Tazeleme özelliği"
|
47 |
|
48 |
+
#: inc/class-quotes-collection-widget.php:133
|
49 |
+
msgid "Advanced options"
|
50 |
+
msgstr "Gelişmiş seçenekler"
|
51 |
|
52 |
+
#: inc/class-quotes-collection-widget.php:138
|
53 |
+
msgid "Random refresh"
|
54 |
+
msgstr "Rasgele tazeleme"
|
55 |
|
56 |
+
#: inc/class-quotes-collection-widget.php:139
|
57 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
58 |
+
msgstr ""
|
59 |
+
"Bu seçeneği seçmezseniz alıntılar sırayla gösterilecek, en yenileri en önce."
|
60 |
|
61 |
+
#: inc/class-quotes-collection-widget.php:144
|
62 |
+
msgid "Auto refresh"
|
63 |
+
msgstr "Otomatik tazeleme"
|
|
|
64 |
|
65 |
+
#: inc/class-quotes-collection-widget.php:146
|
66 |
+
#, php-format
|
67 |
+
msgid "every %s sec"
|
68 |
+
msgstr "her %s saniyede"
|
|
|
69 |
|
70 |
+
#: inc/class-quotes-collection-widget.php:151
|
71 |
+
msgid "Tags filter"
|
72 |
+
msgstr "Etiket süzgeci"
|
73 |
|
74 |
+
#: inc/class-quotes-collection-widget.php:153
|
75 |
+
msgid "Comma separated"
|
76 |
+
msgstr "Virgülle ayrılmış"
|
77 |
|
78 |
+
#: inc/class-quotes-collection-widget.php:157
|
79 |
+
msgid "Character limit"
|
80 |
+
msgstr "Karakter sınırı"
|
81 |
|
82 |
+
#: inc/class-quotes-collection-widget.php:189
|
83 |
+
msgid "none"
|
84 |
+
msgstr "hiçbiri"
|
85 |
|
86 |
+
#: inc/class-quotes-collection.php:82
|
87 |
+
msgid "Loading..."
|
88 |
+
msgstr "Yükleniyor.."
|
89 |
|
90 |
+
#: inc/class-quotes-collection.php:83
|
91 |
+
msgid "Error getting quote"
|
92 |
+
msgstr "Alıntı yüklenirken hata"
|
|
|
93 |
|
94 |
+
#: inc/class-quotes-collection.php:104
|
95 |
+
msgid "Next quote »"
|
96 |
+
msgstr "Sonraki alıntı »"
|
97 |
+
|
98 |
+
#: inc/class-quotes-collection-admin.php:73
|
99 |
+
#: inc/class-quotes-collection-admin.php:241
|
100 |
+
msgctxt "heading"
|
101 |
+
msgid "Add New Quote"
|
102 |
+
msgstr "Yeni Alıntı Ekle"
|
103 |
+
|
104 |
+
#: inc/class-quotes-collection-admin.php:74
|
105 |
+
#: inc/class-quotes-collection-admin.php:389
|
106 |
+
msgctxt "submenu item text"
|
107 |
+
msgid "Add New"
|
108 |
+
msgstr "Yeni Ekle"
|
109 |
+
|
110 |
+
#: inc/class-quotes-collection-admin.php:84
|
111 |
+
#: inc/class-quotes-collection-admin.php:274
|
112 |
+
msgctxt "heading"
|
113 |
+
msgid "Import Quotes"
|
114 |
+
msgstr "Alıntı İçe Aktar"
|
115 |
+
|
116 |
+
#: inc/class-quotes-collection-admin.php:85
|
117 |
+
#: inc/class-quotes-collection-admin.php:395
|
118 |
+
msgctxt "submenu item text"
|
119 |
+
msgid "Import"
|
120 |
+
msgstr "İçe Aktar"
|
121 |
+
|
122 |
+
#: inc/class-quotes-collection-admin.php:95
|
123 |
+
#: inc/class-quotes-collection-admin.php:302
|
124 |
+
msgctxt "heading"
|
125 |
+
msgid "Export Quotes"
|
126 |
+
msgstr "Alıntıları Dışa Aktar"
|
127 |
+
|
128 |
+
#: inc/class-quotes-collection-admin.php:96
|
129 |
+
#: inc/class-quotes-collection-admin.php:398
|
130 |
+
msgctxt "submenu item text"
|
131 |
+
msgid "Export"
|
132 |
+
msgstr "Dışa Aktar"
|
133 |
+
|
134 |
+
#: inc/class-quotes-collection-admin.php:106
|
135 |
+
#: inc/class-quotes-collection-admin.php:362
|
136 |
+
msgctxt "heading"
|
137 |
+
msgid "Quotes Collection Options"
|
138 |
+
msgstr "Rasgele Alıntı Tercihleri"
|
139 |
+
|
140 |
+
#: inc/class-quotes-collection-admin.php:107
|
141 |
+
#: inc/class-quotes-collection-admin.php:404
|
142 |
+
msgctxt "submenu item text"
|
143 |
+
msgid "Options"
|
144 |
+
msgstr "Tercihler"
|
145 |
+
|
146 |
+
#: inc/class-quotes-collection-admin.php:116
|
147 |
+
msgctxt "submenu item text"
|
148 |
+
msgid "All Quotes"
|
149 |
+
msgstr "Tüm Alıntılar"
|
150 |
+
|
151 |
+
#: inc/class-quotes-collection-admin.php:150
|
152 |
+
#: inc/class-quotes-collection-admin.php:474
|
153 |
+
#: inc/class-quotes-collection-admin.php:575
|
154 |
+
msgctxt "submit button text"
|
155 |
+
msgid "Save Changes"
|
156 |
msgstr "Değişiklikleri Kaydet"
|
157 |
|
158 |
+
#: inc/class-quotes-collection-admin.php:157
|
159 |
+
#: inc/class-quotes-collection-admin.php:385
|
160 |
+
msgctxt "submenu item text"
|
161 |
+
msgid "Edit Quote"
|
162 |
+
msgstr "Alıntıyı Düzenle"
|
163 |
+
|
164 |
+
#: inc/class-quotes-collection-admin.php:188
|
165 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
166 |
+
msgid "All Quotes"
|
167 |
+
msgstr "Tüm Alıntılar"
|
168 |
+
|
169 |
+
#: inc/class-quotes-collection-admin.php:193
|
170 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
171 |
+
msgid "Public"
|
172 |
+
msgstr "Yayında"
|
173 |
+
|
174 |
+
#: inc/class-quotes-collection-admin.php:198
|
175 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
176 |
+
msgid "Private"
|
177 |
+
msgstr "Yayına kapalı"
|
178 |
|
179 |
+
#: inc/class-quotes-collection-admin.php:204
|
180 |
+
#, php-format
|
181 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
182 |
+
msgid "Search results for \"%s\""
|
183 |
+
msgstr "\"%s\" için sonuçlar"
|
184 |
+
|
185 |
+
#: inc/class-quotes-collection-admin.php:220
|
186 |
+
msgid "Search"
|
187 |
+
msgstr "Ara"
|
188 |
+
|
189 |
+
#: inc/class-quotes-collection-admin.php:255
|
190 |
+
msgid ""
|
191 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
192 |
+
"json) file to upload, then click the 'Import' button."
|
193 |
+
msgstr ""
|
194 |
+
"Yüklenecek <abbr title=\"JavaScript Object Notation\">JSON</abbr> (.json) "
|
195 |
+
"dosyasını seçip \"İçe Aktar\"a tıklayın."
|
196 |
+
|
197 |
+
#: inc/class-quotes-collection-admin.php:260
|
198 |
+
msgid "Choose a file to upload:"
|
199 |
+
msgstr "Yüklenecek dosyayı seçin:"
|
200 |
+
|
201 |
+
#: inc/class-quotes-collection-admin.php:265
|
202 |
+
#: inc/class-quotes-collection-admin.php:588
|
203 |
+
msgctxt "submit button text"
|
204 |
+
msgid "Import"
|
205 |
+
msgstr "İçe Aktar"
|
206 |
+
|
207 |
+
#: inc/class-quotes-collection-admin.php:287
|
208 |
+
msgid ""
|
209 |
+
"When you click the button below, a <abbr title=\"JavaScript Object Notation"
|
210 |
+
"\">JSON</abbr> file with the entire collection of quotes will be created, "
|
211 |
+
"that you can save to your computer."
|
212 |
+
msgstr ""
|
213 |
+
"Aşağıdaki tuşa bastığınızda, tüm alıntılarınızı içeren, bilgisayarınıza "
|
214 |
+
"kaydedebileceğiniz bir <abbr title=\"JavaScript Object Notation\">JSON</"
|
215 |
+
"abbr> dosyası oluşturulacaktır."
|
216 |
+
|
217 |
+
#: inc/class-quotes-collection-admin.php:292
|
218 |
+
#: inc/class-quotes-collection-admin.php:594
|
219 |
+
msgctxt "submit button text"
|
220 |
+
msgid "Export"
|
221 |
+
msgstr "Dışa Aktar"
|
222 |
+
|
223 |
+
#: inc/class-quotes-collection-admin.php:339
|
224 |
+
msgid "Refresh link text"
|
225 |
+
msgstr "Yenileme linki yazısı"
|
226 |
+
|
227 |
+
#: inc/class-quotes-collection-admin.php:343
|
228 |
+
msgid "Maximum number of iterations for auto-refresh"
|
229 |
+
msgstr "Otomatik yenileme için en fazla tekrar sayısı"
|
230 |
+
|
231 |
+
#: inc/class-quotes-collection-admin.php:347
|
232 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
233 |
+
msgstr "Kutucuktaki ilk rasgele alıntı dinamik olarak seçilsin mi?"
|
234 |
+
|
235 |
+
#: inc/class-quotes-collection-admin.php:350
|
236 |
+
msgid ""
|
237 |
+
"Check this if your site is cached and the 'random quote' widget always shows "
|
238 |
+
"a particular quote as the initial quote."
|
239 |
+
msgstr ""
|
240 |
+
"Eğer siteniz önbellekten çalışıyor ve kutucuk her zaman açılışta aynı "
|
241 |
+
"alıntıyı gösteriyorsa bunu seçin."
|
242 |
+
|
243 |
+
#: inc/class-quotes-collection-admin.php:353
|
244 |
+
#: inc/class-quotes-collection-admin.php:600
|
245 |
+
msgctxt "submit button text"
|
246 |
+
msgid "Update Options"
|
247 |
+
msgstr "Tercihleri Güncelle"
|
248 |
+
|
249 |
+
#: inc/class-quotes-collection-admin.php:381
|
250 |
+
msgid "All Quotes"
|
251 |
+
msgstr "Tüm Alıntılar"
|
252 |
+
|
253 |
+
#: inc/class-quotes-collection-admin.php:457
|
254 |
+
#: inc/class-quotes-collection-admin.php:560
|
255 |
+
msgctxt "submit button text"
|
256 |
+
msgid "Add Quote"
|
257 |
+
msgstr "Alıntı Ekle"
|
258 |
+
|
259 |
+
#: inc/class-quotes-collection-admin.php:486
|
260 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
261 |
+
msgid "Quote"
|
262 |
msgstr "Alıntı"
|
263 |
|
264 |
+
#: inc/class-quotes-collection-admin.php:487
|
265 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
266 |
msgid "Author"
|
267 |
msgstr "Sahibi"
|
268 |
|
269 |
+
#: inc/class-quotes-collection-admin.php:488
|
270 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
271 |
msgid "Source"
|
272 |
msgstr "Kaynak"
|
273 |
|
274 |
+
#: inc/class-quotes-collection-admin.php:489
|
275 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
276 |
msgid "Tags"
|
277 |
msgstr "Etiketler"
|
278 |
|
279 |
+
#: inc/class-quotes-collection-admin.php:490
|
280 |
+
msgid "Public?"
|
281 |
+
msgstr "Yayında?"
|
|
|
282 |
|
283 |
+
#: inc/class-quotes-collection-admin.php:491
|
284 |
msgid "optional"
|
285 |
msgstr "seçime bağlı"
|
286 |
|
287 |
+
#: inc/class-quotes-collection-admin.php:492
|
288 |
msgid "comma separated"
|
289 |
msgstr "virgüllerle ayrılmış"
|
290 |
|
291 |
+
#: inc/class-quotes-collection-admin.php:564
|
292 |
+
#: inc/class-quotes-collection-admin.php:579
|
293 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
294 |
+
msgstr "Alıntı bölümü boş bırakılamaz. Birşeyler yazıp tekrar deneyin."
|
295 |
+
|
296 |
+
#: inc/class-quotes-collection-admin.php:567
|
297 |
+
msgid "Quote added"
|
298 |
+
msgstr "Alıntı Eklendi"
|
299 |
+
|
300 |
+
#: inc/class-quotes-collection-admin.php:570
|
301 |
+
msgid "Error adding quote"
|
302 |
+
msgstr "Alıntı eklenirken hata"
|
303 |
+
|
304 |
+
#: inc/class-quotes-collection-admin.php:582
|
305 |
+
msgid "Changes saved"
|
306 |
+
msgstr "Değişiklikler kaydedildi"
|
307 |
+
|
308 |
+
#: inc/class-quotes-collection-admin.php:584
|
309 |
+
msgid "Error updating quote"
|
310 |
+
msgstr "Alıntı güncellenirken hata"
|
311 |
+
|
312 |
+
#: inc/class-quotes-collection-admin.php:614
|
313 |
+
msgid "Quote deleted"
|
314 |
+
msgstr "Alıntı Silindi"
|
315 |
+
|
316 |
+
#: inc/class-quotes-collection-admin.php:616
|
317 |
+
msgid "Error deleting quote"
|
318 |
+
msgstr "Alıntı silinirken hata"
|
319 |
+
|
320 |
+
#: inc/class-quotes-collection-admin.php:621
|
321 |
+
#: inc/class-quotes-collection-admin.php:635
|
322 |
+
#: inc/class-quotes-collection-admin.php:648
|
323 |
+
msgid "No item selected"
|
324 |
+
msgstr "Seçili öğe yok"
|
325 |
|
326 |
+
#: inc/class-quotes-collection-admin.php:625
|
327 |
#, php-format
|
328 |
+
msgid "One quote deleted"
|
329 |
+
msgid_plural "%d quotes deleted"
|
330 |
+
msgstr[0] "%d alıntı silindi"
|
331 |
|
332 |
+
#: inc/class-quotes-collection-admin.php:629
|
333 |
+
msgid "Error deleting quotes"
|
334 |
+
msgstr "Alıntıları silerken hata"
|
335 |
|
336 |
+
#: inc/class-quotes-collection-admin.php:639
|
337 |
+
#, php-format
|
338 |
+
msgid "Quote made public"
|
339 |
+
msgid_plural "%d quotes made public"
|
340 |
+
msgstr[0] "%d alıntı yayına alındı"
|
341 |
|
342 |
+
#: inc/class-quotes-collection-admin.php:643
|
343 |
+
#: inc/class-quotes-collection-admin.php:656
|
344 |
+
msgid "Error. Privacy status not changed."
|
345 |
+
msgstr "Hata. Yayın durumu değişmedi."
|
|
|
|
|
346 |
|
347 |
+
#: inc/class-quotes-collection-admin.php:652
|
348 |
+
#, php-format
|
349 |
+
msgid "Quote kept private"
|
350 |
+
msgid_plural "%d quotes kept private"
|
351 |
+
msgstr[0] "%d alıntı yayından kaldırıldı"
|
352 |
|
353 |
+
#: inc/class-quotes-collection-admin.php:668
|
354 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
355 |
+
msgstr "Lütfen 'İçe Aktar'a basmadan önce bir dosya seçin"
|
|
|
|
|
356 |
|
357 |
+
#: inc/class-quotes-collection-admin.php:674
|
358 |
+
msgid "Invalid file format"
|
359 |
+
msgstr "Geçersiz dosya biçimi"
|
360 |
+
|
361 |
+
#: inc/class-quotes-collection-admin.php:680
|
362 |
+
msgid "The file you uploaded is too big. Import failed."
|
363 |
+
msgstr "Yüklediğiniz dosya çok büyük. İşlem başarısız."
|
364 |
+
|
365 |
+
#: inc/class-quotes-collection-admin.php:688
|
366 |
+
msgid "The file uploaded was empty"
|
367 |
+
msgstr "Yüklenen dosya boş."
|
368 |
+
|
369 |
+
#: inc/class-quotes-collection-admin.php:693
|
370 |
+
msgid "Error in JSON file"
|
371 |
+
msgstr "JSON dosyasında hata"
|
372 |
+
|
373 |
+
#: inc/class-quotes-collection-admin.php:701
|
374 |
+
#: inc/class-quotes-collection-admin.php:715
|
375 |
+
msgid "Import failed. Please try again."
|
376 |
+
msgstr "İçe aktarmada hata. Lütfen tekrar deneyin."
|
377 |
+
|
378 |
+
#: inc/class-quotes-collection-admin.php:704
|
379 |
+
msgid "No quotes imported"
|
380 |
+
msgstr "İçe aktarılan alıntı yok"
|
381 |
+
|
382 |
+
#: inc/class-quotes-collection-admin.php:708
|
383 |
+
#, php-format
|
384 |
+
msgid "One quote imported"
|
385 |
+
msgid_plural "%d quotes imported"
|
386 |
+
msgstr[0] "%d alıntı içe aktarıldı"
|
387 |
+
|
388 |
+
#: inc/class-quotes-collection-admin.php:728
|
389 |
+
msgid "Nothing to export"
|
390 |
+
msgstr "Dışa aktaracak bir şey yok"
|
391 |
+
|
392 |
+
#: inc/class-quotes-collection-admin.php:767
|
393 |
+
msgid "No change in values. Options not updated."
|
394 |
+
msgstr "Değerlerde değişiklik yok. Tercihler güncellenmedi."
|
395 |
+
|
396 |
+
#: inc/class-quotes-collection-admin.php:772
|
397 |
+
msgid "Options updated"
|
398 |
+
msgstr "Tercihler güncellendi"
|
399 |
+
|
400 |
+
#: inc/class-quotes-collection-admin.php:775
|
401 |
+
msgid "Options not updated"
|
402 |
+
msgstr "Tercihler güncellenmedi"
|
403 |
+
|
404 |
+
#: inc/class-quotes-collection-admin.php:791
|
405 |
+
msgid "Maximum items"
|
406 |
+
msgstr "Maksimum öğe"
|
407 |
|
408 |
+
#: inc/class-quotes-collection-admin.php:821
|
409 |
+
msgctxt "confirmation dialog title"
|
410 |
+
msgid "Delete?"
|
411 |
+
msgstr "Silinsin mi?"
|
412 |
+
|
413 |
+
#: inc/class-quotes-collection-admin.php:822
|
414 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
415 |
msgid "Are you sure you want to delete this quote?"
|
416 |
msgstr "Bu alıntıyı silmek istediğinize emin misiniz?"
|
417 |
|
418 |
+
#: inc/class-quotes-collection-admin.php:823
|
419 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
420 |
+
msgid "Are you sure you want to delete these quotes?"
|
421 |
+
msgstr "Bu alıntıları silmek istediğinize emin misiniz?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
|
423 |
+
#: inc/class-quotes-collection-admin.php:824
|
424 |
+
msgctxt "confirmation dialog button text"
|
425 |
+
msgid "Yes"
|
426 |
+
msgstr "Evet"
|
427 |
|
428 |
+
#: inc/class-quotes-collection-admin.php:825
|
429 |
+
msgctxt "confirmation dialog button text"
|
430 |
+
msgid "No"
|
431 |
+
msgstr "Hayır"
|
432 |
|
433 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
434 |
+
msgid "Go to the first page"
|
435 |
+
msgstr "İlk sayfaya git"
|
436 |
|
437 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
438 |
+
msgid "Go to the previous page"
|
439 |
+
msgstr "Önceki sayfaya git"
|
440 |
|
441 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
442 |
+
msgid "Go to the next page"
|
443 |
+
msgstr "Sonraki sayfaya git"
|
444 |
|
445 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
446 |
+
msgid "Go to the last page"
|
447 |
+
msgstr "Son sayfaya git"
|
448 |
|
449 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
450 |
+
msgid "Goto page:"
|
451 |
+
msgstr "Şu sayfaya git:"
|
452 |
|
453 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
454 |
+
msgid "Edit"
|
455 |
+
msgstr "Düzenle"
|
456 |
+
|
457 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
458 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
459 |
+
msgid "Delete"
|
460 |
+
msgstr "Sil"
|
461 |
|
462 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
463 |
+
msgctxt "date and time format"
|
464 |
+
msgid "Y/m/d h:i:s A"
|
465 |
+
msgstr "Y/a/g sa:sn:sl"
|
466 |
|
467 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
468 |
+
msgctxt "date format"
|
469 |
+
msgid "Y/m/d"
|
470 |
+
msgstr "Y/a/g"
|
471 |
+
|
472 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
473 |
+
msgid "Private"
|
474 |
+
msgstr "Yayına kapalı"
|
475 |
+
|
476 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
477 |
+
msgid "Public"
|
478 |
+
msgstr "Yayında"
|
479 |
+
|
480 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
481 |
+
msgid "ID"
|
482 |
+
msgstr "ID"
|
483 |
+
|
484 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
485 |
+
msgid "Date"
|
486 |
+
msgstr "Tarih"
|
487 |
+
|
488 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
489 |
+
msgid "Make public"
|
490 |
+
msgstr "Yayına al"
|
491 |
+
|
492 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
493 |
+
msgid "Keep private"
|
494 |
+
msgstr "Yayından çıkar"
|
495 |
+
|
496 |
+
#~ msgid "Next quote"
|
497 |
+
#~ msgstr "Sonraki alıntı"
|
498 |
+
|
499 |
+
#~ msgid "Ajax refresh feature"
|
500 |
+
#~ msgstr "Ajax yenileme özelliği"
|
501 |
+
|
502 |
+
#~ msgid "Manage your collection of quotes at"
|
503 |
+
#~ msgstr "Alıntı koleksiyonunuzu yönetin"
|
504 |
+
|
505 |
+
#~ msgid "Manage"
|
506 |
+
#~ msgstr "Yönet"
|
507 |
+
|
508 |
+
#~ msgid "Nothing added to the database."
|
509 |
+
#~ msgstr "Veritabanına hiçbirşey eklenmedi."
|
510 |
+
|
511 |
+
#~ msgid "Database table not found"
|
512 |
+
#~ msgstr "Veritabanı tablosu bulunamadı"
|
513 |
+
|
514 |
+
#~ msgid "There was an error in the MySQL query"
|
515 |
+
#~ msgstr "MySQL sıralamasında hata"
|
516 |
+
|
517 |
+
#~ msgid "Quote not updated."
|
518 |
+
#~ msgstr "Güncellenmedi"
|
519 |
+
|
520 |
+
#~ msgid "The quote cannot be deleted"
|
521 |
+
#~ msgstr "Alıntı silinemedi"
|
522 |
+
|
523 |
+
#~ msgid "Add Quote"
|
524 |
+
#~ msgstr "Alıntı Ekle"
|
525 |
+
|
526 |
+
#~ msgid "Save changes"
|
527 |
+
#~ msgstr "Değişiklikleri Kaydet"
|
528 |
+
|
529 |
+
#~ msgid "Back"
|
530 |
+
#~ msgstr "Geri"
|
531 |
+
|
532 |
+
#~ msgid "The quote"
|
533 |
+
#~ msgstr "Alıntı"
|
534 |
+
|
535 |
+
#~ msgid "Visible?"
|
536 |
+
#~ msgstr "Görünür durumda?"
|
537 |
+
|
538 |
+
#~ msgid "Nothing done!"
|
539 |
+
#~ msgstr "Hiçbirşey yapılmadı!"
|
540 |
+
|
541 |
+
#~ msgid "Visibility status of selected quotes set to '%s'"
|
542 |
+
#~ msgstr "Seçilen alıntıların görünürlük durumu '%s' olarak ayarlandı"
|
543 |
+
|
544 |
+
#~ msgid "Quote(s) deleted"
|
545 |
+
#~ msgstr "Alıntı(lar) silindi"
|
546 |
+
|
547 |
+
#~ msgid "Edit quote"
|
548 |
+
#~ msgstr "Alıntıyı düzenle"
|
549 |
+
|
550 |
+
#~ msgid "Make visible"
|
551 |
+
#~ msgstr "Görünür yap"
|
552 |
+
|
553 |
+
#~ msgid "Make invisible"
|
554 |
+
#~ msgstr "Görünmez yap"
|
555 |
+
|
556 |
+
#~ msgid "Are you sure you want to delete this quote?"
|
557 |
+
#~ msgstr "Bu alıntıyı silmek istediğinize emin misiniz?"
|
558 |
+
|
559 |
+
#~ msgid "Currently, you have %d quote."
|
560 |
+
#~ msgid_plural "Currently, you have %d quotes."
|
561 |
+
#~ msgstr[0] "Şu anda %d alıntınız var."
|
562 |
+
#~ msgstr[1] "Şu anda %d alıntınız var."
|
563 |
+
|
564 |
+
#~ msgid "Add new quote"
|
565 |
+
#~ msgstr "Yeni alıntı ekle"
|
566 |
+
|
567 |
+
#~ msgid "Sort by: "
|
568 |
+
#~ msgstr "Şuna göre sırala:"
|
569 |
+
|
570 |
+
#~ msgid "Date added"
|
571 |
+
#~ msgstr "Tarih eklendi"
|
572 |
+
|
573 |
+
#~ msgid "Date updated"
|
574 |
+
#~ msgstr "Tarih güncellendi"
|
575 |
+
|
576 |
+
#~ msgid "Visibility"
|
577 |
+
#~ msgstr "Yayın durumu"
|
578 |
|
579 |
+
#~ msgid "Go"
|
580 |
+
#~ msgstr "Git"
|
581 |
|
582 |
+
#~ msgid "Action"
|
583 |
+
#~ msgstr "Eylem"
|
|
|
584 |
|
585 |
+
#~ msgid "No quotes in the database"
|
586 |
+
#~ msgstr "Veritabanında alıntı yok"
|
587 |
|
588 |
+
#~ msgid "Click here"
|
589 |
+
#~ msgstr "Buraya tıklayın"
|
|
|
590 |
|
591 |
+
#~ msgid "to manage your collection of quotes"
|
592 |
+
#~ msgstr "alıntı koleksiyonunuzu yönetmek"
|
languages/quotes-collection-uk_UA.mo
CHANGED
Binary file
|
languages/quotes-collection-uk_UA.po
CHANGED
@@ -1,239 +1,498 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Quotes Collection
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
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 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
-
"X-Poedit-Language: Ukrainian\n"
|
14 |
-
"X-Poedit-Country: UKRAINE\n"
|
15 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
|
17 |
-
"X-Poedit-Basepath: .\n"
|
18 |
-
"X-Poedit-SearchPath-0: ..\n"
|
19 |
-
|
20 |
-
#: ../quotes-collection.php:60
|
21 |
-
#: ../quotes-collection.php:96
|
22 |
-
#: ../quotes-collection.php:100
|
23 |
-
msgid "Next quote"
|
24 |
-
msgstr "Наступна цитата"
|
25 |
-
|
26 |
-
#: ../quotes-collection.php:61
|
27 |
-
msgid "Loading..."
|
28 |
-
msgstr "хвилиночку..."
|
29 |
|
30 |
-
#: ../quotes-collection.php:62
|
31 |
-
msgid "Error getting quote"
|
32 |
-
msgstr "Помилка створення цитати"
|
33 |
|
34 |
-
#:
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
msgid "Random Quote"
|
37 |
-
msgstr "
|
38 |
|
39 |
-
#:
|
40 |
msgid "Title"
|
41 |
msgstr "Заголовок"
|
42 |
|
43 |
-
#:
|
44 |
msgid "Show author?"
|
45 |
-
msgstr "
|
46 |
|
47 |
-
#:
|
48 |
msgid "Show source?"
|
49 |
-
msgstr "
|
50 |
|
51 |
-
#:
|
52 |
-
msgid "
|
53 |
-
msgstr "
|
54 |
|
55 |
-
#:
|
56 |
-
msgid "
|
57 |
-
msgstr "
|
58 |
|
59 |
-
#:
|
60 |
-
msgid "
|
61 |
-
msgstr "
|
62 |
|
63 |
-
#:
|
64 |
-
msgid "
|
65 |
-
msgstr "
|
66 |
|
67 |
-
#:
|
68 |
-
|
69 |
-
|
70 |
-
msgstr "Таблицю не знайдено"
|
71 |
|
72 |
-
#:
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
msgstr "Помилка у запиті MySQL"
|
77 |
|
78 |
-
#:
|
79 |
-
msgid "
|
80 |
-
msgstr "
|
81 |
|
82 |
-
#:
|
83 |
-
msgid "
|
84 |
-
msgstr "
|
85 |
|
86 |
-
#:
|
87 |
-
msgid "
|
88 |
-
msgstr "
|
89 |
|
90 |
-
#:
|
91 |
-
msgid "
|
92 |
-
msgstr "
|
93 |
|
94 |
-
#:
|
95 |
-
msgid "
|
96 |
-
msgstr "
|
97 |
|
98 |
-
#:
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
-
#:
|
104 |
-
|
105 |
-
msgid "
|
106 |
-
msgstr "
|
107 |
|
108 |
-
#:
|
109 |
-
|
110 |
-
|
|
|
111 |
|
112 |
-
#:
|
113 |
-
|
114 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
msgstr "Цитата"
|
116 |
|
117 |
-
#:
|
118 |
-
#:
|
119 |
-
#: ../quotes-collection.php:493
|
120 |
msgid "Author"
|
121 |
msgstr "Автор"
|
122 |
|
123 |
-
#:
|
124 |
-
#:
|
125 |
-
#: ../quotes-collection.php:493
|
126 |
msgid "Source"
|
127 |
msgstr "Джерело"
|
128 |
|
129 |
-
#:
|
130 |
-
#:
|
131 |
msgid "Tags"
|
132 |
-
msgstr "
|
133 |
|
134 |
-
#:
|
135 |
-
|
136 |
-
|
137 |
-
msgstr "Видна?"
|
138 |
|
139 |
-
#:
|
140 |
msgid "optional"
|
141 |
-
msgstr "
|
142 |
|
143 |
-
#:
|
144 |
msgid "comma separated"
|
145 |
-
msgstr "
|
146 |
|
147 |
-
#:
|
148 |
-
#:
|
149 |
-
msgid "
|
150 |
-
msgstr "
|
151 |
|
152 |
-
#:
|
153 |
-
|
154 |
-
|
155 |
-
msgstr "Видимість обраних цитат змінено на '%s'"
|
156 |
|
157 |
-
#:
|
158 |
-
msgid "
|
159 |
-
msgstr "
|
160 |
|
161 |
-
#:
|
162 |
-
msgid "
|
163 |
-
msgstr "
|
164 |
|
165 |
-
#:
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
|
|
171 |
|
172 |
-
#:
|
173 |
-
|
174 |
-
|
175 |
-
msgid "Make visible"
|
176 |
-
msgstr "Показувати"
|
177 |
|
178 |
-
#:
|
179 |
-
#:
|
180 |
-
#:
|
181 |
-
msgid "
|
182 |
-
msgstr "
|
183 |
|
184 |
-
#:
|
185 |
-
|
186 |
-
|
|
|
|
|
|
|
187 |
|
188 |
-
#:
|
189 |
-
msgid "
|
190 |
-
msgstr "
|
191 |
|
192 |
-
#:
|
193 |
#, php-format
|
194 |
-
msgid "
|
195 |
-
msgid_plural "
|
196 |
-
msgstr[0] "
|
197 |
-
msgstr[1] "
|
198 |
-
|
199 |
-
#:
|
200 |
-
#:
|
201 |
-
msgid "
|
202 |
-
msgstr "
|
203 |
-
|
204 |
-
#: ../quotes-collection.php:473
|
205 |
-
msgid "Sort by: "
|
206 |
-
msgstr "Сортувати:"
|
207 |
-
|
208 |
-
#: ../quotes-collection.php:475
|
209 |
-
#: ../quotes-collection.php:476
|
210 |
-
msgid "Quote"
|
211 |
-
msgstr "Цитата"
|
212 |
|
213 |
-
#:
|
214 |
-
|
215 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
|
217 |
-
#:
|
218 |
-
msgid "
|
219 |
-
msgstr "
|
220 |
|
221 |
-
#:
|
222 |
-
|
223 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
|
225 |
-
#:
|
226 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
msgstr "Так"
|
228 |
|
229 |
-
#:
|
230 |
-
|
231 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
|
233 |
-
#:
|
234 |
-
msgid "
|
235 |
-
msgstr "
|
236 |
|
237 |
-
|
238 |
-
|
|
|
239 |
|
|
|
|
|
|
1 |
+
# Quotes Collection plugin for WordPress: Localization template.
|
2 |
+
# Copyright (C) 2007-2015 Srini G
|
3 |
+
# This file is distributed under the same license as the Quotes Collection package.
|
4 |
+
# Srini G <s@srinig.com>, 2015.
|
5 |
+
#
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
+
"Project-Id-Version: Quotes Collection 2.0\n"
|
9 |
+
"Report-Msgid-Bugs-To: s@srinig.com\n"
|
10 |
+
"POT-Creation-Date: 2015-04-14 12:23+0530\n"
|
11 |
+
"PO-Revision-Date: 2015-04-17 14:18+0200\n"
|
12 |
+
"Last-Translator: Slavik Shchupak <diequeeq@gmail.com>\n"
|
13 |
+
"Language-Team: Ukrainian <diequeeq@gmail.com>\n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
|
|
|
|
|
|
19 |
|
20 |
+
#: inc/class-quotes-collection-widget.php:17
|
21 |
+
msgctxt "widget name"
|
22 |
+
msgid "Random Quote"
|
23 |
+
msgstr "Random Quote"
|
24 |
+
|
25 |
+
#: inc/class-quotes-collection-widget.php:18
|
26 |
+
msgctxt "widget description"
|
27 |
+
msgid "Random quote from your quotes collection"
|
28 |
+
msgstr "Випадкова цитата з вашої колекції"
|
29 |
+
|
30 |
+
#: inc/class-quotes-collection-widget.php:41
|
31 |
+
#: inc/class-quotes-collection-widget.php:83
|
32 |
+
#: inc/class-quotes-collection-widget.php:201
|
33 |
msgid "Random Quote"
|
34 |
+
msgstr "Random Quote"
|
35 |
|
36 |
+
#: inc/class-quotes-collection-widget.php:114
|
37 |
msgid "Title"
|
38 |
msgstr "Заголовок"
|
39 |
|
40 |
+
#: inc/class-quotes-collection-widget.php:120
|
41 |
msgid "Show author?"
|
42 |
+
msgstr "Показати автора?"
|
43 |
|
44 |
+
#: inc/class-quotes-collection-widget.php:125
|
45 |
msgid "Show source?"
|
46 |
+
msgstr "Показати джерело?"
|
47 |
|
48 |
+
#: inc/class-quotes-collection-widget.php:130
|
49 |
+
msgid "Refresh feature"
|
50 |
+
msgstr "Оновлення з використанням Ajax"
|
51 |
|
52 |
+
#: inc/class-quotes-collection-widget.php:133
|
53 |
+
msgid "Advanced options"
|
54 |
+
msgstr "Додаткові налаштування"
|
55 |
|
56 |
+
#: inc/class-quotes-collection-widget.php:138
|
57 |
+
msgid "Random refresh"
|
58 |
+
msgstr "Оновлення у випадковому порядку"
|
59 |
|
60 |
+
#: inc/class-quotes-collection-widget.php:139
|
61 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
62 |
+
msgstr "Зніміть галочку, щоб показувати у порядку додавання (останні першими)"
|
63 |
|
64 |
+
#: inc/class-quotes-collection-widget.php:144
|
65 |
+
msgid "Auto refresh"
|
66 |
+
msgstr "Автоматичне оновлення"
|
|
|
67 |
|
68 |
+
#: inc/class-quotes-collection-widget.php:146
|
69 |
+
#, php-format
|
70 |
+
msgid "every %s sec"
|
71 |
+
msgstr "кожні %s сек"
|
|
|
72 |
|
73 |
+
#: inc/class-quotes-collection-widget.php:151
|
74 |
+
msgid "Tags filter"
|
75 |
+
msgstr "Фільтр по тегам"
|
76 |
|
77 |
+
#: inc/class-quotes-collection-widget.php:153
|
78 |
+
msgid "Comma separated"
|
79 |
+
msgstr "Відділити комами"
|
80 |
|
81 |
+
#: inc/class-quotes-collection-widget.php:157
|
82 |
+
msgid "Character limit"
|
83 |
+
msgstr "Ліміт символів"
|
84 |
|
85 |
+
#: inc/class-quotes-collection-widget.php:189
|
86 |
+
msgid "none"
|
87 |
+
msgstr "без обмежень"
|
88 |
|
89 |
+
#: inc/class-quotes-collection.php:82
|
90 |
+
msgid "Loading..."
|
91 |
+
msgstr "завантаження..."
|
92 |
|
93 |
+
#: inc/class-quotes-collection.php:83
|
94 |
+
msgid "Error getting quote"
|
95 |
+
msgstr "Помилка отримання цитати"
|
96 |
+
|
97 |
+
#: inc/class-quotes-collection.php:104
|
98 |
+
msgid "Next quote »"
|
99 |
+
msgstr "Наступна цитата »"
|
100 |
+
|
101 |
+
#: inc/class-quotes-collection-admin.php:73
|
102 |
+
#: inc/class-quotes-collection-admin.php:241
|
103 |
+
msgctxt "heading"
|
104 |
+
msgid "Add New Quote"
|
105 |
+
msgstr "Додавання нової цитати"
|
106 |
+
|
107 |
+
#: inc/class-quotes-collection-admin.php:74
|
108 |
+
#: inc/class-quotes-collection-admin.php:389
|
109 |
+
msgctxt "submenu item text"
|
110 |
+
msgid "Add New"
|
111 |
+
msgstr "Додати нову"
|
112 |
+
|
113 |
+
#: inc/class-quotes-collection-admin.php:84
|
114 |
+
#: inc/class-quotes-collection-admin.php:274
|
115 |
+
msgctxt "heading"
|
116 |
+
msgid "Import Quotes"
|
117 |
+
msgstr "Імпортувати цитати"
|
118 |
+
|
119 |
+
#: inc/class-quotes-collection-admin.php:85
|
120 |
+
#: inc/class-quotes-collection-admin.php:395
|
121 |
+
msgctxt "submenu item text"
|
122 |
+
msgid "Import"
|
123 |
+
msgstr "Імпорт"
|
124 |
+
|
125 |
+
#: inc/class-quotes-collection-admin.php:95
|
126 |
+
#: inc/class-quotes-collection-admin.php:302
|
127 |
+
msgctxt "heading"
|
128 |
+
msgid "Export Quotes"
|
129 |
+
msgstr "Експортувати цитати"
|
130 |
+
|
131 |
+
#: inc/class-quotes-collection-admin.php:96
|
132 |
+
#: inc/class-quotes-collection-admin.php:398
|
133 |
+
msgctxt "submenu item text"
|
134 |
+
msgid "Export"
|
135 |
+
msgstr "Експорт"
|
136 |
+
|
137 |
+
#: inc/class-quotes-collection-admin.php:106
|
138 |
+
#: inc/class-quotes-collection-admin.php:362
|
139 |
+
msgctxt "heading"
|
140 |
+
msgid "Quotes Collection Options"
|
141 |
+
msgstr "Налаштування колекції цитат"
|
142 |
+
|
143 |
+
#: inc/class-quotes-collection-admin.php:107
|
144 |
+
#: inc/class-quotes-collection-admin.php:404
|
145 |
+
msgctxt "submenu item text"
|
146 |
+
msgid "Options"
|
147 |
+
msgstr "Налаштування"
|
148 |
+
|
149 |
+
#: inc/class-quotes-collection-admin.php:116
|
150 |
+
msgctxt "submenu item text"
|
151 |
+
msgid "All Quotes"
|
152 |
+
msgstr "Усі цитати"
|
153 |
+
|
154 |
+
#: inc/class-quotes-collection-admin.php:150
|
155 |
+
#: inc/class-quotes-collection-admin.php:474
|
156 |
+
#: inc/class-quotes-collection-admin.php:575
|
157 |
+
msgctxt "submit button text"
|
158 |
+
msgid "Save Changes"
|
159 |
+
msgstr "Зберегти зміни"
|
160 |
+
|
161 |
+
#: inc/class-quotes-collection-admin.php:157
|
162 |
+
#: inc/class-quotes-collection-admin.php:385
|
163 |
+
msgctxt "submenu item text"
|
164 |
+
msgid "Edit Quote"
|
165 |
+
msgstr "Редагувати цитату"
|
166 |
|
167 |
+
#: inc/class-quotes-collection-admin.php:188
|
168 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
169 |
+
msgid "All Quotes"
|
170 |
+
msgstr "Усі цитати"
|
171 |
|
172 |
+
#: inc/class-quotes-collection-admin.php:193
|
173 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
174 |
+
msgid "Public"
|
175 |
+
msgstr "Публічні"
|
176 |
|
177 |
+
#: inc/class-quotes-collection-admin.php:198
|
178 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
179 |
+
msgid "Private"
|
180 |
+
msgstr "Приватні"
|
181 |
+
|
182 |
+
#: inc/class-quotes-collection-admin.php:204
|
183 |
+
#, php-format
|
184 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
185 |
+
msgid "Search results for \"%s\""
|
186 |
+
msgstr "Результати пошуку \"%s\""
|
187 |
+
|
188 |
+
#: inc/class-quotes-collection-admin.php:220
|
189 |
+
msgid "Search"
|
190 |
+
msgstr "Пошук"
|
191 |
+
|
192 |
+
#: inc/class-quotes-collection-admin.php:255
|
193 |
+
msgid ""
|
194 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
195 |
+
"json) file to upload, then click the 'Import' button."
|
196 |
+
msgstr "Оберіть <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
197 |
+
"json) файл для завантаження і потім натисніть кнопку 'Імпорт'."
|
198 |
+
|
199 |
+
#: inc/class-quotes-collection-admin.php:260
|
200 |
+
msgid "Choose a file to upload:"
|
201 |
+
msgstr "Оберіть файл для завантаження"
|
202 |
+
|
203 |
+
#: inc/class-quotes-collection-admin.php:265
|
204 |
+
#: inc/class-quotes-collection-admin.php:588
|
205 |
+
msgctxt "submit button text"
|
206 |
+
msgid "Import"
|
207 |
+
msgstr "Імпорт"
|
208 |
+
|
209 |
+
#: inc/class-quotes-collection-admin.php:287
|
210 |
+
msgid ""
|
211 |
+
"When you click the button below, a <abbr title=\"JavaScript Object Notation"
|
212 |
+
"\">JSON</abbr> file with the entire collection of quotes will be created, "
|
213 |
+
"that you can save to your computer."
|
214 |
+
msgstr "Після натискання на кнопку нижчу, буде створено <abbr title=\"JavaScript Object Notation"
|
215 |
+
"\">JSON</abbr> файл з усією колекцією цитат, "
|
216 |
+
"який можна зберегти на ваш комп'ютер."
|
217 |
+
|
218 |
+
#: inc/class-quotes-collection-admin.php:292
|
219 |
+
#: inc/class-quotes-collection-admin.php:594
|
220 |
+
msgctxt "submit button text"
|
221 |
+
msgid "Export"
|
222 |
+
msgstr "Експорт"
|
223 |
+
|
224 |
+
#: inc/class-quotes-collection-admin.php:339
|
225 |
+
msgid "Refresh link text"
|
226 |
+
msgstr "Оновити"
|
227 |
+
|
228 |
+
#: inc/class-quotes-collection-admin.php:343
|
229 |
+
msgid "Maximum number of iterations for auto-refresh"
|
230 |
+
msgstr "Максимальна кількість спроб автоматичного оновлення"
|
231 |
+
|
232 |
+
#: inc/class-quotes-collection-admin.php:347
|
233 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
234 |
+
msgstr "Завантажувати першу випадкову цитату?"
|
235 |
+
|
236 |
+
#: inc/class-quotes-collection-admin.php:350
|
237 |
+
msgid ""
|
238 |
+
"Check this if your site is cached and the 'random quote' widget always shows "
|
239 |
+
"a particular quote as the initial quote."
|
240 |
+
msgstr "Натисніть, якщо сайт використовує кеш і віджет 'random quote' завжди "
|
241 |
+
"відображає ту саму цитату як початковий вибір."
|
242 |
+
|
243 |
+
#: inc/class-quotes-collection-admin.php:353
|
244 |
+
#: inc/class-quotes-collection-admin.php:600
|
245 |
+
msgctxt "submit button text"
|
246 |
+
msgid "Update Options"
|
247 |
+
msgstr "Налаштування оновлення"
|
248 |
+
|
249 |
+
#: inc/class-quotes-collection-admin.php:381
|
250 |
+
msgid "All Quotes"
|
251 |
+
msgstr "Усі цитати"
|
252 |
+
|
253 |
+
#: inc/class-quotes-collection-admin.php:457
|
254 |
+
#: inc/class-quotes-collection-admin.php:560
|
255 |
+
msgctxt "submit button text"
|
256 |
+
msgid "Add Quote"
|
257 |
+
msgstr "Додати цитату"
|
258 |
+
|
259 |
+
#: inc/class-quotes-collection-admin.php:486
|
260 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
261 |
+
msgid "Quote"
|
262 |
msgstr "Цитата"
|
263 |
|
264 |
+
#: inc/class-quotes-collection-admin.php:487
|
265 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
266 |
msgid "Author"
|
267 |
msgstr "Автор"
|
268 |
|
269 |
+
#: inc/class-quotes-collection-admin.php:488
|
270 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
271 |
msgid "Source"
|
272 |
msgstr "Джерело"
|
273 |
|
274 |
+
#: inc/class-quotes-collection-admin.php:489
|
275 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
276 |
msgid "Tags"
|
277 |
+
msgstr "Теги"
|
278 |
|
279 |
+
#: inc/class-quotes-collection-admin.php:490
|
280 |
+
msgid "Public?"
|
281 |
+
msgstr "Публічна?"
|
|
|
282 |
|
283 |
+
#: inc/class-quotes-collection-admin.php:491
|
284 |
msgid "optional"
|
285 |
+
msgstr "опціонально"
|
286 |
|
287 |
+
#: inc/class-quotes-collection-admin.php:492
|
288 |
msgid "comma separated"
|
289 |
+
msgstr "розділені комами"
|
290 |
|
291 |
+
#: inc/class-quotes-collection-admin.php:564
|
292 |
+
#: inc/class-quotes-collection-admin.php:579
|
293 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
294 |
+
msgstr "Поле цитати не може бути порожнім. Будь-ласка, заповніть поле цитати."
|
295 |
|
296 |
+
#: inc/class-quotes-collection-admin.php:567
|
297 |
+
msgid "Quote added"
|
298 |
+
msgstr "Цитату додано"
|
|
|
299 |
|
300 |
+
#: inc/class-quotes-collection-admin.php:570
|
301 |
+
msgid "Error adding quote"
|
302 |
+
msgstr "Помилка додавання цитати"
|
303 |
|
304 |
+
#: inc/class-quotes-collection-admin.php:582
|
305 |
+
msgid "Changes saved"
|
306 |
+
msgstr "Зміни збережено"
|
307 |
|
308 |
+
#: inc/class-quotes-collection-admin.php:584
|
309 |
+
msgid "Error updating quote"
|
310 |
+
msgstr "Помилка оновлення цитати"
|
311 |
+
|
312 |
+
#: inc/class-quotes-collection-admin.php:614
|
313 |
+
msgid "Quote deleted"
|
314 |
+
msgstr "Цитату видалено"
|
315 |
|
316 |
+
#: inc/class-quotes-collection-admin.php:616
|
317 |
+
msgid "Error deleting quote"
|
318 |
+
msgstr "Помилка видалення цитати"
|
|
|
|
|
319 |
|
320 |
+
#: inc/class-quotes-collection-admin.php:621
|
321 |
+
#: inc/class-quotes-collection-admin.php:635
|
322 |
+
#: inc/class-quotes-collection-admin.php:648
|
323 |
+
msgid "No item selected"
|
324 |
+
msgstr "Нічого не обрано"
|
325 |
|
326 |
+
#: inc/class-quotes-collection-admin.php:625
|
327 |
+
#, php-format
|
328 |
+
msgid "One quote deleted"
|
329 |
+
msgid_plural "%d quotes deleted"
|
330 |
+
msgstr[0] "%d цитата видалена"
|
331 |
+
msgstr[1] "%d цитат видалено"
|
332 |
|
333 |
+
#: inc/class-quotes-collection-admin.php:629
|
334 |
+
msgid "Error deleting quotes"
|
335 |
+
msgstr "Помилка видалення цитат"
|
336 |
|
337 |
+
#: inc/class-quotes-collection-admin.php:639
|
338 |
#, php-format
|
339 |
+
msgid "Quote made public"
|
340 |
+
msgid_plural "%d quotes made public"
|
341 |
+
msgstr[0] "%d цитата стала публічною"
|
342 |
+
msgstr[1] "%d цитат стали публічними"
|
343 |
+
|
344 |
+
#: inc/class-quotes-collection-admin.php:643
|
345 |
+
#: inc/class-quotes-collection-admin.php:656
|
346 |
+
msgid "Error. Privacy status not changed."
|
347 |
+
msgstr "Помилка. Статус публічності не змінено"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
|
349 |
+
#: inc/class-quotes-collection-admin.php:652
|
350 |
+
#, php-format
|
351 |
+
msgid "Quote kept private"
|
352 |
+
msgid_plural "%d quotes kept private"
|
353 |
+
msgstr[0] "%d цитата стала приватною"
|
354 |
+
msgstr[1] "%d цитат стали приватними"
|
355 |
+
|
356 |
+
#: inc/class-quotes-collection-admin.php:668
|
357 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
358 |
+
msgstr "Будь-ласка, оберіть файл для завантаження і натисніть кнопку 'Імпорт'"
|
359 |
+
|
360 |
+
#: inc/class-quotes-collection-admin.php:674
|
361 |
+
msgid "Invalid file format"
|
362 |
+
msgstr "Формат файлу некоректний"
|
363 |
+
|
364 |
+
#: inc/class-quotes-collection-admin.php:680
|
365 |
+
msgid "The file you uploaded is too big. Import failed."
|
366 |
+
msgstr "Файл завеликий. Імпорт не виконано."
|
367 |
+
|
368 |
+
#: inc/class-quotes-collection-admin.php:688
|
369 |
+
msgid "The file uploaded was empty"
|
370 |
+
msgstr "Файл імпорту пустий"
|
371 |
|
372 |
+
#: inc/class-quotes-collection-admin.php:693
|
373 |
+
msgid "Error in JSON file"
|
374 |
+
msgstr "Помилка у JSON файлі"
|
375 |
|
376 |
+
#: inc/class-quotes-collection-admin.php:701
|
377 |
+
#: inc/class-quotes-collection-admin.php:715
|
378 |
+
msgid "Import failed. Please try again."
|
379 |
+
msgstr "Імпорт не виконано. Спробуйте ще раз."
|
380 |
+
|
381 |
+
#: inc/class-quotes-collection-admin.php:704
|
382 |
+
msgid "No quotes imported"
|
383 |
+
msgstr "Жодних цитат не імпортовано"
|
384 |
+
|
385 |
+
#: inc/class-quotes-collection-admin.php:708
|
386 |
+
#, php-format
|
387 |
+
msgid "One quote imported"
|
388 |
+
msgid_plural "%d quotes imported"
|
389 |
+
msgstr[0] "%d цитату імпортовано"
|
390 |
+
msgstr[1] "%d цитат імпортовано"
|
391 |
+
|
392 |
+
#: inc/class-quotes-collection-admin.php:728
|
393 |
+
msgid "Nothing to export"
|
394 |
+
msgstr "Нічого експортувати"
|
395 |
+
|
396 |
+
#: inc/class-quotes-collection-admin.php:767
|
397 |
+
msgid "No change in values. Options not updated."
|
398 |
+
msgstr "Немає змін у значеннях. Опції не оновлено."
|
399 |
+
|
400 |
+
#: inc/class-quotes-collection-admin.php:772
|
401 |
+
msgid "Options updated"
|
402 |
+
msgstr "Опції оновлено"
|
403 |
+
|
404 |
+
#: inc/class-quotes-collection-admin.php:775
|
405 |
+
msgid "Options not updated"
|
406 |
+
msgstr "Опції не оновлено"
|
407 |
+
|
408 |
+
#: inc/class-quotes-collection-admin.php:791
|
409 |
+
msgid "Maximum items"
|
410 |
+
msgstr "Максимум елементів"
|
411 |
+
|
412 |
+
#: inc/class-quotes-collection-admin.php:821
|
413 |
+
msgctxt "confirmation dialog title"
|
414 |
+
msgid "Delete?"
|
415 |
+
msgstr "Видалити?"
|
416 |
+
|
417 |
+
#: inc/class-quotes-collection-admin.php:822
|
418 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
419 |
+
msgid "Are you sure you want to delete this quote?"
|
420 |
+
msgstr "Ви впевнені, що бажаєте видалити цитату?"
|
421 |
|
422 |
+
#: inc/class-quotes-collection-admin.php:823
|
423 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
424 |
+
msgid "Are you sure you want to delete these quotes?"
|
425 |
+
msgstr "Ви впевнені, що бажаєте видалити ці цитати?"
|
426 |
+
|
427 |
+
#: inc/class-quotes-collection-admin.php:824
|
428 |
+
msgctxt "confirmation dialog button text"
|
429 |
+
msgid "Yes"
|
430 |
msgstr "Так"
|
431 |
|
432 |
+
#: inc/class-quotes-collection-admin.php:825
|
433 |
+
msgctxt "confirmation dialog button text"
|
434 |
+
msgid "No"
|
435 |
+
msgstr "Ні"
|
436 |
+
|
437 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
438 |
+
msgid "Go to the first page"
|
439 |
+
msgstr "До першої сторінки"
|
440 |
+
|
441 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
442 |
+
msgid "Go to the previous page"
|
443 |
+
msgstr "До попередньої сторінки"
|
444 |
+
|
445 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
446 |
+
msgid "Go to the next page"
|
447 |
+
msgstr "До наступної сторінки"
|
448 |
+
|
449 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
450 |
+
msgid "Go to the last page"
|
451 |
+
msgstr "До останньої сторінки"
|
452 |
+
|
453 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
454 |
+
msgid "Goto page:"
|
455 |
+
msgstr "Перейти до сторінки:"
|
456 |
+
|
457 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
458 |
+
msgid "Edit"
|
459 |
+
msgstr "Редагувати"
|
460 |
+
|
461 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
462 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
463 |
+
msgid "Delete"
|
464 |
+
msgstr "Видалити"
|
465 |
+
|
466 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
467 |
+
msgctxt "date and time format"
|
468 |
+
msgid "Y/m/d h:i:s A"
|
469 |
+
msgstr "Y/m/d h:i:s A"
|
470 |
+
|
471 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
472 |
+
msgctxt "date format"
|
473 |
+
msgid "Y/m/d"
|
474 |
+
msgstr "Y/m/d"
|
475 |
+
|
476 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
477 |
+
msgid "Private"
|
478 |
+
msgstr "Приватні"
|
479 |
+
|
480 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
481 |
+
msgid "Public"
|
482 |
+
msgstr "Публічні"
|
483 |
+
|
484 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
485 |
+
msgid "ID"
|
486 |
+
msgstr "ID"
|
487 |
|
488 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
489 |
+
msgid "Date"
|
490 |
+
msgstr "Дата"
|
491 |
|
492 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
493 |
+
msgid "Make public"
|
494 |
+
msgstr "Зробити публічною"
|
495 |
|
496 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
497 |
+
msgid "Keep private"
|
498 |
+
msgstr "Зробити приватною"
|
languages/quotes-collection.pot
CHANGED
@@ -1,301 +1,494 @@
|
|
1 |
# Quotes Collection plugin for WordPress: Localization template.
|
2 |
-
# Copyright (C)
|
3 |
# This file is distributed under the same license as the Quotes Collection package.
|
4 |
-
# Srini G <srinig.com
|
5 |
#
|
6 |
-
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
-
"Project-Id-Version: Quotes Collection
|
10 |
-
"Report-Msgid-Bugs-To:
|
11 |
-
"POT-Creation-Date:
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
"MIME-Version: 1.0\n"
|
16 |
"Content-Type: text/plain; charset=UTF-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
-
"Plural-Forms: nplurals=
|
19 |
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
-
#: quotes-collection-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: quotes-collection-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
msgid "Loading..."
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: quotes-collection
|
32 |
msgid "Error getting quote"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: quotes-collection.php:
|
36 |
-
msgid "
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: quotes-collection.php:
|
40 |
-
|
|
|
|
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: quotes-collection.php:
|
44 |
-
|
|
|
|
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: quotes-collection.php:
|
48 |
-
|
|
|
|
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: quotes-collection.php:
|
52 |
-
|
|
|
|
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: quotes-collection-admin.php:
|
56 |
-
|
|
|
|
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: quotes-collection-admin.php:
|
60 |
-
#: quotes-collection-admin.php:
|
61 |
-
|
|
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: quotes-collection-admin.php:
|
65 |
-
#: quotes-collection-admin.php:
|
66 |
-
|
67 |
-
msgid "
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: quotes-collection-admin.php:
|
71 |
-
|
|
|
|
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: quotes-collection-admin.php:
|
75 |
-
|
|
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: quotes-collection-admin.php:
|
79 |
-
|
|
|
|
|
|
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: quotes-collection-admin.php:
|
83 |
-
|
|
|
|
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: quotes-collection-admin.php:
|
87 |
-
|
|
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: quotes-collection-admin.php:
|
91 |
-
|
92 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: quotes-collection-admin.php:
|
96 |
-
|
97 |
-
msgid "Save changes"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: quotes-collection-admin.php:
|
101 |
-
msgid "
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: quotes-collection-admin.php:
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: quotes-collection-admin.php:
|
110 |
-
#: quotes-collection-admin.php:
|
111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
msgid "Author"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: quotes-collection-admin.php:
|
116 |
-
#: quotes-collection-admin.php:
|
117 |
-
#: quotes-collection-admin.php:388
|
118 |
msgid "Source"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: quotes-collection-admin.php:
|
122 |
-
#: quotes-collection-admin.php:
|
123 |
msgid "Tags"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: quotes-collection-admin.php:
|
127 |
-
#: quotes-collection-admin.php:391
|
128 |
msgid "Public?"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: quotes-collection-admin.php:
|
132 |
msgid "optional"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: quotes-collection-admin.php:
|
136 |
msgid "comma separated"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: quotes-collection-admin.php:
|
140 |
-
#: quotes-collection-admin.php:
|
141 |
-
msgid "
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: quotes-collection-admin.php:
|
145 |
-
msgid "
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: quotes-collection-admin.php:
|
149 |
-
msgid "
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: quotes-collection-admin.php:
|
153 |
-
msgid "
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: quotes-collection-admin.php:
|
157 |
-
msgid "
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: quotes-collection-admin.php:
|
161 |
-
|
162 |
-
#: quotes-collection-admin.php:412
|
163 |
-
msgid "Add new quote"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: quotes-collection-admin.php:
|
167 |
-
|
168 |
-
msgid "No quotes in the database"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: quotes-collection-admin.php:
|
172 |
-
|
|
|
|
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: quotes-collection-admin.php:
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: quotes-collection-admin.php:
|
180 |
-
|
181 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: quotes-collection-admin.php:
|
185 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: quotes-collection-admin.php:
|
189 |
-
msgid "
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: quotes-collection-admin.php:
|
193 |
-
msgid "
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: quotes-collection-admin.php:
|
197 |
-
msgid "
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: quotes-collection-admin.php:
|
201 |
-
msgid "
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: quotes-collection-admin.php:
|
205 |
-
|
|
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: quotes-collection-admin.php:
|
209 |
-
msgid "
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: quotes-collection-admin.php:
|
213 |
-
|
214 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: quotes-collection-admin.php:
|
218 |
-
msgid "
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: quotes-collection-admin.php:
|
222 |
-
msgid "
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: quotes-collection-admin.php:
|
226 |
-
msgid "
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: quotes-collection-admin.php:
|
230 |
-
msgid "
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: quotes-collection-admin.php:
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
msgid_plural "%d quotes"
|
238 |
-
msgstr[0] ""
|
239 |
-
msgstr[1] ""
|
240 |
|
241 |
-
#: quotes-collection-
|
242 |
-
|
243 |
-
msgid "
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: quotes-collection-
|
247 |
-
|
|
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: quotes-collection-
|
251 |
-
|
|
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: quotes-collection-
|
255 |
-
|
|
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: quotes-collection-
|
259 |
-
msgid "
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: quotes-collection-
|
263 |
-
msgid "
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: quotes-collection-
|
267 |
-
msgid "
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: quotes-collection-
|
271 |
-
msgid "
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: quotes-collection-
|
275 |
-
msgid "
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: quotes-collection-
|
279 |
-
msgid "
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: quotes-collection-
|
283 |
-
|
|
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: quotes-collection-
|
287 |
-
|
|
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: quotes-collection-
|
291 |
-
|
|
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: quotes-collection-
|
295 |
-
msgid "
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: quotes-collection-
|
299 |
-
msgid "
|
300 |
msgstr ""
|
301 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Quotes Collection plugin for WordPress: Localization template.
|
2 |
+
# Copyright (C) 2007-2015 Srini G
|
3 |
# This file is distributed under the same license as the Quotes Collection package.
|
4 |
+
# Srini G <s@srinig.com>, 2015.
|
5 |
#
|
|
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
+
"Project-Id-Version: Quotes Collection 2.0\n"
|
9 |
+
"Report-Msgid-Bugs-To: s@srinig.com\n"
|
10 |
+
"POT-Creation-Date: 2015-04-14 12:23+0530\n"
|
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
|
19 |
|
20 |
+
#: inc/class-quotes-collection-widget.php:17
|
21 |
+
msgctxt "widget name"
|
22 |
+
msgid "Random Quote"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: inc/class-quotes-collection-widget.php:18
|
26 |
+
msgctxt "widget description"
|
27 |
+
msgid "Random quote from your quotes collection"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: inc/class-quotes-collection-widget.php:41
|
31 |
+
#: inc/class-quotes-collection-widget.php:83
|
32 |
+
#: inc/class-quotes-collection-widget.php:201
|
33 |
+
msgid "Random Quote"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: inc/class-quotes-collection-widget.php:114
|
37 |
+
msgid "Title"
|
38 |
+
msgstr ""
|
39 |
|
40 |
+
#: inc/class-quotes-collection-widget.php:120
|
41 |
+
msgid "Show author?"
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: inc/class-quotes-collection-widget.php:125
|
45 |
+
msgid "Show source?"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: inc/class-quotes-collection-widget.php:130
|
49 |
+
msgid "Refresh feature"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: inc/class-quotes-collection-widget.php:133
|
53 |
+
msgid "Advanced options"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: inc/class-quotes-collection-widget.php:138
|
57 |
+
msgid "Random refresh"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: inc/class-quotes-collection-widget.php:139
|
61 |
+
msgid "Unchecking this will rotate quotes in the order added, latest first."
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: inc/class-quotes-collection-widget.php:144
|
65 |
+
msgid "Auto refresh"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: inc/class-quotes-collection-widget.php:146
|
69 |
+
#, php-format
|
70 |
+
msgid "every %s sec"
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: inc/class-quotes-collection-widget.php:151
|
74 |
+
msgid "Tags filter"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: inc/class-quotes-collection-widget.php:153
|
78 |
+
msgid "Comma separated"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: inc/class-quotes-collection-widget.php:157
|
82 |
+
msgid "Character limit"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: inc/class-quotes-collection-widget.php:189
|
86 |
+
msgid "none"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: inc/class-quotes-collection.php:82
|
90 |
msgid "Loading..."
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: inc/class-quotes-collection.php:83
|
94 |
msgid "Error getting quote"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: inc/class-quotes-collection.php:104
|
98 |
+
msgid "Next quote »"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: inc/class-quotes-collection-admin.php:73
|
102 |
+
#: inc/class-quotes-collection-admin.php:241
|
103 |
+
msgctxt "heading"
|
104 |
+
msgid "Add New Quote"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: inc/class-quotes-collection-admin.php:74
|
108 |
+
#: inc/class-quotes-collection-admin.php:389
|
109 |
+
msgctxt "submenu item text"
|
110 |
+
msgid "Add New"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: inc/class-quotes-collection-admin.php:84
|
114 |
+
#: inc/class-quotes-collection-admin.php:274
|
115 |
+
msgctxt "heading"
|
116 |
+
msgid "Import Quotes"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: inc/class-quotes-collection-admin.php:85
|
120 |
+
#: inc/class-quotes-collection-admin.php:395
|
121 |
+
msgctxt "submenu item text"
|
122 |
+
msgid "Import"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: inc/class-quotes-collection-admin.php:95
|
126 |
+
#: inc/class-quotes-collection-admin.php:302
|
127 |
+
msgctxt "heading"
|
128 |
+
msgid "Export Quotes"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: inc/class-quotes-collection-admin.php:96
|
132 |
+
#: inc/class-quotes-collection-admin.php:398
|
133 |
+
msgctxt "submenu item text"
|
134 |
+
msgid "Export"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: inc/class-quotes-collection-admin.php:106
|
138 |
+
#: inc/class-quotes-collection-admin.php:362
|
139 |
+
msgctxt "heading"
|
140 |
+
msgid "Quotes Collection Options"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: inc/class-quotes-collection-admin.php:107
|
144 |
+
#: inc/class-quotes-collection-admin.php:404
|
145 |
+
msgctxt "submenu item text"
|
146 |
+
msgid "Options"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: inc/class-quotes-collection-admin.php:116
|
150 |
+
msgctxt "submenu item text"
|
151 |
+
msgid "All Quotes"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: inc/class-quotes-collection-admin.php:150
|
155 |
+
#: inc/class-quotes-collection-admin.php:474
|
156 |
+
#: inc/class-quotes-collection-admin.php:575
|
157 |
+
msgctxt "submit button text"
|
158 |
+
msgid "Save Changes"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: inc/class-quotes-collection-admin.php:157
|
162 |
+
#: inc/class-quotes-collection-admin.php:385
|
163 |
+
msgctxt "submenu item text"
|
164 |
+
msgid "Edit Quote"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: inc/class-quotes-collection-admin.php:188
|
168 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
169 |
+
msgid "All Quotes"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: inc/class-quotes-collection-admin.php:193
|
173 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
174 |
+
msgid "Public"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: inc/class-quotes-collection-admin.php:198
|
178 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
179 |
+
msgid "Private"
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: inc/class-quotes-collection-admin.php:204
|
183 |
+
#, php-format
|
184 |
+
msgctxt "list meta, above the quotes list table in the main admin page"
|
185 |
+
msgid "Search results for \"%s\""
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: inc/class-quotes-collection-admin.php:220
|
189 |
+
msgid "Search"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: inc/class-quotes-collection-admin.php:255
|
193 |
+
msgid ""
|
194 |
+
"Browse and choose a <abbr title=\"JavaScript Object Notation\">JSON</abbr> (."
|
195 |
+
"json) file to upload, then click the 'Import' button."
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: inc/class-quotes-collection-admin.php:260
|
199 |
+
msgid "Choose a file to upload:"
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
+
#: inc/class-quotes-collection-admin.php:265
|
203 |
+
#: inc/class-quotes-collection-admin.php:588
|
204 |
+
msgctxt "submit button text"
|
205 |
+
msgid "Import"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: inc/class-quotes-collection-admin.php:287
|
209 |
+
msgid ""
|
210 |
+
"When you click the button below, a <abbr title=\"JavaScript Object Notation"
|
211 |
+
"\">JSON</abbr> file with the entire collection of quotes will be created, "
|
212 |
+
"that you can save to your computer."
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: inc/class-quotes-collection-admin.php:292
|
216 |
+
#: inc/class-quotes-collection-admin.php:594
|
217 |
+
msgctxt "submit button text"
|
218 |
+
msgid "Export"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: inc/class-quotes-collection-admin.php:339
|
222 |
+
msgid "Refresh link text"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: inc/class-quotes-collection-admin.php:343
|
226 |
+
msgid "Maximum number of iterations for auto-refresh"
|
|
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: inc/class-quotes-collection-admin.php:347
|
230 |
+
msgid "Dynamically fetch the first random quote in widget?"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: inc/class-quotes-collection-admin.php:350
|
234 |
+
msgid ""
|
235 |
+
"Check this if your site is cached and the 'random quote' widget always shows "
|
236 |
+
"a particular quote as the initial quote."
|
237 |
+
msgstr ""
|
238 |
+
|
239 |
+
#: inc/class-quotes-collection-admin.php:353
|
240 |
+
#: inc/class-quotes-collection-admin.php:600
|
241 |
+
msgctxt "submit button text"
|
242 |
+
msgid "Update Options"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: inc/class-quotes-collection-admin.php:381
|
246 |
+
msgid "All Quotes"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: inc/class-quotes-collection-admin.php:457
|
250 |
+
#: inc/class-quotes-collection-admin.php:560
|
251 |
+
msgctxt "submit button text"
|
252 |
+
msgid "Add Quote"
|
253 |
+
msgstr ""
|
254 |
+
|
255 |
+
#: inc/class-quotes-collection-admin.php:486
|
256 |
+
#: inc/class-quotes-collection-admin-list-table.php:126
|
257 |
+
msgid "Quote"
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: inc/class-quotes-collection-admin.php:487
|
261 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
262 |
msgid "Author"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: inc/class-quotes-collection-admin.php:488
|
266 |
+
#: inc/class-quotes-collection-admin-list-table.php:127
|
|
|
267 |
msgid "Source"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: inc/class-quotes-collection-admin.php:489
|
271 |
+
#: inc/class-quotes-collection-admin-list-table.php:128
|
272 |
msgid "Tags"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: inc/class-quotes-collection-admin.php:490
|
|
|
276 |
msgid "Public?"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: inc/class-quotes-collection-admin.php:491
|
280 |
msgid "optional"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: inc/class-quotes-collection-admin.php:492
|
284 |
msgid "comma separated"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: inc/class-quotes-collection-admin.php:564
|
288 |
+
#: inc/class-quotes-collection-admin.php:579
|
289 |
+
msgid "The quote field cannot be blank. Fill up the quote field and try again."
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: inc/class-quotes-collection-admin.php:567
|
293 |
+
msgid "Quote added"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: inc/class-quotes-collection-admin.php:570
|
297 |
+
msgid "Error adding quote"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: inc/class-quotes-collection-admin.php:582
|
301 |
+
msgid "Changes saved"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: inc/class-quotes-collection-admin.php:584
|
305 |
+
msgid "Error updating quote"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: inc/class-quotes-collection-admin.php:614
|
309 |
+
msgid "Quote deleted"
|
|
|
|
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: inc/class-quotes-collection-admin.php:616
|
313 |
+
msgid "Error deleting quote"
|
|
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: inc/class-quotes-collection-admin.php:621
|
317 |
+
#: inc/class-quotes-collection-admin.php:635
|
318 |
+
#: inc/class-quotes-collection-admin.php:648
|
319 |
+
msgid "No item selected"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: inc/class-quotes-collection-admin.php:625
|
323 |
+
#, php-format
|
324 |
+
msgid "One quote deleted"
|
325 |
+
msgid_plural "%d quotes deleted"
|
326 |
+
msgstr[0] ""
|
327 |
+
msgstr[1] ""
|
328 |
+
|
329 |
+
#: inc/class-quotes-collection-admin.php:629
|
330 |
+
msgid "Error deleting quotes"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: inc/class-quotes-collection-admin.php:639
|
334 |
+
#, php-format
|
335 |
+
msgid "Quote made public"
|
336 |
+
msgid_plural "%d quotes made public"
|
337 |
+
msgstr[0] ""
|
338 |
+
msgstr[1] ""
|
339 |
+
|
340 |
+
#: inc/class-quotes-collection-admin.php:643
|
341 |
+
#: inc/class-quotes-collection-admin.php:656
|
342 |
+
msgid "Error. Privacy status not changed."
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: inc/class-quotes-collection-admin.php:652
|
346 |
+
#, php-format
|
347 |
+
msgid "Quote kept private"
|
348 |
+
msgid_plural "%d quotes kept private"
|
349 |
+
msgstr[0] ""
|
350 |
+
msgstr[1] ""
|
351 |
+
|
352 |
+
#: inc/class-quotes-collection-admin.php:668
|
353 |
+
msgid "Please choose a file to upload before you hit the 'Import' button"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: inc/class-quotes-collection-admin.php:674
|
357 |
+
msgid "Invalid file format"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: inc/class-quotes-collection-admin.php:680
|
361 |
+
msgid "The file you uploaded is too big. Import failed."
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: inc/class-quotes-collection-admin.php:688
|
365 |
+
msgid "The file uploaded was empty"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: inc/class-quotes-collection-admin.php:693
|
369 |
+
msgid "Error in JSON file"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: inc/class-quotes-collection-admin.php:701
|
373 |
+
#: inc/class-quotes-collection-admin.php:715
|
374 |
+
msgid "Import failed. Please try again."
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: inc/class-quotes-collection-admin.php:704
|
378 |
+
msgid "No quotes imported"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: inc/class-quotes-collection-admin.php:708
|
382 |
+
#, php-format
|
383 |
+
msgid "One quote imported"
|
384 |
+
msgid_plural "%d quotes imported"
|
385 |
+
msgstr[0] ""
|
386 |
+
msgstr[1] ""
|
387 |
+
|
388 |
+
#: inc/class-quotes-collection-admin.php:728
|
389 |
+
msgid "Nothing to export"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: inc/class-quotes-collection-admin.php:767
|
393 |
+
msgid "No change in values. Options not updated."
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: inc/class-quotes-collection-admin.php:772
|
397 |
+
msgid "Options updated"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: inc/class-quotes-collection-admin.php:775
|
401 |
+
msgid "Options not updated"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: inc/class-quotes-collection-admin.php:791
|
405 |
+
msgid "Maximum items"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: inc/class-quotes-collection-admin.php:821
|
409 |
+
msgctxt "confirmation dialog title"
|
410 |
+
msgid "Delete?"
|
411 |
+
msgstr ""
|
|
|
|
|
|
|
412 |
|
413 |
+
#: inc/class-quotes-collection-admin.php:822
|
414 |
+
msgctxt "confirmation dialog text for deleting a single quote"
|
415 |
+
msgid "Are you sure you want to delete this quote?"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: inc/class-quotes-collection-admin.php:823
|
419 |
+
msgctxt "confirmation dialog text for deleting multiple quotes"
|
420 |
+
msgid "Are you sure you want to delete these quotes?"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: inc/class-quotes-collection-admin.php:824
|
424 |
+
msgctxt "confirmation dialog button text"
|
425 |
+
msgid "Yes"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: inc/class-quotes-collection-admin.php:825
|
429 |
+
msgctxt "confirmation dialog button text"
|
430 |
+
msgid "No"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: inc/class-quotes-collection-shortcode.php:192
|
434 |
+
msgid "Go to the first page"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: inc/class-quotes-collection-shortcode.php:194
|
438 |
+
msgid "Go to the previous page"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: inc/class-quotes-collection-shortcode.php:198
|
442 |
+
msgid "Go to the next page"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: inc/class-quotes-collection-shortcode.php:200
|
446 |
+
msgid "Go to the last page"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: inc/class-quotes-collection-shortcode.php:204
|
450 |
+
msgid "Goto page:"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: inc/class-quotes-collection-admin-list-table.php:64
|
454 |
+
msgid "Edit"
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: inc/class-quotes-collection-admin-list-table.php:65
|
458 |
+
#: inc/class-quotes-collection-admin-list-table.php:145
|
459 |
+
msgid "Delete"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: inc/class-quotes-collection-admin-list-table.php:107
|
463 |
+
msgctxt "date and time format"
|
464 |
+
msgid "Y/m/d h:i:s A"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: inc/class-quotes-collection-admin-list-table.php:108
|
468 |
+
msgctxt "date format"
|
469 |
+
msgid "Y/m/d"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
473 |
+
msgid "Private"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: inc/class-quotes-collection-admin-list-table.php:110
|
477 |
+
msgid "Public"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: inc/class-quotes-collection-admin-list-table.php:125
|
481 |
+
msgid "ID"
|
482 |
+
msgstr ""
|
483 |
+
|
484 |
+
#: inc/class-quotes-collection-admin-list-table.php:129
|
485 |
+
msgid "Date"
|
486 |
+
msgstr ""
|
487 |
+
|
488 |
+
#: inc/class-quotes-collection-admin-list-table.php:146
|
489 |
+
msgid "Make public"
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: inc/class-quotes-collection-admin-list-table.php:147
|
493 |
+
msgid "Keep private"
|
494 |
+
msgstr ""
|
quotes-collection-admin.php
DELETED
@@ -1,443 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function quotescollection_admin_menu()
|
4 |
-
{
|
5 |
-
global $quotescollection_admin_userlevel;
|
6 |
-
add_object_page('Quotes Collection', 'Quotes', $quotescollection_admin_userlevel, 'quotes-collection', 'quotescollection_quotes_management');
|
7 |
-
}
|
8 |
-
add_action('admin_menu', 'quotescollection_admin_menu');
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
function quotescollection_addquote($quote, $author = "", $source = "", $tags = "", $public = 'yes')
|
13 |
-
{
|
14 |
-
if(!$quote) return __('Nothing added to the database.', 'quotes-collection');
|
15 |
-
global $wpdb;
|
16 |
-
$table_name = $wpdb->prefix . "quotescollection";
|
17 |
-
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name)
|
18 |
-
return __('Database table not found', 'quotes-collection');
|
19 |
-
else //Add the quote data to the database
|
20 |
-
{
|
21 |
-
global $allowedposttags;
|
22 |
-
$quote = wp_kses( stripslashes($quote), $allowedposttags );
|
23 |
-
$author = wp_kses( stripslashes($author), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
|
24 |
-
$source = wp_kses( stripslashes($source), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
|
25 |
-
$tags = strip_tags( stripslashes($tags) );
|
26 |
-
|
27 |
-
$quote = "'".$wpdb->escape($quote)."'";
|
28 |
-
$author = $author?"'".$wpdb->escape($author)."'":"NULL";
|
29 |
-
$source = $source?"'".$wpdb->escape($source)."'":"NULL";
|
30 |
-
$tags = explode(',', $tags);
|
31 |
-
foreach ($tags as $key => $tag)
|
32 |
-
$tags[$key] = trim($tag);
|
33 |
-
$tags = implode(',', $tags);
|
34 |
-
$tags = $tags?"'".$wpdb->escape($tags)."'":"NULL";
|
35 |
-
if(!$public) $public = "'no'";
|
36 |
-
else $public = "'yes'";
|
37 |
-
$insert = "INSERT INTO " . $table_name .
|
38 |
-
"(quote, author, source, tags, public, time_added)" .
|
39 |
-
"VALUES ({$quote}, {$author}, {$source}, {$tags}, {$public}, NOW())";
|
40 |
-
$results = $wpdb->query( $insert );
|
41 |
-
if(FALSE === $results)
|
42 |
-
return __('There was an error in the MySQL query', 'quotes-collection');
|
43 |
-
else
|
44 |
-
return __('Quote added', 'quotes-collection');
|
45 |
-
}
|
46 |
-
}
|
47 |
-
|
48 |
-
function quotescollection_editquote($quote_id, $quote, $author = "", $source = "", $tags = "", $public = 'yes')
|
49 |
-
{
|
50 |
-
if(!$quote) return __('Quote not updated.', 'quotes-collection');
|
51 |
-
if(!$quote_id) return srgq_addquote($quote, $author, $source, $public);
|
52 |
-
global $wpdb;
|
53 |
-
$table_name = $wpdb->prefix . "quotescollection";
|
54 |
-
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name)
|
55 |
-
return __('Database table not found', 'quotes-collection');
|
56 |
-
else //Update database
|
57 |
-
{
|
58 |
-
global $allowedposttags;
|
59 |
-
$quote = wp_kses( stripslashes($quote), $allowedposttags );
|
60 |
-
$author = wp_kses( stripslashes($author), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
|
61 |
-
$source = wp_kses( stripslashes($source), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
|
62 |
-
$tags = strip_tags( stripslashes($tags) );
|
63 |
-
|
64 |
-
$quote = "'".$wpdb->escape($quote)."'";
|
65 |
-
$author = $author?"'".$wpdb->escape($author)."'":"NULL";
|
66 |
-
$source = $source?"'".$wpdb->escape($source)."'":"NULL";
|
67 |
-
$tags = explode(',', $tags);
|
68 |
-
foreach ($tags as $key => $tag)
|
69 |
-
$tags[$key] = trim($tag);
|
70 |
-
$tags = implode(',', $tags);
|
71 |
-
$tags = $tags?"'".$wpdb->escape($tags)."'":"NULL";
|
72 |
-
if(!$public) $public = "'no'";
|
73 |
-
else $public = "'yes'";
|
74 |
-
$update = "UPDATE " . $table_name . "
|
75 |
-
SET quote = {$quote},
|
76 |
-
author = {$author},
|
77 |
-
source = {$source},
|
78 |
-
tags = {$tags},
|
79 |
-
public = {$public},
|
80 |
-
time_updated = NOW()
|
81 |
-
WHERE quote_id = $quote_id";
|
82 |
-
$results = $wpdb->query( $update );
|
83 |
-
if(FALSE === $results)
|
84 |
-
return __('There was an error in the MySQL query', 'quotes-collection');
|
85 |
-
else
|
86 |
-
return __('Changes saved', 'quotes-collection');
|
87 |
-
}
|
88 |
-
}
|
89 |
-
|
90 |
-
|
91 |
-
function quotescollection_deletequote($quote_id)
|
92 |
-
{
|
93 |
-
if($quote_id) {
|
94 |
-
global $wpdb;
|
95 |
-
$sql = "DELETE from " . $wpdb->prefix ."quotescollection" .
|
96 |
-
" WHERE quote_id = " . $quote_id;
|
97 |
-
if(FALSE === $wpdb->query($sql))
|
98 |
-
return __('There was an error in the MySQL query', 'quotes-collection');
|
99 |
-
else
|
100 |
-
return __('Quote deleted', 'quotes-collection');
|
101 |
-
}
|
102 |
-
else return __('The quote cannot be deleted', 'quotes-collection');
|
103 |
-
}
|
104 |
-
|
105 |
-
function quotescollection_getquotedata($quote_id)
|
106 |
-
{
|
107 |
-
global $wpdb;
|
108 |
-
$sql = "SELECT quote_id, quote, author, source, tags, public
|
109 |
-
FROM " . $wpdb->prefix . "quotescollection
|
110 |
-
WHERE quote_id = {$quote_id}";
|
111 |
-
$quote_data = $wpdb->get_row($sql, ARRAY_A);
|
112 |
-
return $quote_data;
|
113 |
-
}
|
114 |
-
|
115 |
-
function quotescollection_editform($quote_id = 0)
|
116 |
-
{
|
117 |
-
$public_selected = " checked=\"checked\"";
|
118 |
-
$submit_value = __('Add Quote', 'quotes-collection');
|
119 |
-
$form_name = "addquote";
|
120 |
-
$action_url = get_bloginfo('wpurl')."/wp-admin/admin.php?page=quotes-collection#addnew";
|
121 |
-
$quote = $author = $source = $tags = $hidden_input = $back = "";
|
122 |
-
|
123 |
-
if($quote_id) {
|
124 |
-
$form_name = "editquote";
|
125 |
-
$quote_data = quotescollection_getquotedata($quote_id);
|
126 |
-
foreach($quote_data as $key => $value)
|
127 |
-
$quote_data[$key] = $quote_data[$key];
|
128 |
-
extract($quote_data);
|
129 |
-
$quote = htmlspecialchars($quote);
|
130 |
-
$author = htmlspecialchars($author);
|
131 |
-
$source = htmlspecialchars($source);
|
132 |
-
$tags = implode(', ', explode(',', $tags));
|
133 |
-
$hidden_input = "<input type=\"hidden\" name=\"quote_id\" value=\"{$quote_id}\" />";
|
134 |
-
if($public == 'no') $public_selected = "";
|
135 |
-
$submit_value = __('Save changes', 'quotes-collection');
|
136 |
-
$back = "<input type=\"submit\" name=\"submit\" value=\"".__('Back', 'quotes-collection')."\" /> ";
|
137 |
-
$action_url = get_bloginfo('wpurl')."/wp-admin/admin.php?page=quotes-collection";
|
138 |
-
}
|
139 |
-
|
140 |
-
$quote_label = __('The quote', 'quotes-collection');
|
141 |
-
$author_label = __('Author', 'quotes-collection');
|
142 |
-
$source_label = __('Source', 'quotes-collection');
|
143 |
-
$tags_label = __('Tags', 'quotes-collection');
|
144 |
-
$public_label = __('Public?', 'quotes-collection');
|
145 |
-
$optional_text = __('optional', 'quotes-collection');
|
146 |
-
$comma_separated_text = __('comma separated', 'quotes-collection');
|
147 |
-
|
148 |
-
|
149 |
-
$display =<<< EDITFORM
|
150 |
-
<form name="{$form_name}" method="post" action="{$action_url}">
|
151 |
-
{$hidden_input}
|
152 |
-
<table class="form-table" cellpadding="5" cellspacing="2" width="100%">
|
153 |
-
<tbody><tr class="form-field form-required">
|
154 |
-
<th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_quote">{$quote_label}</label></th>
|
155 |
-
<td><textarea id="quotescollection_quote" name="quote" rows="5" cols="50" style="width: 97%;">{$quote}</textarea></td>
|
156 |
-
</tr>
|
157 |
-
<tr class="form-field">
|
158 |
-
<th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_author">{$author_label}</label></th>
|
159 |
-
<td><input type="text" id="quotescollection_author" name="author" size="40" value="{$author}" /><br />{$optional_text}</td>
|
160 |
-
</tr>
|
161 |
-
<tr class="form-field">
|
162 |
-
<th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_source">{$source_label}</label></th>
|
163 |
-
<td><input type="text" id="quotescollection_source" name="source" size="40" value="{$source}" /><br />{$optional_text}</td>
|
164 |
-
</tr>
|
165 |
-
<tr class="form-field">
|
166 |
-
<th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_tags">{$tags_label}</label></th>
|
167 |
-
<td><input type="text" id="quotescollection_tags" name="tags" size="40" value="{$tags}" /><br />{$optional_text}, {$comma_separated_text}</small></td>
|
168 |
-
</tr>
|
169 |
-
<tr>
|
170 |
-
<th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_public">{$public_label}</label></th>
|
171 |
-
<td><input type="checkbox" id="quotescollection_public" name="public"{$public_selected} />
|
172 |
-
</tr></tbody>
|
173 |
-
</table>
|
174 |
-
<p class="submit">{$back}<input name="submit" value="{$submit_value}" type="submit" class="button button-primary" /></p>
|
175 |
-
</form>
|
176 |
-
EDITFORM;
|
177 |
-
return $display;
|
178 |
-
}
|
179 |
-
|
180 |
-
function quotescollection_changevisibility($quote_ids, $public = 'yes')
|
181 |
-
{
|
182 |
-
if(!$quote_ids)
|
183 |
-
return __('Nothing done!', 'quotes-collection');
|
184 |
-
global $wpdb;
|
185 |
-
$sql = "UPDATE ".$wpdb->prefix."quotescollection
|
186 |
-
SET public = '".$public."',
|
187 |
-
time_updated = NOW()
|
188 |
-
WHERE quote_id IN (".implode(', ', $quote_ids).")";
|
189 |
-
$wpdb->query($sql);
|
190 |
-
if($public == 'yes')
|
191 |
-
return __("Selected quotes made public", 'quotes-collection');
|
192 |
-
else
|
193 |
-
return __("Selected quotes made private", 'quotes-collection');
|
194 |
-
}
|
195 |
-
|
196 |
-
function quotescollection_bulkdelete($quote_ids)
|
197 |
-
{
|
198 |
-
if(!$quote_ids)
|
199 |
-
return __('Nothing done!', 'quotes-collection');
|
200 |
-
global $wpdb;
|
201 |
-
$sql = "DELETE FROM ".$wpdb->prefix."quotescollection
|
202 |
-
WHERE quote_id IN (".implode(', ', $quote_ids).")";
|
203 |
-
$wpdb->query($sql);
|
204 |
-
return __('Quote(s) deleted', 'quotes-collection');
|
205 |
-
}
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
function quotescollection_quotes_management()
|
210 |
-
{
|
211 |
-
|
212 |
-
global $quotescollection_db_version;
|
213 |
-
$options = get_option('quotescollection');
|
214 |
-
$display = $msg = $quotes_list = $alternate = "";
|
215 |
-
|
216 |
-
if($options['db_version'] != $quotescollection_db_version )
|
217 |
-
quotescollection_install();
|
218 |
-
|
219 |
-
if(isset($_REQUEST['submit'])) {
|
220 |
-
if($_REQUEST['submit'] == __('Add Quote', 'quotes-collection')) {
|
221 |
-
extract($_REQUEST);
|
222 |
-
$msg = quotescollection_addquote($quote, $author, $source, $tags, $public);
|
223 |
-
}
|
224 |
-
else if($_REQUEST['submit'] == __('Save changes', 'quotes-collection')) {
|
225 |
-
extract($_REQUEST);
|
226 |
-
$msg = quotescollection_editquote($quote_id, $quote, $author, $source, $tags, $public);
|
227 |
-
}
|
228 |
-
}
|
229 |
-
else if(isset($_REQUEST['action'])) {
|
230 |
-
if($_REQUEST['action'] == 'editquote') {
|
231 |
-
$display .= "<div class=\"wrap\">\n<h2>Quotes Collection » ".__('Edit quote', 'quotes-collection')."</h2>";
|
232 |
-
$display .= quotescollection_editform($_REQUEST['id']);
|
233 |
-
$display .= "</div>";
|
234 |
-
echo $display;
|
235 |
-
return;
|
236 |
-
}
|
237 |
-
else if($_REQUEST['action'] == 'delquote') {
|
238 |
-
$msg = quotescollection_deletequote($_REQUEST['id']);
|
239 |
-
}
|
240 |
-
}
|
241 |
-
else if(isset($_REQUEST['bulkactionsubmit'])) {
|
242 |
-
if($_REQUEST['bulkaction'] == 'delete')
|
243 |
-
$msg = quotescollection_bulkdelete($_REQUEST['bulkcheck']);
|
244 |
-
if($_REQUEST['bulkaction'] == 'make_public') {
|
245 |
-
$msg = quotescollection_changevisibility($_REQUEST['bulkcheck'], 'yes');
|
246 |
-
}
|
247 |
-
if($_REQUEST['bulkaction'] == 'keep_private') {
|
248 |
-
$msg = quotescollection_changevisibility($_REQUEST['bulkcheck'], 'no');
|
249 |
-
}
|
250 |
-
}
|
251 |
-
|
252 |
-
|
253 |
-
$display .= "<div class=\"wrap\">";
|
254 |
-
|
255 |
-
if($msg)
|
256 |
-
$display .= "<div id=\"message\" class=\"updated fade\"><p>{$msg}</p></div>";
|
257 |
-
|
258 |
-
$display .= "<h2>Quotes Collection <a href=\"#addnew\" class=\"add-new-h2\">".__('Add new quote', 'quotes-collection')."</a></h2>";
|
259 |
-
|
260 |
-
$num_quotes = quotescollection_count();
|
261 |
-
|
262 |
-
if(!$num_quotes) {
|
263 |
-
$display .= "<p>".__('No quotes in the database', 'quotes-collection')."</p>";
|
264 |
-
|
265 |
-
$display .= "</div>";
|
266 |
-
|
267 |
-
$display .= "<div id=\"addnew\" class=\"wrap\">\n<h2>".__('Add new quote', 'quotes-collection')."</h2>";
|
268 |
-
$display .= quotescollection_editform();
|
269 |
-
$display .= "</div>";
|
270 |
-
|
271 |
-
echo $display;
|
272 |
-
return;
|
273 |
-
}
|
274 |
-
|
275 |
-
global $wpdb;
|
276 |
-
|
277 |
-
$sql = "SELECT quote_id, quote, author, source, tags, public
|
278 |
-
FROM " . $wpdb->prefix . "quotescollection";
|
279 |
-
|
280 |
-
$option_selected = array (
|
281 |
-
'quote_id' => '',
|
282 |
-
'quote' => '',
|
283 |
-
'author' => '',
|
284 |
-
'source' => '',
|
285 |
-
'time_added' => '',
|
286 |
-
'time_updated' => '',
|
287 |
-
'public' => '',
|
288 |
-
'ASC' => '',
|
289 |
-
'DESC' => '',
|
290 |
-
);
|
291 |
-
if(isset($_REQUEST['orderby'])) {
|
292 |
-
$sql .= " ORDER BY " . $_REQUEST['orderby'] . " " . $_REQUEST['order'];
|
293 |
-
$option_selected[$_REQUEST['orderby']] = " selected=\"selected\"";
|
294 |
-
$option_selected[$_REQUEST['order']] = " selected=\"selected\"";
|
295 |
-
}
|
296 |
-
else {
|
297 |
-
$sql .= " ORDER BY quote_id ASC";
|
298 |
-
$option_selected['quote_id'] = " selected=\"selected\"";
|
299 |
-
$option_selected['ASC'] = " selected=\"selected\"";
|
300 |
-
}
|
301 |
-
|
302 |
-
if(isset($_REQUEST['paged']) && $_REQUEST['paged'] && is_numeric($_REQUEST['paged']))
|
303 |
-
$paged = $_REQUEST['paged'];
|
304 |
-
else
|
305 |
-
$paged = 1;
|
306 |
-
|
307 |
-
$limit_per_page = 20;
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
$total_pages = ceil($num_quotes / $limit_per_page);
|
312 |
-
|
313 |
-
|
314 |
-
if($paged > $total_pages) $paged = $total_pages;
|
315 |
-
|
316 |
-
$admin_url = get_bloginfo('wpurl'). "/wp-admin/admin.php?page=quotes-collection";
|
317 |
-
if(isset($_REQUEST['orderby']))
|
318 |
-
$admin_url .= "&orderby=".$_REQUEST['orderby']."&order=".$_REQUEST['order'];
|
319 |
-
|
320 |
-
$page_nav = quotescollection_pagenav($total_pages, $paged, 2, 'paged', $admin_url);
|
321 |
-
|
322 |
-
$start = ($paged - 1) * $limit_per_page;
|
323 |
-
|
324 |
-
$sql .= " LIMIT {$start}, {$limit_per_page}";
|
325 |
-
|
326 |
-
// Get all the quotes from the database
|
327 |
-
$quotes = $wpdb->get_results($sql);
|
328 |
-
|
329 |
-
foreach($quotes as $quote_data) {
|
330 |
-
if($alternate) $alternate = "";
|
331 |
-
else $alternate = " class=\"alternate\"";
|
332 |
-
$quotes_list .= "<tr{$alternate}>";
|
333 |
-
$quotes_list .= "<th scope=\"row\" class=\"check-column\"><input type=\"checkbox\" name=\"bulkcheck[]\" value=\"".$quote_data->quote_id."\" /></th>";
|
334 |
-
$quotes_list .= "<td>" . $quote_data->quote_id . "</td>";
|
335 |
-
$quotes_list .= "<td>";
|
336 |
-
$quotes_list .= wptexturize(nl2br(make_clickable($quote_data->quote)));
|
337 |
-
$quotes_list .= "<div class=\"row-actions\"><span class=\"edit\"><a href=\"{$admin_url}&action=editquote&id=".$quote_data->quote_id."\" class=\"edit\">".__('Edit', 'quotes-collection')."</a></span> | <span class=\"trash\"><a href=\"{$admin_url}&action=delquote&id=".$quote_data->quote_id."\" onclick=\"return confirm( '".__('Are you sure you want to delete this quote?', 'quotes-collection')."');\" class=\"delete\">".__('Delete', 'quotes-collection')."</a></span></div>";
|
338 |
-
$quotes_list .= "</td>";
|
339 |
-
$quotes_list .= "<td>" . make_clickable($quote_data->author);
|
340 |
-
if($quote_data->author && $quote_data->source)
|
341 |
-
$quotes_list .= " / ";
|
342 |
-
$quotes_list .= make_clickable($quote_data->source) ."</td>";
|
343 |
-
$quotes_list .= "<td>" . implode(', ', explode(',', $quote_data->tags)) . "</td>";
|
344 |
-
if($quote_data->public == 'no') $public = __('No', 'quotes-collection');
|
345 |
-
else $public = __('Yes', 'quotes-collection');
|
346 |
-
$quotes_list .= "<td>" . $public ."</td>";
|
347 |
-
$quotes_list .= "</tr>";
|
348 |
-
}
|
349 |
-
|
350 |
-
if($quotes_list) {
|
351 |
-
$quotes_count = quotescollection_count();
|
352 |
-
|
353 |
-
$display .= "<form id=\"quotescollection\" method=\"post\" action=\"".get_bloginfo('wpurl')."/wp-admin/admin.php?page=quotes-collection\">";
|
354 |
-
$display .= "<div class=\"tablenav\">";
|
355 |
-
$display .= "<div class=\"alignleft actions\">";
|
356 |
-
$display .= "<select name=\"bulkaction\">";
|
357 |
-
$display .= "<option value=\"0\">".__('Bulk Actions')."</option>";
|
358 |
-
$display .= "<option value=\"delete\">".__('Delete', 'quotes-collection')."</option>";
|
359 |
-
$display .= "<option value=\"make_public\">".__('Make public', 'quotes-collection')."</option>";
|
360 |
-
$display .= "<option value=\"keep_private\">".__('Keep private', 'quotes-collection')."</option>";
|
361 |
-
$display .= "</select>";
|
362 |
-
$display .= "<input type=\"submit\" name=\"bulkactionsubmit\" value=\"".__('Apply', 'quotes-collection')."\" class=\"button-secondary\" />";
|
363 |
-
$display .= " ";
|
364 |
-
$display .= __('Sort by: ', 'quotes-collection');
|
365 |
-
$display .= "<select name=\"orderby\">";
|
366 |
-
$display .= "<option value=\"quote_id\"{$option_selected['quote_id']}>".__('Quote', 'quotes-collection')." ID</option>";
|
367 |
-
$display .= "<option value=\"quote\"{$option_selected['quote']}>".__('Quote', 'quotes-collection')."</option>";
|
368 |
-
$display .= "<option value=\"author\"{$option_selected['author']}>".__('Author', 'quotes-collection')."</option>";
|
369 |
-
$display .= "<option value=\"source\"{$option_selected['source']}>".__('Source', 'quotes-collection')."</option>";
|
370 |
-
$display .= "<option value=\"time_added\"{$option_selected['time_added']}>".__('Date added', 'quotes-collection')."</option>";
|
371 |
-
$display .= "<option value=\"time_updated\"{$option_selected['time_updated']}>".__('Date updated', 'quotes-collection')."</option>";
|
372 |
-
$display .= "<option value=\"public\"{$option_selected['public']}>".__('Visibility', 'quotes-collection')."</option>";
|
373 |
-
$display .= "</select>";
|
374 |
-
$display .= "<select name=\"order\"><option{$option_selected['ASC']}>ASC</option><option{$option_selected['DESC']}>DESC</option></select>";
|
375 |
-
$display .= "<input type=\"submit\" name=\"orderbysubmit\" value=\"".__('Go', 'quotes-collection')."\" class=\"button-secondary\" />";
|
376 |
-
$display .= "</div>";
|
377 |
-
$display .= '<div class="tablenav-pages"><span class="displaying-num">'.sprintf(_n('%d quote', '%d quotes', $quotes_count, 'quotes-collection'), $quotes_count).'</span><span class="pagination-links">'. $page_nav. "</span></div>";
|
378 |
-
$display .= "<div class=\"clear\"></div>";
|
379 |
-
$display .= "</div>";
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
$display .= "<table class=\"widefat\">";
|
384 |
-
$display .= "<thead><tr>
|
385 |
-
<th class=\"check-column\"><input type=\"checkbox\" onclick=\"quotescollection_checkAll(document.getElementById('quotescollection'));\" /></th>
|
386 |
-
<th>ID</th><th>".__('The quote', 'quotes-collection')."</th>
|
387 |
-
<th>
|
388 |
-
".__('Author', 'quotes-collection')." / ".__('Source', 'quotes-collection')."
|
389 |
-
</th>
|
390 |
-
<th>".__('Tags', 'quotes-collection')."</th>
|
391 |
-
<th>".__('Public?', 'quotes-collection')."</th>
|
392 |
-
</tr></thead>";
|
393 |
-
$display .= "<tbody id=\"the-list\">{$quotes_list}</tbody>";
|
394 |
-
$display .= "</table>";
|
395 |
-
|
396 |
-
$display .= "<div class=\"tablenav\">";
|
397 |
-
$display .= '<div class="tablenav-pages"><span class="displaying-num">'.sprintf(_n('%d quote', '%d quotes', $quotes_count, 'quotes-collection'), $quotes_count).'</span><span class="pagination-links">'. $page_nav. "</span></div>";
|
398 |
-
$display .= "<div class=\"clear\"></div>";
|
399 |
-
$display .= "</div>";
|
400 |
-
|
401 |
-
$display .= "</form>";
|
402 |
-
$display .= "<br style=\"clear:both;\" />";
|
403 |
-
|
404 |
-
}
|
405 |
-
else
|
406 |
-
$display .= "<p>".__('No quotes in the database', 'quotes-collection')."</p>";
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
$display .= "</div>";
|
411 |
-
|
412 |
-
$display .= "<div id=\"addnew\" class=\"wrap\">\n<h2>".__('Add new quote', 'quotes-collection')."</h2>";
|
413 |
-
$display .= quotescollection_editform();
|
414 |
-
$display .= "</div>";
|
415 |
-
|
416 |
-
|
417 |
-
echo $display;
|
418 |
-
|
419 |
-
}
|
420 |
-
|
421 |
-
|
422 |
-
function quotescollection_admin_footer()
|
423 |
-
{
|
424 |
-
?>
|
425 |
-
<script type="text/javascript">
|
426 |
-
function quotescollection_checkAll(form) {
|
427 |
-
for (i = 0, n = form.elements.length; i < n; i++) {
|
428 |
-
if(form.elements[i].type == "checkbox" && !(form.elements[i].hasAttribute('onclick'))) {
|
429 |
-
if(form.elements[i].checked == true)
|
430 |
-
form.elements[i].checked = false;
|
431 |
-
else
|
432 |
-
form.elements[i].checked = true;
|
433 |
-
}
|
434 |
-
}
|
435 |
-
}
|
436 |
-
</script>
|
437 |
-
|
438 |
-
<?php
|
439 |
-
}
|
440 |
-
|
441 |
-
add_action('admin_footer', 'quotescollection_admin_footer');
|
442 |
-
|
443 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
quotes-collection-ajax.php
DELETED
@@ -1,66 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
function quotescollection_scripts()
|
3 |
-
{
|
4 |
-
global $quotescollection_auto_refresh_max, $quotescollection_next_quote, $quotescollection_version;
|
5 |
-
|
6 |
-
$nextquote = $quotescollection_next_quote?$quotescollection_next_quote:__('Next quote', 'quotes-collection')." »";
|
7 |
-
$loading = __('Loading...', 'quotes-collection');
|
8 |
-
$error = __('Error getting quote', 'quotes-collection');
|
9 |
-
$auto_refresh_max = $quotescollection_auto_refresh_max;
|
10 |
-
|
11 |
-
wp_enqueue_script( 'quotescollection', plugin_dir_url(__FILE__).'quotes-collection.js', array('jquery'), $quotescollection_version );
|
12 |
-
wp_localize_script( 'quotescollection', 'QCAjax', array(
|
13 |
-
// URL to wp-admin/admin-ajax.php to process the request
|
14 |
-
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
15 |
-
|
16 |
-
// generate a nonce with a unique ID "myajax-post-comment-nonce"
|
17 |
-
// so that you can check it later when an AJAX request is sent
|
18 |
-
'nonce' => wp_create_nonce( 'quotescollection' ),
|
19 |
-
|
20 |
-
'nextquote' => $nextquote,
|
21 |
-
'loading' => $loading,
|
22 |
-
'error' => $error,
|
23 |
-
'auto_refresh_max' => $quotescollection_auto_refresh_max,
|
24 |
-
'auto_refresh_count' => 0
|
25 |
-
)
|
26 |
-
);
|
27 |
-
}
|
28 |
-
add_action('init', 'quotescollection_scripts');
|
29 |
-
|
30 |
-
|
31 |
-
function quotescollection_load()
|
32 |
-
{
|
33 |
-
check_ajax_referer('quotescollection');
|
34 |
-
|
35 |
-
|
36 |
-
$show_author = isset($_POST['show_author'])?$_POST['show_author']:1;
|
37 |
-
$show_source = isset($_POST['show_source'])?$_POST['show_source']:1;
|
38 |
-
$auto_refresh = isset($_POST['auto_refresh'])?$_POST['auto_refresh']:0;
|
39 |
-
$random_refresh = isset($_POST['random_refresh'])?$_POST['random_refresh']:1;
|
40 |
-
$char_limit = (isset($_POST['char_limit']) && is_numeric($_POST['char_limit']))?$_POST['char_limit']:'';
|
41 |
-
|
42 |
-
if($random_refresh && $_POST['current'] && is_numeric($_POST['current'])) {
|
43 |
-
$exclude = $_POST['current'];
|
44 |
-
$current = '';
|
45 |
-
}
|
46 |
-
else {
|
47 |
-
if ($_POST['current'] && is_numeric($_POST['current']))
|
48 |
-
$current = $_POST['current'];
|
49 |
-
$exclude = '';
|
50 |
-
}
|
51 |
-
|
52 |
-
$tags = $_POST['tags'];
|
53 |
-
|
54 |
-
$args = "echo=0&ajax_refresh=2&auto_refresh={$auto_refresh}&show_author={$show_author}&show_source={$show_source}&char_limit={$char_limit}&exclude={$exclude}&tags={$tags}&random={$random_refresh}¤t={$current}";
|
55 |
-
|
56 |
-
|
57 |
-
if($response = quotescollection_quote($args)) {
|
58 |
-
@header("Content-type: text/html; charset=utf-8");
|
59 |
-
die( $response );
|
60 |
-
}
|
61 |
-
else
|
62 |
-
die( $error );
|
63 |
-
}
|
64 |
-
add_action ("wp_ajax_quotescollection", "quotescollection_load");
|
65 |
-
add_action ("wp_ajax_nopriv_quotescollection", "quotescollection_load");
|
66 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
quotes-collection-shortcodes.php
DELETED
@@ -1,185 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function quotescollection_shortcode_output_format($quotes)
|
4 |
-
{
|
5 |
-
$display = "";
|
6 |
-
|
7 |
-
foreach($quotes as $quote_data) {
|
8 |
-
$display .= "<blockquote class=\"quotescollection\" id=\"quote-".$quote_data['quote_id']."\">";
|
9 |
-
$display .= quotescollection_output_format( $quote_data );
|
10 |
-
$display .= "</blockquote>\n";
|
11 |
-
}
|
12 |
-
return apply_filters( 'quotescollection_shortcode_output_format', $display );
|
13 |
-
}
|
14 |
-
|
15 |
-
|
16 |
-
function quotescollection_shortcodes($atts = array())
|
17 |
-
{
|
18 |
-
extract( shortcode_atts( array(
|
19 |
-
'limit' => 0,
|
20 |
-
'id' => 0,
|
21 |
-
'author' => '',
|
22 |
-
'source' => '',
|
23 |
-
'tags' => '',
|
24 |
-
'orderby' => 'quote_id',
|
25 |
-
'order' => 'ASC',
|
26 |
-
'paging' => false,
|
27 |
-
'limit_per_page' => 10
|
28 |
-
), $atts ) );
|
29 |
-
|
30 |
-
$condition = " WHERE public = 'yes'";
|
31 |
-
|
32 |
-
if(isset($quote_id) && is_numeric($quote_id)) $id = $quote_id;
|
33 |
-
|
34 |
-
if($id && is_numeric($id)) {
|
35 |
-
$condition .= " AND quote_id = ".$id;
|
36 |
-
|
37 |
-
if ($quote = quotescollection_get_quotes($condition))
|
38 |
-
return quotescollection_shortcode_output_format($quote);
|
39 |
-
else
|
40 |
-
return "";
|
41 |
-
}
|
42 |
-
|
43 |
-
if($author)
|
44 |
-
$condition .= " AND author = '".$author."'";
|
45 |
-
if($source)
|
46 |
-
$condition .= " AND source = '".$source."'";
|
47 |
-
if ($tags) {
|
48 |
-
$tags = html_entity_decode($tags);
|
49 |
-
if(!$tags)
|
50 |
-
break;
|
51 |
-
$taglist = explode(',', $tags);
|
52 |
-
$tags_condition = "";
|
53 |
-
foreach($taglist as $tag) {
|
54 |
-
$tag = trim($tag);
|
55 |
-
if($tags_condition) $tags_condition .= " OR ";
|
56 |
-
$tags_condition .= "tags = '{$tag}' OR tags LIKE '{$tag},%' OR tags LIKE '%,{$tag},%' OR tags LIKE '%,{$tag}'";
|
57 |
-
}
|
58 |
-
if($tags_condition) $condition .= " AND ".$tags_condition;
|
59 |
-
}
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
if($orderby == 'id' || !$orderby) $orderby = 'quote_id';
|
64 |
-
else if ($orderby == 'date_added') $orderby = 'time_added';
|
65 |
-
else if($orderby == 'random' || $orderby == 'rand') {
|
66 |
-
$orderby = 'RAND(UNIX_TIMESTAMP(NOW()))';
|
67 |
-
$order = '';
|
68 |
-
$paging = false;
|
69 |
-
};
|
70 |
-
$order = strtoupper($order);
|
71 |
-
if($order && $order != 'DESC')
|
72 |
-
$order = 'ASC';
|
73 |
-
|
74 |
-
$condition .= " ORDER BY {$orderby} {$order}";
|
75 |
-
|
76 |
-
if($paging == true || $paging == 1) {
|
77 |
-
|
78 |
-
$num_quotes = quotescollection_count($condition);
|
79 |
-
|
80 |
-
$total_pages = ceil($num_quotes / $limit_per_page);
|
81 |
-
|
82 |
-
|
83 |
-
if(!isset($_GET['quotes_page']) || !$_GET['quotes_page'] || !is_numeric($_GET['quotes_page']))
|
84 |
-
$page = 1;
|
85 |
-
else
|
86 |
-
$page = $_GET['quotes_page'];
|
87 |
-
|
88 |
-
if($page > $total_pages) $page = $total_pages;
|
89 |
-
|
90 |
-
if($page_nav = quotescollection_pagenav($total_pages, $page, 0, 'quotes_page'))
|
91 |
-
$page_nav = '<div class="quotescollection_pagenav">'.$page_nav.'</div>';
|
92 |
-
|
93 |
-
$start = ($page - 1) * $limit_per_page;
|
94 |
-
|
95 |
-
$condition .= " LIMIT {$start}, {$limit_per_page}";
|
96 |
-
|
97 |
-
// return $condition;
|
98 |
-
|
99 |
-
if($quotes = quotescollection_get_quotes($condition))
|
100 |
-
return $page_nav.quotescollection_shortcode_output_format($quotes).$page_nav;
|
101 |
-
else
|
102 |
-
return "";
|
103 |
-
|
104 |
-
}
|
105 |
-
|
106 |
-
else if($limit && is_numeric($limit))
|
107 |
-
$condition .= " LIMIT ".$limit;
|
108 |
-
|
109 |
-
// return $condition;
|
110 |
-
|
111 |
-
if($quotes = quotescollection_get_quotes($condition))
|
112 |
-
return quotescollection_shortcode_output_format($quotes);
|
113 |
-
else
|
114 |
-
return "";
|
115 |
-
}
|
116 |
-
|
117 |
-
add_shortcode('quotescollection', 'quotescollection_shortcodes');
|
118 |
-
add_shortcode('quotcoll', 'quotescollection_shortcodes');
|
119 |
-
add_shortcode('quotecoll', 'quotescollection_shortcodes'); // just in case, somebody misspells the shortcode
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
/* Backward compatibility for [quote] */
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
function quotescollection_displayquote($matches)
|
129 |
-
{
|
130 |
-
if(!isset($matches[1]) || (isset($matches[1]) && !$matches[1]) || $matches[0] == "[quote|random]")
|
131 |
-
$atts = array( 'orderby' => 'random', 'limit' => 1 );
|
132 |
-
else
|
133 |
-
$atts = array ( 'id' => $matches[1] );
|
134 |
-
|
135 |
-
return quotescollection_shortcodes($atts);
|
136 |
-
}
|
137 |
-
|
138 |
-
|
139 |
-
function quotescollection_displayquotes_author($matches)
|
140 |
-
{
|
141 |
-
return quotescollection_shortcodes(array('author'=>$matches[1]));
|
142 |
-
}
|
143 |
-
|
144 |
-
|
145 |
-
function quotescollection_displayquotes_source($matches)
|
146 |
-
{
|
147 |
-
return quotescollection_shortcodes(array('source'=>$matches[1]));
|
148 |
-
}
|
149 |
-
|
150 |
-
function quotescollection_displayquotes_tags($matches)
|
151 |
-
{
|
152 |
-
return quotescollection_shortcodes(array('tags'=>$matches[1]));
|
153 |
-
}
|
154 |
-
|
155 |
-
function quotescollection_inpost( $text )
|
156 |
-
{
|
157 |
-
$start = strpos($text,"[quote|id=");
|
158 |
-
if ($start !== FALSE) {
|
159 |
-
$text = preg_replace_callback( "/\[quote\|id=(\d+)\]/i", "quotescollection_displayquote", $text );
|
160 |
-
}
|
161 |
-
$start = strpos($text,"[quote|random]");
|
162 |
-
if ($start !== FALSE) {
|
163 |
-
$text = preg_replace_callback( "/\[quote\|random\]/i", "quotescollection_displayquote", $text );
|
164 |
-
}
|
165 |
-
$start = strpos($text,"[quote|all]");
|
166 |
-
if ($start !== FALSE) {
|
167 |
-
$text = preg_replace_callback( "/\[quote\|all\]/i", "quotescollection_shortcodes", $text );
|
168 |
-
}
|
169 |
-
$start = strpos($text,"[quote|author=");
|
170 |
-
if($start !== FALSE) {
|
171 |
-
$text = preg_replace_callback("/\[quote\|author=(.{1,})?\]/i", "quotescollection_displayquotes_author", $text);
|
172 |
-
}
|
173 |
-
$start = strpos($text,"[quote|source=");
|
174 |
-
if($start !== FALSE) {
|
175 |
-
$text = preg_replace_callback("/\[quote\|source=(.{1,})?\]/i", "quotescollection_displayquotes_source", $text);
|
176 |
-
}
|
177 |
-
$start = strpos($text,"[quote|tags=");
|
178 |
-
if($start !== FALSE) {
|
179 |
-
$text = preg_replace_callback("/\[quote\|tags=(.{1,})?\]/i", "quotescollection_displayquotes_tags", $text);
|
180 |
-
} return $text;
|
181 |
-
}
|
182 |
-
add_filter('the_content', 'quotescollection_inpost', 7);
|
183 |
-
add_filter('the_excerpt', 'quotescollection_inpost', 7);
|
184 |
-
|
185 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
quotes-collection-widget.php
DELETED
@@ -1,108 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function quotescollection_widget_init()
|
4 |
-
{
|
5 |
-
if(function_exists('load_plugin_textdomain'))
|
6 |
-
load_plugin_textdomain('quotes-collection', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
7 |
-
|
8 |
-
if ( !function_exists('register_sidebar_widget') || !function_exists('register_widget_control') )
|
9 |
-
return;
|
10 |
-
|
11 |
-
function quotescollection_widget($args) {
|
12 |
-
$options = get_option('quotescollection');
|
13 |
-
$title = isset($options['title'])?apply_filters('the_title', $options['title']):__('Random Quote', 'quotes-collection');
|
14 |
-
$show_author = isset($options['show_author'])?$options['show_author']:1;
|
15 |
-
$show_source = isset($options['show_source'])?$options['show_source']:1;
|
16 |
-
$ajax_refresh = isset($options['ajax_refresh'])?$options['ajax_refresh']:1;
|
17 |
-
$auto_refresh = isset($options['auto_refresh'])?$options['auto_refresh']:0;
|
18 |
-
$random_refresh = isset($options['random_refresh'])?$options['random_refresh']:1;
|
19 |
-
if($auto_refresh)
|
20 |
-
$auto_refresh = isset($options['refresh_interval'])?$options['refresh_interval']:5;
|
21 |
-
$char_limit = $options['char_limit'];
|
22 |
-
$tags = $options['tags'];
|
23 |
-
$parms = "echo=0&show_author={$show_author}&show_source={$show_source}&ajax_refresh={$ajax_refresh}&auto_refresh={$auto_refresh}&char_limit={$char_limit}&tags={$tags}&random={$random_refresh}";
|
24 |
-
if($random_quote = quotescollection_quote($parms)) {
|
25 |
-
extract($args);
|
26 |
-
echo $before_widget;
|
27 |
-
if($title) echo $before_title . $title . $after_title . "\n";
|
28 |
-
echo $random_quote;
|
29 |
-
echo $after_widget;
|
30 |
-
}
|
31 |
-
}
|
32 |
-
|
33 |
-
function quotescollection_widget_control()
|
34 |
-
{
|
35 |
-
|
36 |
-
// default values for options
|
37 |
-
$options = array(
|
38 |
-
'title' => __('Random Quote', 'quotes-collection'),
|
39 |
-
'show_author' => 1,
|
40 |
-
'show_source' => 0,
|
41 |
-
'ajax_refresh' => 1,
|
42 |
-
'auto_refresh' => 0,
|
43 |
-
'random_refresh' => 1,
|
44 |
-
'refresh_interval' => 5,
|
45 |
-
'tags' => '',
|
46 |
-
'char_limit' => 500
|
47 |
-
);
|
48 |
-
|
49 |
-
if($options_saved = get_option('quotescollection'))
|
50 |
-
$options = array_merge($options, $options_saved);
|
51 |
-
|
52 |
-
// Update options in db when user updates options in the widget page
|
53 |
-
if(isset($_REQUEST['quotescollection-submit']) && $_REQUEST['quotescollection-submit']) {
|
54 |
-
$options['title']
|
55 |
-
= strip_tags(stripslashes($_REQUEST['quotescollection-title']));
|
56 |
-
$options['show_author'] = (isset($_REQUEST['quotescollection-show_author']) && $_REQUEST['quotescollection-show_author'])?1:0;
|
57 |
-
$options['show_source'] = (isset($_REQUEST['quotescollection-show_source']) && $_REQUEST['quotescollection-show_source'])?1:0;
|
58 |
-
$options['ajax_refresh'] = (isset($_REQUEST['quotescollection-ajax_refresh']) && $_REQUEST['quotescollection-ajax_refresh'])?1:0;
|
59 |
-
$options['auto_refresh'] = (isset($_REQUEST['quotescollection-auto_refresh']) && $_REQUEST['quotescollection-auto_refresh'])?1:0;
|
60 |
-
$options['refresh_interval'] = $_REQUEST['quotescollection-refresh_interval'];
|
61 |
-
$options['random_refresh'] = (isset($_REQUEST['quotescollection-random_refresh']) && $_REQUEST['quotescollection-random_refresh'])?1:0;
|
62 |
-
$options['tags'] = strip_tags(stripslashes($_REQUEST['quotescollection-tags']));
|
63 |
-
$options['char_limit'] = strip_tags(stripslashes($_REQUEST['quotescollection-char_limit']));
|
64 |
-
if(!$options['char_limit'])
|
65 |
-
$options['char_limit'] = __('none', 'quotes-collection');
|
66 |
-
update_option('quotescollection', $options);
|
67 |
-
}
|
68 |
-
|
69 |
-
// Now we define the display of widget options menu
|
70 |
-
$show_author_checked = $show_source_checked = $ajax_refresh_checked = $auto_refresh_checked = $random_refresh_checked = '';
|
71 |
-
$int_select = array ( '5' => '', '10' => '', '15' => '', '20' => '', '30' => '', '60' => '');
|
72 |
-
if($options['show_author'])
|
73 |
-
$show_author_checked = ' checked="checked"';
|
74 |
-
if($options['show_source'])
|
75 |
-
$show_source_checked = ' checked="checked"';
|
76 |
-
if($options['ajax_refresh'])
|
77 |
-
$ajax_refresh_checked = ' checked="checked"';
|
78 |
-
if($options['auto_refresh'])
|
79 |
-
$auto_refresh_checked = ' checked="checked"';
|
80 |
-
if($options['random_refresh'])
|
81 |
-
$random_refresh_checked = ' checked="checked"';
|
82 |
-
$int_select[$options['refresh_interval']] = ' selected="selected"';
|
83 |
-
|
84 |
-
echo "<p style=\"text-align:left;\"><label for=\"quotescollection-title\">".__('Title', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-title\" name=\"quotescollection-title\" value=\"".htmlspecialchars($options['title'], ENT_QUOTES)."\" /></p>";
|
85 |
-
echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-show_author\" name=\"quotescollection-show_author\" value=\"1\"{$show_author_checked} /> <label for=\"quotescollection-show_author\">".__('Show author?', 'quotes-collection')."</label></p>";
|
86 |
-
echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-show_source\" name=\"quotescollection-show_source\" value=\"1\"{$show_source_checked} /> <label for=\"quotescollection-show_source\">".__('Show source?', 'quotes-collection')."</label></p>";
|
87 |
-
echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-ajax_refresh\" name=\"quotescollection-ajax_refresh\" value=\"1\"{$ajax_refresh_checked} /> <label for=\"quotescollection-ajax_refresh\">".__('Ajax refresh feature', 'quotes-collection')."</label></p>";
|
88 |
-
echo "<p style=\"text-align:left;\"><small><a id=\"quotescollection-adv_key\" style=\"cursor:pointer;\" onclick=\"jQuery('div#quotescollection-adv_opts').slideToggle();\">".__('Advanced options', 'quotes-collection')." »</a></small></p>";
|
89 |
-
echo "<div id=\"quotescollection-adv_opts\" style=\"display:none\">";
|
90 |
-
echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-random_refresh\" name=\"quotescollection-random_refresh\" value=\"1\"{$random_refresh_checked} /> <label for=\"quotescollection-random_refresh\">".__('Random refresh', 'quotes-collection')."</label><br/><span class=\"setting-description\"><small>".__('Unchecking this will rotate quotes in the order added, latest first.', 'quotes-collection')."</small></span></p>";
|
91 |
-
echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-auto_refresh\" name=\"quotescollection-auto_refresh\" value=\"1\"{$auto_refresh_checked} /> <label for=\"quotescollection-auto_refresh\">".__('Auto refresh', 'quotes-collection')."</label> <label for=\"quotescollection-refresh_interval\">".__('every', 'quotes-collection')."</label> <select id=\"quotescollection-refresh_interval\" name=\"quotescollection-refresh_interval\"><option{$int_select['5']}>5</option><option{$int_select['10']}>10</option><option{$int_select['15']}>15</option><option{$int_select['20']}>20</option><option{$int_select['30']}>30</option><option{$int_select['60']}>60</option></select> ".__('sec', 'quotes-collection')."</p>";
|
92 |
-
echo "<p style=\"text-align:left;\"><label for=\"quotescollection-tags\">".__('Tags filter', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-tags\" name=\"quotescollection-tags\" value=\"".htmlspecialchars($options['tags'], ENT_QUOTES)."\" /><br/><span class=\"setting-description\"><small>".__('Comma separated', 'quotes-collection')."</small></span></p>";
|
93 |
-
echo "<p style=\"text-align:left;\"><label for=\"quotescollection-char_limit\">".__('Character limit', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-char_limit\" name=\"quotescollection-char_limit\" value=\"".htmlspecialchars($options['char_limit'], ENT_QUOTES)."\" /></p>";
|
94 |
-
echo "</div>";
|
95 |
-
echo "<input type=\"hidden\" id=\"quotescollection-submit\" name=\"quotescollection-submit\" value=\"1\" />";
|
96 |
-
}
|
97 |
-
|
98 |
-
if ( function_exists( 'wp_register_sidebar_widget' ) ) {
|
99 |
-
wp_register_sidebar_widget( 'quotescollection', 'Random Quote', 'quotescollection_widget' );
|
100 |
-
wp_register_widget_control( 'quotescollection', 'Random Quote', 'quotescollection_widget_control' );
|
101 |
-
} else {
|
102 |
-
register_sidebar_widget(array('Random Quote', 'widgets'), 'quotescollection_widget');
|
103 |
-
register_widget_control('Random Quote', 'quotescollection_widget_control', 250, 350);
|
104 |
-
}
|
105 |
-
}
|
106 |
-
|
107 |
-
add_action('plugins_loaded', 'quotescollection_widget_init');
|
108 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
quotes-collection.css
DELETED
@@ -1,60 +0,0 @@
|
|
1 |
-
/* Random quote */
|
2 |
-
.quotescollection_randomquote q {
|
3 |
-
}
|
4 |
-
|
5 |
-
.quotescollection_randomquote cite {
|
6 |
-
display:block; /* To display author and source in a new line */
|
7 |
-
text-align:right;
|
8 |
-
}
|
9 |
-
|
10 |
-
.quotescollection_author { /* author */
|
11 |
-
font-style:normal;
|
12 |
-
}
|
13 |
-
|
14 |
-
.quotescollection_source { /* source */
|
15 |
-
font-style: italic;
|
16 |
-
}
|
17 |
-
|
18 |
-
.quotescollection_nextquote { /* 'Next Quote »' link */
|
19 |
-
|
20 |
-
}
|
21 |
-
|
22 |
-
.quotescollection_nextquote a { /* use this if you want to change, for example, the color of the 'Next Quote »' link */
|
23 |
-
|
24 |
-
}
|
25 |
-
|
26 |
-
|
27 |
-
/* Quotes page */
|
28 |
-
blockquote.quotescollection {
|
29 |
-
border:0;
|
30 |
-
background:none;
|
31 |
-
padding:0;
|
32 |
-
margin:2em;
|
33 |
-
font-size:1em;
|
34 |
-
}
|
35 |
-
|
36 |
-
blockquote.quotescollection q {
|
37 |
-
|
38 |
-
}
|
39 |
-
|
40 |
-
blockquote.quotescollection cite {
|
41 |
-
display:inline;
|
42 |
-
font-size:0.83em;
|
43 |
-
}
|
44 |
-
|
45 |
-
a.disabled {
|
46 |
-
cursor:default;
|
47 |
-
}
|
48 |
-
|
49 |
-
/* See http://www.w3schools.com/css/pr_gen_quotes.asp */
|
50 |
-
q:lang(en)
|
51 |
-
{
|
52 |
-
quotes: "“" "”" "‘" "’";
|
53 |
-
}
|
54 |
-
|
55 |
-
/* Uncomment the block below if you want to get rid of the quotation marks before and after the quote */
|
56 |
-
/*
|
57 |
-
q:before, q:after {
|
58 |
-
content:"";
|
59 |
-
}
|
60 |
-
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
quotes-collection.js
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
function quotescollection_timer(instance, current, show_author, show_source, filter_tags, char_limit, auto_refresh, random_refresh)
|
2 |
-
{
|
3 |
-
var time_interval = auto_refresh * 1000;
|
4 |
-
if( (QCAjax.auto_refresh_max == 0) || (QCAjax.auto_refresh_count < QCAjax.auto_refresh_max) ) {
|
5 |
-
setTimeout("quotescollection_refresh("+instance+", "+current+", "+show_author+", "+show_source+", '"+filter_tags+"', "+char_limit+", "+auto_refresh+", "+random_refresh+")", time_interval);
|
6 |
-
QCAjax.auto_refresh_count += 1;
|
7 |
-
}
|
8 |
-
}
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
function quotescollection_refresh(instance, current, show_author, show_source, filter_tags, char_limit, auto_refresh, random_refresh)
|
13 |
-
{
|
14 |
-
jQuery("#quotescollection_nextquote-"+instance).html(QCAjax.loading);
|
15 |
-
jQuery.ajax({
|
16 |
-
type: "POST",
|
17 |
-
url: QCAjax.ajaxurl,
|
18 |
-
data: "action=quotescollection&_ajax_nonce="+QCAjax.nonce+"&refresh="+instance+"¤t="+current+"&show_author="+show_author+"&show_source="+show_source+"&char_limit="+char_limit+"&tags="+filter_tags+"&auto_refresh="+auto_refresh+"&random_refresh="+random_refresh,
|
19 |
-
success: function(response) {
|
20 |
-
if(response == '-1') {
|
21 |
-
if(auto_refresh == 0)
|
22 |
-
jQuery("#quotescollection_nextquote-"+instance).html('<a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh(\''+instance+'\', \''+current+'\', \''+show_author+'\', \''+show_source+'\', \''+filter_tags+'\', \''+char_limit+'\', \'0\', \''+random_refresh+'\');\">'+QCAjax.nextquote+'</a>');
|
23 |
-
else
|
24 |
-
quotescollection_timer(instance, current, show_author, show_source, filter_tags, char_limit, auto_refresh, random_refresh);
|
25 |
-
}
|
26 |
-
else {
|
27 |
-
jQuery("#quotescollection_randomquote-"+instance).hide();
|
28 |
-
jQuery("#quotescollection_randomquote-"+instance).html( response );
|
29 |
-
jQuery("#quotescollection_randomquote-"+instance).fadeIn("slow");
|
30 |
-
}
|
31 |
-
},
|
32 |
-
error: function(xhr, textStatus, errorThrown) {
|
33 |
-
console.log(textStatus+' '+xhr.status+': '+errorThrown);
|
34 |
-
if(auto_refresh == 0)
|
35 |
-
jQuery("#quotescollection_nextquote-"+instance).html('<a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh(\''+instance+'\', \''+current+'\', \''+show_author+'\', \''+show_source+'\', \''+filter_tags+'\', \''+char_limit+'\', \'0\', \''+random_refresh+'\');\">'+QCAjax.nextquote+'</a>');
|
36 |
-
}
|
37 |
-
});
|
38 |
-
}
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
quotes-collection.php
CHANGED
@@ -1,402 +1,119 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
Plugin Name: Quotes Collection
|
4 |
-
Plugin URI: http://srinig.com/wordpress/plugins/quotes-collection/
|
5 |
-
Description: Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes
|
6 |
-
Version:
|
7 |
-
Author: Srini G
|
8 |
-
Author URI: http://srinig.com/
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
*/
|
11 |
|
12 |
-
|
|
|
13 |
|
14 |
-
This program is free software; you can redistribute it and/or modify
|
15 |
-
it under the terms of the GNU General Public License as published by
|
16 |
-
the Free Software Foundation; either version 2 of the License, or
|
17 |
-
(at your option) any later version.
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
*/
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
/* The 'Next quote »' link text
|
32 |
-
By default, this is 'Next quote »' (or the corresponding translation).
|
33 |
-
You can change it if you wish */
|
34 |
-
$quotescollection_next_quote = "";
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
/* The maximum number iterations for the 'auto refresh'. Set this number to 0
|
39 |
-
if you want the auto refresh to happen infinitely. */
|
40 |
-
$quotescollection_auto_refresh_max = 30;
|
41 |
-
|
42 |
-
|
43 |
-
/* Refer http://codex.wordpress.org/Roles_and_Capabilities */
|
44 |
-
$quotescollection_admin_userlevel = 'edit_posts';
|
45 |
-
|
46 |
-
$quotescollection_version = '1.5.7';
|
47 |
-
$quotescollection_db_version = '1.4';
|
48 |
-
|
49 |
-
|
50 |
-
require_once('quotes-collection-ajax.php');
|
51 |
-
require_once('quotes-collection-widget.php');
|
52 |
-
require_once('quotes-collection-admin.php');
|
53 |
-
require_once('quotes-collection-shortcodes.php');
|
54 |
-
|
55 |
-
function quotescollection_get_randomquote($exclude = 0)
|
56 |
-
{
|
57 |
-
if($exclude) $condition = "quote_id <> ".$exclude;
|
58 |
-
else $condition = "";
|
59 |
-
return quotescollection_get_quote($condition);
|
60 |
-
}
|
61 |
-
|
62 |
-
function quotescollection_get_quotes($condition = "")
|
63 |
-
{
|
64 |
-
global $wpdb;
|
65 |
-
$sql = "SELECT quote_id, quote, author, source, tags, public
|
66 |
-
FROM " . $wpdb->prefix . "quotescollection"
|
67 |
-
. $condition;
|
68 |
-
|
69 |
-
if($quotes = $wpdb->get_results($sql, ARRAY_A))
|
70 |
-
return $quotes;
|
71 |
-
else
|
72 |
-
return array();
|
73 |
-
|
74 |
-
}
|
75 |
-
|
76 |
-
function quotescollection_get_quote($condition = '', $random = 1, $current = 0)
|
77 |
-
{
|
78 |
-
global $wpdb;
|
79 |
-
$sql = "SELECT quote_id, quote, author, source
|
80 |
-
FROM " . $wpdb->prefix . "quotescollection";
|
81 |
-
if ($condition)
|
82 |
-
$sql .= $condition;
|
83 |
-
if(!$random) {
|
84 |
-
if($current)
|
85 |
-
$sql .= " AND quote_id < {$current}";
|
86 |
-
$sql .= " ORDER BY quote_id DESC";
|
87 |
-
}
|
88 |
-
else
|
89 |
-
$sql .= " ORDER BY RAND(UNIX_TIMESTAMP(NOW()))";
|
90 |
-
$sql .= " LIMIT 1";
|
91 |
-
$random_quote = $wpdb->get_row($sql, ARRAY_A);
|
92 |
-
if ( empty($random_quote) ) {
|
93 |
-
if(!$random && $current)
|
94 |
-
return quotescollection_get_quote($condition, 0, 0);
|
95 |
-
else
|
96 |
-
return 0;
|
97 |
-
}
|
98 |
-
else
|
99 |
-
return $random_quote;
|
100 |
-
}
|
101 |
-
|
102 |
-
|
103 |
-
function quotescollection_count($condition = "")
|
104 |
-
{
|
105 |
-
global $wpdb;
|
106 |
-
$sql = "SELECT COUNT(*) FROM " . $wpdb->prefix . "quotescollection ".$condition;
|
107 |
-
$count = $wpdb->get_var($sql);
|
108 |
-
return $count;
|
109 |
-
}
|
110 |
-
|
111 |
-
function quotescollection_pagenav($total, $current = 1, $format = 0, $paged = 'paged', $url = "")
|
112 |
-
{
|
113 |
-
if($total == 1 && $current == 1) return "";
|
114 |
-
|
115 |
-
if(!$url) {
|
116 |
-
$url = 'http';
|
117 |
-
if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {$url .= "s";}
|
118 |
-
$url .= "://";
|
119 |
-
if ($_SERVER["SERVER_PORT"] != "80") {
|
120 |
-
$url .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"];
|
121 |
-
} else {
|
122 |
-
$url .= $_SERVER["SERVER_NAME"];
|
123 |
-
}
|
124 |
-
|
125 |
-
if ( get_option('permalink_structure') != '' ) {
|
126 |
-
if($_SERVER['REQUEST_URI']) {
|
127 |
-
$request_uri = explode('?', $_SERVER['REQUEST_URI']);
|
128 |
-
$url .= $request_uri[0];
|
129 |
-
}
|
130 |
-
else $url .= "/";
|
131 |
-
}
|
132 |
-
else {
|
133 |
-
$url .= $_SERVER["PHP_SELF"];
|
134 |
-
}
|
135 |
-
|
136 |
-
if($query_string = $_SERVER['QUERY_STRING']) {
|
137 |
-
$parms = explode('&', $query_string);
|
138 |
-
$y = '';
|
139 |
-
foreach($parms as $parm) {
|
140 |
-
$x = explode('=', $parm);
|
141 |
-
if($x[0] == $paged) {
|
142 |
-
$query_string = str_replace($y.$parm, '', $query_string);
|
143 |
-
}
|
144 |
-
else $y = '&';
|
145 |
-
}
|
146 |
-
if($query_string) {
|
147 |
-
$url .= '?'.$query_string;
|
148 |
-
$a = '&';
|
149 |
-
}
|
150 |
-
else $a = '?';
|
151 |
-
}
|
152 |
-
else $a = '?';
|
153 |
-
}
|
154 |
-
else {
|
155 |
-
$a = '?';
|
156 |
-
if(strpos($url, '?')) $a = '&';
|
157 |
-
}
|
158 |
-
|
159 |
-
if(!$format || $format > 2 || $format < 0 || !is_numeric($format)) {
|
160 |
-
if($total <= 8) $format = 1;
|
161 |
-
else $format = 2;
|
162 |
-
}
|
163 |
-
|
164 |
-
|
165 |
-
if($current > $total) $current = $total;
|
166 |
-
$pagenav = "";
|
167 |
-
|
168 |
-
if($format == 2) {
|
169 |
-
$first_disabled = $prev_disabled = $next_disabled = $last_disabled = '';
|
170 |
-
if($current == 1)
|
171 |
-
$first_disabled = $prev_disabled = ' disabled';
|
172 |
-
if($current == $total)
|
173 |
-
$next_disabled = $last_disabled = ' disabled';
|
174 |
-
|
175 |
-
$pagenav .= "<a class=\"first-page{$first_disabled}\" title=\"".__('Go to the first page', 'quotes-collection')."\" href=\"{$url}\">«</a> ";
|
176 |
-
|
177 |
-
$pagenav .= "<a class=\"prev-page{$prev_disabled}\" title=\"".__('Go to the previous page', 'quotes-collection')."\" href=\"{$url}{$a}{$paged}=".($current - 1)."\">‹</a> ";
|
178 |
-
|
179 |
-
$pagenav .= '<span class="paging-input">'.$current.' of <span class="total-pages">'.$total.'</span></span>';
|
180 |
-
|
181 |
-
$pagenav .= " <a class=\"next-page{$next_disabled}\" title=\"".__('Go to the next page', 'quotes-collection')."\" href=\"{$url}{$a}{$paged}=".($current + 1)."\">›</a>";
|
182 |
-
|
183 |
-
$pagenav .= " <a class=\"last-page{$last_disabled}\" title=\"".__('Go to the last page', 'quotes-collection')."\" href=\"{$url}{$a}{$paged}={$total}\">»</a>";
|
184 |
-
|
185 |
-
}
|
186 |
-
else {
|
187 |
-
$pagenav = __("Goto page:", 'quotes-collection');
|
188 |
-
for( $i = 1; $i <= $total; $i++ ) {
|
189 |
-
if($i == $current)
|
190 |
-
$pagenav .= " <strong>{$i}</strong>";
|
191 |
-
else if($i == 1)
|
192 |
-
$pagenav .= " <a href=\"{$url}\">{$i}</a>";
|
193 |
-
else
|
194 |
-
$pagenav .= " <a href=\"{$url}{$a}{$paged}={$i}\">{$i}</a>";
|
195 |
-
}
|
196 |
-
}
|
197 |
-
return $pagenav;
|
198 |
}
|
199 |
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
}
|
237 |
-
|
238 |
-
|
239 |
-
function quotescollection_display_randomquote($show_author = 1, $show_source = 1, $ajax_refresh = 1, $random_quote = array())
|
240 |
-
{
|
241 |
-
$args = "show_author={$show_author}&show_source={$show_source}&ajax_refresh={$ajax_refresh}&char_limit={$char_limit}&echo=1";
|
242 |
-
return quotescollection_quote($args);
|
243 |
-
}
|
244 |
-
|
245 |
-
|
246 |
-
function quotescollection_quote($args = '')
|
247 |
-
{
|
248 |
-
global $quotescollection_instances, $quotescollection_next_quote;
|
249 |
-
if(!$quotescollection_next_quote) $quotescollection_next_quote = __('Next quote', 'quotes-collection')." »";
|
250 |
-
if(!($instance = $quotescollection_instances))
|
251 |
-
$instance = $quotescollection_instances = 0;
|
252 |
-
|
253 |
$key_value = explode('&', $args);
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
}
|
259 |
-
|
260 |
-
$options_default = array(
|
261 |
-
'show_author' => 1,
|
262 |
-
'show_source' => 1,
|
263 |
-
'ajax_refresh' => 1,
|
264 |
-
'auto_refresh' => 0,
|
265 |
-
'tags' => '',
|
266 |
-
'char_limit' => 500,
|
267 |
-
'echo' => 1,
|
268 |
-
'random' => 1,
|
269 |
-
'exclude' => '',
|
270 |
-
'current' => 0
|
271 |
-
);
|
272 |
-
|
273 |
-
$options = array_merge($options_default, $options);
|
274 |
-
|
275 |
-
$condition = " WHERE public = 'yes'";
|
276 |
-
|
277 |
-
if($options['random'])
|
278 |
-
$current = 0;
|
279 |
-
else $current = $options['current'];
|
280 |
-
|
281 |
-
if($options['char_limit'] && is_numeric($options['char_limit']))
|
282 |
-
$condition .= " AND CHAR_LENGTH(quote) <= ".$options['char_limit'];
|
283 |
-
|
284 |
-
else $options['char_limit'] = 0;
|
285 |
-
|
286 |
-
if($options['exclude'])
|
287 |
-
$condition .=" AND quote_id <> ".$options['exclude'];
|
288 |
-
|
289 |
-
if($options['tags']) {
|
290 |
-
$taglist = explode(',', $options['tags']);
|
291 |
-
$tag_condition = "";
|
292 |
-
foreach($taglist as $tag) {
|
293 |
-
$tag = mysql_real_escape_string(strip_tags(trim($tag)));
|
294 |
-
if($tag_condition) $tag_condition .= " OR ";
|
295 |
-
$tag_condition .= "tags = '{$tag}' OR tags LIKE '{$tag},%' OR tags LIKE '%,{$tag},%' OR tags LIKE '%,{$tag}'";
|
296 |
}
|
297 |
-
$condition .= " AND ({$tag_condition})";
|
298 |
}
|
299 |
-
$random_quote = quotescollection_get_quote($condition, $options['random'], $current);
|
300 |
|
301 |
-
if(
|
302 |
-
|
303 |
-
|
304 |
-
$random_quote = quotescollection_txtfmt($random_quote);
|
305 |
-
|
306 |
-
$display = quotescollection_output_format($random_quote, $options);
|
307 |
-
|
308 |
-
// We don't want to display the 'next quote' link if there is no more than 1 quote
|
309 |
-
$quotes_count = quotescollection_count($condition);
|
310 |
-
|
311 |
-
if($options['ajax_refresh'] == 1 && $quotes_count > 1) {
|
312 |
-
if($options['auto_refresh'])
|
313 |
-
$display .= "<script type=\"text/javascript\">quotescollection_timer(".$instance.", ".$random_quote["quote_id"].", ". $options['show_author'] .", ".$options['show_source'].", '".$options['tags']."', ".$options['char_limit'].", ".$options['auto_refresh'].", ".$options['random'].");</script>";
|
314 |
-
else {
|
315 |
-
$display .= "<script type=\"text/javascript\">\n<!--\ndocument.write(\"";
|
316 |
-
$display .= '<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-'.$instance.'\"><a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh('.$instance.', '.$random_quote["quote_id"].', '. $options['show_author'] .', '.$options['show_source'].', \''.$options['tags'].'\', '.$options['char_limit'].', 0, '.$options['random'].');\">'.$quotescollection_next_quote.'<\/a><\/p>';
|
317 |
-
$display .= "\")\n//-->\n</script>\n";
|
318 |
-
}
|
319 |
-
}
|
320 |
-
else if ($options['ajax_refresh'] == 2 && $quotes_count) {
|
321 |
-
if($options['auto_refresh'])
|
322 |
-
$display .= "<script type=\"text/javascript\">quotescollection_timer(".$instance.", ".$random_quote["quote_id"].", ". $options['show_author'] .", ".$options['show_source'].", '".$options['tags']."', ".$options['char_limit'].", ".$options['auto_refresh'].", ".$options['random'].");</script>";
|
323 |
-
else
|
324 |
-
$display .= "<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-".$_REQUEST['refresh']."\"><a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh(".$_REQUEST['refresh'].", ".$random_quote['quote_id'].', '. $options['show_author'] .', '.$options['show_source'].', \''.$options['tags'].'\', '.$options['char_limit'].", 0, ".$options['random'].");\">".$quotescollection_next_quote."</a></p>";
|
325 |
-
return $display;
|
326 |
}
|
327 |
-
|
328 |
$quotescollection_instances++;
|
329 |
-
|
330 |
-
echo $display;
|
331 |
-
else
|
332 |
-
return $display;
|
333 |
-
}
|
334 |
-
|
335 |
-
|
336 |
|
337 |
-
|
338 |
-
{
|
339 |
-
global $wpdb;
|
340 |
-
$table_name = $wpdb->prefix . "quotescollection";
|
341 |
|
342 |
-
|
343 |
-
$db_charset = 'utf8';
|
344 |
-
$db_charset = "CHARACTER SET ".$db_charset;
|
345 |
-
if(defined('DB_COLLATE') && $db_collate = DB_COLLATE)
|
346 |
-
$db_collate = "COLLATE ".$db_collate;
|
347 |
-
|
348 |
-
|
349 |
-
// if table name already exists
|
350 |
-
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") == $table_name) {
|
351 |
-
$wpdb->query("ALTER TABLE `{$table_name}` {$db_charset} {$db_collate}");
|
352 |
-
|
353 |
-
$wpdb->query("ALTER TABLE `{$table_name}` MODIFY quote TEXT {$db_charset} {$db_collate}");
|
354 |
-
|
355 |
-
$wpdb->query("ALTER TABLE `{$table_name}` MODIFY author VARCHAR(255) {$db_charset} {$db_collate}");
|
356 |
-
|
357 |
-
$wpdb->query("ALTER TABLE `{$table_name}` MODIFY source VARCHAR(255) {$db_charset} {$db_collate}");
|
358 |
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
}
|
365 |
-
}
|
366 |
-
else {
|
367 |
-
//Creating the table ... fresh!
|
368 |
-
$sql = "CREATE TABLE " . $table_name . " (
|
369 |
-
quote_id mediumint(9) NOT NULL AUTO_INCREMENT,
|
370 |
-
quote TEXT NOT NULL,
|
371 |
-
author VARCHAR(255),
|
372 |
-
source VARCHAR(255),
|
373 |
-
tags VARCHAR(255),
|
374 |
-
public enum('yes', 'no') DEFAULT 'yes' NOT NULL,
|
375 |
-
time_added datetime NOT NULL,
|
376 |
-
time_updated datetime,
|
377 |
-
PRIMARY KEY (quote_id)
|
378 |
-
) {$db_charset} {$db_collate};";
|
379 |
-
$results = $wpdb->query( $sql );
|
380 |
}
|
381 |
-
|
382 |
-
global $quotescollection_db_version;
|
383 |
-
$options = get_option('quotescollection');
|
384 |
-
$options['db_version'] = $quotescollection_db_version;
|
385 |
-
update_option('quotescollection', $options);
|
386 |
-
|
387 |
}
|
388 |
|
389 |
-
|
390 |
-
function
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
wp_register_style( 'quotescollection-style', plugins_url('quotes-collection.css', __FILE__), false, $quotescollection_version );
|
395 |
-
wp_enqueue_style( 'quotescollection-style' );
|
396 |
}
|
|
|
397 |
}
|
398 |
-
add_action( 'wp_enqueue_scripts', 'quotescollection_css_head' );
|
399 |
|
400 |
|
401 |
-
register_activation_hook( __FILE__, 'quotescollection_install' );
|
402 |
?>
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Plugin Name: Quotes Collection
|
4 |
+
* Plugin URI: http://srinig.com/wordpress/plugins/quotes-collection/
|
5 |
+
* Description: Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress blog/website.
|
6 |
+
* Version: 2.0.10
|
7 |
+
* Author: Srini G
|
8 |
+
* Author URI: http://srinig.com/
|
9 |
+
* Text Domain: quotes-collection
|
10 |
+
* Domain Path: /languages/
|
11 |
+
* License: GPL2
|
12 |
+
*/
|
13 |
+
|
14 |
+
/* Copyright 2007-2018 Srini G (email : s@srinig.com)
|
15 |
+
|
16 |
+
This program is free software; you can redistribute it and/or modify
|
17 |
+
it under the terms of the GNU General Public License as published by
|
18 |
+
the Free Software Foundation; either version 2 of the License, or
|
19 |
+
(at your option) any later version.
|
20 |
+
|
21 |
+
This program is distributed in the hope that it will be useful,
|
22 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
24 |
+
GNU General Public License for more details.
|
25 |
+
|
26 |
+
You should have received a copy of the GNU General Public License
|
27 |
+
along with this program; if not, write to the Free Software
|
28 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
29 |
*/
|
30 |
|
31 |
+
/** Prevent direct access to the file **/
|
32 |
+
defined( 'ABSPATH' ) or die( 'Access denied' );
|
33 |
|
|
|
|
|
|
|
|
|
34 |
|
35 |
+
require_once( 'inc/class-quotes-collection.php' );
|
36 |
+
require_once( 'inc/class-quotes-collection-db.php' );
|
37 |
+
require_once( 'inc/class-quotes-collection-quote.php' );
|
38 |
+
include_once( 'inc/class-quotes-collection-widget.php' );
|
39 |
+
require_once( 'inc/class-quotes-collection-shortcode.php');
|
40 |
+
if( is_admin() ) {
|
41 |
+
require_once( 'inc/class-quotes-collection-admin-list-table.php' );
|
42 |
+
require_once( 'inc/class-quotes-collection-admin.php' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
|
45 |
+
register_activation_hook( __FILE__, array( 'Quotes_Collection', 'activate' ) );
|
46 |
+
add_action( 'plugins_loaded', array( 'Quotes_Collection', 'load' ) );
|
47 |
+
add_action('widgets_init', array( 'Quotes_Collection_Widget', 'register' ) );
|
48 |
+
|
49 |
+
|
50 |
+
/**
|
51 |
+
* The template function that generates a random quote
|
52 |
+
*
|
53 |
+
* @param array $args {
|
54 |
+
* 'show_author' => true,
|
55 |
+
* 'show_source' => false,
|
56 |
+
* 'ajax_refresh' => true,
|
57 |
+
* 'random' => true,
|
58 |
+
* 'auto_refresh' => false,
|
59 |
+
* 'tags' => '',
|
60 |
+
* 'char_limit' => 500,
|
61 |
+
* 'echo' => true,
|
62 |
+
* }
|
63 |
+
*
|
64 |
+
* @return string containing the quote block, if 'echo' is passed in as false
|
65 |
+
* @return bool true when quote is already echoed, ie., when echo is true
|
66 |
+
* @return bool false on error
|
67 |
+
*
|
68 |
+
* @link http://wordpress.org/plugins/quotes-collection/other_notes
|
69 |
+
*/
|
70 |
+
function quotescollection_quote( $args = NULL ) {
|
71 |
+
|
72 |
+
global $quotescollection;
|
73 |
+
global $quotescollection_instances;
|
74 |
+
|
75 |
+
|
76 |
+
if( NULL === $args || ( !is_string($args) && !is_array($args) ) ) {
|
77 |
+
$args = array();
|
78 |
+
}
|
79 |
+
else if( is_string($args) ) { // If args are passed as a string
|
80 |
+
// Covert the string into array
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
$key_value = explode('&', $args);
|
82 |
+
$args = array();
|
83 |
+
foreach($key_value as $value) {
|
84 |
+
$x = explode('=', $value);
|
85 |
+
$args[$x[0]] = $x[1]; // $options['key'] = 'value';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
}
|
|
|
87 |
}
|
|
|
88 |
|
89 |
+
if( NULL === $quotescollection_instances ) {
|
90 |
+
$quotescollection_instances = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
}
|
92 |
+
|
93 |
$quotescollection_instances++;
|
94 |
+
$args['instance'] = "tf_quotescollection_".$quotescollection_instances;
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
+
return $quotescollection->quote( $args );
|
|
|
|
|
|
|
97 |
|
98 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
+
/** Returns the plugin's url. If $path is passed, it's appended. */
|
101 |
+
function quotescollection_url( $path = "" ) {
|
102 |
+
// If $path comes with a slash, remove it as the function be adding
|
103 |
+
if( $path && '/' == $path[0]) {
|
104 |
+
$path = substr( $path, 1 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
}
|
106 |
+
return plugins_url( $path, __FILE__ );
|
|
|
|
|
|
|
|
|
|
|
107 |
}
|
108 |
|
109 |
+
/** Returns the plugin's home directory. If $path is passed, it's appended. */
|
110 |
+
function quotescollection_rel_path( $path = "" ) {
|
111 |
+
// If $path comes with a slash, remove it as we'll be adding
|
112 |
+
if( $path && '/' == $path[0]) {
|
113 |
+
$path = substr( $path, 1 );
|
|
|
|
|
114 |
}
|
115 |
+
return dirname( plugin_basename( __FILE__) ) . '/'. $path;
|
116 |
}
|
|
|
117 |
|
118 |
|
|
|
119 |
?>
|
readme.txt
CHANGED
@@ -2,56 +2,76 @@
|
|
2 |
Contributors: SriniG
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HDWT2K8TXXHUN
|
4 |
Tags: quotes collection, quotes, quotations, random quote, sidebar, widget, ajax, shortcode
|
5 |
-
Requires at least:
|
6 |
-
Tested up to:
|
7 |
Stable tag: trunk
|
8 |
License: GNU General Public License
|
9 |
|
10 |
-
Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
Quotes Collection plugin helps you collect, manage and display your favourite quotations in your WordPress blog.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
|
17 |
**Features and notes**
|
18 |
|
19 |
-
* **Admin interface**: An admin interface to add, edit
|
20 |
-
* **Sidebar widget**: The Random Quote sidebar widget
|
21 |
* Widget title
|
22 |
* Option to show/hide quote author
|
23 |
* Option to show/hide quote source
|
24 |
-
* Turn on/off the
|
25 |
* Choose random or sequential order for refresh
|
26 |
* Option to refresh the quote automatically
|
27 |
* Show only quotes with certain tags
|
28 |
* Specify a character limit and filter out bigger quotes
|
29 |
-
* **Shortcode**: Quotes can be displayed in a WordPress page by placing a `[quotcoll]`shortcode. Few examples are provided below. For more examples and the full list of arguments, please refer
|
30 |
* Placing `[quotcoll]` in the page displays all quotes.
|
31 |
* `[quotcoll author="Somebody"]` displays quotes authored by Somebody.
|
32 |
* `[quotcoll tags="tag1,tag2,tag3"]` displays quotes tagged tag1 or tag2 or tag3, one or more or all of these
|
33 |
* `[quotcoll orderby="random" limit=1]` displays a random quote
|
34 |
* **The template function**: To code the random quote functionality directly into a template file, the template function `quotescollection_quote()` can be used. Please refer the plugin homepage or 'other notes' for details.
|
35 |
-
*
|
36 |
* The plugin suppports localization. Refer the plugin page or 'other notes' for the full list of available languages and the respective translators.
|
37 |
|
38 |
-
For more information, visit the [plugin homepage](http://srinig.com/wordpress/plugins/quotes-collection/). Please provide your feedback at the [WordPress support forums](http://wordpress.org/tags/quotes-collection?forum_id=10).
|
39 |
|
40 |
== Installation ==
|
41 |
-
1. Upload `quotes-collection` directory to the `/wp-content/plugins/` directory
|
42 |
-
1. Activate the 'Quotes Collection' plugin through the 'Plugins' menu in WordPress
|
43 |
-
1. Add and manage the quotes through the 'Quotes' menu in the WordPress admin area
|
44 |
-
1. To display a random quote in the sidebar, go to 'Widgets' menu and drag the 'Random Quote' widget into the sidebar
|
45 |
|
46 |
-
|
|
|
|
|
|
|
|
|
47 |
|
48 |
-
|
49 |
|
50 |
-
|
|
|
|
|
|
|
51 |
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
-
Styling such as text color, font size, background color, etc., of the random quote can be customized by editing the quotes-collection.css file. Please also note that any updates to the plugin will overwrite your customized css file, so it's advisable to backup your customization before updating the plugin.
|
55 |
|
56 |
= How to hide the 'Next quote »' link? =
|
57 |
|
@@ -59,7 +79,7 @@ You can do this by turning off the 'Ajax Refresh' feature in widget options.
|
|
59 |
|
60 |
= How to change the link text from 'Next quote »' to something else? =
|
61 |
|
62 |
-
|
63 |
|
64 |
= The 'Next quote »' link is not working. Why? =
|
65 |
|
@@ -69,28 +89,18 @@ Make sure your theme's header.php file has the code `<?php wp_head(); ?>` just b
|
|
69 |
|
70 |
If you want all of the quotes to display, make sure all all the quotes fall within the 'Character limit'. There is an option named 'Character limit' for the widget (bottom most, under the 'advanced options') with a default value of '500'. The value can be changed, or simply removed and the field left blank so that none of the quotes get filtered out based on length.
|
71 |
|
72 |
-
= Why multiple instances of the widget is not available? =
|
73 |
-
|
74 |
-
There can be conflicts and undesirable behaviour when more than one instance of the random quote function call is used in the same page, especially with the ajax refresh turned on for all the instances. It is for this reason the multiple instances of the widget is currently unavailable. For the same reason, it is not advised to use the `quotescollection_quote()` function call more than once in the same page. And for the same reason, the ajax refresh option is not made available for the shortcodes. These limitations shall be overcome in a future version of the plugin.
|
75 |
-
|
76 |
-
= How to change the admin access level setting for the quotes collection admin page? =
|
77 |
-
|
78 |
-
Change the value of the variable `$quotescollection_admin_userlevel` on line 44 of the quotes-collection.php file. Refer [WordPress documentation](http://codex.wordpress.org/Roles_and_Capabilities) for more information about user roles and capabilities.
|
79 |
-
|
80 |
= I have a long list of quotes, and the `[quotcoll]` shortcode puts all of the quotes in a single page. Is there a way to introduce pagination and break the long list of quotes into different pages? =
|
81 |
|
82 |
Yes, pagination is supporterd in versions 1.5 and greater. `paging` and `limit_per_page` attributes can be used to achieve this. For example, `[quotcoll paging=true limit_per_page=30]` will introduce pagination with a maximum of 30 quotes per page.
|
83 |
|
84 |
-
= How about a feature to backup/export/import the bulk of quotes in CSV/text format? =
|
85 |
-
|
86 |
-
Such a feature will be available in a future version of the plugin, though no promises can be made as to when it will be available!
|
87 |
|
88 |
== Screenshots ==
|
89 |
|
90 |
-
1. Admin interface (in WordPress
|
91 |
-
2. 'Random Quote' widget options (WordPress
|
92 |
3. A random quote in the sidebar
|
93 |
|
|
|
94 |
== The [quotcoll] shortcode ==
|
95 |
Quotes can be displayed in a page by placing the shortcode `[quotcoll]`. This will display all the public quotes ordered by the quote id.
|
96 |
|
@@ -142,32 +152,36 @@ Different attributes can be specified to customize the way the quotes are displa
|
|
142 |
|
143 |
The quotescollection_quote() template function can be used to display a random quote in places other than sidebar.
|
144 |
|
145 |
-
Usage: `<?php quotescollection_quote(
|
146 |
|
147 |
The list of parameters (arguments) that can be passed on to this function:
|
148 |
|
149 |
* **show_author** *(boolean)*
|
150 |
* To show/hide the author name
|
151 |
-
*
|
152 |
-
*
|
153 |
|
154 |
* **show_source** *(boolean)*
|
155 |
* To show/hide the source field
|
156 |
-
*
|
157 |
-
*
|
158 |
|
159 |
* **ajax_refresh** *(boolean)*
|
160 |
* To show/hide the 'Next quote' refresh link
|
161 |
-
*
|
162 |
-
*
|
163 |
|
164 |
* **random** *(boolean)*
|
165 |
* Refresh the quote in random or sequential order
|
166 |
-
*
|
167 |
-
*
|
168 |
|
169 |
-
* **auto_refresh** *(integer)*
|
170 |
-
* To refresh the quote automatically
|
|
|
|
|
|
|
|
|
171 |
|
172 |
* **tags** *(string)*
|
173 |
* Comma separated list of tags. Only quotes with one or more of these tags will be shown.
|
@@ -176,9 +190,9 @@ The list of parameters (arguments) that can be passed on to this function:
|
|
176 |
* Quotes with number of characters more than this value will be filtered out. This is useful if you don't want to display long quotes using this function. The default value is 500.
|
177 |
|
178 |
* **echo** *(boolean)*
|
179 |
-
*
|
180 |
-
*
|
181 |
-
*
|
182 |
|
183 |
**Example usage:**
|
184 |
|
@@ -186,11 +200,11 @@ The list of parameters (arguments) that can be passed on to this function:
|
|
186 |
|
187 |
* Uses the default values for the parameters. Shows author, hides source, shows the 'Next quote' link, no tags filtering, no character limit, displays the quote.
|
188 |
|
189 |
-
* `<?php quotescollection_quote('show_author
|
190 |
|
191 |
* Hides author, shows source, only quotes tagged with 'fun' or 'fav' or both are shown. 'Next quote' link is shown (default) and no character limit (default).
|
192 |
|
193 |
-
* `<?php quotescollection_quote('ajax_refresh
|
194 |
|
195 |
* The 'Next quote' link is not shown, quotes with number of characters greater that 300 are left out.
|
196 |
|
@@ -222,7 +236,7 @@ Versions 1.1 and greater support localization. As of the current version, locali
|
|
222 |
* `lv_LV` / Latvian / [Maris Svirksts](http://www.moskjis.com/)
|
223 |
* `mk_MK` / Macedonian / [Diana](http://wpcouponshop.com/)
|
224 |
* `nb_NO` / Norwegian (Bokmål) / [Christian K. Nordtømme](http://nextpage.no/)
|
225 |
-
* `nl_NL` / Dutch / [Kristof Vercruyssen](http://www.simplit.be/)
|
226 |
* `pl_PL` / Polish / Marcin Gucia
|
227 |
* `pt_BR` / Brazilian Portugese / Tzor More
|
228 |
* `pt_PT` / Portugese / [Djamilo Jacinto](http://www.maxibim.net/)
|
@@ -240,6 +254,48 @@ You can translate the plugin in your language if it's not done already. The loca
|
|
240 |
|
241 |
==Changelog==
|
242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
* **2012-12-16: Version 1.5.9**
|
244 |
* Fix for cases where random refresh always fetches only two quotes
|
245 |
* Bugfix for widget
|
@@ -440,7 +496,29 @@ You can translate the plugin in your language if it's not done already. The loca
|
|
440 |
|
441 |
== Upgrade Notice ==
|
442 |
|
443 |
-
=
|
444 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
|
|
|
|
|
446 |
|
|
|
|
2 |
Contributors: SriniG
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HDWT2K8TXXHUN
|
4 |
Tags: quotes collection, quotes, quotations, random quote, sidebar, widget, ajax, shortcode
|
5 |
+
Requires at least: 3.1
|
6 |
+
Tested up to: 4.9.5
|
7 |
Stable tag: trunk
|
8 |
License: GNU General Public License
|
9 |
|
10 |
+
Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress website.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
Quotes Collection plugin helps you collect, manage and display your favourite quotations in your WordPress website or blog.
|
15 |
+
|
16 |
+
**New in 2.0**
|
17 |
+
|
18 |
+
* New and improved admin interface
|
19 |
+
* Import/Export your collection of quotes in JSON format
|
20 |
+
* Multi-widget support
|
21 |
+
* Cleaner uninstall
|
22 |
+
* Many other improvements
|
23 |
+
|
24 |
+
*Note: If you are upgrading to 2.0 from an older version, you will have to re-add the widget and set the widget options once again after upgradation.*
|
25 |
|
26 |
|
27 |
**Features and notes**
|
28 |
|
29 |
+
* **Admin interface**: An admin interface to add, edit, import, export and generally manage the collection of quotes.
|
30 |
+
* **Sidebar widget**: The Random Quote sidebar widget that will display a random quote from your collection and a refresh link at the bottom. As many number of instances of the widget can be added. Following is the list of options in the widget control panel:
|
31 |
* Widget title
|
32 |
* Option to show/hide quote author
|
33 |
* Option to show/hide quote source
|
34 |
+
* Turn on/off the refresh feature
|
35 |
* Choose random or sequential order for refresh
|
36 |
* Option to refresh the quote automatically
|
37 |
* Show only quotes with certain tags
|
38 |
* Specify a character limit and filter out bigger quotes
|
39 |
+
* **Shortcode**: Quotes can be displayed in a WordPress page by placing a `[quotcoll]`shortcode. Few examples are provided below. For more examples and the full list of arguments, please refer 'other notes'.
|
40 |
* Placing `[quotcoll]` in the page displays all quotes.
|
41 |
* `[quotcoll author="Somebody"]` displays quotes authored by Somebody.
|
42 |
* `[quotcoll tags="tag1,tag2,tag3"]` displays quotes tagged tag1 or tag2 or tag3, one or more or all of these
|
43 |
* `[quotcoll orderby="random" limit=1]` displays a random quote
|
44 |
* **The template function**: To code the random quote functionality directly into a template file, the template function `quotescollection_quote()` can be used. Please refer the plugin homepage or 'other notes' for details.
|
45 |
+
* **Import/Export** your collection of quotes in JSON format *(new in 2.0)*.
|
46 |
* The plugin suppports localization. Refer the plugin page or 'other notes' for the full list of available languages and the respective translators.
|
47 |
|
|
|
48 |
|
49 |
== Installation ==
|
|
|
|
|
|
|
|
|
50 |
|
51 |
+
**Method 1**
|
52 |
+
|
53 |
+
1. Go to *Plugins -> Add New* in your WordPress admin area
|
54 |
+
1. Type 'quotes collection' in the search box available and hit the 'Enter' key
|
55 |
+
1. Locate the 'Quotes Collection' plugin authored by Srini G, and click 'Install Now'
|
56 |
|
57 |
+
**Method 2**
|
58 |
|
59 |
+
1. Dowload the latest version of the plugin from WordPress plugin directory
|
60 |
+
1. Go to *Plugins -> Add New* in your WordPress admin area
|
61 |
+
1. Click on the 'Upload Plugin' button at the top, near 'Add Plugins'
|
62 |
+
1. Browse and select the zip file you just downloaded, and click 'Install Now'
|
63 |
|
64 |
+
**Method 3**
|
65 |
+
|
66 |
+
1. Dowload the latest version of the plugin from WordPress plugin directory
|
67 |
+
1. Extract the zip file
|
68 |
+
1. Using a FTP client or something similar, upload the `quotes-collection` directory to the `~/wp-content/plugins/` directory of your WordPress installation.
|
69 |
+
|
70 |
+
After installation, the plugin can be activated from *Plugins -> Installed Plugins* in your WordPress admin area. Once activated, the *Quotes Collection* menu will be visible in your admin menu.
|
71 |
+
|
72 |
+
|
73 |
+
== Frequently Asked Questions ==
|
74 |
|
|
|
75 |
|
76 |
= How to hide the 'Next quote »' link? =
|
77 |
|
79 |
|
80 |
= How to change the link text from 'Next quote »' to something else? =
|
81 |
|
82 |
+
This text can be changed from *Quotes Collection -> Options* in your WordPress admin area
|
83 |
|
84 |
= The 'Next quote »' link is not working. Why? =
|
85 |
|
89 |
|
90 |
If you want all of the quotes to display, make sure all all the quotes fall within the 'Character limit'. There is an option named 'Character limit' for the widget (bottom most, under the 'advanced options') with a default value of '500'. The value can be changed, or simply removed and the field left blank so that none of the quotes get filtered out based on length.
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
= I have a long list of quotes, and the `[quotcoll]` shortcode puts all of the quotes in a single page. Is there a way to introduce pagination and break the long list of quotes into different pages? =
|
93 |
|
94 |
Yes, pagination is supporterd in versions 1.5 and greater. `paging` and `limit_per_page` attributes can be used to achieve this. For example, `[quotcoll paging=true limit_per_page=30]` will introduce pagination with a maximum of 30 quotes per page.
|
95 |
|
|
|
|
|
|
|
96 |
|
97 |
== Screenshots ==
|
98 |
|
99 |
+
1. Admin interface (in WordPress 4.2)
|
100 |
+
2. 'Random Quote' widget options (WordPress 4.2)
|
101 |
3. A random quote in the sidebar
|
102 |
|
103 |
+
|
104 |
== The [quotcoll] shortcode ==
|
105 |
Quotes can be displayed in a page by placing the shortcode `[quotcoll]`. This will display all the public quotes ordered by the quote id.
|
106 |
|
152 |
|
153 |
The quotescollection_quote() template function can be used to display a random quote in places other than sidebar.
|
154 |
|
155 |
+
Usage: `<?php quotescollection_quote($arguments); ?>`
|
156 |
|
157 |
The list of parameters (arguments) that can be passed on to this function:
|
158 |
|
159 |
* **show_author** *(boolean)*
|
160 |
* To show/hide the author name
|
161 |
+
* `true` - shows the author name (default)
|
162 |
+
* `false` - hides the author name
|
163 |
|
164 |
* **show_source** *(boolean)*
|
165 |
* To show/hide the source field
|
166 |
+
* `true` - shows the source
|
167 |
+
* `false` - hides the source (default)
|
168 |
|
169 |
* **ajax_refresh** *(boolean)*
|
170 |
* To show/hide the 'Next quote' refresh link
|
171 |
+
* `true` - shows the refresh link (default)
|
172 |
+
* `false` - hides the hides the refresh link
|
173 |
|
174 |
* **random** *(boolean)*
|
175 |
* Refresh the quote in random or sequential order
|
176 |
+
* `true` - random refresh (default)
|
177 |
+
* `false` - sequential, with the latest quote first
|
178 |
|
179 |
+
* **auto_refresh** *(boolean/integer)*
|
180 |
+
* To refresh the quote automatically
|
181 |
+
* `true` - auto refresh every 5 seconds
|
182 |
+
* `false` - auto refresh is off (default)
|
183 |
+
* `integer` - auto refresh is on, and the number provided will be the refresh interval, in seconds.
|
184 |
+
* For example, `<?php quotescollection_quote( array( 'auto_refresh' => 3 ) ); ?>` will refresh the quote every 3 seconds.
|
185 |
|
186 |
* **tags** *(string)*
|
187 |
* Comma separated list of tags. Only quotes with one or more of these tags will be shown.
|
190 |
* Quotes with number of characters more than this value will be filtered out. This is useful if you don't want to display long quotes using this function. The default value is 500.
|
191 |
|
192 |
* **echo** *(boolean)*
|
193 |
+
* To `echo` or `return` the quote
|
194 |
+
* `true` - the quote is echoed, ie., printed out
|
195 |
+
* `false` - the quote block is returned as a string, the user can catch the string in a variable and output it wherever they please.
|
196 |
|
197 |
**Example usage:**
|
198 |
|
200 |
|
201 |
* Uses the default values for the parameters. Shows author, hides source, shows the 'Next quote' link, no tags filtering, no character limit, displays the quote.
|
202 |
|
203 |
+
* `<?php quotescollection_quote( array( 'show_author' => false, 'show_source' => true, 'tags' => 'fun,fav' ) ); ?>`
|
204 |
|
205 |
* Hides author, shows source, only quotes tagged with 'fun' or 'fav' or both are shown. 'Next quote' link is shown (default) and no character limit (default).
|
206 |
|
207 |
+
* `<?php quotescollection_quote( array( 'ajax_refresh' => false, 'char_limit' => 300 ) ); ?>`
|
208 |
|
209 |
* The 'Next quote' link is not shown, quotes with number of characters greater that 300 are left out.
|
210 |
|
236 |
* `lv_LV` / Latvian / [Maris Svirksts](http://www.moskjis.com/)
|
237 |
* `mk_MK` / Macedonian / [Diana](http://wpcouponshop.com/)
|
238 |
* `nb_NO` / Norwegian (Bokmål) / [Christian K. Nordtømme](http://nextpage.no/)
|
239 |
+
* `nl_NL` / Dutch / Guido van der Leest, [Kristof Vercruyssen](http://www.simplit.be/)
|
240 |
* `pl_PL` / Polish / Marcin Gucia
|
241 |
* `pt_BR` / Brazilian Portugese / Tzor More
|
242 |
* `pt_PT` / Portugese / [Djamilo Jacinto](http://www.maxibim.net/)
|
254 |
|
255 |
==Changelog==
|
256 |
|
257 |
+
* **2018-04-07: Version 2.0.10**
|
258 |
+
* Removing apply_filters('the_title') for the widget title as it's out of place here, also could be problematic without argument 2.
|
259 |
+
|
260 |
+
* **2017-04-17: Version 2.0.9**
|
261 |
+
* CSS fix.
|
262 |
+
|
263 |
+
* **2016-11-24: Version 2.0.8**
|
264 |
+
* Security updates
|
265 |
+
|
266 |
+
* **2016-11-23: Version 2.0.7**
|
267 |
+
* Security fixes
|
268 |
+
|
269 |
+
* **2016-04-04: Version 2.0.5**
|
270 |
+
* Changed footer elements in widget back to div to prevent HTML validation errors
|
271 |
+
* Minor modifications in admin page header markup and styling
|
272 |
+
|
273 |
+
* **2015-05-25: Version 2.0.4**
|
274 |
+
* Updates to localization in Hungarian and Swedish languages
|
275 |
+
|
276 |
+
* **2015-04-29: Version 2.0.3**
|
277 |
+
* Dutch localization updates by Guido
|
278 |
+
|
279 |
+
* **2015-04-25: Version 2.0.2**
|
280 |
+
* Update to Turkish localization by Gürkan Gür
|
281 |
+
|
282 |
+
* **2015-04-20: Version 2.0.1**
|
283 |
+
* Fix for unformatted output on refresh.
|
284 |
+
|
285 |
+
* **2015-04-20: Version 2.0**
|
286 |
+
* Complete overhaul of the plugin. File organization modified, code refactored, the code is more class based.
|
287 |
+
* New and improved admin interface with
|
288 |
+
* Improved quotes list table using the `WP_List_Table` class
|
289 |
+
* Screen options to customize the number of quotes displayed per page and show/hide columns
|
290 |
+
* Search functionality
|
291 |
+
* Option to import/export quotes in `JSON` format
|
292 |
+
* An options page with options to customize the 'Next Quote' text, specify the maximum number of iterations for the auto-refresh feature, and enable dynamic fetching of the first random quote in cached websites.
|
293 |
+
* Multi-widget support added. Now as many instances of the widget can be added.
|
294 |
+
* Not-so-noticable, but important improvements to the markup generated for the front-end.
|
295 |
+
* `uninstall.php` added. Now, when the plugin is deleted, the plugin's database table, plugin options, all will be removed... no trace left behind.
|
296 |
+
* The translation template file `quotes-collection.pot` updated. Many of the translation strings have changed. Many new strings added, many old strings given up.
|
297 |
+
* Updated localization in Tamil, Hebrew, Slovak, French, Ukrainian, German and Norwegian (Bokmål) languages
|
298 |
+
|
299 |
* **2012-12-16: Version 1.5.9**
|
300 |
* Fix for cases where random refresh always fetches only two quotes
|
301 |
* Bugfix for widget
|
496 |
|
497 |
== Upgrade Notice ==
|
498 |
|
499 |
+
= 2.0.10 =
|
500 |
+
Do upgrade if you get a "Warning: Missing argument 2 for WC_Template_Loader::unsupported_theme_title_filter() in ..." message.
|
501 |
+
|
502 |
+
= 2.0.9 =
|
503 |
+
CSS fix. If you are running a version < 2.0.8, please upgrade as the lower versions may run into security issues. If you upgrade from a version prior to 2.0, you will have to re-add the widget and set the widget options once again after upgrading.
|
504 |
+
|
505 |
+
= 2.0.8 =
|
506 |
+
Important security fixes. Upgrade highly recommended. If you upgrade from a version prior to 2.0, you will have to re-add the widget and set the widget options once again after upgrading.
|
507 |
+
|
508 |
+
= 2.0.5 =
|
509 |
+
If you upgrade from a version prior to 2.0, you will have to re-add the widget and set the widget options once again after upgrading. Version 2.0 is a major update.
|
510 |
+
|
511 |
+
= 2.0.4 =
|
512 |
+
If you upgrade from a version prior to 2.0, you will have to re-add the widget and set the widget options once again after upgrading. Version 2.0 is a major update. v2.0.1 fixes unformatted output on refresh. v2.0.2, 2.0.3 and 2.0.4 are localization updates.
|
513 |
+
|
514 |
+
= 2.0.3 =
|
515 |
+
If you upgrade from a version prior to 2.0, you will have to re-add the widget and set the widget options once again after upgrading. Version 2.0 is a major update. v2.0.1 fixes unformatted output on refresh. v2.0.2 and v2.0.3 updates Turkish and Dutch localizations respectively.
|
516 |
+
|
517 |
+
= 2.0.2 =
|
518 |
+
If you upgrade from a version prior to 2.0, you will have to re-add the widget and set the widget options once again after upgrading. Version 2.0 is a major update with new features and plenty of improvements. v2.0.1 fixes unformatted output on refresh. v2.0.2 updates Turkish localization.
|
519 |
|
520 |
+
= 2.0.1 =
|
521 |
+
If you upgrade from a version prior to 2.0, you will have to re-add the widget and set the widget options once again after upgrading. Version 2.0 is a major update with new features and plenty of improvements. v2.0.1 fixes unformatted output on refresh.
|
522 |
|
523 |
+
= 2.0 =
|
524 |
+
Please note that you will have to re-add the widget and set the widget options once again after upgrading to this version. Nothing much otherwise will be affected. This is a major update with new features and plenty of improvements, upgrade highly recommended if you use WP 3.1 and above.
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
CHANGED
Binary file
|
uninstall.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @package Quotes Collection
|
4 |
+
* @since 2.0
|
5 |
+
*/
|
6 |
+
|
7 |
+
//if uninstall not called from WordPress exit
|
8 |
+
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
|
9 |
+
exit();
|
10 |
+
|
11 |
+
$option_name = 'quotescollection';
|
12 |
+
$widget_option_name = 'widget_quotescollection';
|
13 |
+
|
14 |
+
delete_option( $option_name );
|
15 |
+
delete_option( $widget_option_name );
|
16 |
+
|
17 |
+
// For site options in multisite
|
18 |
+
delete_site_option( $option_name );
|
19 |
+
delete_site_option( $widget_option_name );
|
20 |
+
|
21 |
+
//drop the db table
|
22 |
+
global $wpdb;
|
23 |
+
$wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}quotescollection" );
|
24 |
+
|
25 |
+
|
26 |
+
?>
|