AddQuicktag - Version 2.5.0

Version Description

(2017-02-21) = * Fixed PHP7.1 problem to save new buttons. * Adds title attribute to view on hover to each button in the TinyMCE listbox. * Adds possibilty to use Dashicon "icons" for TinyMCE buttons. * Button Label is not more required, only the start-tag

Download this release

Release Info

Developer Bueltge
Plugin Icon wp plugin AddQuicktag
Version 2.5.0
Comparing to
See all releases

Code changes from version 2.4.3 to 2.5.0

Files changed (54) hide show
  1. license.txt → LICENSE.txt +674 -674
  2. addquicktag.php +423 -422
  3. css/dashicons-picker.css +1 -0
  4. css/dashicons-picker.dev.css +56 -0
  5. css/settings.css +1 -10
  6. css/settings.dev.css +83 -63
  7. inc/class-code-quicktags.php +16 -21
  8. inc/class-imexport.php +12 -18
  9. inc/class-remove-quicktags.php +17 -11
  10. inc/class-settings.php +895 -781
  11. inc/class-tinymce.php +4 -6
  12. inc/tinymce/editor_plugin.dev.js +170 -150
  13. inc/tinymce/editor_plugin.js +1 -10
  14. inc/tinymce/langs/de.js +0 -0
  15. inc/tinymce/langs/en.js +0 -0
  16. js/add-quicktags.dev.js +101 -58
  17. js/add-quicktags.js +1 -10
  18. js/add-quicktags_32.js +1 -8
  19. js/dashicons-picker.dev.js +347 -0
  20. js/dashicons-picker.js +1 -0
  21. js/settings.dev.js +64 -10
  22. js/settings.js +1 -7
  23. languages/addquicktag-cs_CZ.mo +0 -0
  24. languages/addquicktag-cs_CZ.po +0 -348
  25. languages/addquicktag-de_DE.mo +0 -0
  26. languages/addquicktag-de_DE.po +0 -306
  27. languages/addquicktag-es_ES.mo +0 -0
  28. languages/addquicktag-es_ES.po +0 -217
  29. languages/addquicktag-fr_FR.mo +0 -0
  30. languages/addquicktag-fr_FR.po +0 -356
  31. languages/addquicktag-ja.mo +0 -0
  32. languages/addquicktag-ja.po +0 -215
  33. languages/addquicktag-lt_LT.mo +0 -0
  34. languages/addquicktag-lt_LT.po +0 -217
  35. languages/addquicktag-pl_PL.mo +0 -0
  36. languages/addquicktag-pl_PL.po +0 -345
  37. languages/addquicktag-pt_BR.mo +0 -0
  38. languages/addquicktag-pt_BR.po +0 -316
  39. languages/addquicktag-ru_RU.mo +0 -0
  40. languages/addquicktag-ru_RU.po +0 -220
  41. languages/addquicktag-sr_RS.mo +0 -0
  42. languages/addquicktag-sr_RS.po +0 -316
  43. languages/addquicktag-tr_TR.mo +0 -0
  44. languages/addquicktag-tr_TR.po +0 -353
  45. languages/addquicktag-uk_UA.mo +0 -0
  46. languages/addquicktag-uk_UA.po +0 -316
  47. languages/addquicktag-xx_XX.pot +0 -316
  48. languages/addquicktag-zh_CN.mo +0 -0
  49. languages/addquicktag-zh_CN.po +0 -245
  50. languages/addquicktag-zh_TW.mo +0 -0
  51. languages/addquicktag-zh_TW.po +0 -242
  52. languages/addquicktag_sk_SK.mo +0 -0
  53. languages/addquicktag_sk_SK.po +0 -247
  54. readme.txt +6 -24
license.txt → LICENSE.txt RENAMED
@@ -1,674 +1,674 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 3, 29 June 2007
3
-
4
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
- Everyone is permitted to copy and distribute verbatim copies
6
- of this license document, but changing it is not allowed.
7
-
8
- Preamble
9
-
10
- The GNU General Public License is a free, copyleft license for
11
- software and other kinds of works.
12
-
13
- The licenses for most software and other practical works are designed
14
- to take away your freedom to share and change the works. By contrast,
15
- the GNU General Public License is intended to guarantee your freedom to
16
- share and change all versions of a program--to make sure it remains free
17
- software for all its users. We, the Free Software Foundation, use the
18
- GNU General Public License for most of our software; it applies also to
19
- any other work released this way by its authors. You can apply it to
20
- your programs, too.
21
-
22
- When we speak of free software, we are referring to freedom, not
23
- price. Our General Public Licenses are designed to make sure that you
24
- have the freedom to distribute copies of free software (and charge for
25
- them if you wish), that you receive source code or can get it if you
26
- want it, that you can change the software or use pieces of it in new
27
- free programs, and that you know you can do these things.
28
-
29
- To protect your rights, we need to prevent others from denying you
30
- these rights or asking you to surrender the rights. Therefore, you have
31
- certain responsibilities if you distribute copies of the software, or if
32
- you modify it: responsibilities to respect the freedom of others.
33
-
34
- For example, if you distribute copies of such a program, whether
35
- gratis or for a fee, you must pass on to the recipients the same
36
- freedoms that you received. You must make sure that they, too, receive
37
- or can get the source code. And you must show them these terms so they
38
- know their rights.
39
-
40
- Developers that use the GNU GPL protect your rights with two steps:
41
- (1) assert copyright on the software, and (2) offer you this License
42
- giving you legal permission to copy, distribute and/or modify it.
43
-
44
- For the developers' and authors' protection, the GPL clearly explains
45
- that there is no warranty for this free software. For both users' and
46
- authors' sake, the GPL requires that modified versions be marked as
47
- changed, so that their problems will not be attributed erroneously to
48
- authors of previous versions.
49
-
50
- Some devices are designed to deny users access to install or run
51
- modified versions of the software inside them, although the manufacturer
52
- can do so. This is fundamentally incompatible with the aim of
53
- protecting users' freedom to change the software. The systematic
54
- pattern of such abuse occurs in the area of products for individuals to
55
- use, which is precisely where it is most unacceptable. Therefore, we
56
- have designed this version of the GPL to prohibit the practice for those
57
- products. If such problems arise substantially in other domains, we
58
- stand ready to extend this provision to those domains in future versions
59
- of the GPL, as needed to protect the freedom of users.
60
-
61
- Finally, every program is threatened constantly by software patents.
62
- States should not allow patents to restrict development and use of
63
- software on general-purpose computers, but in those that do, we wish to
64
- avoid the special danger that patents applied to a free program could
65
- make it effectively proprietary. To prevent this, the GPL assures that
66
- patents cannot be used to render the program non-free.
67
-
68
- The precise terms and conditions for copying, distribution and
69
- modification follow.
70
-
71
- TERMS AND CONDITIONS
72
-
73
- 0. Definitions.
74
-
75
- "This License" refers to version 3 of the GNU General Public License.
76
-
77
- "Copyright" also means copyright-like laws that apply to other kinds of
78
- works, such as semiconductor masks.
79
-
80
- "The Program" refers to any copyrightable work licensed under this
81
- License. Each licensee is addressed as "you". "Licensees" and
82
- "recipients" may be individuals or organizations.
83
-
84
- To "modify" a work means to copy from or adapt all or part of the work
85
- in a fashion requiring copyright permission, other than the making of an
86
- exact copy. The resulting work is called a "modified version" of the
87
- earlier work or a work "based on" the earlier work.
88
-
89
- A "covered work" means either the unmodified Program or a work based
90
- on the Program.
91
-
92
- To "propagate" a work means to do anything with it that, without
93
- permission, would make you directly or secondarily liable for
94
- infringement under applicable copyright law, except executing it on a
95
- computer or modifying a private copy. Propagation includes copying,
96
- distribution (with or without modification), making available to the
97
- public, and in some countries other activities as well.
98
-
99
- To "convey" a work means any kind of propagation that enables other
100
- parties to make or receive copies. Mere interaction with a user through
101
- a computer network, with no transfer of a copy, is not conveying.
102
-
103
- An interactive user interface displays "Appropriate Legal Notices"
104
- to the extent that it includes a convenient and prominently visible
105
- feature that (1) displays an appropriate copyright notice, and (2)
106
- tells the user that there is no warranty for the work (except to the
107
- extent that warranties are provided), that licensees may convey the
108
- work under this License, and how to view a copy of this License. If
109
- the interface presents a list of user commands or options, such as a
110
- menu, a prominent item in the list meets this criterion.
111
-
112
- 1. Source Code.
113
-
114
- The "source code" for a work means the preferred form of the work
115
- for making modifications to it. "Object code" means any non-source
116
- form of a work.
117
-
118
- A "Standard Interface" means an interface that either is an official
119
- standard defined by a recognized standards body, or, in the case of
120
- interfaces specified for a particular programming language, one that
121
- is widely used among developers working in that language.
122
-
123
- The "System Libraries" of an executable work include anything, other
124
- than the work as a whole, that (a) is included in the normal form of
125
- packaging a Major Component, but which is not part of that Major
126
- Component, and (b) serves only to enable use of the work with that
127
- Major Component, or to implement a Standard Interface for which an
128
- implementation is available to the public in source code form. A
129
- "Major Component", in this context, means a major essential component
130
- (kernel, window system, and so on) of the specific operating system
131
- (if any) on which the executable work runs, or a compiler used to
132
- produce the work, or an object code interpreter used to run it.
133
-
134
- The "Corresponding Source" for a work in object code form means all
135
- the source code needed to generate, install, and (for an executable
136
- work) run the object code and to modify the work, including scripts to
137
- control those activities. However, it does not include the work's
138
- System Libraries, or general-purpose tools or generally available free
139
- programs which are used unmodified in performing those activities but
140
- which are not part of the work. For example, Corresponding Source
141
- includes interface definition files associated with source files for
142
- the work, and the source code for shared libraries and dynamically
143
- linked subprograms that the work is specifically designed to require,
144
- such as by intimate data communication or control flow between those
145
- subprograms and other parts of the work.
146
-
147
- The Corresponding Source need not include anything that users
148
- can regenerate automatically from other parts of the Corresponding
149
- Source.
150
-
151
- The Corresponding Source for a work in source code form is that
152
- same work.
153
-
154
- 2. Basic Permissions.
155
-
156
- All rights granted under this License are granted for the term of
157
- copyright on the Program, and are irrevocable provided the stated
158
- conditions are met. This License explicitly affirms your unlimited
159
- permission to run the unmodified Program. The output from running a
160
- covered work is covered by this License only if the output, given its
161
- content, constitutes a covered work. This License acknowledges your
162
- rights of fair use or other equivalent, as provided by copyright law.
163
-
164
- You may make, run and propagate covered works that you do not
165
- convey, without conditions so long as your license otherwise remains
166
- in force. You may convey covered works to others for the sole purpose
167
- of having them make modifications exclusively for you, or provide you
168
- with facilities for running those works, provided that you comply with
169
- the terms of this License in conveying all material for which you do
170
- not control copyright. Those thus making or running the covered works
171
- for you must do so exclusively on your behalf, under your direction
172
- and control, on terms that prohibit them from making any copies of
173
- your copyrighted material outside their relationship with you.
174
-
175
- Conveying under any other circumstances is permitted solely under
176
- the conditions stated below. Sublicensing is not allowed; section 10
177
- makes it unnecessary.
178
-
179
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
-
181
- No covered work shall be deemed part of an effective technological
182
- measure under any applicable law fulfilling obligations under article
183
- 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
- similar laws prohibiting or restricting circumvention of such
185
- measures.
186
-
187
- When you convey a covered work, you waive any legal power to forbid
188
- circumvention of technological measures to the extent such circumvention
189
- is effected by exercising rights under this License with respect to
190
- the covered work, and you disclaim any intention to limit operation or
191
- modification of the work as a means of enforcing, against the work's
192
- users, your or third parties' legal rights to forbid circumvention of
193
- technological measures.
194
-
195
- 4. Conveying Verbatim Copies.
196
-
197
- You may convey verbatim copies of the Program's source code as you
198
- receive it, in any medium, provided that you conspicuously and
199
- appropriately publish on each copy an appropriate copyright notice;
200
- keep intact all notices stating that this License and any
201
- non-permissive terms added in accord with section 7 apply to the code;
202
- keep intact all notices of the absence of any warranty; and give all
203
- recipients a copy of this License along with the Program.
204
-
205
- You may charge any price or no price for each copy that you convey,
206
- and you may offer support or warranty protection for a fee.
207
-
208
- 5. Conveying Modified Source Versions.
209
-
210
- You may convey a work based on the Program, or the modifications to
211
- produce it from the Program, in the form of source code under the
212
- terms of section 4, provided that you also meet all of these conditions:
213
-
214
- a) The work must carry prominent notices stating that you modified
215
- it, and giving a relevant date.
216
-
217
- b) The work must carry prominent notices stating that it is
218
- released under this License and any conditions added under section
219
- 7. This requirement modifies the requirement in section 4 to
220
- "keep intact all notices".
221
-
222
- c) You must license the entire work, as a whole, under this
223
- License to anyone who comes into possession of a copy. This
224
- License will therefore apply, along with any applicable section 7
225
- additional terms, to the whole of the work, and all its parts,
226
- regardless of how they are packaged. This License gives no
227
- permission to license the work in any other way, but it does not
228
- invalidate such permission if you have separately received it.
229
-
230
- d) If the work has interactive user interfaces, each must display
231
- Appropriate Legal Notices; however, if the Program has interactive
232
- interfaces that do not display Appropriate Legal Notices, your
233
- work need not make them do so.
234
-
235
- A compilation of a covered work with other separate and independent
236
- works, which are not by their nature extensions of the covered work,
237
- and which are not combined with it such as to form a larger program,
238
- in or on a volume of a storage or distribution medium, is called an
239
- "aggregate" if the compilation and its resulting copyright are not
240
- used to limit the access or legal rights of the compilation's users
241
- beyond what the individual works permit. Inclusion of a covered work
242
- in an aggregate does not cause this License to apply to the other
243
- parts of the aggregate.
244
-
245
- 6. Conveying Non-Source Forms.
246
-
247
- You may convey a covered work in object code form under the terms
248
- of sections 4 and 5, provided that you also convey the
249
- machine-readable Corresponding Source under the terms of this License,
250
- in one of these ways:
251
-
252
- a) Convey the object code in, or embodied in, a physical product
253
- (including a physical distribution medium), accompanied by the
254
- Corresponding Source fixed on a durable physical medium
255
- customarily used for software interchange.
256
-
257
- b) Convey the object code in, or embodied in, a physical product
258
- (including a physical distribution medium), accompanied by a
259
- written offer, valid for at least three years and valid for as
260
- long as you offer spare parts or customer support for that product
261
- model, to give anyone who possesses the object code either (1) a
262
- copy of the Corresponding Source for all the software in the
263
- product that is covered by this License, on a durable physical
264
- medium customarily used for software interchange, for a price no
265
- more than your reasonable cost of physically performing this
266
- conveying of source, or (2) access to copy the
267
- Corresponding Source from a network server at no charge.
268
-
269
- c) Convey individual copies of the object code with a copy of the
270
- written offer to provide the Corresponding Source. This
271
- alternative is allowed only occasionally and noncommercially, and
272
- only if you received the object code with such an offer, in accord
273
- with subsection 6b.
274
-
275
- d) Convey the object code by offering access from a designated
276
- place (gratis or for a charge), and offer equivalent access to the
277
- Corresponding Source in the same way through the same place at no
278
- further charge. You need not require recipients to copy the
279
- Corresponding Source along with the object code. If the place to
280
- copy the object code is a network server, the Corresponding Source
281
- may be on a different server (operated by you or a third party)
282
- that supports equivalent copying facilities, provided you maintain
283
- clear directions next to the object code saying where to find the
284
- Corresponding Source. Regardless of what server hosts the
285
- Corresponding Source, you remain obligated to ensure that it is
286
- available for as long as needed to satisfy these requirements.
287
-
288
- e) Convey the object code using peer-to-peer transmission, provided
289
- you inform other peers where the object code and Corresponding
290
- Source of the work are being offered to the general public at no
291
- charge under subsection 6d.
292
-
293
- A separable portion of the object code, whose source code is excluded
294
- from the Corresponding Source as a System Library, need not be
295
- included in conveying the object code work.
296
-
297
- A "User Product" is either (1) a "consumer product", which means any
298
- tangible personal property which is normally used for personal, family,
299
- or household purposes, or (2) anything designed or sold for incorporation
300
- into a dwelling. In determining whether a product is a consumer product,
301
- doubtful cases shall be resolved in favor of coverage. For a particular
302
- product received by a particular user, "normally used" refers to a
303
- typical or common use of that class of product, regardless of the status
304
- of the particular user or of the way in which the particular user
305
- actually uses, or expects or is expected to use, the product. A product
306
- is a consumer product regardless of whether the product has substantial
307
- commercial, industrial or non-consumer uses, unless such uses represent
308
- the only significant mode of use of the product.
309
-
310
- "Installation Information" for a User Product means any methods,
311
- procedures, authorization keys, or other information required to install
312
- and execute modified versions of a covered work in that User Product from
313
- a modified version of its Corresponding Source. The information must
314
- suffice to ensure that the continued functioning of the modified object
315
- code is in no case prevented or interfered with solely because
316
- modification has been made.
317
-
318
- If you convey an object code work under this section in, or with, or
319
- specifically for use in, a User Product, and the conveying occurs as
320
- part of a transaction in which the right of possession and use of the
321
- User Product is transferred to the recipient in perpetuity or for a
322
- fixed term (regardless of how the transaction is characterized), the
323
- Corresponding Source conveyed under this section must be accompanied
324
- by the Installation Information. But this requirement does not apply
325
- if neither you nor any third party retains the ability to install
326
- modified object code on the User Product (for example, the work has
327
- been installed in ROM).
328
-
329
- The requirement to provide Installation Information does not include a
330
- requirement to continue to provide support service, warranty, or updates
331
- for a work that has been modified or installed by the recipient, or for
332
- the User Product in which it has been modified or installed. Access to a
333
- network may be denied when the modification itself materially and
334
- adversely affects the operation of the network or violates the rules and
335
- protocols for communication across the network.
336
-
337
- Corresponding Source conveyed, and Installation Information provided,
338
- in accord with this section must be in a format that is publicly
339
- documented (and with an implementation available to the public in
340
- source code form), and must require no special password or key for
341
- unpacking, reading or copying.
342
-
343
- 7. Additional Terms.
344
-
345
- "Additional permissions" are terms that supplement the terms of this
346
- License by making exceptions from one or more of its conditions.
347
- Additional permissions that are applicable to the entire Program shall
348
- be treated as though they were included in this License, to the extent
349
- that they are valid under applicable law. If additional permissions
350
- apply only to part of the Program, that part may be used separately
351
- under those permissions, but the entire Program remains governed by
352
- this License without regard to the additional permissions.
353
-
354
- When you convey a copy of a covered work, you may at your option
355
- remove any additional permissions from that copy, or from any part of
356
- it. (Additional permissions may be written to require their own
357
- removal in certain cases when you modify the work.) You may place
358
- additional permissions on material, added by you to a covered work,
359
- for which you have or can give appropriate copyright permission.
360
-
361
- Notwithstanding any other provision of this License, for material you
362
- add to a covered work, you may (if authorized by the copyright holders of
363
- that material) supplement the terms of this License with terms:
364
-
365
- a) Disclaiming warranty or limiting liability differently from the
366
- terms of sections 15 and 16 of this License; or
367
-
368
- b) Requiring preservation of specified reasonable legal notices or
369
- author attributions in that material or in the Appropriate Legal
370
- Notices displayed by works containing it; or
371
-
372
- c) Prohibiting misrepresentation of the origin of that material, or
373
- requiring that modified versions of such material be marked in
374
- reasonable ways as different from the original version; or
375
-
376
- d) Limiting the use for publicity purposes of names of licensors or
377
- authors of the material; or
378
-
379
- e) Declining to grant rights under trademark law for use of some
380
- trade names, trademarks, or service marks; or
381
-
382
- f) Requiring indemnification of licensors and authors of that
383
- material by anyone who conveys the material (or modified versions of
384
- it) with contractual assumptions of liability to the recipient, for
385
- any liability that these contractual assumptions directly impose on
386
- those licensors and authors.
387
-
388
- All other non-permissive additional terms are considered "further
389
- restrictions" within the meaning of section 10. If the Program as you
390
- received it, or any part of it, contains a notice stating that it is
391
- governed by this License along with a term that is a further
392
- restriction, you may remove that term. If a license document contains
393
- a further restriction but permits relicensing or conveying under this
394
- License, you may add to a covered work material governed by the terms
395
- of that license document, provided that the further restriction does
396
- not survive such relicensing or conveying.
397
-
398
- If you add terms to a covered work in accord with this section, you
399
- must place, in the relevant source files, a statement of the
400
- additional terms that apply to those files, or a notice indicating
401
- where to find the applicable terms.
402
-
403
- Additional terms, permissive or non-permissive, may be stated in the
404
- form of a separately written license, or stated as exceptions;
405
- the above requirements apply either way.
406
-
407
- 8. Termination.
408
-
409
- You may not propagate or modify a covered work except as expressly
410
- provided under this License. Any attempt otherwise to propagate or
411
- modify it is void, and will automatically terminate your rights under
412
- this License (including any patent licenses granted under the third
413
- paragraph of section 11).
414
-
415
- However, if you cease all violation of this License, then your
416
- license from a particular copyright holder is reinstated (a)
417
- provisionally, unless and until the copyright holder explicitly and
418
- finally terminates your license, and (b) permanently, if the copyright
419
- holder fails to notify you of the violation by some reasonable means
420
- prior to 60 days after the cessation.
421
-
422
- Moreover, your license from a particular copyright holder is
423
- reinstated permanently if the copyright holder notifies you of the
424
- violation by some reasonable means, this is the first time you have
425
- received notice of violation of this License (for any work) from that
426
- copyright holder, and you cure the violation prior to 30 days after
427
- your receipt of the notice.
428
-
429
- Termination of your rights under this section does not terminate the
430
- licenses of parties who have received copies or rights from you under
431
- this License. If your rights have been terminated and not permanently
432
- reinstated, you do not qualify to receive new licenses for the same
433
- material under section 10.
434
-
435
- 9. Acceptance Not Required for Having Copies.
436
-
437
- You are not required to accept this License in order to receive or
438
- run a copy of the Program. Ancillary propagation of a covered work
439
- occurring solely as a consequence of using peer-to-peer transmission
440
- to receive a copy likewise does not require acceptance. However,
441
- nothing other than this License grants you permission to propagate or
442
- modify any covered work. These actions infringe copyright if you do
443
- not accept this License. Therefore, by modifying or propagating a
444
- covered work, you indicate your acceptance of this License to do so.
445
-
446
- 10. Automatic Licensing of Downstream Recipients.
447
-
448
- Each time you convey a covered work, the recipient automatically
449
- receives a license from the original licensors, to run, modify and
450
- propagate that work, subject to this License. You are not responsible
451
- for enforcing compliance by third parties with this License.
452
-
453
- An "entity transaction" is a transaction transferring control of an
454
- organization, or substantially all assets of one, or subdividing an
455
- organization, or merging organizations. If propagation of a covered
456
- work results from an entity transaction, each party to that
457
- transaction who receives a copy of the work also receives whatever
458
- licenses to the work the party's predecessor in interest had or could
459
- give under the previous paragraph, plus a right to possession of the
460
- Corresponding Source of the work from the predecessor in interest, if
461
- the predecessor has it or can get it with reasonable efforts.
462
-
463
- You may not impose any further restrictions on the exercise of the
464
- rights granted or affirmed under this License. For example, you may
465
- not impose a license fee, royalty, or other charge for exercise of
466
- rights granted under this License, and you may not initiate litigation
467
- (including a cross-claim or counterclaim in a lawsuit) alleging that
468
- any patent claim is infringed by making, using, selling, offering for
469
- sale, or importing the Program or any portion of it.
470
-
471
- 11. Patents.
472
-
473
- A "contributor" is a copyright holder who authorizes use under this
474
- License of the Program or a work on which the Program is based. The
475
- work thus licensed is called the contributor's "contributor version".
476
-
477
- A contributor's "essential patent claims" are all patent claims
478
- owned or controlled by the contributor, whether already acquired or
479
- hereafter acquired, that would be infringed by some manner, permitted
480
- by this License, of making, using, or selling its contributor version,
481
- but do not include claims that would be infringed only as a
482
- consequence of further modification of the contributor version. For
483
- purposes of this definition, "control" includes the right to grant
484
- patent sublicenses in a manner consistent with the requirements of
485
- this License.
486
-
487
- Each contributor grants you a non-exclusive, worldwide, royalty-free
488
- patent license under the contributor's essential patent claims, to
489
- make, use, sell, offer for sale, import and otherwise run, modify and
490
- propagate the contents of its contributor version.
491
-
492
- In the following three paragraphs, a "patent license" is any express
493
- agreement or commitment, however denominated, not to enforce a patent
494
- (such as an express permission to practice a patent or covenant not to
495
- sue for patent infringement). To "grant" such a patent license to a
496
- party means to make such an agreement or commitment not to enforce a
497
- patent against the party.
498
-
499
- If you convey a covered work, knowingly relying on a patent license,
500
- and the Corresponding Source of the work is not available for anyone
501
- to copy, free of charge and under the terms of this License, through a
502
- publicly available network server or other readily accessible means,
503
- then you must either (1) cause the Corresponding Source to be so
504
- available, or (2) arrange to deprive yourself of the benefit of the
505
- patent license for this particular work, or (3) arrange, in a manner
506
- consistent with the requirements of this License, to extend the patent
507
- license to downstream recipients. "Knowingly relying" means you have
508
- actual knowledge that, but for the patent license, your conveying the
509
- covered work in a country, or your recipient's use of the covered work
510
- in a country, would infringe one or more identifiable patents in that
511
- country that you have reason to believe are valid.
512
-
513
- If, pursuant to or in connection with a single transaction or
514
- arrangement, you convey, or propagate by procuring conveyance of, a
515
- covered work, and grant a patent license to some of the parties
516
- receiving the covered work authorizing them to use, propagate, modify
517
- or convey a specific copy of the covered work, then the patent license
518
- you grant is automatically extended to all recipients of the covered
519
- work and works based on it.
520
-
521
- A patent license is "discriminatory" if it does not include within
522
- the scope of its coverage, prohibits the exercise of, or is
523
- conditioned on the non-exercise of one or more of the rights that are
524
- specifically granted under this License. You may not convey a covered
525
- work if you are a party to an arrangement with a third party that is
526
- in the business of distributing software, under which you make payment
527
- to the third party based on the extent of your activity of conveying
528
- the work, and under which the third party grants, to any of the
529
- parties who would receive the covered work from you, a discriminatory
530
- patent license (a) in connection with copies of the covered work
531
- conveyed by you (or copies made from those copies), or (b) primarily
532
- for and in connection with specific products or compilations that
533
- contain the covered work, unless you entered into that arrangement,
534
- or that patent license was granted, prior to 28 March 2007.
535
-
536
- Nothing in this License shall be construed as excluding or limiting
537
- any implied license or other defenses to infringement that may
538
- otherwise be available to you under applicable patent law.
539
-
540
- 12. No Surrender of Others' Freedom.
541
-
542
- If conditions are imposed on you (whether by court order, agreement or
543
- otherwise) that contradict the conditions of this License, they do not
544
- excuse you from the conditions of this License. If you cannot convey a
545
- covered work so as to satisfy simultaneously your obligations under this
546
- License and any other pertinent obligations, then as a consequence you may
547
- not convey it at all. For example, if you agree to terms that obligate you
548
- to collect a royalty for further conveying from those to whom you convey
549
- the Program, the only way you could satisfy both those terms and this
550
- License would be to refrain entirely from conveying the Program.
551
-
552
- 13. Use with the GNU Affero General Public License.
553
-
554
- Notwithstanding any other provision of this License, you have
555
- permission to link or combine any covered work with a work licensed
556
- under version 3 of the GNU Affero General Public License into a single
557
- combined work, and to convey the resulting work. The terms of this
558
- License will continue to apply to the part which is the covered work,
559
- but the special requirements of the GNU Affero General Public License,
560
- section 13, concerning interaction through a network will apply to the
561
- combination as such.
562
-
563
- 14. Revised Versions of this License.
564
-
565
- The Free Software Foundation may publish revised and/or new versions of
566
- the GNU General Public License from time to time. Such new versions will
567
- be similar in spirit to the present version, but may differ in detail to
568
- address new problems or concerns.
569
-
570
- Each version is given a distinguishing version number. If the
571
- Program specifies that a certain numbered version of the GNU General
572
- Public License "or any later version" applies to it, you have the
573
- option of following the terms and conditions either of that numbered
574
- version or of any later version published by the Free Software
575
- Foundation. If the Program does not specify a version number of the
576
- GNU General Public License, you may choose any version ever published
577
- by the Free Software Foundation.
578
-
579
- If the Program specifies that a proxy can decide which future
580
- versions of the GNU General Public License can be used, that proxy's
581
- public statement of acceptance of a version permanently authorizes you
582
- to choose that version for the Program.
583
-
584
- Later license versions may give you additional or different
585
- permissions. However, no additional obligations are imposed on any
586
- author or copyright holder as a result of your choosing to follow a
587
- later version.
588
-
589
- 15. Disclaimer of Warranty.
590
-
591
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
- APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
- HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
- OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
- PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
- IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
- ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
-
600
- 16. Limitation of Liability.
601
-
602
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
- THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
- GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
- USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
- DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
- PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
- EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
- SUCH DAMAGES.
611
-
612
- 17. Interpretation of Sections 15 and 16.
613
-
614
- If the disclaimer of warranty and limitation of liability provided
615
- above cannot be given local legal effect according to their terms,
616
- reviewing courts shall apply local law that most closely approximates
617
- an absolute waiver of all civil liability in connection with the
618
- Program, unless a warranty or assumption of liability accompanies a
619
- copy of the Program in return for a fee.
620
-
621
- END OF TERMS AND CONDITIONS
622
-
623
- How to Apply These Terms to Your New Programs
624
-
625
- If you develop a new program, and you want it to be of the greatest
626
- possible use to the public, the best way to achieve this is to make it
627
- free software which everyone can redistribute and change under these terms.
628
-
629
- To do so, attach the following notices to the program. It is safest
630
- to attach them to the start of each source file to most effectively
631
- state the exclusion of warranty; and each file should have at least
632
- the "copyright" line and a pointer to where the full notice is found.
633
-
634
- <one line to give the program's name and a brief idea of what it does.>
635
- Copyright (C) <year> <name of author>
636
-
637
- This program is free software: you can redistribute it and/or modify
638
- it under the terms of the GNU General Public License as published by
639
- the Free Software Foundation, either version 3 of the License, or
640
- (at your option) any later version.
641
-
642
- This program is distributed in the hope that it will be useful,
643
- but WITHOUT ANY WARRANTY; without even the implied warranty of
644
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
- GNU General Public License for more details.
646
-
647
- You should have received a copy of the GNU General Public License
648
- along with this program. If not, see <http://www.gnu.org/licenses/>.
649
-
650
- Also add information on how to contact you by electronic and paper mail.
651
-
652
- If the program does terminal interaction, make it output a short
653
- notice like this when it starts in an interactive mode:
654
-
655
- <program> Copyright (C) <year> <name of author>
656
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
- This is free software, and you are welcome to redistribute it
658
- under certain conditions; type `show c' for details.
659
-
660
- The hypothetical commands `show w' and `show c' should show the appropriate
661
- parts of the General Public License. Of course, your program's commands
662
- might be different; for a GUI interface, you would use an "about box".
663
-
664
- You should also get your employer (if you work as a programmer) or school,
665
- if any, to sign a "copyright disclaimer" for the program, if necessary.
666
- For more information on this, and how to apply and follow the GNU GPL, see
667
- <http://www.gnu.org/licenses/>.
668
-
669
- The GNU General Public License does not permit incorporating your program
670
- into proprietary programs. If your program is a subroutine library, you
671
- may consider it more useful to permit linking proprietary applications with
672
- the library. If this is what you want to do, use the GNU Lesser General
673
- Public License instead of this License. But first, please read
674
- <http://www.gnu.org/philosophy/why-not-lgpl.html>.
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
622
+
623
+ How to Apply These Terms to Your New Programs
624
+
625
+ If you develop a new program, and you want it to be of the greatest
626
+ possible use to the public, the best way to achieve this is to make it
627
+ free software which everyone can redistribute and change under these terms.
628
+
629
+ To do so, attach the following notices to the program. It is safest
630
+ to attach them to the start of each source file to most effectively
631
+ state the exclusion of warranty; and each file should have at least
632
+ the "copyright" line and a pointer to where the full notice is found.
633
+
634
+ <one line to give the program's name and a brief idea of what it does.>
635
+ Copyright (C) <year> <name of author>
636
+
637
+ This program is free software: you can redistribute it and/or modify
638
+ it under the terms of the GNU General Public License as published by
639
+ the Free Software Foundation, either version 3 of the License, or
640
+ (at your option) any later version.
641
+
642
+ This program is distributed in the hope that it will be useful,
643
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
644
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
+ GNU General Public License for more details.
646
+
647
+ You should have received a copy of the GNU General Public License
648
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
649
+
650
+ Also add information on how to contact you by electronic and paper mail.
651
+
652
+ If the program does terminal interaction, make it output a short
653
+ notice like this when it starts in an interactive mode:
654
+
655
+ <program> Copyright (C) <year> <name of author>
656
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
+ This is free software, and you are welcome to redistribute it
658
+ under certain conditions; type `show c' for details.
659
+
660
+ The hypothetical commands `show w' and `show c' should show the appropriate
661
+ parts of the General Public License. Of course, your program's commands
662
+ might be different; for a GUI interface, you would use an "about box".
663
+
664
+ You should also get your employer (if you work as a programmer) or school,
665
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
666
+ For more information on this, and how to apply and follow the GNU GPL, see
667
+ <http://www.gnu.org/licenses/>.
668
+
669
+ The GNU General Public License does not permit incorporating your program
670
+ into proprietary programs. If your program is a subroutine library, you
671
+ may consider it more useful to permit linking proprietary applications with
672
+ the library. If this is what you want to do, use the GNU Lesser General
673
+ Public License instead of this License. But first, please read
674
+ <http://www.gnu.org/philosophy/why-not-lgpl.html>.
addquicktag.php CHANGED
@@ -1,422 +1,423 @@
1
- <?php
2
-
3
- /**
4
- * Plugin Name: AddQuicktag
5
- * Plugin URI: http://bueltge.de/wp-addquicktags-de-plugin/120/
6
- * Text Domain: addquicktag
7
- * Domain Path: /languages
8
- * Description: Allows you to easily add custom Quicktags to the html- and visual-editor.
9
- * Version: 2.4.3
10
- * Author: Frank Bültge
11
- * Author URI: http://bueltge.de
12
- * License: GPLv2+
13
- * License URI: ./license.txt
14
- *
15
- * Add Quicktag Plugin class
16
- *
17
- * @since 2.0.0
18
- */
19
- class Add_Quicktag {
20
-
21
- /**
22
- * Option key - String
23
- *
24
- * @var string
25
- */
26
- static private $option_string = 'rmnlQuicktagSettings';
27
-
28
- /**
29
- * Use filter 'addquicktag_pages' for add custom pages
30
- *
31
- * @var array
32
- */
33
- static private $admin_pages_for_js = array(
34
- 'post.php',
35
- 'post-new.php',
36
- 'comment.php',
37
- 'edit-comments.php',
38
- 'widgets.php'
39
- );
40
-
41
- /**
42
- * Use filter 'addquicktag_post_types' for add custom post_types
43
- *
44
- * @var array
45
- */
46
- static private $post_types_for_js = array( 'comment', 'edit-comments', 'widgets' );
47
-
48
- /**
49
- * @var string
50
- */
51
- static private $plugin;
52
-
53
- /**
54
- * Handler for the action 'init'. Instantiates this class.
55
- *
56
- * @since 2.0.0
57
- * @access public
58
- * @return \Add_Quicktag $instance
59
- */
60
- public static function get_object() {
61
-
62
- static $instance;
63
-
64
- if ( NULL === $instance ) {
65
- $instance = new self();
66
- }
67
-
68
- return $instance;
69
- }
70
-
71
- /**
72
- * Constructor, init the functions inside WP
73
- *
74
- * @since 2.0.0
75
- * @return \Add_Quicktag
76
- */
77
- private function __construct() {
78
-
79
- if ( ! is_admin() ) {
80
- return;
81
- }
82
-
83
- // get string of plugin
84
- self::$plugin = plugin_basename( __FILE__ );
85
-
86
- // on uninstall remove capability from roles
87
- register_uninstall_hook( __FILE__, array( 'Add_Quicktag', 'uninstall' ) );
88
- // on deactivate delete all settings in database
89
- // register_deactivation_hook( __FILE__, array('Add_Quicktag', 'uninstall' ) );
90
-
91
- // load translation files
92
- add_action( 'admin_init', array( $this, 'localize_plugin' ) );
93
- // on init register post type for addquicktag and print js
94
- add_action( 'init', array( $this, 'on_admin_init' ) );
95
-
96
- add_filter( 'quicktags_settings', array( $this, 'remove_quicktags' ), 10, 1 );
97
- }
98
-
99
-
100
- /**
101
- * Include other files and print JS
102
- *
103
- * @since 07/16/2012
104
- * @return void
105
- */
106
- public function on_admin_init() {
107
-
108
- if ( ! is_admin() ) {
109
- return NULL;
110
- }
111
-
112
- // Include settings
113
- require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'inc/class-settings.php';
114
- // Include solution for TinyMCE
115
- require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'inc/class-tinymce.php';
116
-
117
- foreach ( $this->get_admin_pages_for_js() as $page ) {
118
- add_action( 'admin_print_scripts-' . $page, array( $this, 'get_json' ) );
119
- add_action( 'admin_print_scripts-' . $page, array( $this, 'admin_enqueue_scripts' ) );
120
- }
121
- }
122
-
123
- /**
124
- * Remove quicktags
125
- *
126
- * @since 08/15/2013
127
- *
128
- * @param array $qtags_init the Buttons
129
- *
130
- * @type string id
131
- * @type array buttons, default: 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,fullscreen'
132
- * @return array $qtags_init the Buttons
133
- */
134
- public function remove_quicktags( $qtags_init ) {
135
-
136
- // No core buttons, not necessary to filter
137
- if ( empty( $qtags_init[ 'buttons' ] ) ) {
138
- return $qtags_init;
139
- }
140
-
141
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
142
- $options = get_site_option( self::$option_string );
143
- } else {
144
- $options = get_option( self::$option_string );
145
- }
146
-
147
- // No settings, not necessary to filter
148
- if ( empty( $options[ 'core_buttons' ] ) ) {
149
- return $qtags_init;
150
- }
151
-
152
- // get current screen, post type
153
- $screen = get_current_screen();
154
-
155
- // Convert string to array from default core buttons
156
- $buttons = explode( ',', $qtags_init[ 'buttons' ] );
157
-
158
- // loop about the options to check for each post type
159
- foreach ( $options[ 'core_buttons' ] as $button => $post_type ) {
160
-
161
- // if the post type is inside the settings array active, the remove qtags
162
- if ( is_array( $post_type ) && array_key_exists( $screen->id, $post_type ) ) {
163
-
164
- // If settings have key inside, then unset this button
165
- if ( FALSE !== ( $key = array_search( $button, $buttons ) ) ) {
166
- unset( $buttons[ $key ] );
167
- }
168
- }
169
- }
170
-
171
- // Convert new buttons array back into a comma-separated string
172
- $qtags_init[ 'buttons' ] = implode( ',', $buttons );
173
- $qtags_init[ 'buttons' ] = apply_filters( 'addquicktag_remove_buttons', $qtags_init[ 'buttons' ] );
174
-
175
- return $qtags_init;
176
- }
177
-
178
- /**
179
- * Uninstall data in options table, if the plugin was uninstall via backend
180
- *
181
- * @since 2.0.0
182
- * @return void
183
- */
184
- public function uninstall() {
185
-
186
- delete_site_option( self::$option_string );
187
- }
188
-
189
- /**
190
- * Print json data in head
191
- *
192
- * @since 2.0.0
193
- * @return void
194
- */
195
- public function get_json() {
196
- global $current_screen;
197
-
198
- if ( ! in_array(
199
- $current_screen->id,
200
- $this->get_post_types_for_js()
201
- ) &&
202
- isset( $current_screen->id )
203
- ) {
204
- return NULL;
205
- }
206
-
207
- if ( is_multisite() && is_plugin_active_for_network( $this ->get_plugin_string() ) ) {
208
- $options = get_site_option( self::$option_string );
209
- } else {
210
- $options = get_option( self::$option_string );
211
- }
212
-
213
- if ( empty( $options[ 'buttons' ] ) ) {
214
- $options[ 'buttons' ] = '';
215
- }
216
-
217
- // allow change or enhance buttons array
218
- $options[ 'buttons' ] = apply_filters( 'addquicktag_buttons', $options[ 'buttons' ] );
219
- // hook for filter options
220
- $options = apply_filters( 'addquicktag_options', $options );
221
-
222
- if ( ! $options ) {
223
- return NULL;
224
- }
225
-
226
- if ( 1 < count( $options[ 'buttons' ] ) ) {
227
- // sort array by order value
228
- $tmp = array();
229
- foreach ( $options[ 'buttons' ] as $order ) {
230
- if ( isset( $order[ 'order' ] ) ) {
231
- $tmp[ ] = $order[ 'order' ];
232
- } else {
233
- $tmp[ ] = 0;
234
- }
235
- }
236
- array_multisort( $tmp, SORT_ASC, $options[ 'buttons' ] );
237
- }
238
-
239
- ?>
240
- <script type="text/javascript">
241
- var addquicktag_tags = <?php echo json_encode( $options ); ?>,
242
- addquicktag_post_type = <?php echo json_encode( $current_screen->id ); ?>,
243
- addquicktag_pt_for_js = <?php echo json_encode( $this->get_post_types_for_js() ); ?>;
244
- </script>
245
- <?php
246
- }
247
-
248
- /**
249
- * Enqueue Scripts for plugin
250
- *
251
- * @internal param string $where
252
- *
253
- * @since 2.0.0
254
- * @access public
255
- * @return void
256
- */
257
- public function admin_enqueue_scripts() {
258
-
259
- global $current_screen;
260
-
261
- if ( ! in_array(
262
- $current_screen->id,
263
- $this->get_post_types_for_js()
264
- ) &&
265
- isset( $current_screen->id )
266
- ) {
267
- return NULL;
268
- }
269
-
270
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '.dev' : '';
271
-
272
- if ( version_compare( $GLOBALS[ 'wp_version' ], '3.3alpha', '>=' ) ) {
273
- wp_enqueue_script(
274
- self::get_textdomain() . '_script',
275
- plugins_url( '/js/add-quicktags' . $suffix . '.js', __FILE__ ),
276
- array( 'jquery', 'quicktags' ),
277
- '',
278
- TRUE
279
- );
280
- // Load only for WPs, there version is smaller then 3.2
281
- } else {
282
- wp_enqueue_script(
283
- self::get_textdomain() . '_script',
284
- plugins_url( '/js/add-quicktags_32' . $suffix . '.js', __FILE__ ),
285
- array( 'jquery', 'quicktags' ),
286
- '',
287
- TRUE
288
- );
289
- }
290
- // Alternative to JSON function
291
- // wp_localize_script( self :: get_textdomain() . '_script', 'addquicktag_tags', get_option( self :: $option_string ) );
292
- }
293
-
294
- /**
295
- * Localize_plugin function.
296
- *
297
- * @uses load_plugin_textdomain, plugin_basename
298
- * @access public
299
- * @since 2.0.0
300
- * @return void
301
- */
302
- public function localize_plugin() {
303
-
304
- load_plugin_textdomain( $this->get_textdomain(), FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
305
- }
306
-
307
- /**
308
- * return plugin comment data
309
- *
310
- * @since 2.0.0
311
- * @access public
312
- *
313
- * @param $value string, default = 'TextDomain'
314
- * Name, PluginURI, Version, Description, Author, AuthorURI, TextDomain, DomainPath, Network, Title
315
- *
316
- * @return string
317
- */
318
- public function get_plugin_data( $value = 'TextDomain' ) {
319
-
320
- static $plugin_data = array();
321
-
322
- // fetch the data just once.
323
- if ( isset( $plugin_data[ $value ] ) ) {
324
- return $plugin_data[ $value ];
325
- }
326
-
327
- if ( ! function_exists( 'get_plugin_data' ) ) {
328
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
329
- }
330
-
331
- $plugin_data = get_plugin_data( __FILE__ );
332
-
333
- return empty( $plugin_data[ $value ] ) ? '' : $plugin_data[ $value ];
334
- }
335
-
336
- /**
337
- * Return string of plugin
338
- *
339
- * @since 2.0.0
340
- * @return string
341
- */
342
- public function get_plugin_string() {
343
-
344
- return self::$plugin;
345
- }
346
-
347
- /**
348
- * Get Post types with UI to use optional the quicktags
349
- *
350
- * @since 08/1/2013
351
- * @return Array
352
- */
353
- private function get_post_types() {
354
-
355
- // list only post types, there was used in UI
356
- $args = array( 'show_ui' => TRUE );
357
- $post_types = get_post_types( $args, 'names' );
358
- // simplify the array
359
- $post_types = array_values( $post_types );
360
- // merge with strings from var
361
- $post_types = array_merge( $post_types, self::$post_types_for_js );
362
-
363
- return $post_types;
364
- }
365
-
366
- /**
367
- * Return allowed post types for include scripts
368
- *
369
- * @since 2.1.1
370
- * @access public
371
- * @return Array
372
- */
373
- public function get_post_types_for_js() {
374
-
375
- return apply_filters( 'addquicktag_post_types', $this->get_post_types() );
376
- }
377
-
378
- /**
379
- * Return allowed post types for include scripts
380
- *
381
- * @since 2.1.1
382
- * @access public
383
- * @return Array
384
- */
385
- public function get_admin_pages_for_js() {
386
-
387
- return apply_filters( 'addquicktag_pages', self::$admin_pages_for_js );
388
- }
389
-
390
- /**
391
- * Return textdomain string
392
- *
393
- * @since 2.0.0
394
- * @access public
395
- * @return string
396
- */
397
- public function get_textdomain() {
398
-
399
- return self::get_plugin_data( 'TextDomain' );
400
- }
401
-
402
- /**
403
- * Return string for options
404
- *
405
- * @since 2.0.0
406
- * @return string
407
- */
408
- public function get_option_string() {
409
-
410
- return self::$option_string;
411
- }
412
-
413
-
414
- } // end class
415
-
416
- if ( function_exists( 'add_action' ) && class_exists( 'Add_Quicktag' ) ) {
417
- add_action( 'plugins_loaded', array( 'Add_Quicktag', 'get_object' ) );
418
- } else {
419
- header( 'Status: 403 Forbidden' );
420
- header( 'HTTP/1.1 403 Forbidden' );
421
- exit();
422
- }
 
1
+ <?php
2
+
3
+ /**
4
+ * Plugin Name: AddQuicktag
5
+ * Plugin URI: http://bueltge.de/wp-addquicktags-de-plugin/120/
6
+ * Text Domain: addquicktag
7
+ * Domain Path: /languages
8
+ * Description: Allows you to easily add custom Quicktags to the html- and visual-editor.
9
+ * Version: 2.5.0
10
+ * Author: Frank Bültge
11
+ * Author URI: http://bueltge.de
12
+ * License: GPLv2+
13
+ * License URI: ./license.txt
14
+ *
15
+ * Add Quicktag Plugin class
16
+ *
17
+ * @since 2.0.0
18
+ */
19
+ class Add_Quicktag {
20
+
21
+ /**
22
+ * Option key - String
23
+ *
24
+ * @var string
25
+ */
26
+ static private $option_string = 'rmnlQuicktagSettings';
27
+
28
+ /**
29
+ * Use filter 'addquicktag_pages' for add custom pages
30
+ *
31
+ * @var array
32
+ */
33
+ static private $admin_pages_for_js = array(
34
+ 'post.php',
35
+ 'post-new.php',
36
+ 'comment.php',
37
+ 'edit-comments.php',
38
+ 'widgets.php'
39
+ );
40
+
41
+ /**
42
+ * Use filter 'addquicktag_post_types' for add custom post_types
43
+ *
44
+ * @var array
45
+ */
46
+ static private $post_types_for_js = array( 'comment', 'edit-comments', 'widgets' );
47
+
48
+ /**
49
+ * @var string
50
+ */
51
+ static private $plugin;
52
+
53
+ /**
54
+ * Handler for the action 'init'. Instantiates this class.
55
+ *
56
+ * @since 2.0.0
57
+ * @access public
58
+ * @return \Add_Quicktag $instance
59
+ */
60
+ public static function get_object() {
61
+
62
+ static $instance;
63
+
64
+ if ( NULL === $instance ) {
65
+ $instance = new self();
66
+ }
67
+
68
+ return $instance;
69
+ }
70
+
71
+ /**
72
+ * Constructor, init the functions inside WP
73
+ *
74
+ * @since 2.0.0
75
+ */
76
+ private function __construct() {
77
+
78
+ if ( ! is_admin() ) {
79
+ return;
80
+ }
81
+
82
+ // get string of plugin
83
+ self::$plugin = plugin_basename( __FILE__ );
84
+
85
+ // on uninstall remove capability from roles
86
+ register_uninstall_hook( __FILE__, array( 'Add_Quicktag', 'uninstall' ) );
87
+ // on deactivate delete all settings in database
88
+ // register_deactivation_hook( __FILE__, array('Add_Quicktag', 'uninstall' ) );
89
+
90
+ // load translation files
91
+ add_action( 'admin_init', array( $this, 'localize_plugin' ) );
92
+ // on init register post type for addquicktag and print js
93
+ add_action( 'init', array( $this, 'on_admin_init' ) );
94
+
95
+ add_filter( 'quicktags_settings', array( $this, 'remove_quicktags' ), 10, 1 );
96
+ }
97
+
98
+
99
+ /**
100
+ * Include other files and print JS
101
+ *
102
+ * @since 07/16/2012
103
+ * @return void
104
+ */
105
+ public function on_admin_init() {
106
+
107
+ if ( ! is_admin() ) {
108
+ return NULL;
109
+ }
110
+
111
+ // Include settings
112
+ require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'inc/class-settings.php';
113
+ // Include solution for TinyMCE
114
+ require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'inc/class-tinymce.php';
115
+
116
+ foreach ( $this->get_admin_pages_for_js() as $page ) {
117
+ add_action( 'admin_print_scripts-' . $page, array( $this, 'get_json' ) );
118
+ add_action( 'admin_print_scripts-' . $page, array( $this, 'admin_enqueue_scripts' ) );
119
+ }
120
+ }
121
+
122
+ /**
123
+ * Remove quicktags
124
+ *
125
+ * @since 08/15/2013
126
+ *
127
+ * @param array $qtags_init the Buttons
128
+ *
129
+ * @type string id
130
+ * @type array buttons, default: 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,fullscreen'
131
+ * @return array $qtags_init the Buttons
132
+ */
133
+ public function remove_quicktags( $qtags_init ) {
134
+
135
+ // No core buttons, not necessary to filter
136
+ if ( empty( $qtags_init[ 'buttons' ] ) ) {
137
+ return $qtags_init;
138
+ }
139
+
140
+ if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
141
+ $options = get_site_option( self::$option_string );
142
+ } else {
143
+ $options = get_option( self::$option_string );
144
+ }
145
+
146
+ // No settings, not necessary to filter
147
+ if ( empty( $options[ 'core_buttons' ] ) ) {
148
+ return $qtags_init;
149
+ }
150
+
151
+ // get current screen, post type
152
+ $screen = get_current_screen();
153
+
154
+ // Convert string to array from default core buttons
155
+ $buttons = explode( ',', $qtags_init[ 'buttons' ] );
156
+
157
+ // loop about the options to check for each post type
158
+ foreach ( (array) $options[ 'core_buttons' ] as $button => $post_type ) {
159
+
160
+ // if the post type is inside the settings array active, the remove qtags
161
+ if ( is_array( $post_type ) && array_key_exists( $screen->id, $post_type ) ) {
162
+
163
+ // If settings have key inside, then unset this button
164
+ if ( FALSE !== ( $key = array_search( $button, $buttons, TRUE ) ) ) {
165
+ unset( $buttons[ $key ] );
166
+ }
167
+ }
168
+ }
169
+
170
+ // Convert new buttons array back into a comma-separated string
171
+ $qtags_init[ 'buttons' ] = implode( ',', $buttons );
172
+ $qtags_init[ 'buttons' ] = apply_filters( 'addquicktag_remove_buttons', $qtags_init[ 'buttons' ] );
173
+
174
+ return $qtags_init;
175
+ }
176
+
177
+ /**
178
+ * Uninstall data in options table, if the plugin was uninstall via backend
179
+ *
180
+ * @since 2.0.0
181
+ * @return void
182
+ */
183
+ public function uninstall() {
184
+
185
+ delete_site_option( self::$option_string );
186
+ }
187
+
188
+ /**
189
+ * Print json data in head
190
+ *
191
+ * @since 2.0.0
192
+ * @return void
193
+ */
194
+ public function get_json() {
195
+ global $current_screen;
196
+
197
+ if ( isset( $current_screen->id ) &&
198
+ ! in_array(
199
+ $current_screen->id,
200
+ $this->get_post_types_for_js(),
201
+ TRUE
202
+ )
203
+ ) {
204
+ return NULL;
205
+ }
206
+
207
+ if ( is_multisite() && is_plugin_active_for_network( $this ->get_plugin_string() ) ) {
208
+ $options = get_site_option( self::$option_string );
209
+ } else {
210
+ $options = get_option( self::$option_string );
211
+ }
212
+
213
+ if ( empty( $options[ 'buttons' ] ) ) {
214
+ $options[ 'buttons' ] = '';
215
+ }
216
+
217
+ // allow change or enhance buttons array
218
+ $options[ 'buttons' ] = apply_filters( 'addquicktag_buttons', $options[ 'buttons' ] );
219
+ // hook for filter options
220
+ $options = apply_filters( 'addquicktag_options', $options );
221
+
222
+ if ( ! $options ) {
223
+ return NULL;
224
+ }
225
+
226
+ if ( 1 < count( $options[ 'buttons' ] ) ) {
227
+ // sort array by order value
228
+ $tmp = array();
229
+ foreach ( (array) $options[ 'buttons' ] as $order ) {
230
+ if ( isset( $order[ 'order' ] ) ) {
231
+ $tmp[ ] = $order[ 'order' ];
232
+ } else {
233
+ $tmp[ ] = 0;
234
+ }
235
+ }
236
+ array_multisort( $tmp, SORT_ASC, $options[ 'buttons' ] );
237
+ }
238
+
239
+ ?>
240
+ <script type="text/javascript">
241
+ var addquicktag_tags = <?php echo json_encode( $options ); ?>,
242
+ addquicktag_post_type = <?php echo json_encode( $current_screen->id ); ?>,
243
+ addquicktag_pt_for_js = <?php echo json_encode( $this->get_post_types_for_js() ); ?>;
244
+ </script>
245
+ <?php
246
+ }
247
+
248
+ /**
249
+ * Enqueue Scripts for plugin
250
+ *
251
+ * @internal param string $where
252
+ *
253
+ * @since 2.0.0
254
+ * @access public
255
+ * @return void
256
+ */
257
+ public function admin_enqueue_scripts() {
258
+
259
+ global $current_screen;
260
+
261
+ if ( isset( $current_screen->id ) &&
262
+ ! in_array(
263
+ $current_screen->id,
264
+ $this->get_post_types_for_js(),
265
+ TRUE
266
+ )
267
+ ) {
268
+ return NULL;
269
+ }
270
+
271
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '.dev' : '';
272
+
273
+ if ( version_compare( $GLOBALS[ 'wp_version' ], '3.3alpha', '>=' ) ) {
274
+ wp_enqueue_script(
275
+ $this->get_textdomain() . '_script',
276
+ plugins_url( '/js/add-quicktags' . $suffix . '.js', __FILE__ ),
277
+ array( 'jquery', 'quicktags' ),
278
+ '',
279
+ TRUE
280
+ );
281
+ // Load only for WPs, there version is smaller then 3.2
282
+ } else {
283
+ wp_enqueue_script(
284
+ $this->get_textdomain() . '_script',
285
+ plugins_url( '/js/add-quicktags_32' . $suffix . '.js', __FILE__ ),
286
+ array( 'jquery', 'quicktags' ),
287
+ '',
288
+ TRUE
289
+ );
290
+ }
291
+ // Alternative to JSON function
292
+ // wp_localize_script( self :: get_textdomain() . '_script', 'addquicktag_tags', get_option( self :: $option_string ) );
293
+ }
294
+
295
+ /**
296
+ * Localize_plugin function.
297
+ *
298
+ * @uses load_plugin_textdomain, plugin_basename
299
+ * @access public
300
+ * @since 2.0.0
301
+ * @return void
302
+ */
303
+ public function localize_plugin() {
304
+
305
+ load_plugin_textdomain( $this->get_textdomain(), FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
306
+ }
307
+
308
+ /**
309
+ * return plugin comment data
310
+ *
311
+ * @since 2.0.0
312
+ * @access public
313
+ *
314
+ * @param $value string, default = 'TextDomain'
315
+ * Name, PluginURI, Version, Description, Author, AuthorURI, TextDomain, DomainPath, Network, Title
316
+ *
317
+ * @return string
318
+ */
319
+ public function get_plugin_data( $value = 'TextDomain' ) {
320
+
321
+ static $plugin_data = array();
322
+
323
+ // fetch the data just once.
324
+ if ( isset( $plugin_data[ $value ] ) ) {
325
+ return $plugin_data[ $value ];
326
+ }
327
+
328
+ if ( ! function_exists( 'get_plugin_data' ) ) {
329
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
330
+ }
331
+
332
+ $plugin_data = get_plugin_data( __FILE__ );
333
+
334
+ return empty( $plugin_data[ $value ] ) ? '' : $plugin_data[ $value ];
335
+ }
336
+
337
+ /**
338
+ * Return string of plugin
339
+ *
340
+ * @since 2.0.0
341
+ * @return string
342
+ */
343
+ public function get_plugin_string() {
344
+
345
+ return self::$plugin;
346
+ }
347
+
348
+ /**
349
+ * Get Post types with UI to use optional the quicktags
350
+ *
351
+ * @since 08/1/2013
352
+ * @return array
353
+ */
354
+ private function get_post_types() {
355
+
356
+ // list only post types, there was used in UI
357
+ $args = array( 'show_ui' => TRUE );
358
+ $post_types = get_post_types( $args, 'names' );
359
+ // simplify the array
360
+ $post_types = array_values( $post_types );
361
+ // merge with strings from var
362
+ $post_types = array_merge( $post_types, self::$post_types_for_js );
363
+
364
+ return $post_types;
365
+ }
366
+
367
+ /**
368
+ * Return allowed post types for include scripts
369
+ *
370
+ * @since 2.1.1
371
+ * @access public
372
+ * @return array
373
+ */
374
+ public function get_post_types_for_js() {
375
+
376
+ return apply_filters( 'addquicktag_post_types', $this->get_post_types() );
377
+ }
378
+
379
+ /**
380
+ * Return allowed post types for include scripts
381
+ *
382
+ * @since 2.1.1
383
+ * @access public
384
+ * @return array
385
+ */
386
+ public function get_admin_pages_for_js() {
387
+
388
+ return apply_filters( 'addquicktag_pages', self::$admin_pages_for_js );
389
+ }
390
+
391
+ /**
392
+ * Return textdomain string
393
+ *
394
+ * @since 2.0.0
395
+ * @access public
396
+ * @return string
397
+ */
398
+ public function get_textdomain() {
399
+
400
+ return $this->get_plugin_data( 'TextDomain' );
401
+ }
402
+
403
+ /**
404
+ * Return string for options
405
+ *
406
+ * @since 2.0.0
407
+ * @return string
408
+ */
409
+ public function get_option_string() {
410
+
411
+ return self::$option_string;
412
+ }
413
+
414
+
415
+ } // end class
416
+
417
+ if ( function_exists( 'add_action' ) && class_exists( 'Add_Quicktag' ) ) {
418
+ add_action( 'plugins_loaded', array( 'Add_Quicktag', 'get_object' ) );
419
+ } else {
420
+ header( 'Status: 403 Forbidden' );
421
+ header( 'HTTP/1.1 403 Forbidden' );
422
+ exit();
423
+ }
css/dashicons-picker.css ADDED
@@ -0,0 +1 @@
 
1
+ .dashicon-picker-container{position:absolute;width:220px;height:252px;font-size:14px;background-color:#fff;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1);overflow:hidden;padding:5px;box-sizing:border-box}.dashicon-picker-container ul{margin:0 0 10px;padding:0}.dashicon-picker-container ul .dashicons{width:20px;height:20px;font-size:20px}.dashicon-picker-container ul li{display:inline-block;margin:5px;float:left}.dashicon-picker-container ul li a{display:block;text-decoration:none;color:#373737;padding:5px;border:1px solid #dfdfdf}.dashicon-picker-container ul li a:hover{border-color:#999;background:#efefef}.dashicon-picker-control{height:32px}.dashicon-picker-control a{padding:5px;text-decoration:none;line-height:32px;width:25px}.dashicon-picker-control a span{display:inline;vertical-align:middle}.dashicon-picker-control input{font-size:12px;width:140px}
css/dashicons-picker.dev.css ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .dashicon-picker-container {
2
+ position: absolute;
3
+ width: 220px;
4
+ height: 252px;
5
+ font-size: 14px;
6
+ background-color: #fff;
7
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
8
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
9
+ overflow: hidden;
10
+ padding: 5px;
11
+ box-sizing: border-box;
12
+ }
13
+ .dashicon-picker-container ul {
14
+ margin: 0;
15
+ padding: 0;
16
+ margin-bottom: 10px;
17
+ }
18
+ .dashicon-picker-container ul .dashicons {
19
+ width: 20px;
20
+ height: 20px;
21
+ font-size: 20px;
22
+ }
23
+ .dashicon-picker-container ul li {
24
+ display: inline-block;
25
+ margin: 5px;
26
+ float: left;
27
+ }
28
+ .dashicon-picker-container ul li a {
29
+ display: block;
30
+ text-decoration: none;
31
+ color: #373737;
32
+ padding: 5px 5px;
33
+ border: 1px solid #dfdfdf;
34
+ }
35
+ .dashicon-picker-container ul li a:hover {
36
+ border-color: #999;
37
+ background: #efefef;
38
+ }
39
+
40
+ .dashicon-picker-control {
41
+ height: 32px;
42
+ }
43
+ .dashicon-picker-control a {
44
+ padding: 5px;
45
+ text-decoration: none;
46
+ line-height: 32px;
47
+ width: 25px;
48
+ }
49
+ .dashicon-picker-control a span {
50
+ display: inline;
51
+ vertical-align: middle;
52
+ }
53
+ .dashicon-picker-control input {
54
+ font-size: 12px;
55
+ width: 140px;
56
+ }
css/settings.css CHANGED
@@ -1,10 +1 @@
1
- /**
2
- * AddQuicktag settings style
3
- *
4
- * @package AddQuicktag Plugin
5
- * @author Frank Bueltge <frank@bueltge.de>
6
- * @version 06/19/2014
7
- * @since 2.02.3
8
- */
9
-
10
- .rmnlQuicktagSettings .rmnlqsheader{height:10em;vertical-align:bottom}.hover,table tr:hover{background-color:#ccc}.rmnlCodeQuicktagSettings th,.rmnlCoreQuicktagSettings th,.rmnlQuicktagSettings th{vertical-align:bottom!important;text-align:center}.rmnlQuicktagSettings .rotate{padding:0!important;margin:0 auto;width:1.2em;vertical-align:bottom!important}.rmnlQuicktagSettings .rotate span{display:block;padding:0!important;margin:0 auto;width:1.2em;vertical-align:middle!important;white-space:nowrap;writing-mode:tb-rl;-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"}.rmnlQuicktagSettings input[type=text]{height:3.5em;width:99%;margin:0 0 .5em}.rmnlQuicktagSettings textarea{height:3.5em;width:99%;margin:0 0 .2em}
1
+ .fixed{top:0;position:fixed;width:auto;z-index:999;display:none;border:none}.rmnlQuicktagSettings .rmnlqsheader{height:10em;vertical-align:bottom}.hover,table tr:hover{background-color:#ccc}.rmnlCodeQuicktagSettings th,.rmnlCoreQuicktagSettings th,.rmnlQuicktagSettings th{vertical-align:bottom!important;text-align:center}.rmnlQuicktagSettings .rotate{padding:0!important;margin:0 auto;width:1.2em;vertical-align:bottom!important}.rmnlQuicktagSettings .rotate span{display:block;padding:0!important;margin:0 auto;width:1.2em;vertical-align:middle!important;white-space:nowrap;-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"}.rmnlQuicktagSettings input[type=text]{height:3.5em;width:99%;margin:0 0 .5em}.rmnlQuicktagSettings input[type=text].small{height:auto;width:80%;margin:0 0 .5em}.rmnlQuicktagSettings button{padding:0 2px!important;font-size:20px!important;width:auto!important}.rmnlQuicktagSettings textarea{height:3.5em;width:99%;margin:0 0 .2em}
 
 
 
 
 
 
 
 
 
css/settings.dev.css CHANGED
@@ -1,63 +1,83 @@
1
- /**
2
- * AddQuicktag settings style
3
- *
4
- * @package AddQuicktag Plugin
5
- * @author Frank Bueltge <frank@bueltge.de>
6
- * @version 06/19/2014
7
- * @since 2.02.3
8
- */
9
-
10
- .rmnlQuicktagSettings .rmnlqsheader {
11
- height: 10em;
12
- vertical-align: bottom;
13
- }
14
-
15
- .hover, table tr:hover {
16
- background-color: #ccc;
17
- }
18
-
19
- .rmnlQuicktagSettings th,
20
- .rmnlCoreQuicktagSettings th,
21
- .rmnlCodeQuicktagSettings th{
22
- vertical-align: bottom !important;
23
- text-align: center;
24
- }
25
-
26
- .rmnlQuicktagSettings .rotate {
27
- padding: 0 !important;
28
- margin: 0 auto;
29
- width: 1.2em;
30
- vertical-align: bottom !important;
31
- }
32
-
33
- .rmnlQuicktagSettings .rotate span {
34
- display: block;
35
- padding: 0 !important;
36
- margin: 0 auto;
37
- width: 1.2em;
38
- vertical-align: middle !important;
39
- white-space: nowrap;
40
- filter: flipv fliph;
41
- writing-mode: tb-rl;
42
- -webkit-transform: rotate(-90deg);
43
- -moz-transform: rotate(-90deg);
44
- -ms-transform: rotate(-90deg);
45
- -o-transform: rotate(-90deg);
46
- transform: rotate(-90deg);
47
-
48
- /* Should be unset in IE9+ I think. */
49
- filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* IE6,IE7 */
50
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; /* IE8 */
51
- }
52
-
53
- .rmnlQuicktagSettings input[type='text'] {
54
- height: 3.5em;
55
- width: 99%;
56
- margin: 0 0 .5em 0;
57
- }
58
-
59
- .rmnlQuicktagSettings textarea {
60
- height: 3.5em;
61
- width: 99%;
62
- margin: 0 0 .2em 0;
63
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * AddQuicktag settings style
3
+ *
4
+ * @package AddQuicktag Plugin
5
+ * @author Frank Bueltge <frank@bueltge.de>
6
+ * @version 2016-10-28
7
+ * @since 2.02.3
8
+ */
9
+
10
+ .fixed {
11
+ top: 0;
12
+ position: fixed;
13
+ width: auto;
14
+ z-index: 999;
15
+ display: none;
16
+ border: none;
17
+ }
18
+
19
+ .rmnlQuicktagSettings .rmnlqsheader {
20
+ height: 10em;
21
+ vertical-align: bottom;
22
+ }
23
+
24
+ .hover, table tr:hover {
25
+ background-color: #ccc;
26
+ }
27
+
28
+ .rmnlQuicktagSettings th,
29
+ .rmnlCoreQuicktagSettings th,
30
+ .rmnlCodeQuicktagSettings th{
31
+ vertical-align: bottom !important;
32
+ text-align: center;
33
+ }
34
+
35
+ .rmnlQuicktagSettings .rotate {
36
+ padding: 0 !important;
37
+ margin: 0 auto;
38
+ width: 1.2em;
39
+ vertical-align: bottom !important;
40
+ }
41
+
42
+ .rmnlQuicktagSettings .rotate span {
43
+ display: block;
44
+ padding: 0 !important;
45
+ margin: 0 auto;
46
+ width: 1.2em;
47
+ vertical-align: middle !important;
48
+ white-space: nowrap;
49
+ filter: flipv fliph;
50
+ -webkit-transform: rotate(270deg);
51
+ -moz-transform: rotate(270deg);
52
+ -ms-transform: rotate(270deg);
53
+ -o-transform: rotate(270deg);
54
+ transform: rotate(270deg);
55
+ /* Should be unset in IE9+ I think. */
56
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* IE6,IE7 */
57
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; /* IE8 */
58
+ }
59
+
60
+ .rmnlQuicktagSettings input[type='text'] {
61
+ height: 3.5em;
62
+ width: 99%;
63
+ margin: 0 0 .5em 0;
64
+ }
65
+
66
+ .rmnlQuicktagSettings input[type='text'].small {
67
+ height: auto;
68
+ width: 80%;
69
+ margin: 0 0 .5em 0;
70
+ }
71
+
72
+ .rmnlQuicktagSettings button {
73
+ padding: 0 2px !important;
74
+ font-size: 20px !important;
75
+ width: auto !important;
76
+ }
77
+
78
+
79
+ .rmnlQuicktagSettings textarea {
80
+ height: 3.5em;
81
+ width: 99%;
82
+ margin: 0 0 .2em 0;
83
+ }
inc/class-code-quicktags.php CHANGED
@@ -7,7 +7,7 @@
7
  * @subpackage AddQuicktag Settings
8
  * @author Frank Bueltge <frank@bueltge.de>
9
  * @since 01/26/2014
10
- * @version 06/19/2014
11
  */
12
 
13
  if ( ! function_exists( 'add_action' ) ) {
@@ -27,13 +27,6 @@ class Add_Quicktag_Code_Quicktags extends Add_Quicktag_Settings {
27
  */
28
  private static $code_quicktags = array( 'enhanced_code' => 'pre', 'en_de_coding' => 'htmlentities' );
29
 
30
- /**
31
- * Static var for textdomain
32
- *
33
- * @var string
34
- */
35
- public static $textdomain = '';
36
-
37
  /**
38
  * Handler for the action 'init'. Instantiates this class.
39
  *
@@ -58,12 +51,9 @@ class Add_Quicktag_Code_Quicktags extends Add_Quicktag_Settings {
58
  * @access public
59
  * @since 0.0.2
60
  * @uses register_activation_hook, register_uninstall_hook, add_action
61
- * @return \Add_Quicktag_Code_Quicktags
62
  */
63
  private function __construct() {
64
 
65
- self::$textdomain = parent::get_textdomain();
66
-
67
  add_action( 'addquicktag_settings_form_page', array( $this, 'get_code_quicktag_area' ) );
68
  }
69
 
@@ -74,16 +64,16 @@ class Add_Quicktag_Code_Quicktags extends Add_Quicktag_Settings {
74
  */
75
  public function get_code_quicktag_area( $options ) {
76
 
77
- if ( ! isset( $options[ 'code_buttons' ] ) ) {
78
  $options[ 'code_buttons' ] = array();
79
  }
80
  ?>
81
- <h3><?php esc_html_e( 'Enhanced Code Quicktag buttons', self::$textdomain ); ?></h3>
82
- <p><?php esc_html_e( 'Select the checkbox below to add enhanced code buttons.', $this->get_textdomain() ); ?></p>
83
- <h4><?php esc_html_e( 'pre: Enhanced Code buttons', self::$textdomain ); ?></h4>
84
- <p><?php esc_html_e( 'Enhanced the default Code buttons. Add a pull down menu for different languages before the default code button and include this as class inside the code tag. Also add a pre button for preformatted text.', self::$textdomain ); ?></p>
85
- <h4><?php esc_html_e( 'htmlentities: HTML Entities, HTML Decode', self::$textdomain ); ?></h4>
86
- <p><?php esc_html_e( 'Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;lt; and back.', self::$textdomain ); ?></p>
87
 
88
  <?php
89
  // loop about the post types, create html an values for title in table
@@ -100,12 +90,15 @@ class Add_Quicktag_Code_Quicktags extends Add_Quicktag_Settings {
100
  <?php echo $pt_colgroup; ?>
101
  <colgroup></colgroup>
102
 
 
103
  <tr>
104
- <th class="row-title"><?php esc_html_e( 'Button', self::$textdomain ); ?></th>
105
  <?php echo $pt_title; ?>
106
  <th class="row-title num" style="width:3%;">&#x2714;</th>
107
  </tr>
 
108
 
 
109
  <?php
110
  // Convert string to array
111
  //$code_buttons = explode( ',', self::$code_quicktags );
@@ -121,7 +114,9 @@ class Add_Quicktag_Code_Quicktags extends Add_Quicktag_Settings {
121
  foreach ( $this->get_post_types_for_js() as $post_type ) {
122
 
123
  $pt_checked = '';
124
- if ( isset( $options[ 'code_buttons' ][ $value ][ $post_type ] ) && 1 == $options[ 'code_buttons' ][ $value ][ $post_type ] ) {
 
 
125
  $pt_checked = ' checked="checked"';
126
  }
127
 
@@ -141,7 +136,7 @@ class Add_Quicktag_Code_Quicktags extends Add_Quicktag_Settings {
141
  // Convert new buttons array back into a comma-separated string
142
  //$code_qt = implode( ',', $code_buttons );
143
  ?>
144
-
145
  </table>
146
  <?php
147
  }
7
  * @subpackage AddQuicktag Settings
8
  * @author Frank Bueltge <frank@bueltge.de>
9
  * @since 01/26/2014
10
+ * @version 2015-12-23
11
  */
12
 
13
  if ( ! function_exists( 'add_action' ) ) {
27
  */
28
  private static $code_quicktags = array( 'enhanced_code' => 'pre', 'en_de_coding' => 'htmlentities' );
29
 
 
 
 
 
 
 
 
30
  /**
31
  * Handler for the action 'init'. Instantiates this class.
32
  *
51
  * @access public
52
  * @since 0.0.2
53
  * @uses register_activation_hook, register_uninstall_hook, add_action
 
54
  */
55
  private function __construct() {
56
 
 
 
57
  add_action( 'addquicktag_settings_form_page', array( $this, 'get_code_quicktag_area' ) );
58
  }
59
 
64
  */
65
  public function get_code_quicktag_area( $options ) {
66
 
67
+ if ( ! array_key_exists( 'code_buttons', $options ) ) {
68
  $options[ 'code_buttons' ] = array();
69
  }
70
  ?>
71
+ <h3><?php esc_html_e( 'Enhanced Code Quicktag buttons', 'addquicktag' ); ?></h3>
72
+ <p><?php esc_html_e( 'Select the checkbox below to add enhanced code buttons.', 'addquicktag' ); ?></p>
73
+ <h4><?php esc_html_e( 'pre: Enhanced Code buttons', 'addquicktag' ); ?></h4>
74
+ <p><?php esc_html_e( 'Enhanced the default Code buttons. Add a pull down menu for different languages before the default code button and include this as class inside the code tag. Also add a pre button for preformatted text.', 'addquicktag' ); ?></p>
75
+ <h4><?php esc_html_e( 'htmlentities: HTML Entities, HTML Decode', 'addquicktag' ); ?></h4>
76
+ <p><?php esc_html_e( 'Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;lt; and back.', 'addquicktag' ); ?></p>
77
 
78
  <?php
79
  // loop about the post types, create html an values for title in table
90
  <?php echo $pt_colgroup; ?>
91
  <colgroup></colgroup>
92
 
93
+ <thead>
94
  <tr>
95
+ <th class="row-title"><?php esc_html_e( 'Button', 'addquicktag' ); ?></th>
96
  <?php echo $pt_title; ?>
97
  <th class="row-title num" style="width:3%;">&#x2714;</th>
98
  </tr>
99
+ </thead>
100
 
101
+ <tbody>
102
  <?php
103
  // Convert string to array
104
  //$code_buttons = explode( ',', self::$code_quicktags );
114
  foreach ( $this->get_post_types_for_js() as $post_type ) {
115
 
116
  $pt_checked = '';
117
+ if ( isset( $options[ 'code_buttons' ][ $value ][ $post_type ] )
118
+ && 1 === (int) $options[ 'code_buttons' ][ $value ][ $post_type ]
119
+ ) {
120
  $pt_checked = ' checked="checked"';
121
  }
122
 
136
  // Convert new buttons array back into a comma-separated string
137
  //$code_qt = implode( ',', $code_buttons );
138
  ?>
139
+ </tbody>
140
  </table>
141
  <?php
142
  }
inc/class-imexport.php CHANGED
@@ -40,7 +40,7 @@ class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
40
  /**
41
  * Post types for the settings
42
  *
43
- * @var Array
44
  */
45
  private static $post_types_for_js;
46
 
@@ -68,12 +68,9 @@ class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
68
  * @access public
69
  * @since 0.0.2
70
  * @uses register_activation_hook, register_uninstall_hook, add_action
71
- * @return \Add_Quicktag_Im_Export
72
  */
73
  private function __construct() {
74
 
75
- // textdomain from parent class
76
- self::$textdomain = parent::get_textdomain();
77
  self::$option_string = parent::get_option_string();
78
  self::$plugin = parent::get_plugin_string();
79
  self::$post_types_for_js = parent::get_post_types_for_js();
@@ -81,12 +78,10 @@ class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
81
  if ( isset( $_GET[ 'addquicktag_download' ] ) && check_admin_referer( parent :: $nonce_string ) ) {
82
  $this->get_export_file();
83
  }
84
- //add_action( 'init', array( $this, 'get_export_file' ) );
85
 
86
  if ( isset( $_POST[ 'addquicktag_import' ] ) && check_admin_referer( parent :: $nonce_string ) ) {
87
  $this->import_file();
88
  }
89
- //add_action( 'init', array( $this, 'import_file' ) );
90
 
91
  add_action( 'addquicktag_settings_page', array( $this, 'get_im_export_part' ) );
92
  }
@@ -97,25 +92,24 @@ class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
97
  * @access public
98
  * @since 2.0.0
99
  * @uses wp_nonce_field
100
- * @return string
101
  */
102
  public function get_im_export_part() {
103
 
104
  ?>
105
  <div class="postbox">
106
- <h3><span><?php esc_html_e( 'Export', parent :: get_textdomain() ); ?></span></h3>
107
 
108
  <div class="inside">
109
- <p><?php esc_html_e( 'When you click the button below the plugin will create an JSON file for you to save to your computer.', parent :: get_textdomain() ); ?></p>
110
 
111
- <p><?php esc_html_e( 'This format, a custom JSON, will contain your options from quicktags.', parent :: get_textdomain() ); ?></p>
112
 
113
- <p><?php esc_html_e( 'Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site.', parent :: get_textdomain() ); ?></p>
114
 
115
  <form method="get" action="">
116
  <?php wp_nonce_field( parent :: $nonce_string ); ?>
117
  <p class="submit">
118
- <input type="submit" name="submit" value="<?php esc_html_e( 'Download Export File', parent :: get_textdomain() ); ?> &raquo;" />
119
  <input type="hidden" name="addquicktag_download" value="true" />
120
  </p>
121
  </form>
@@ -123,16 +117,16 @@ class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
123
  </div>
124
 
125
  <div class="postbox">
126
- <h3><span><?php esc_html_e( 'Import', parent :: get_textdomain() ); ?></span></h3>
127
 
128
  <div class="inside">
129
- <p><?php esc_html_e( 'If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import. (json-Format)', parent :: get_textdomain() ); ?></p>
130
 
131
  <form method="post" action="" enctype="multipart/form-data">
132
  <?php wp_nonce_field( parent :: $nonce_string ); ?>
133
  <p class="submit">
134
  <input type="file" name="import_file" />
135
- <input type="submit" name="submit" value="<?php esc_html_e( 'Upload file and import', parent :: get_textdomain() ); ?> &raquo;" />
136
  <input type="hidden" name="addquicktag_import" value="true" />
137
  </p>
138
  </form>
@@ -186,7 +180,7 @@ class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
186
  public function import_file() {
187
 
188
  if ( ! current_user_can( 'manage_options' ) ) {
189
- wp_die( esc_html__( 'Options not update - you don&lsquo;t have the privileges to do this!', parent::get_textdomain() ) );
190
  }
191
 
192
  check_admin_referer( parent :: $nonce_string );
@@ -195,13 +189,13 @@ class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
195
  $extension = end( $extension );
196
 
197
  if ( $extension !== 'json' ) {
198
- wp_die( esc_html__( 'Please upload a valid .json file', parent::get_textdomain() ) );
199
  }
200
 
201
  $import_file = $_FILES[ 'import_file' ][ 'tmp_name' ];
202
 
203
  if ( empty( $import_file ) ) {
204
- wp_die( esc_html__( 'Please upload a file to import.', parent::get_textdomain() ) );
205
  }
206
 
207
  // Retrieve the settings from the file and convert the json object to an array.
40
  /**
41
  * Post types for the settings
42
  *
43
+ * @var array
44
  */
45
  private static $post_types_for_js;
46
 
68
  * @access public
69
  * @since 0.0.2
70
  * @uses register_activation_hook, register_uninstall_hook, add_action
 
71
  */
72
  private function __construct() {
73
 
 
 
74
  self::$option_string = parent::get_option_string();
75
  self::$plugin = parent::get_plugin_string();
76
  self::$post_types_for_js = parent::get_post_types_for_js();
78
  if ( isset( $_GET[ 'addquicktag_download' ] ) && check_admin_referer( parent :: $nonce_string ) ) {
79
  $this->get_export_file();
80
  }
 
81
 
82
  if ( isset( $_POST[ 'addquicktag_import' ] ) && check_admin_referer( parent :: $nonce_string ) ) {
83
  $this->import_file();
84
  }
 
85
 
86
  add_action( 'addquicktag_settings_page', array( $this, 'get_im_export_part' ) );
87
  }
92
  * @access public
93
  * @since 2.0.0
94
  * @uses wp_nonce_field
 
95
  */
96
  public function get_im_export_part() {
97
 
98
  ?>
99
  <div class="postbox">
100
+ <h3><span><?php esc_html_e( 'Export', 'addquicktag' ); ?></span></h3>
101
 
102
  <div class="inside">
103
+ <p><?php esc_html_e( 'When you click the button below the plugin will create an JSON file for you to save to your computer.', 'addquicktag' ); ?></p>
104
 
105
+ <p><?php esc_html_e( 'This format, a custom JSON, will contain your options from quicktags.', 'addquicktag' ); ?></p>
106
 
107
+ <p><?php esc_html_e( 'Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site.', 'addquicktag' ); ?></p>
108
 
109
  <form method="get" action="">
110
  <?php wp_nonce_field( parent :: $nonce_string ); ?>
111
  <p class="submit">
112
+ <input type="submit" name="submit" value="<?php esc_html_e( 'Download Export File', 'addquicktag' ); ?> &raquo;" />
113
  <input type="hidden" name="addquicktag_download" value="true" />
114
  </p>
115
  </form>
117
  </div>
118
 
119
  <div class="postbox">
120
+ <h3><span><?php esc_html_e( 'Import', 'addquicktag' ); ?></span></h3>
121
 
122
  <div class="inside">
123
+ <p><?php esc_html_e( 'If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import. (json-Format)', 'addquicktag' ); ?></p>
124
 
125
  <form method="post" action="" enctype="multipart/form-data">
126
  <?php wp_nonce_field( parent :: $nonce_string ); ?>
127
  <p class="submit">
128
  <input type="file" name="import_file" />
129
+ <input type="submit" name="submit" value="<?php esc_html_e( 'Upload file and import', 'addquicktag' ); ?> &raquo;" />
130
  <input type="hidden" name="addquicktag_import" value="true" />
131
  </p>
132
  </form>
180
  public function import_file() {
181
 
182
  if ( ! current_user_can( 'manage_options' ) ) {
183
+ wp_die( esc_html__( 'Options not update - you don&lsquo;t have the privileges to do this!', 'addquicktag' ) );
184
  }
185
 
186
  check_admin_referer( parent :: $nonce_string );
189
  $extension = end( $extension );
190
 
191
  if ( $extension !== 'json' ) {
192
+ wp_die( esc_html__( 'Please upload a valid .json file', 'addquicktag' ) );
193
  }
194
 
195
  $import_file = $_FILES[ 'import_file' ][ 'tmp_name' ];
196
 
197
  if ( empty( $import_file ) ) {
198
+ wp_die( esc_html__( 'Please upload a file to import.', 'addquicktag' ) );
199
  }
200
 
201
  // Retrieve the settings from the file and convert the json object to an array.
inc/class-remove-quicktags.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * AddQuicktag - Settings to remove core quicktags
4
- * @license GPLv2
5
  * @package AddQuicktag
6
  * @subpackage AddQuicktag Settings
7
  * @author Frank Bueltge <frank@bueltge.de>
8
- * @version 06/19/2014
9
  */
10
 
11
  if ( ! function_exists( 'add_action' ) ) {
@@ -45,7 +45,6 @@ class Add_Quicktag_Remove_Quicktags extends Add_Quicktag_Settings {
45
  * @access public
46
  * @since 0.0.2
47
  * @uses register_activation_hook, register_uninstall_hook, add_action
48
- * @return \Add_Quicktag_Remove_Quicktags
49
  */
50
  private function __construct() {
51
 
@@ -55,16 +54,16 @@ class Add_Quicktag_Remove_Quicktags extends Add_Quicktag_Settings {
55
  /**
56
  * Add settings area
57
  *
58
- * @param $options
59
  */
60
  public function get_remove_quicktag_area( $options ) {
61
 
62
- if ( ! isset( $options[ 'core_buttons' ] ) ) {
63
  $options[ 'core_buttons' ] = array();
64
  }
65
  ?>
66
- <h3><?php esc_html_e( 'Remove Core Quicktag buttons', parent::get_textdomain() ); ?></h3>
67
- <p><?php esc_html_e( 'Select the checkbox below to remove a core quicktags in the editors of the respective post type.', $this->get_textdomain() ); ?></p>
68
 
69
  <?php
70
  // loop about the post types, create html an values for title in table
@@ -81,12 +80,15 @@ class Add_Quicktag_Remove_Quicktags extends Add_Quicktag_Settings {
81
  <?php echo $pt_colgroup; ?>
82
  <colgroup></colgroup>
83
 
 
84
  <tr>
85
- <th class="row-title"><?php esc_html_e( 'Button', parent::get_textdomain() ); ?></th>
86
  <?php echo $pt_title; ?>
87
  <th class="row-title num" style="width:3%;">&#x2714;</th>
88
  </tr>
 
89
 
 
90
  <?php
91
  // Convert string to array
92
  $core_buttons = explode( ',', self::$core_quicktags );
@@ -116,14 +118,16 @@ class Add_Quicktag_Remove_Quicktags extends Add_Quicktag_Settings {
116
  }
117
 
118
  echo '<tr id="rmqtb' . $i . '">' . "\n";
119
- echo '<td><input type="button" class="ed_button" title="" value="' . $text . '"' . $style . '> <code>' . $value . '</code></td>';
 
120
 
121
  // loop about the post types, create html an values
122
  $pt_checkboxes = '';
123
  foreach ( $this->get_post_types_for_js() as $post_type ) {
124
 
125
  $pt_checked = '';
126
- if ( isset( $options[ 'core_buttons' ][ $value ][ $post_type ] ) && 1 == $options[ 'core_buttons' ][ $value ][ $post_type ] ) {
 
127
  $pt_checked = ' checked="checked"';
128
  }
129
 
@@ -134,7 +138,8 @@ class Add_Quicktag_Remove_Quicktags extends Add_Quicktag_Settings {
134
  }
135
  echo $pt_checkboxes;
136
 
137
- echo '<td class="num"><input type="checkbox" class="toggle" id="select_all_' . $i . '" value="' . $i . '" /></td>' . "\n";
 
138
 
139
  echo '</tr>' . "\n";
140
  $i ++;
@@ -143,6 +148,7 @@ class Add_Quicktag_Remove_Quicktags extends Add_Quicktag_Settings {
143
  // Convert new buttons array back into a comma-separated string
144
  $core_qt = implode( ',', $core_buttons );
145
  ?>
 
146
  </table>
147
  <?php
148
  }
1
  <?php
2
  /**
3
  * AddQuicktag - Settings to remove core quicktags
4
+ *
5
  * @package AddQuicktag
6
  * @subpackage AddQuicktag Settings
7
  * @author Frank Bueltge <frank@bueltge.de>
8
+ * @version 2015-12-23
9
  */
10
 
11
  if ( ! function_exists( 'add_action' ) ) {
45
  * @access public
46
  * @since 0.0.2
47
  * @uses register_activation_hook, register_uninstall_hook, add_action
 
48
  */
49
  private function __construct() {
50
 
54
  /**
55
  * Add settings area
56
  *
57
+ * @param array $options
58
  */
59
  public function get_remove_quicktag_area( $options ) {
60
 
61
+ if ( ! array_key_exists( 'core_buttons', $options ) ) {
62
  $options[ 'core_buttons' ] = array();
63
  }
64
  ?>
65
+ <h3><?php esc_html_e( 'Remove Core Quicktag buttons', 'addquicktag' ); ?></h3>
66
+ <p><?php esc_html_e( 'Select the checkbox below to remove a core quicktags in the editors of the respective post type.', 'addquicktag' ); ?></p>
67
 
68
  <?php
69
  // loop about the post types, create html an values for title in table
80
  <?php echo $pt_colgroup; ?>
81
  <colgroup></colgroup>
82
 
83
+ <thead>
84
  <tr>
85
+ <th class="row-title"><?php esc_html_e( 'Button', 'addquicktag' ); ?></th>
86
  <?php echo $pt_title; ?>
87
  <th class="row-title num" style="width:3%;">&#x2714;</th>
88
  </tr>
89
+ </thead>
90
 
91
+ <tbody>
92
  <?php
93
  // Convert string to array
94
  $core_buttons = explode( ',', self::$core_quicktags );
118
  }
119
 
120
  echo '<tr id="rmqtb' . $i . '">' . "\n";
121
+ echo '<td><input type="button" class="ed_button" title="" value="'
122
+ . $text . '"' . $style . '> <code>' . $value . '</code></td>';
123
 
124
  // loop about the post types, create html an values
125
  $pt_checkboxes = '';
126
  foreach ( $this->get_post_types_for_js() as $post_type ) {
127
 
128
  $pt_checked = '';
129
+ if ( isset( $options[ 'core_buttons' ][ $value ][ $post_type ] )
130
+ && 1 === (int) $options[ 'core_buttons' ][ $value ][ $post_type ] ) {
131
  $pt_checked = ' checked="checked"';
132
  }
133
 
138
  }
139
  echo $pt_checkboxes;
140
 
141
+ echo '<td class="num"><input type="checkbox" class="toggle" id="select_all_'
142
+ . $i . '" value="' . $i . '" /></td>' . "\n";
143
 
144
  echo '</tr>' . "\n";
145
  $i ++;
148
  // Convert new buttons array back into a comma-separated string
149
  $core_qt = implode( ',', $core_buttons );
150
  ?>
151
+ </tbody>
152
  </table>
153
  <?php
154
  }
inc/class-settings.php CHANGED
@@ -1,781 +1,895 @@
1
- <?php
2
- /**
3
- * AddQuicktag - Settings
4
- * @license GPLv2
5
- * @package AddQuicktag
6
- * @subpackage AddQuicktag Settings
7
- * @author Frank Bueltge <frank@bueltge.de>
8
- * @version 06/19/2014
9
- * @since 2.0.0
10
- */
11
-
12
- if ( ! function_exists( 'add_action' ) ) {
13
- echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
14
- exit;
15
- }
16
-
17
- /**
18
- * Class Add_Quicktag_Settings
19
- */
20
- class Add_Quicktag_Settings extends Add_Quicktag {
21
-
22
- /**
23
- * string for translation
24
- * @var string
25
- */
26
- static public $textdomain;
27
-
28
- /**
29
- * string for options in table options
30
- * @var string
31
- */
32
- static private $option_string;
33
-
34
- /**
35
- * string for plugin file
36
- * @var string
37
- */
38
- static private $plugin;
39
-
40
- /**
41
- * post types for the settings
42
- * @var Array
43
- */
44
- static private $post_types_for_js;
45
-
46
- /**
47
- * string for nonce fields
48
- * @var string
49
- */
50
- static public $nonce_string;
51
-
52
- /**
53
- * @var
54
- */
55
- protected $page_hook;
56
-
57
- /**
58
- * Handler for the action 'init'. Instantiates this class.
59
- * @access public
60
- * @since 2.0.0
61
- * @return \Add_Quicktag|\Add_Quicktag_Settings $instance
62
- */
63
- public static function get_object() {
64
-
65
- static $instance;
66
-
67
- if ( NULL === $instance ) {
68
- $instance = new self();
69
- }
70
-
71
- return $instance;
72
- }
73
-
74
- /**
75
- * Constructor, init on defined hooks of WP and include second class
76
- * @access public
77
- * @since 0.0.2
78
- * @uses register_activation_hook, register_uninstall_hook, add_action
79
- * @return \Add_Quicktag_Settings
80
- */
81
- private function __construct() {
82
-
83
- if ( ! is_admin() ) {
84
- return;
85
- }
86
-
87
- // textdomain from parent class
88
- self::$textdomain = parent::get_textdomain();
89
- self::$option_string = parent::get_option_string();
90
- self::$plugin = parent::get_plugin_string();
91
- self::$post_types_for_js = parent::get_post_types_for_js();
92
- self::$nonce_string = 'addquicktag_nonce';
93
-
94
- register_uninstall_hook( __FILE__, array( 'Add_Quicktag_Settings', 'unregister_settings' ) );
95
- // settings for an active multisite
96
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
97
- add_action( 'network_admin_menu', array( $this, 'add_settings_page' ) );
98
- // add settings link
99
- add_filter(
100
- 'network_admin_plugin_action_links', array(
101
- $this,
102
- 'network_admin_plugin_action_links'
103
- ), 10, 2
104
- );
105
- // save settings on network
106
- add_action( 'network_admin_edit_' . self::$option_string, array( $this, 'save_network_settings_page' ) );
107
- // return message for update settings
108
- add_action( 'network_admin_notices', array( $this, 'get_network_admin_notices' ) );
109
- // add script on settings page
110
- } else {
111
- add_action( 'admin_menu', array( $this, 'add_settings_page' ) );
112
- // add settings link
113
- add_filter( 'plugin_action_links', array( $this, 'plugin_action_links' ), 10, 2 );
114
- // use settings API
115
- add_action( 'admin_init', array( $this, 'register_settings' ) );
116
- }
117
- // include js
118
- add_action(
119
- 'admin_print_scripts-settings_page_' . str_replace( '.php', '', plugin_basename( __FILE__ ) ),
120
- array( $this, 'print_scripts' )
121
- );
122
-
123
- // add meta boxes on settings pages
124
- add_action( 'addquicktag_settings_page_sidebar', array( $this, 'get_plugin_infos' ) );
125
- add_action( 'addquicktag_settings_page_sidebar', array( $this, 'get_about_plugin' ) );
126
-
127
- // include class for remove core quicktags
128
- require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'class-remove-quicktags.php';
129
- // include class for add enhanced code quicktags
130
- // @TODO Solution for special code tags in quicktags
131
- require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'class-code-quicktags.php';
132
- // include class for im/export
133
- require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'class-imexport.php';
134
- }
135
-
136
- /**
137
- * Return allowed post types for include scripts
138
- * @since 2.1.1
139
- * @access public
140
- * @return Array
141
- */
142
- public function get_post_types_for_js() {
143
-
144
- return self::$post_types_for_js;
145
- }
146
-
147
- /**
148
- * Return Textdomain string
149
- * @access public
150
- * @since 2.0.0
151
- * @return string
152
- */
153
- public function get_textdomain() {
154
-
155
- return self::$textdomain;
156
- }
157
-
158
- /**
159
- * Add settings link on plugins.php in backend
160
- * @uses
161
- * @access public
162
- *
163
- * @param array $links , string $file
164
- * @param string $file
165
- *
166
- * @since 2.0.0
167
- * @return string $links
168
- */
169
- public function plugin_action_links( $links, $file ) {
170
-
171
- if ( parent::get_plugin_string() === $file ) {
172
- $links[ ] = '<a href="options-general.php?page=' . plugin_basename( __FILE__ ) . '">' . esc_html__( 'Settings' ) . '</a>';
173
- }
174
-
175
- return $links;
176
- }
177
-
178
- /**
179
- * Add settings link on plugins.php on network admin in backend
180
- * @uses
181
- * @access public
182
- * @since 2.0.0
183
- *
184
- * @param array $links , string $file
185
- * @param $file
186
- *
187
- * @return string $links
188
- */
189
- public function network_admin_plugin_action_links( $links, $file ) {
190
-
191
- if ( parent::get_plugin_string() === $file ) {
192
- $links[ ] = '<a href="settings.php?page=' . plugin_basename( __FILE__ ) . '">' . esc_html__( 'Settings' ) . '</a>';
193
- }
194
-
195
- return $links;
196
- }
197
-
198
- /**
199
- * Add settings page in WP backend
200
- * @uses add_options_page
201
- * @access public
202
- * @since 2.0.0
203
- */
204
- public function add_settings_page() {
205
-
206
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
207
- add_submenu_page(
208
- 'settings.php',
209
- parent::get_plugin_data( 'Name' ) . ' ' . esc_html__( 'Settings', $this->get_textdomain() ),
210
- parent::get_plugin_data( 'Name' ),
211
- 'manage_options',
212
- plugin_basename( __FILE__ ),
213
- array( $this, 'get_settings_page' )
214
- );
215
- } else {
216
- add_options_page(
217
- parent::get_plugin_data( 'Name' ) . ' ' . esc_html__( 'Settings', $this->get_textdomain() ),
218
- parent::get_plugin_data( 'Name' ),
219
- 'manage_options',
220
- plugin_basename( __FILE__ ),
221
- array( $this, 'get_settings_page' )
222
- );
223
- }
224
- }
225
-
226
- /**
227
- * Return form and markup on settings page
228
- * @uses settings_fields, normalize_whitespace, is_plugin_active_for_network, get_site_option, get_option
229
- * @access public
230
- * @since 0.0.2
231
- */
232
- public function get_settings_page() {
233
-
234
- ?>
235
- <div class="wrap">
236
- <h2><?php echo parent::get_plugin_data( 'Name' ); ?></h2>
237
-
238
- <h3><?php esc_html_e( 'Add or delete Quicktag buttons', $this->get_textdomain() ); ?></h3>
239
-
240
- <p><?php esc_html_e( 'Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields.', $this->get_textdomain() ); ?></p>
241
-
242
- <?php
243
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
244
- $action = 'edit.php?action=' . self::$option_string;
245
- } else {
246
- $action = 'options.php';
247
- }
248
- ?>
249
- <form method="post" action="<?php echo $action; ?>">
250
- <?php
251
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
252
- wp_nonce_field( self::$nonce_string );
253
- $options = get_site_option( self::$option_string );
254
- } else {
255
- settings_fields( self::$option_string . '_group' );
256
- $options = get_option( self::$option_string );
257
- }
258
-
259
- if ( ! isset( $options[ 'buttons' ] ) ) {
260
- $options[ 'buttons' ] = array();
261
- }
262
-
263
- if ( 1 < count( $options[ 'buttons' ] ) ) {
264
- // sort array by order value
265
- $tmp = array();
266
- foreach ( $options[ 'buttons' ] as $order ) {
267
- if ( isset( $order[ 'order' ] ) ) {
268
- $tmp[ ] = $order[ 'order' ];
269
- } else {
270
- $tmp[ ] = 0;
271
- }
272
- }
273
- array_multisort( $tmp, SORT_ASC, $options[ 'buttons' ] );
274
- }
275
-
276
- // loop about the post types, create html an values for title in table
277
- $pt_title = '';
278
- $pt_colgroup = '';
279
- foreach ( $this->get_post_types_for_js() as $post_type ) {
280
-
281
- $pt_title .= '<th class="row-title rotate" title="Post Type"><span><code>' . $post_type . '</code></span></th>' . "\n";
282
- $pt_colgroup .= '<colgroup></colgroup>' . "\n";
283
- }
284
- ?>
285
-
286
- <table class="widefat form-table rmnlQuicktagSettings">
287
- <colgroup></colgroup>
288
- <colgroup></colgroup>
289
- <colgroup></colgroup>
290
- <colgroup></colgroup>
291
- <colgroup></colgroup>
292
- <?php echo $pt_colgroup; ?>
293
- <colgroup></colgroup>
294
-
295
- <tr class="rmnlqsheader">
296
- <th class="row-title"><?php esc_html_e( 'Button Label* and', $this->get_textdomain() ); ?><br />
297
- <?php esc_html_e( 'Title Attribute', $this->get_textdomain() ); ?></th>
298
- <th class="row-title"><?php esc_html_e( 'Start Tag(s)* and', $this->get_textdomain() ); ?><br />
299
- <?php esc_html_e( 'End Tag(s)', $this->get_textdomain() ); ?></th>
300
- <th class="row-title"><?php esc_html_e( 'Access Key and', $this->get_textdomain() ); ?><br />
301
- <?php esc_html_e( 'Order', $this->get_textdomain() ); ?></th>
302
- <th class="row-title rotate"><span><?php esc_html_e( 'Visual', $this->get_textdomain() ); ?></span></th>
303
- <?php echo $pt_title ?>
304
- <th class="row-title rotate">&#x2714;</th>
305
- </tr>
306
- <?php
307
- if ( empty( $options[ 'buttons' ] ) ) {
308
- $options[ 'buttons' ] = array();
309
- }
310
- $class = '';
311
- for ( $i = 0; $i < count( $options[ 'buttons' ] ); $i ++ ) {
312
- $class = ( ' class="alternate"' == $class ) ? '' : ' class="alternate"';
313
- $b = $options[ 'buttons' ][ $i ];
314
- $b[ 'text' ] = htmlentities( stripslashes( $b[ 'text' ] ), ENT_COMPAT, get_option( 'blog_charset' ) );
315
- if ( isset( $b[ 'title' ] ) ) {
316
- $b[ 'title' ] = htmlentities( stripslashes( $b[ 'title' ] ), ENT_COMPAT, get_option( 'blog_charset' ) );
317
- }
318
- $b[ 'start' ] = htmlentities( $b[ 'start' ], ENT_COMPAT, get_option( 'blog_charset' ) );
319
- if ( isset( $b[ 'end' ] ) ) {
320
- $b[ 'end' ] = htmlentities( $b[ 'end' ], ENT_COMPAT, get_option( 'blog_charset' ) );
321
- }
322
- if ( ! isset( $b[ 'access' ] ) ) {
323
- $b[ 'access' ] = '';
324
- }
325
- $b[ 'access' ] = htmlentities( $b[ 'access' ], ENT_COMPAT, get_option( 'blog_charset' ) );
326
- if ( ! isset( $b[ 'order' ] ) ) {
327
- $b[ 'order' ] = 0;
328
- }
329
- $b[ 'order' ] = (int) $b[ 'order' ];
330
- if ( ! isset( $b[ 'visual' ] ) ) {
331
- $b[ 'visual' ] = 0;
332
- }
333
- $b[ 'visual' ] = (int) $b[ 'visual' ];
334
- if ( 1 == $b[ 'visual' ] ) {
335
- $checked = ' checked="checked"';
336
- } else {
337
- $checked = '';
338
- }
339
- // loop about the post types, create html an values
340
- $pt_checkboxes = '';
341
- foreach ( $this->get_post_types_for_js() as $post_type ) {
342
-
343
- if ( ! isset( $b[ $post_type ] ) ) {
344
- $b[ $post_type ] = 0;
345
- }
346
-
347
- $b[ $post_type ] = (int) $b[ $post_type ];
348
-
349
- if ( 1 === $b[ $post_type ] ) {
350
- $pt_checked = ' checked="checked"';
351
- } else {
352
- $pt_checked = '';
353
- }
354
-
355
- $pt_checkboxes .= '<td class="num"><input type="checkbox" name="' .
356
- self::$option_string . '[buttons][' .
357
- $i . '][' . $post_type . ']" value="1" ' .
358
- $pt_checked . '/></td>' . "\n";
359
- }
360
-
361
- echo '
362
- <tr id="rmqtb' . $i . '">
363
- <td><input type="text" name="' . self::$option_string . '[buttons][' . $i
364
- . '][text]" value="' . $b[ 'text' ] . '" /><br />
365
- <input type="text" name="' . self::$option_string . '[buttons][' . $i . '][title]" value="'
366
- . $b[ 'title' ] . '" /></td>
367
- <td><textarea class="code" name="' . self::$option_string . '[buttons][' . $i
368
- . '][start]" rows="2" cols="25" >' . $b[ 'start' ] . '</textarea><br />
369
- <textarea class="code" name="' . self::$option_string . '[buttons][' . $i
370
- . '][end]" rows="2" cols="25" >' . $b[ 'end' ] . '</textarea></td>
371
- <td><input class="small-text" type="text" name="' . self::$option_string . '[buttons][' . $i
372
- . '][access]" value="' . $b[ 'access' ] . '" /><br />
373
- <input class="small-text" type="text" name="' . self::$option_string . '[buttons][' . $i
374
- . '][order]" value="' . $b[ 'order' ] . '" /></td>
375
- <td class="num"><input type="checkbox" name="' . self::$option_string . '[buttons][' . $i
376
- . '][visual]" value="1"' . $checked . '/></td>' .
377
- $pt_checkboxes . '
378
- <td class="num"><input type="checkbox" class="toggle" id="select_all_' . $i . '" value="' . $i . '" /></td>' . '
379
- </tr>
380
- ';
381
- }
382
-
383
- // loop about the post types, create html an values for empty new checkboxes
384
- $pt_new_boxes = '';
385
- foreach ( $this->get_post_types_for_js() as $post_type ) {
386
- if ( ! isset( $b[ $post_type ] ) ) {
387
- $b[ $post_type ] = 0;
388
- }
389
-
390
- $b[ $post_type ] = (int) $b[ $post_type ];
391
-
392
- $pt_new_boxes .= '<td class="num"><input type="checkbox" name="' .
393
- self::$option_string . '[buttons][' .
394
- $i . '][' . $post_type . ']" value="1" /></td>' . "\n";
395
- }
396
- ?>
397
- <tr id="rmqtb<?php echo $i ?>">
398
- <td>
399
- <input type="text" placeholder="<?php esc_html_e( 'Button Label*', $this->get_textdomain() ); ?>" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][text]" value="" /><br />
400
- <input type="text" placeholder="<?php esc_html_e( 'Title Attribute', $this->get_textdomain() ); ?>" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][title]" value="" />
401
- </td>
402
- <td>
403
- <textarea placeholder="<?php esc_html_e( 'Start Tag(s)*', $this->get_textdomain() ); ?>" class="code" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][start]" rows="2" cols="25"></textarea><br />
404
- <textarea placeholder="<?php esc_html_e( 'End Tag(s)', $this->get_textdomain() ); ?>" class="code" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][end]" rows="2" cols="25"></textarea>
405
- </td>
406
- <td>
407
- <input type="text" placeholder="<?php esc_html_e( 'Access Key', $this->get_textdomain() ); ?>" title="<?php esc_html_e( 'Access Key', $this->get_textdomain() ); ?>" class="small-text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][access]" value="" /><br />
408
- <input type="text" placeholder="<?php esc_html_e( 'Order', $this->get_textdomain() ); ?>" title="<?php esc_html_e( 'Order', $this->get_textdomain() ); ?>" class="small-text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][order]" value="" />
409
- </td>
410
- <td class="num">
411
- <label>
412
- <input type="checkbox" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][visual]" value="1" />
413
- </label>
414
- </td>
415
- <?php echo $pt_new_boxes; ?>
416
- <td class="num">
417
- <label for="select_all_<?php echo $i ?>"><input type="checkbox" class="toggle" id="select_all_<?php echo $i ?>" value="<?php echo $i ?>" /></label>
418
- </td>
419
- </tr>
420
- </table>
421
-
422
- <p class="submit">
423
- <input type="submit" class="button-primary" value="<?php esc_html_e( 'Save Changes' ) ?>" />
424
- </p>
425
-
426
- <?php do_action( 'addquicktag_settings_form_page', $options ); ?>
427
-
428
- <p class="submit">
429
- <input type="submit" class="button-primary" value="<?php esc_html_e( 'Save Changes' ) ?>" />
430
- </p>
431
-
432
- </form>
433
-
434
- <div class="metabox-holder has-right-sidebar">
435
-
436
- <div class="inner-sidebar">
437
- <?php do_action( 'addquicktag_settings_page_sidebar' ); ?>
438
- </div>
439
- <!-- .inner-sidebar -->
440
-
441
- <div id="post-body">
442
- <div id="post-body-content">
443
- <?php do_action( 'addquicktag_settings_page', $options ); ?>
444
- </div>
445
- <!-- #post-body-content -->
446
- </div>
447
- <!-- #post-body -->
448
-
449
- </div>
450
- <!-- .metabox-holder -->
451
-
452
- </div>
453
- <?php
454
- }
455
-
456
- /*
457
- * Return information to donate
458
- *
459
- * @uses _e,esc_attr_e
460
- * @access public
461
- * @since 2.0.0
462
- * @return void
463
- */
464
- public function get_plugin_infos() {
465
-
466
- ?>
467
- <div class="postbox">
468
-
469
- <h3><span><?php esc_html_e( 'Like this plugin?', $this->get_textdomain() ); ?></span></h3>
470
-
471
- <div class="inside">
472
- <p><?php esc_html_e( 'Here\'s how you can give back:', $this->get_textdomain() ); ?></p>
473
- <ul>
474
- <li>
475
- <a href="http://wordpress.org/support/view/plugin-reviews/addquicktag" title="<?php esc_html_e( 'The Plugin on the WordPress plugin repository', $this->get_textdomain() ); ?>"><?php esc_html_e( 'Give the plugin a good rating.', $this->get_textdomain() ); ?></a>
476
- </li>
477
- <li>
478
- <a href="http://wordpress.org/support/plugin/addquicktag" title="<?php esc_html_e( 'Help inside the community other useres and write answer to this plugin questions.', $this->get_textdomain() ); ?>"><?php esc_html_e( 'Help other users in the Support Forum.', $this->get_textdomain() ); ?></a>
479
- </li>
480
- <li>
481
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=6069955" title="<?php esc_html_e( 'Donate via PayPal', $this->get_textdomain() ); ?>"><?php esc_html_e( 'Donate a few euros.', $this->get_textdomain() ); ?></a>
482
- </li>
483
- <li>
484
- <a href="http://www.amazon.de/gp/registry/3NTOGEK181L23/ref=wl_s_3" title="<?php esc_html_e( 'Frank Bültge\'s Amazon Wish List', $this->get_textdomain() ); ?>"><?php esc_html_e( 'Get me something from my wish list.', $this->get_textdomain() ); ?></a>
485
- </li>
486
- <li>
487
- <a href="https://github.com/bueltge/AddQuicktag" title="<?php esc_html_e( 'Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues.', $this->get_textdomain() ); ?>"><?php esc_html_e( 'Github Repo for Contribute, Issues & Bugs', $this->get_textdomain() ); ?></a>
488
- </li>
489
- </ul>
490
- </div>
491
- </div>
492
- <?php
493
- }
494
-
495
- /*
496
- * Return informations about the plugin
497
- *
498
- * @uses _e,esc_attr_e
499
- * @access public
500
- * @since 2.0.0
501
- * @return void
502
- */
503
- public function get_about_plugin() {
504
-
505
- ?>
506
- <div class="postbox">
507
-
508
- <h3><span><?php esc_html_e( 'About this plugin', $this->get_textdomain() ); ?></span></h3>
509
-
510
- <div class="inside">
511
- <p>
512
- <strong><?php esc_html_e( 'Version:', $this->get_textdomain() ); ?></strong>
513
- <?php echo parent::get_plugin_data( 'Version' ); ?>
514
- </p>
515
-
516
- <p>
517
- <strong><?php esc_html_e( 'Description:', $this->get_textdomain() ); ?></strong>
518
- <?php echo parent::get_plugin_data( 'Description' ); ?>
519
- </p>
520
- </div>
521
-
522
- </div>
523
- <?php
524
- }
525
-
526
- /*
527
- * Save network settings
528
- *
529
- * @uses update_site_option, wp_redirect, add_query_arg, network_admin_url
530
- * @access public
531
- * @since 2.0.0
532
- * @return void
533
- */
534
- public function save_network_settings_page() {
535
-
536
- if ( ! wp_verify_nonce( $_REQUEST[ '_wpnonce' ], self::$nonce_string ) ) {
537
- wp_die( 'Sorry, you failed the nonce test.' );
538
- }
539
-
540
- // validate options
541
- $value = $this->validate_settings( $_POST[ self::$option_string ] );
542
-
543
- // update options
544
- update_site_option( self::$option_string, $value );
545
- // redirect to settings page in network
546
- wp_redirect(
547
- add_query_arg(
548
- array( 'page' => plugin_basename( __FILE__ ), 'updated' => 'true' ),
549
- network_admin_url( 'settings.php' )
550
- )
551
- );
552
- exit();
553
- }
554
-
555
- /*
556
- * Retrun string vor update message
557
- *
558
- * @uses
559
- * @access public
560
- * @since 2.0.0
561
- * @return string $notice
562
- */
563
- public function get_network_admin_notices() {
564
-
565
- // if updated and the right page
566
- if ( isset( $_GET[ 'updated' ] ) &&
567
- 'settings_page_addquicktag/inc/class-settings-network' === $GLOBALS[ 'current_screen' ]->id
568
- ) {
569
- $message = esc_html__( 'Options saved.', $this->get_textdomain() );
570
- $notice = '<div id="message" class="updated"><p>' . $message . '</p></div>';
571
- echo $notice;
572
- }
573
- }
574
-
575
- /**
576
- * Validate settings for options
577
- * @uses normalize_whitespace
578
- * @access public
579
- *
580
- * @param array $value
581
- *
582
- * @since 2.0.0
583
- * @return string $value
584
- */
585
- public function validate_settings( $value ) {
586
-
587
- // Save core buttons changes
588
- if ( isset( $value[ 'core_buttons' ] ) ) {
589
- $core_buttons = $value[ 'core_buttons' ];
590
- }
591
-
592
- // Save Code buttons
593
- if ( isset( $value[ 'code_buttons' ] ) ) {
594
- $code_buttons = $value[ 'code_buttons' ];
595
- }
596
-
597
- // set allowed values for import, only the defaults of plugin and custom post types
598
- $allowed_settings = (array) array_merge(
599
- $this->get_post_types_for_js(),
600
- array( 'text', 'title', 'start', 'end', 'access', 'order', 'visual' )
601
- );
602
-
603
- $buttons = '';
604
- // filter for allowed values
605
- foreach ( $value[ 'buttons' ] as $key => $button ) {
606
-
607
- foreach ( $button as $label => $val ) {
608
-
609
- if ( ! in_array( $label, $allowed_settings ) ) {
610
- unset( $button[ $label ] );
611
- }
612
- }
613
-
614
- $buttons[ ] = $button;
615
- }
616
-
617
- // return filtered array
618
- $filtered_values[ 'buttons' ] = $buttons;
619
- $value = $filtered_values;
620
-
621
- $buttons = array();
622
- for ( $i = 0; $i < count( $value[ 'buttons' ] ); $i ++ ) {
623
-
624
- $b = $value[ 'buttons' ][ $i ];
625
- if ( ! empty( $b[ 'text' ] ) && ! empty( $b[ 'start' ] ) ) {
626
-
627
- //preg_replace( '~[^\p{L}]~u', '', $string );
628
-
629
- $b[ 'text' ] = sanitize_text_field( $b[ 'text' ] );
630
- $b[ 'title' ] = sanitize_text_field( $b[ 'title' ] );
631
- $b[ 'start' ] = wp_kses_stripslashes( $b[ 'start' ] );
632
- $b[ 'end' ] = wp_kses_stripslashes( $b[ 'end' ] );
633
-
634
- if ( isset( $b[ 'access' ] ) ) {
635
- $b[ 'access' ] = esc_html( $b[ 'access' ] );
636
- }
637
-
638
- if ( isset( $b[ 'order' ] ) ) {
639
- $b[ 'order' ] = intval( $b[ 'order' ] );
640
- }
641
-
642
- // visual settings
643
- if ( isset( $b[ 'visual' ] ) ) {
644
- $b[ 'visual' ] = intval( $b[ 'visual' ] );
645
- } else {
646
- $b[ 'visual' ] = 0;
647
- }
648
-
649
- // post types
650
- foreach ( $this->get_post_types_for_js() as $post_type ) {
651
-
652
- if ( isset( $b[ $post_type ] ) ) {
653
- $b[ $post_type ] = intval( $b[ $post_type ] );
654
- } else {
655
- $b[ $post_type ] = 0;
656
- }
657
-
658
- }
659
-
660
- $buttons[ ] = $b;
661
- }
662
-
663
- }
664
- $value[ 'buttons' ] = $buttons;
665
- // Check for wrong empty values and kill
666
- foreach ( $value[ 'buttons' ] as $key => $b ) {
667
-
668
- if ( empty( $b[ 'text' ] ) && empty( $b[ 'start' ] ) ) {
669
- unset( $value[ 'buttons' ][ $key ] );
670
- }
671
- }
672
- // reorder the array
673
- $value[ 'buttons' ] = array_values( $value[ 'buttons' ] );
674
-
675
- // Filter core button values, strings and convert to integer
676
- if ( ! empty( $core_buttons ) ) {
677
-
678
- /**
679
- * $key is core-string
680
- * 'core_buttons' =>
681
- * array (size=1)
682
- * 'strong' =>
683
- * array (size=2)
684
- * 'post' => string '1' (length=1)
685
- * 'page' => string '1' (length=1)
686
- */
687
- $filtered_core_buttons = array();
688
- foreach ( $core_buttons as $key => $var ) {
689
-
690
- $core_button = array();
691
- foreach ( $var as $post_type => $val ) {
692
- $core_button[ $post_type ] = intval( $val );
693
- }
694
-
695
- $filtered_core_buttons[ $key ] = $core_button;
696
-
697
- }
698
-
699
- $value[ 'core_buttons' ] = $filtered_core_buttons;
700
-
701
- }
702
-
703
- // Filter code button values, strings and convert to integer
704
- if ( ! empty( $code_buttons ) ) {
705
-
706
- $filtered_code_buttons = array();
707
- foreach ( $code_buttons as $key => $var ) {
708
-
709
- $code_button = array();
710
- foreach ( $var as $post_type => $val ) {
711
- $code_button[ $post_type ] = intval( $val );
712
- }
713
-
714
- $filtered_code_buttons[ $key ] = $code_button;
715
-
716
- }
717
-
718
- $value[ 'code_buttons' ] = $filtered_code_buttons;
719
-
720
- }
721
-
722
- return $value;
723
- }
724
-
725
- /**
726
- * Register settings for options
727
- * @uses register_setting
728
- * @access public
729
- * @since 2.0.0
730
- * @return void
731
- */
732
- public function register_settings() {
733
-
734
- register_setting( self::$option_string . '_group', self::$option_string, array( $this, 'validate_settings' ) );
735
- }
736
-
737
- /**
738
- * Unregister and delete settings; clean database
739
- * @uses unregister_setting, delete_option
740
- * @access public
741
- * @since 0.0.2
742
- * @return void
743
- */
744
- public function unregister_settings() {
745
-
746
- unregister_setting( self::$option_string . '_group', self::$option_string );
747
- delete_option( self::$option_string );
748
- }
749
-
750
- /**
751
- * Enqueue scripts and stylesheets
752
- * @since 0.0.2
753
- *
754
- * @internal param $where
755
- */
756
- public function print_scripts() {
757
-
758
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '.dev' : '';
759
-
760
- wp_register_script(
761
- self::$option_string . '_admin_script',
762
- plugins_url( '/js/settings' . $suffix . '.js', parent::get_plugin_string() ),
763
- array( 'jquery', 'quicktags' ),
764
- '',
765
- TRUE
766
- );
767
- wp_enqueue_script( self::$option_string . '_admin_script' );
768
-
769
- wp_register_style(
770
- self::$option_string . '_admin_style',
771
- plugins_url( '/css/settings' . $suffix . '.css', parent::get_plugin_string() ),
772
- array(),
773
- FALSE,
774
- 'screen'
775
- );
776
- wp_enqueue_style( self::$option_string . '_admin_style' );
777
- }
778
-
779
- }
780
-
781
- $add_quicktag_settings = Add_Quicktag_Settings:: get_object();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * AddQuicktag - Settings
4
+ *
5
+ * @package AddQuicktag
6
+ * @subpackage AddQuicktag Settings
7
+ * @author Frank Bueltge <frank@bueltge.de>
8
+ * @version 2017-02-20
9
+ * @since 2.0.0
10
+ */
11
+
12
+ if ( ! function_exists( 'add_action' ) ) {
13
+ echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
14
+ exit;
15
+ }
16
+
17
+ /**
18
+ * Class Add_Quicktag_Settings
19
+ */
20
+ class Add_Quicktag_Settings extends Add_Quicktag {
21
+
22
+ /**
23
+ * string for translation
24
+ *
25
+ * @var string
26
+ */
27
+ static public $textdomain;
28
+
29
+ /**
30
+ * string for options in table options
31
+ *
32
+ * @var string
33
+ */
34
+ static private $option_string;
35
+
36
+ /**
37
+ * string for plugin file
38
+ *
39
+ * @var string
40
+ */
41
+ static private $plugin;
42
+
43
+ /**
44
+ * post types for the settings
45
+ *
46
+ * @var array
47
+ */
48
+ static private $post_types_for_js;
49
+
50
+ /**
51
+ * string for nonce fields
52
+ *
53
+ * @var string
54
+ */
55
+ static public $nonce_string;
56
+
57
+ /**
58
+ * @var
59
+ */
60
+ protected $page_hook;
61
+
62
+ /**
63
+ * Handler for the action 'init'. Instantiates this class.
64
+ *
65
+ * @access public
66
+ * @since 2.0.0
67
+ * @return \Add_Quicktag|\Add_Quicktag_Settings $instance
68
+ */
69
+ public static function get_object() {
70
+
71
+ static $instance;
72
+
73
+ if ( NULL === $instance ) {
74
+ $instance = new self();
75
+ }
76
+
77
+ return $instance;
78
+ }
79
+
80
+ /**
81
+ * Constructor, init on defined hooks of WP and include second class
82
+ *
83
+ * @access public
84
+ * @since 0.0.2
85
+ * @uses register_activation_hook, register_uninstall_hook, add_action
86
+ */
87
+ private function __construct() {
88
+
89
+ if ( ! is_admin() ) {
90
+ return;
91
+ }
92
+
93
+ self::$option_string = parent::get_option_string();
94
+ self::$plugin = parent::get_plugin_string();
95
+ self::$post_types_for_js = parent::get_post_types_for_js();
96
+ self::$nonce_string = 'addquicktag_nonce';
97
+
98
+ register_uninstall_hook( __FILE__, array( 'Add_Quicktag_Settings', 'unregister_settings' ) );
99
+ // settings for an active multisite
100
+ if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
101
+ add_action( 'network_admin_menu', array( $this, 'add_settings_page' ) );
102
+ // add settings link
103
+ add_filter(
104
+ 'network_admin_plugin_action_links', array(
105
+ $this,
106
+ 'network_admin_plugin_action_links'
107
+ ), 10, 2
108
+ );
109
+ // save settings on network
110
+ add_action( 'network_admin_edit_' . self::$option_string, array( $this, 'save_network_settings_page' ) );
111
+ // return message for update settings
112
+ add_action( 'network_admin_notices', array( $this, 'get_network_admin_notices' ) );
113
+ // add script on settings page
114
+ } else {
115
+ add_action( 'admin_menu', array( $this, 'add_settings_page' ) );
116
+ // add settings link
117
+ add_filter( 'plugin_action_links', array( $this, 'plugin_action_links' ), 10, 2 );
118
+ // use settings API
119
+ add_action( 'admin_init', array( $this, 'register_settings' ) );
120
+ }
121
+ // include js
122
+ add_action(
123
+ 'admin_print_scripts-settings_page_' . str_replace( '.php', '', plugin_basename( __FILE__ ) ),
124
+ array( $this, 'print_scripts' )
125
+ );
126
+
127
+ // add meta boxes on settings pages
128
+ add_action( 'addquicktag_settings_page_sidebar', array( $this, 'get_plugin_infos' ) );
129
+ add_action( 'addquicktag_settings_page_sidebar', array( $this, 'get_about_plugin' ) );
130
+
131
+ // include class for remove core quicktags
132
+ require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'class-remove-quicktags.php';
133
+ // include class for add enhanced code quicktags
134
+ // @TODO Solution for special code tags in quicktags
135
+ require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'class-code-quicktags.php';
136
+ // include class for im/export
137
+ require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'class-imexport.php';
138
+ }
139
+
140
+ /**
141
+ * Return allowed post types for include scripts
142
+ *
143
+ * @since 2.1.1
144
+ * @access public
145
+ * @return array
146
+ */
147
+ public function get_post_types_for_js() {
148
+
149
+ return self::$post_types_for_js;
150
+ }
151
+
152
+ /**
153
+ * Add settings link on plugins.php in backend
154
+ *
155
+ * @uses
156
+ * @access public
157
+ *
158
+ * @param array $links , string $file
159
+ * @param string $file
160
+ *
161
+ * @since 2.0.0
162
+ * @return string $links
163
+ */
164
+ public function plugin_action_links( $links, $file ) {
165
+
166
+ if ( parent::get_plugin_string() === $file ) {
167
+ $links[] = '<a href="options-general.php?page=' . plugin_basename( __FILE__ ) . '">' . esc_html__(
168
+ 'Settings'
169
+ ) . '</a>';
170
+ }
171
+
172
+ return $links;
173
+ }
174
+
175
+ /**
176
+ * Add settings link on plugins.php on network admin in backend
177
+ *
178
+ * @uses
179
+ * @access public
180
+ * @since 2.0.0
181
+ *
182
+ * @param array $links , string $file
183
+ * @param $file
184
+ *
185
+ * @return string $links
186
+ */
187
+ public function network_admin_plugin_action_links( $links, $file ) {
188
+
189
+ if ( parent::get_plugin_string() === $file ) {
190
+ $links[] = '<a href="settings.php?page=' . plugin_basename( __FILE__ ) . '">' . esc_html__(
191
+ 'Settings'
192
+ ) . '</a>';
193
+ }
194
+
195
+ return $links;
196
+ }
197
+
198
+ /**
199
+ * Add settings page in WP backend
200
+ *
201
+ * @uses add_options_page
202
+ * @access public
203
+ * @since 2.0.0
204
+ */
205
+ public function add_settings_page() {
206
+
207
+ if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
208
+ add_submenu_page(
209
+ 'settings.php',
210
+ parent::get_plugin_data( 'Name' ) . ' ' . esc_html__( 'Settings', 'addquicktag' ),
211
+ parent::get_plugin_data( 'Name' ),
212
+ 'manage_options',
213
+ plugin_basename( __FILE__ ),
214
+ array( $this, 'get_settings_page' )
215
+ );
216
+ } else {
217
+ add_options_page(
218
+ parent::get_plugin_data( 'Name' ) . ' ' . esc_html__( 'Settings', 'addquicktag' ),
219
+ parent::get_plugin_data( 'Name' ),
220
+ 'manage_options',
221
+ plugin_basename( __FILE__ ),
222
+ array( $this, 'get_settings_page' )
223
+ );
224
+ }
225
+ }
226
+
227
+ /**
228
+ * Return form and markup on settings page
229
+ *
230
+ * @uses settings_fields, normalize_whitespace, is_plugin_active_for_network, get_site_option, get_option
231
+ * @access public
232
+ * @since 0.0.2
233
+ */
234
+ public function get_settings_page() {
235
+
236
+ ?>
237
+ <div class="wrap">
238
+ <h2><?php echo parent::get_plugin_data( 'Name' ); ?></h2>
239
+
240
+ <h3><?php esc_html_e( 'Add or delete Quicktag buttons', 'addquicktag' ); ?></h3>
241
+
242
+ <p><?php esc_html_e(
243
+ 'Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields.',
244
+ 'addquicktag'
245
+ ); ?></p>
246
+ <p><?php esc_html_e( 'Leave the Button Label to don\'t add the button to the quicktags, html mode.', 'addquicktag' ); ?></p>
247
+
248
+ <?php
249
+ $action = 'options.php';
250
+ if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
251
+ $action = 'edit.php?action=' . self::$option_string;
252
+ }
253
+ ?>
254
+ <form method="post" action="<?php echo $action; ?>">
255
+ <?php
256
+ if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
257
+ wp_nonce_field( self::$nonce_string );
258
+ $options = get_site_option( self::$option_string );
259
+ } else {
260
+ settings_fields( self::$option_string . '_group' );
261
+ $options = get_option( self::$option_string );
262
+ }
263
+
264
+ /** @var array $options */
265
+ if ( ! isset( $options[ 'buttons' ] ) ) {
266
+ $options[ 'buttons' ] = array();
267
+ }
268
+
269
+ if ( 1 < count( $options[ 'buttons' ] ) ) {
270
+ // sort array by order value
271
+ $tmp = array();
272
+ foreach ( (array) $options[ 'buttons' ] as $order ) {
273
+ if ( isset( $order[ 'order' ] ) ) {
274
+ $tmp[] = $order[ 'order' ];
275
+ } else {
276
+ $tmp[] = 0;
277
+ }
278
+ }
279
+ array_multisort( $tmp, SORT_ASC, $options[ 'buttons' ] );
280
+ }
281
+
282
+ // loop about the post types, create html an values for title in table
283
+ $pt_title = '';
284
+ $pt_colgroup = '';
285
+ foreach ( $this->get_post_types_for_js() as $post_type ) {
286
+
287
+ $pt_title .= '<th class="row-title rotate" title="Post Type"><span><code>' . $post_type . '</code></span></th>' . "\n";
288
+ $pt_colgroup .= '<colgroup></colgroup>' . "\n";
289
+ }
290
+ ?>
291
+
292
+ <table class="widefat form-table rmnlQuicktagSettings">
293
+ <colgroup></colgroup>
294
+ <colgroup></colgroup>
295
+ <colgroup></colgroup>
296
+ <colgroup></colgroup>
297
+ <colgroup></colgroup>
298
+ <?php echo $pt_colgroup; ?>
299
+ <colgroup></colgroup>
300
+ <thead>
301
+ <tr class="rmnlqsheader">
302
+ <th class="row-title"><?php esc_html_e( 'Button Label, Dashicon', 'addquicktag' ); ?>
303
+ <br />
304
+ <?php esc_html_e( 'Title Attribute', 'addquicktag' ); ?></th>
305
+ <th class="row-title"><?php esc_html_e( 'Start Tag(s)* and', 'addquicktag' ); ?><br />
306
+ <?php esc_html_e( 'End Tag(s)', 'addquicktag' ); ?></th>
307
+ <th class="row-title"><?php esc_html_e( 'Access Key and', 'addquicktag' ); ?><br />
308
+ <?php esc_html_e( 'Order', 'addquicktag' ); ?></th>
309
+ <th class="row-title rotate">
310
+ <span><?php esc_html_e( 'Visual', 'addquicktag' ); ?></span></th>
311
+ <?php echo $pt_title ?>
312
+ <th class="row-title rotate">&#x2714;</th>
313
+ </tr>
314
+ </thead>
315
+ <tbody>
316
+ <?php
317
+ if ( empty( $options[ 'buttons' ] ) ) {
318
+ $options[ 'buttons' ] = array();
319
+ }
320
+ $class = '';
321
+ $imax = count( $options[ 'buttons' ] );
322
+ for ( $i = 0; $i < $imax; $i ++ ) {
323
+ $class = ( ' class="alternate"' === $class ) ? '' : ' class="alternate"';
324
+ $b = $options[ 'buttons' ][ $i ];
325
+ $b[ 'text' ] = htmlentities(
326
+ stripslashes( $b[ 'text' ] ), ENT_COMPAT, get_option( 'blog_charset' )
327
+ );
328
+ if ( ! isset( $b[ 'dashicon' ] ) ) {
329
+ $b[ 'dashicon' ] = '';
330
+ }
331
+ $b[ 'dashicon' ] = htmlentities(
332
+ stripslashes( $b[ 'dashicon' ] ), ENT_COMPAT, get_option( 'blog_charset' )
333
+ );
334
+ if ( isset( $b[ 'title' ] ) ) {
335
+ $b[ 'title' ] = htmlentities(
336
+ stripslashes( $b[ 'title' ] ), ENT_COMPAT, get_option( 'blog_charset' )
337
+ );
338
+ }
339
+ $b[ 'start' ] = htmlentities( $b[ 'start' ], ENT_COMPAT, get_option( 'blog_charset' ) );
340
+ if ( isset( $b[ 'end' ] ) ) {
341
+ $b[ 'end' ] = htmlentities( $b[ 'end' ], ENT_COMPAT, get_option( 'blog_charset' ) );
342
+ }
343
+ if ( ! isset( $b[ 'access' ] ) ) {
344
+ $b[ 'access' ] = '';
345
+ }
346
+ $b[ 'access' ] = htmlentities( $b[ 'access' ], ENT_COMPAT, get_option( 'blog_charset' ) );
347
+ if ( ! isset( $b[ 'order' ] ) ) {
348
+ $b[ 'order' ] = 0;
349
+ }
350
+ $b[ 'order' ] = (int) $b[ 'order' ];
351
+ if ( ! isset( $b[ 'visual' ] ) ) {
352
+ $b[ 'visual' ] = 0;
353
+ }
354
+ $b[ 'visual' ] = (int) $b[ 'visual' ];
355
+ $checked = '';
356
+ if ( 1 === $b[ 'visual' ] ) {
357
+ $checked = ' checked="checked"';
358
+ }
359
+
360
+ // loop about the post types, create html an values
361
+ $pt_checkboxes = '';
362
+ foreach ( $this->get_post_types_for_js() as $post_type ) {
363
+
364
+ if ( ! isset( $b[ $post_type ] ) ) {
365
+ $b[ $post_type ] = 0;
366
+ }
367
+
368
+ $b[ $post_type ] = (int) $b[ $post_type ];
369
+
370
+ $pt_checked = '';
371
+ if ( 1 === $b[ $post_type ] ) {
372
+ $pt_checked = ' checked="checked"';
373
+ }
374
+
375
+ $pt_checkboxes .= '<td class="num"><input type="checkbox" name="' .
376
+ self::$option_string . '[buttons][' .
377
+ $i . '][' . $post_type . ']" value="1" ' .
378
+ $pt_checked . '/></td>' . "\n";
379
+ }
380
+
381
+ echo '
382
+ <tr id="rmqtb' . $i . '">
383
+ <td>
384
+ <input type="text" placeholder="' . esc_html__( 'Button Label', 'addquicktag' )
385
+ . '" name="' . self::$option_string . '[buttons][' . $i
386
+ . '][text]" value="' . $b[ 'text' ] . '" /><br />
387
+ <input class="small" id="dashicons_picker_icon_' . $i
388
+ . '" type="text" placeholder="' . esc_html__( 'Dashicon', 'addquicktag' )
389
+ . '" name="' . self::$option_string . '[buttons][' . $i
390
+ . '][dashicon]" value="' . $b[ 'dashicon' ] . '" />
391
+ <button type="button" data-target="#dashicons_picker_icon_'
392
+ . $i . '"class="button dashicons-picker dashicons dashicons-dashboard"></button>
393
+ <br />
394
+ <input type="text" placeholder="' . esc_html__( 'Title Attribute', 'addquicktag' )
395
+ . '" name="' . self::$option_string . '[buttons][' . $i . '][title]" value="'
396
+ . $b[ 'title' ] . '" />
397
+ </td>
398
+ <td>
399
+ <textarea placeholder="' . esc_html__( 'Start Tag(s)*', 'addquicktag' )
400
+ . '" class="code" name="' . self::$option_string . '[buttons][' . $i
401
+ . '][start]" rows="2" cols="25" >' . $b[ 'start' ] . '</textarea><br />
402
+ <textarea placeholder="' . esc_html__( 'End Tag(s)', 'addquicktag' )
403
+ . '" class="code" name="' . self::$option_string . '[buttons][' . $i
404
+ . '][end]" rows="2" cols="25" >' . $b[ 'end' ] . '</textarea>
405
+ </td>
406
+ <td>
407
+ <input placeholder="' . esc_html__( 'Access Key', 'addquicktag' )
408
+ . '" class="small-text" type="text" name="' . self::$option_string . '[buttons][' . $i
409
+ . '][access]" value="' . $b[ 'access' ] . '" /><br />
410
+ <input placeholder="' . esc_html__( 'Order', 'addquicktag' )
411
+ . '" class="small-text" type="text" name="' . self::$option_string . '[buttons][' . $i
412
+ . '][order]" value="' . $b[ 'order' ] . '" />
413
+ </td>
414
+ <td class="num">
415
+ <input type="checkbox" name="' . self::$option_string . '[buttons][' . $i
416
+ . '][visual]" value="1"' . $checked . '/>' .
417
+ '</td>' .
418
+ $pt_checkboxes . '
419
+ <td class="num">
420
+ <input type="checkbox" class="toggle" id="select_all_' . $i . '" value="' . $i . '" />
421
+ </td>' . '
422
+ </tr>
423
+ ';
424
+ }
425
+
426
+ // loop about the post types, create html an values for empty new checkboxes
427
+ $pt_new_boxes = '';
428
+ foreach ( $this->get_post_types_for_js() as $post_type ) {
429
+ if ( ! isset( $b[ $post_type ] ) ) {
430
+ $b[ $post_type ] = 0;
431
+ }
432
+
433
+ $b[ $post_type ] = (int) $b[ $post_type ];
434
+
435
+ $pt_new_boxes .= '<td class="num"><input type="checkbox" name="' .
436
+ self::$option_string . '[buttons][' .
437
+ $i . '][' . $post_type . ']" value="1" /></td>' . "\n";
438
+ }
439
+ ?>
440
+ <tr id="rmqtb<?php echo $i ?>">
441
+ <td>
442
+ <input type="text" placeholder="<?php esc_html_e(
443
+ 'Button Label*', 'addquicktag'
444
+ ); ?>"
445
+ name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][text]" value="" /><br />
446
+ <input type="text" class="small" id="dashicons_picker_icon_new" placeholder="<?php
447
+ esc_html_e( 'Dashicon', 'addquicktag' ); ?>" name="<?php
448
+ echo self::$option_string; ?>[buttons][<?php echo $i; ?>][dashicon]" value="" />
449
+ <button type="button" data-target="#dashicons_picker_icon_new"
450
+ class="button dashicons-picker dashicons dashicons-dashboard"></button>
451
+ <br />
452
+ <input type="text" placeholder="<?php esc_html_e(
453
+ 'Title Attribute', 'addquicktag'
454
+ ); ?>"
455
+ name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][title]" value="" />
456
+ </td>
457
+ <td>
458
+ <textarea placeholder="<?php esc_html_e( 'Start Tag(s)*', 'addquicktag' ); ?>"
459
+ class="code" name="<?php echo self::$option_string; ?>[buttons][<?php
460
+ echo $i; ?>][start]" rows="2" cols="25"></textarea><br />
461
+ <textarea placeholder="<?php esc_html_e( 'End Tag(s)', 'addquicktag' ); ?>"
462
+ class="code" name="<?php echo self::$option_string; ?>[buttons][<?php
463
+ echo $i; ?>][end]" rows="2" cols="25"></textarea>
464
+ </td>
465
+ <td>
466
+ <input type="text" placeholder="<?php esc_html_e(
467
+ 'Access Key', 'addquicktag'
468
+ ); ?>"
469
+ title="<?php esc_html_e( 'Access Key', 'addquicktag' ); ?>"
470
+ class="small-text" name="<?php echo self::$option_string; ?>[buttons][<?php
471
+ echo $i; ?>][access]" value="" /><br />
472
+ <input type="text" placeholder="<?php esc_html_e( 'Order', 'addquicktag' ); ?>"
473
+ title="<?php esc_html_e( 'Order', 'addquicktag' ); ?>" class="small-text"
474
+ name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][order]" value="" />
475
+ </td>
476
+ <td class="num">
477
+ <label>
478
+ <input type="checkbox" name="<?php echo self::$option_string; ?>[buttons][<?php
479
+ echo $i; ?>][visual]" value="1" />
480
+ </label>
481
+ </td>
482
+ <?php echo $pt_new_boxes; ?>
483
+ <td class="num">
484
+ <label for="select_all_<?php echo $i ?>">
485
+ <input type="checkbox" class="toggle" id="select_all_<?php echo $i ?>" value="<?php echo $i ?>" />
486
+ </label>
487
+ </td>
488
+ </tr>
489
+ </tbody>
490
+ </table>
491
+
492
+ <p class="submit">
493
+ <input type="submit" class="button-primary" value="<?php esc_html_e( 'Save Changes' ) ?>" />
494
+ </p>
495
+
496
+ <?php do_action( 'addquicktag_settings_form_page', $options ); ?>
497
+
498
+ <p class="submit">
499
+ <input type="submit" class="button-primary" value="<?php esc_html_e( 'Save Changes' ) ?>" />
500
+ </p>
501
+
502
+ </form>
503
+
504
+ <div class="metabox-holder has-right-sidebar">
505
+
506
+ <div class="inner-sidebar">
507
+ <?php do_action( 'addquicktag_settings_page_sidebar' ); ?>
508
+ </div>
509
+ <!-- .inner-sidebar -->
510
+
511
+ <div id="post-body">
512
+ <div id="post-body-content">
513
+ <?php do_action( 'addquicktag_settings_page', $options ); ?>
514
+ </div>
515
+ <!-- #post-body-content -->
516
+ </div>
517
+ <!-- #post-body -->
518
+
519
+ </div>
520
+ <!-- .metabox-holder -->
521
+
522
+ </div>
523
+ <?php
524
+ }
525
+
526
+ /*
527
+ * Return information to donate
528
+ *
529
+ * @uses _e,esc_attr_e
530
+ * @access public
531
+ * @since 2.0.0
532
+ * @return void
533
+ */
534
+ public function get_plugin_infos() {
535
+
536
+ ?>
537
+ <div class="postbox">
538
+
539
+ <h3><span><?php esc_html_e( 'Like this plugin?', 'addquicktag' ); ?></span></h3>
540
+
541
+ <div class="inside">
542
+ <p><?php esc_html_e( 'Here\'s how you can give back:', 'addquicktag' ); ?></p>
543
+ <ul>
544
+ <li>
545
+ <a href="http://wordpress.org/support/view/plugin-reviews/addquicktag" title="<?php esc_html_e(
546
+ 'The Plugin on the WordPress plugin repository', 'addquicktag'
547
+ ); ?>"><?php esc_html_e( 'Give the plugin a good rating.', 'addquicktag' ); ?></a>
548
+ </li>
549
+ <li>
550
+ <a href="http://wordpress.org/support/plugin/addquicktag" title="<?php esc_html_e(
551
+ 'Help inside the community other useres and write answer to this plugin questions.',
552
+ 'addquicktag'
553
+ ); ?>"><?php esc_html_e(
554
+ 'Help other users in the Support Forum.', 'addquicktag'
555
+ ); ?></a>
556
+ </li>
557
+ <li>
558
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=6069955" title="<?php esc_html_e(
559
+ 'Donate via PayPal', 'addquicktag'
560
+ ); ?>"><?php esc_html_e( 'Donate a few euros.', 'addquicktag' ); ?></a>
561
+ </li>
562
+ <li>
563
+ <a href="http://www.amazon.de/gp/registry/3NTOGEK181L23/ref=wl_s_3" title="<?php esc_html_e(
564
+ 'Frank Bültge\'s Amazon Wish List', 'addquicktag'
565
+ ); ?>"><?php esc_html_e(
566
+ 'Get me something from my wish list.', 'addquicktag'
567
+ ); ?></a>
568
+ </li>
569
+ <li>
570
+ <a href="https://github.com/bueltge/AddQuicktag" title="<?php esc_html_e(
571
+ 'Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues.',
572
+ 'addquicktag'
573
+ ); ?>"><?php esc_html_e(
574
+ 'Github Repo for Contribute, Issues & Bugs', 'addquicktag'
575
+ ); ?></a>
576
+ </li>
577
+ </ul>
578
+ </div>
579
+ </div>
580
+ <?php
581
+ }
582
+
583
+ /*
584
+ * Return information about the plugin
585
+ *
586
+ * @uses _e,esc_attr_e
587
+ * @access public
588
+ * @since 2.0.0
589
+ * @return void
590
+ */
591
+ public function get_about_plugin() {
592
+
593
+ ?>
594
+ <div class="postbox">
595
+
596
+ <h3><span><?php esc_html_e( 'About this plugin', 'addquicktag' ); ?></span></h3>
597
+
598
+ <div class="inside">
599
+ <p>
600
+ <strong><?php esc_html_e( 'Version:', 'addquicktag' ); ?></strong>
601
+ <?php echo parent::get_plugin_data( 'Version' ); ?>
602
+ </p>
603
+
604
+ <p>
605
+ <strong><?php esc_html_e( 'Description:', 'addquicktag' ); ?></strong>
606
+ <?php echo parent::get_plugin_data( 'Description' ); ?>
607
+ </p>
608
+ </div>
609
+
610
+ </div>
611
+ <?php
612
+ }
613
+
614
+ /*
615
+ * Save network settings
616
+ *
617
+ * @uses update_site_option, wp_redirect, add_query_arg, network_admin_url
618
+ * @access public
619
+ * @since 2.0.0
620
+ * @return void
621
+ */
622
+ public function save_network_settings_page() {
623
+
624
+ if ( ! wp_verify_nonce( $_REQUEST[ '_wpnonce' ], self::$nonce_string ) ) {
625
+ wp_die( 'Sorry, you failed the nonce test.' );
626
+ }
627
+
628
+ // validate options
629
+ $value = $this->validate_settings( $_POST[ self::$option_string ] );
630
+
631
+ // update options
632
+ update_site_option( self::$option_string, $value );
633
+ // redirect to settings page in network
634
+ wp_redirect(
635
+ add_query_arg(
636
+ array( 'page' => plugin_basename( __FILE__ ), 'updated' => 'true' ),
637
+ network_admin_url( 'settings.php' )
638
+ )
639
+ );
640
+ exit();
641
+ }
642
+
643
+ /*
644
+ * Retrun string vor update message
645
+ *
646
+ * @uses
647
+ * @access public
648
+ * @since 2.0.0
649
+ * @return string $notice
650
+ */
651
+ public function get_network_admin_notices() {
652
+
653
+ // if updated and the right page
654
+ if ( array_key_exists(
655
+ 'updated', $_GET
656
+ )
657
+ && 'settings_page_addquicktag/inc/class-settings-network' === $GLOBALS[ 'current_screen' ]->id
658
+ ) {
659
+ $message = esc_html__( 'Options saved.', 'addquicktag' );
660
+ $notice = '<div id="message" class="updated"><p>' . $message . '</p></div>';
661
+ echo $notice;
662
+ }
663
+ }
664
+
665
+ /**
666
+ * Validate settings for options
667
+ *
668
+ * @uses normalize_whitespace
669
+ * @access public
670
+ *
671
+ * @param array $value
672
+ *
673
+ * @since 2.0.0
674
+ * @return string $value
675
+ */
676
+ public function validate_settings( $value ) {
677
+
678
+ // Save core buttons changes
679
+ if ( array_key_exists( 'core_buttons', $value ) ) {
680
+ $core_buttons = $value[ 'core_buttons' ];
681
+ }
682
+
683
+ // Save Code buttons
684
+ if ( array_key_exists( 'code_buttons', $value ) ) {
685
+ $code_buttons = $value[ 'code_buttons' ];
686
+ }
687
+
688
+ // set allowed values for import, only the defaults of plugin and custom post types
689
+ $allowed_settings = (array) array_merge(
690
+ $this->get_post_types_for_js(),
691
+ array( 'text', 'dashicon', 'title', 'start', 'end', 'access', 'order', 'visual' )
692
+ );
693
+
694
+ $buttons = array();
695
+ // filter for allowed values
696
+ foreach ( (array) $value[ 'buttons' ] as $key => $button ) {
697
+
698
+ foreach ( (array) $button as $label => $val ) {
699
+
700
+ if ( ! in_array( $label, $allowed_settings, TRUE ) ) {
701
+ unset( $button[ $label ] );
702
+ }
703
+ }
704
+
705
+ $buttons[] = $button;
706
+ }
707
+
708
+ // return filtered array
709
+ $filtered_values[ 'buttons' ] = $buttons;
710
+ $value = $filtered_values;
711
+
712
+ $buttons = array();
713
+ $c_buttons = count( $value[ 'buttons' ] );
714
+ for ( $i = 0; $i < $c_buttons; $i ++ ) {
715
+
716
+ $b = $value[ 'buttons' ][ $i ];
717
+ if ( ! empty( $b[ 'start' ] ) ) {
718
+
719
+ //preg_replace( '~[^\p{L}]~u', '', $string );
720
+
721
+ $b[ 'text' ] = sanitize_text_field( $b[ 'text' ] );
722
+ $b[ 'dashicon' ] = sanitize_text_field( $b[ 'dashicon' ] );
723
+ $b[ 'title' ] = sanitize_text_field( $b[ 'title' ] );
724
+ $b[ 'start' ] = wp_kses_stripslashes( $b[ 'start' ] );
725
+ $b[ 'end' ] = wp_kses_stripslashes( $b[ 'end' ] );
726
+
727
+ if ( array_key_exists( 'access', $b ) ) {
728
+ $b[ 'access' ] = esc_html( $b[ 'access' ] );
729
+ }
730
+
731
+ if ( array_key_exists( 'order', $b ) ) {
732
+ $b[ 'order' ] = (int) $b[ 'order' ];
733
+ }
734
+
735
+ // visual settings
736
+ if ( array_key_exists( 'visual', $b ) ) {
737
+ $b[ 'visual' ] = (int) $b[ 'visual' ];
738
+ } else {
739
+ $b[ 'visual' ] = 0;
740
+ }
741
+
742
+ // post types
743
+ foreach ( $this->get_post_types_for_js() as $post_type ) {
744
+
745
+ if ( array_key_exists( $post_type, $b ) ) {
746
+ $b[ $post_type ] = (int) $b[ $post_type ];
747
+ } else {
748
+ $b[ $post_type ] = 0;
749
+ }
750
+
751
+ }
752
+
753
+ $buttons[] = $b;
754
+ }
755
+
756
+ }
757
+ $value[ 'buttons' ] = $buttons;
758
+ // Check for wrong empty values and kill
759
+ foreach ( $value[ 'buttons' ] as $key => $b ) {
760
+
761
+ if ( empty( $b[ 'text' ] ) && empty( $b[ 'start' ] ) ) {
762
+ unset( $value[ 'buttons' ][ $key ] );
763
+ }
764
+ }
765
+ // reorder the array
766
+ $value[ 'buttons' ] = array_values( $value[ 'buttons' ] );
767
+
768
+ // Filter core button values, strings and convert to integer
769
+ if ( ! empty( $core_buttons ) ) {
770
+
771
+ /**
772
+ * $key is core-string
773
+ * 'core_buttons' =>
774
+ * array (size=1)
775
+ * 'strong' =>
776
+ * array (size=2)
777
+ * 'post' => string '1' (length=1)
778
+ * 'page' => string '1' (length=1)
779
+ */
780
+ $filtered_core_buttons = array();
781
+ foreach ( (array) $core_buttons as $key => $var ) {
782
+
783
+ $core_button = array();
784
+ foreach ( (array) $var as $post_type => $val ) {
785
+ $core_button[ $post_type ] = (int) $val;
786
+ }
787
+
788
+ $filtered_core_buttons[ $key ] = $core_button;
789
+
790
+ }
791
+
792
+ $value[ 'core_buttons' ] = $filtered_core_buttons;
793
+
794
+ }
795
+
796
+ // Filter code button values, strings and convert to integer
797
+ if ( ! empty( $code_buttons ) ) {
798
+
799
+ $filtered_code_buttons = array();
800
+ foreach ( (array) $code_buttons as $key => $var ) {
801
+
802
+ $code_button = array();
803
+ foreach ( (array) $var as $post_type => $val ) {
804
+ $code_button[ $post_type ] = (int) $val;
805
+ }
806
+
807
+ $filtered_code_buttons[ $key ] = $code_button;
808
+
809
+ }
810
+
811
+ $value[ 'code_buttons' ] = $filtered_code_buttons;
812
+
813
+ }
814
+
815
+ return $value;
816
+ }
817
+
818
+ /**
819
+ * Register settings for options
820
+ *
821
+ * @uses register_setting
822
+ * @access public
823
+ * @since 2.0.0
824
+ * @return void
825
+ */
826
+ public function register_settings() {
827
+
828
+ register_setting( self::$option_string . '_group', self::$option_string, array( $this, 'validate_settings' ) );
829
+ }
830
+
831
+ /**
832
+ * Unregister and delete settings; clean database
833
+ *
834
+ * @uses unregister_setting, delete_option
835
+ * @access public
836
+ * @since 0.0.2
837
+ * @return void
838
+ */
839
+ public function unregister_settings() {
840
+
841
+ unregister_setting( self::$option_string . '_group', self::$option_string );
842
+ delete_option( self::$option_string );
843
+ }
844
+
845
+ /**
846
+ * Enqueue scripts and stylesheets
847
+ *
848
+ * @since 0.0.2
849
+ *
850
+ * @internal param $where
851
+ */
852
+ public function print_scripts() {
853
+
854
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '.dev' : '';
855
+
856
+ wp_register_script(
857
+ self::$option_string . '_dashicon_picker',
858
+ plugins_url( '/js/dashicons-picker' . $suffix . '.js', parent::get_plugin_string() ),
859
+ array( 'jquery' ),
860
+ '',
861
+ TRUE
862
+ );
863
+
864
+ wp_register_script(
865
+ self::$option_string . '_admin_script',
866
+ plugins_url( '/js/settings' . $suffix . '.js', parent::get_plugin_string() ),
867
+ array( 'jquery', 'quicktags' ),
868
+ '',
869
+ TRUE
870
+ );
871
+ wp_enqueue_script( self::$option_string . '_dashicon_picker' );
872
+ wp_enqueue_script( self::$option_string . '_admin_script' );
873
+
874
+ wp_register_style(
875
+ self::$option_string . '_dashicon_picker',
876
+ plugins_url( '/css/dashicons-picker' . $suffix . '.css', parent::get_plugin_string() ),
877
+ array( 'dashicons' ),
878
+ FALSE,
879
+ 'screen'
880
+ );
881
+
882
+ wp_register_style(
883
+ self::$option_string . '_admin_style',
884
+ plugins_url( '/css/settings' . $suffix . '.css', parent::get_plugin_string() ),
885
+ array(),
886
+ FALSE,
887
+ 'screen'
888
+ );
889
+ wp_enqueue_style( self::$option_string . '_dashicon_picker' );
890
+ wp_enqueue_style( self::$option_string . '_admin_style' );
891
+ }
892
+
893
+ }
894
+
895
+ $add_quicktag_settings = Add_Quicktag_Settings::get_object();
inc/class-tinymce.php CHANGED
@@ -1,10 +1,11 @@
1
  <?php
2
  /**
3
  * AddQuicktag - to TinyMCE Editor
4
- * @license GPLv2
5
  * @package AddQuicktag
6
  * @subpackage AddQuicktag 2 TinyMce
7
  * @author Frank Bueltge <frank@bueltge.de>
 
8
  */
9
 
10
  if ( ! function_exists( 'add_action' ) ) {
@@ -46,7 +47,6 @@ class Add_Quicktag_2_TinyMce extends Add_Quicktag {
46
  * @access public
47
  * @since 0.0.2
48
  * @uses add_action
49
- * @return \Add_Quicktag_2_TinyMce
50
  */
51
  private function __construct() {
52
 
@@ -63,7 +63,7 @@ class Add_Quicktag_2_TinyMce extends Add_Quicktag {
63
  */
64
  public function add_externel_buttons( $plugins ) {
65
 
66
- if ( FALSE == is_array( $plugins ) ) {
67
  $plugins = array();
68
  }
69
 
@@ -86,9 +86,7 @@ class Add_Quicktag_2_TinyMce extends Add_Quicktag {
86
  */
87
  public function extend_editor_buttons( $buttons, $editor_id = FALSE ) {
88
 
89
- $buttons = array_merge( array( self::$option_string ), $buttons );
90
-
91
- return $buttons;
92
  }
93
 
94
  } // end class
1
  <?php
2
  /**
3
  * AddQuicktag - to TinyMCE Editor
4
+ *
5
  * @package AddQuicktag
6
  * @subpackage AddQuicktag 2 TinyMce
7
  * @author Frank Bueltge <frank@bueltge.de>
8
+ * @version 2015-12-23
9
  */
10
 
11
  if ( ! function_exists( 'add_action' ) ) {
47
  * @access public
48
  * @since 0.0.2
49
  * @uses add_action
 
50
  */
51
  private function __construct() {
52
 
63
  */
64
  public function add_externel_buttons( $plugins ) {
65
 
66
+ if ( ! is_array( $plugins ) ) {
67
  $plugins = array();
68
  }
69
 
86
  */
87
  public function extend_editor_buttons( $buttons, $editor_id = FALSE ) {
88
 
89
+ return array_merge( array( self::$option_string ), $buttons );
 
 
90
  }
91
 
92
  } // end class
inc/tinymce/editor_plugin.dev.js CHANGED
@@ -1,150 +1,170 @@
1
- /**
2
- * AddQuicktag Script to add listbox to visual-editor
3
- *
4
- * @package AddQuicktag Plugin
5
- * @author Frank Bueltge <frank@bueltge.de>
6
- * @version 2015-08-21
7
- * @since 2.3.0
8
- */
9
-
10
- jQuery(document).ready(function ($) {
11
-
12
- if (typeof addquicktag_tags == 'undefined')
13
- return;
14
-
15
- if (typeof addquicktag_post_type == 'undefined')
16
- return;
17
-
18
- if (typeof addquicktag_pt_for_js == 'undefined')
19
- return;
20
-
21
- // wrong post type
22
- if (-1 == $.inArray(addquicktag_post_type, addquicktag_pt_for_js))
23
- return;
24
-
25
- // break, if not an button for visual and post type
26
- var visual = 0,
27
- post_type = 0,
28
- i = 0;
29
-
30
- for ( i; i < addquicktag_tags.buttons.length; i++ ) {
31
- // if not visual button in the list, return
32
- if ( 1 === parseInt( addquicktag_tags.buttons[i]['visual'] ) )
33
- visual = addquicktag_tags.buttons[i]['visual'];
34
- // check for active on this post type on each buttons
35
- if ( 1 === parseInt( addquicktag_tags.buttons[i][addquicktag_post_type] ) )
36
- post_type = addquicktag_tags.buttons[i][addquicktag_post_type];
37
- }
38
-
39
- if ( 1 !== parseInt( visual ) )
40
- return;
41
-
42
- if ( 1 !== parseInt( post_type ) )
43
- return;
44
-
45
- // Add listbox plugin to TinyMCE editor
46
- tinymce.PluginManager.add( 'rmnlQuicktagSettings_tmce', function ( editor ) {
47
-
48
- editor.addButton( 'rmnlQuicktagSettings_tmce', function () {
49
-
50
- var tiny_tags = addquicktag_tags['buttons'],
51
- values = [],
52
- i = 0;
53
-
54
- for ( i; i < tiny_tags.length; i++ ) {
55
-
56
- // check for active on this post type
57
- if (1 === parseInt(tiny_tags[i][addquicktag_post_type])) {
58
-
59
- if (1 == tiny_tags[i].visual) {
60
- values.push({text: tiny_tags[i].text, value: String(i)});
61
- }
62
- }
63
- }
64
-
65
- return {
66
- type : 'listbox',
67
- //name: 'align',
68
- text : 'Quicktags',
69
- label : 'Select :',
70
- fixedWidth: true,
71
- onselect : function (v) {
72
- // For debugging purpose
73
- console.log(v);
74
-
75
- var // Set short var for the value identifier
76
- // v = v.control._value,
77
- // Change since WordPress 4.3 to new object values.
78
- value = v.control.settings.value,
79
- marked = false;
80
-
81
- if ( typeof( tinymce.activeEditor.selection.getContent() ) != 'undefined' )
82
- marked = true;
83
-
84
- if ( marked == true ) {
85
-
86
- console.log(tiny_tags);
87
- console.log(value);
88
-
89
- var content = tinymce.activeEditor.selection.getContent(),
90
- start_content = tinymce.activeEditor.selection.getStart().nodeName,
91
- all = tinymce.activeEditor.selection.getNode(),
92
- start = tiny_tags[value].start,
93
- start_tag = start.match( /[a-z]+/ ),
94
- end = tiny_tags[value].end;
95
-
96
- if ( typeof start == 'undefined' )
97
- start = '';
98
-
99
- if ( typeof end == 'undefined' )
100
- end = '';
101
-
102
-
103
- /*
104
- // For debugging purpose
105
- console.log(v);
106
- console.log('TinyTags: ' + tiny_tags[value]);
107
- console.log('start_content: ' + start_content);
108
- console.log('start_content.nodeName: ' + tinymce.activeEditor.selection.getStart().nodeName);
109
- console.log('start_content.outerHMTL: ' + tinymce.activeEditor.selection.getStart().outerHMTL);
110
- console.log('Content: ' + content);
111
- console.log(all);
112
- console.log('Start tag: ' + start);
113
- console.log('Start tag, only: ' + start.match(/[a-z]+/));
114
- console.log('End tag: ' + end);
115
- //console.log(start_content.indexOf( start ));
116
- console.log('Search nodeName: ' + start_content.search(start));
117
- /**/
118
-
119
-
120
- // Add tag to content
121
- if ( start.match( /[a-z]+/i ) != start_content.toLowerCase() ) {
122
- tinymce.activeEditor.selection.setContent(
123
- tiny_tags[value].start + content + tiny_tags[value].end
124
- );
125
- }
126
-
127
- // Remove existing tag
128
- if ( start.match( /[a-z]+/i ) == start_content.toLowerCase() ) {
129
-
130
- // Remove content with tag
131
- tinyMCE.activeEditor.dom.remove(
132
- tinymce.activeEditor.selection.getNode(
133
- start_content.toLowerCase()
134
- )
135
- );
136
- // Add content, without tag
137
- tinymce.activeEditor.selection.setContent(
138
- content
139
- );
140
-
141
- }
142
-
143
- }
144
- },
145
- values : values
146
- };
147
- });
148
-
149
- });
150
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * AddQuicktag Script to add listbox to visual-editor
3
+ *
4
+ * @package AddQuicktag Plugin
5
+ * @author Frank Bueltge <frank@bueltge.de>
6
+ * @version 2015-12-23
7
+ * @since 2.3.0
8
+ */
9
+
10
+ jQuery( document ).ready( function( $ ) {
11
+
12
+ if ( typeof addquicktag_tags == 'undefined' ) {
13
+ return;
14
+ }
15
+
16
+ if ( typeof addquicktag_post_type == 'undefined' ) {
17
+ return;
18
+ }
19
+
20
+ if ( typeof addquicktag_pt_for_js == 'undefined' ) {
21
+ return;
22
+ }
23
+
24
+ // wrong post type
25
+ if ( -1 == $.inArray( addquicktag_post_type, addquicktag_pt_for_js ) ) {
26
+ return;
27
+ }
28
+
29
+ // break, if not an button for visual and post type
30
+ var visual = 0,
31
+ post_type = 0,
32
+ i = 0;
33
+
34
+ for ( i; i < addquicktag_tags.buttons.length; i++ ) {
35
+ // if not visual button in the list, return
36
+ if ( 1 === parseInt( addquicktag_tags.buttons[ i ][ 'visual' ] ) ) {
37
+ visual = addquicktag_tags.buttons[ i ][ 'visual' ];
38
+ }
39
+ // check for active on this post type on each buttons
40
+ if ( 1 === parseInt( addquicktag_tags.buttons[ i ][ addquicktag_post_type ] ) ) {
41
+ post_type = addquicktag_tags.buttons[ i ][ addquicktag_post_type ];
42
+ }
43
+ }
44
+
45
+ if ( 1 !== parseInt( visual ) ) {
46
+ return;
47
+ }
48
+
49
+ if ( 1 !== parseInt( post_type ) ) {
50
+ return;
51
+ }
52
+
53
+ // Add listbox plugin to TinyMCE editor
54
+ tinymce.PluginManager.add( 'rmnlQuicktagSettings_tmce', function( editor ) {
55
+
56
+ editor.addButton( 'rmnlQuicktagSettings_tmce', function() {
57
+
58
+ var tiny_tags = addquicktag_tags[ 'buttons' ],
59
+ values = [],
60
+ i = 0;
61
+
62
+ for ( i; i < tiny_tags.length; i++ ) {
63
+
64
+ // check for active on this post type
65
+ if ( 1 === parseInt( tiny_tags[ i ][ addquicktag_post_type ] ) ) {
66
+
67
+ // Create the list items with all custom values from settings.
68
+ // @see http://www.tinymce.com/wiki.php/api4:class.tinymce.ui.ListBox
69
+ if ( 1 == tiny_tags[ i ].visual ) {
70
+ //console.log( tiny_tags[ i ] );
71
+ values.push( {
72
+ text : tiny_tags[ i ].text,
73
+ value : String( i ),
74
+ tooltip: tiny_tags[ i ].title,
75
+ icon : 'icon dashicons dashicons-before ' + tiny_tags[ i ].dashicon
76
+ } );
77
+ }
78
+ }
79
+ }
80
+
81
+ return {
82
+ type : 'listbox',
83
+ //name : 'align',
84
+ icon : '',
85
+ text : 'Quicktags',
86
+ label : 'Select :',
87
+ fixedWidth: true,
88
+ onselect : function( v ) {
89
+ // For debugging purpose
90
+ console.log( v );
91
+
92
+ var // Set short var for the value identifier
93
+ // v = v.control._value,
94
+ // Change since WordPress 4.3 to new object values.
95
+ value = v.control.settings.value,
96
+ marked = false;
97
+
98
+ if ( typeof(
99
+ tinymce.activeEditor.selection.getContent()
100
+ ) != 'undefined' ) {
101
+ marked = true;
102
+ }
103
+
104
+ if ( marked == true ) {
105
+
106
+ console.log( tiny_tags );
107
+ console.log( value );
108
+
109
+ var content = tinymce.activeEditor.selection.getContent(),
110
+ start_content = tinymce.activeEditor.selection.getStart().nodeName,
111
+ all = tinymce.activeEditor.selection.getNode(),
112
+ start = tiny_tags[ value ].start,
113
+ start_tag = start.match( /[a-z]+/ ),
114
+ end = tiny_tags[ value ].end;
115
+
116
+ if ( typeof start == 'undefined' ) {
117
+ start = '';
118
+ }
119
+
120
+ if ( typeof end == 'undefined' ) {
121
+ end = '';
122
+ }
123
+
124
+ /*
125
+ // For debugging purpose
126
+ console.log(v);
127
+ console.log('TinyTags: ' + tiny_tags[value]);
128
+ console.log('start_content: ' + start_content);
129
+ console.log('start_content.nodeName: ' + tinymce.activeEditor.selection.getStart().nodeName);
130
+ console.log('start_content.outerHMTL: ' + tinymce.activeEditor.selection.getStart().outerHMTL);
131
+ console.log('Content: ' + content);
132
+ console.log(all);
133
+ console.log('Start tag: ' + start);
134
+ console.log('Start tag, only: ' + start.match(/[a-z]+/));
135
+ console.log('End tag: ' + end);
136
+ //console.log(start_content.indexOf( start ));
137
+ console.log('Search nodeName: ' + start_content.search(start));
138
+ /**/
139
+
140
+ // Add tag to content
141
+ if ( start.match( /[a-z]+/i ) != start_content.toLowerCase() ) {
142
+ tinymce.activeEditor.selection.setContent(
143
+ tiny_tags[ value ].start + content + tiny_tags[ value ].end
144
+ );
145
+ }
146
+
147
+ // Remove existing tag
148
+ if ( start.match( /[a-z]+/i ) == start_content.toLowerCase() ) {
149
+
150
+ // Remove content with tag
151
+ tinyMCE.activeEditor.dom.remove(
152
+ tinymce.activeEditor.selection.getNode(
153
+ start_content.toLowerCase()
154
+ )
155
+ );
156
+ // Add content, without tag
157
+ tinymce.activeEditor.selection.setContent(
158
+ content
159
+ );
160
+
161
+ }
162
+
163
+ }
164
+ },
165
+ values : values
166
+ };
167
+ } );
168
+
169
+ } );
170
+ } );
inc/tinymce/editor_plugin.js CHANGED
@@ -1,10 +1 @@
1
- /**
2
- * AddQuicktag Script to add listbox to visual-editor
3
- *
4
- * @package AddQuicktag Plugin
5
- * @author Frank Bueltge <frank@bueltge.de>
6
- * @version 2015-08-21
7
- * @since 2.3.0
8
- */
9
-
10
- jQuery(document).ready(function(t){if("undefined"!=typeof addquicktag_tags&&"undefined"!=typeof addquicktag_post_type&&"undefined"!=typeof addquicktag_pt_for_js&&-1!=t.inArray(addquicktag_post_type,addquicktag_pt_for_js)){var e=0,a=0,n=0;for(n;n<addquicktag_tags.buttons.length;n++)1===parseInt(addquicktag_tags.buttons[n].visual)&&(e=addquicktag_tags.buttons[n].visual),1===parseInt(addquicktag_tags.buttons[n][addquicktag_post_type])&&(a=addquicktag_tags.buttons[n][addquicktag_post_type]);1===parseInt(e)&&1===parseInt(a)&&tinymce.PluginManager.add("rmnlQuicktagSettings_tmce",function(t){t.addButton("rmnlQuicktagSettings_tmce",function(){var t=addquicktag_tags.buttons,e=[],a=0;for(a;a<t.length;a++)1===parseInt(t[a][addquicktag_post_type])&&1==t[a].visual&&e.push({text:t[a].text,value:String(a)});return{type:"listbox",text:"Quicktags",label:"Select :",fixedWidth:!0,onselect:function(e){var a=e.control.settings.value,n=!1;if("undefined"!=typeof tinymce.activeEditor.selection.getContent()&&(n=!0),1==n){var i=tinymce.activeEditor.selection.getContent(),o=tinymce.activeEditor.selection.getStart().nodeName,d=(tinymce.activeEditor.selection.getNode(),t[a].start),c=(d.match(/[a-z]+/),t[a].end);"undefined"==typeof d&&(d=""),"undefined"==typeof c&&(c=""),d.match(/[a-z]+/i)!=o.toLowerCase()&&tinymce.activeEditor.selection.setContent(t[a].start+i+t[a].end),d.match(/[a-z]+/i)==o.toLowerCase()&&(tinyMCE.activeEditor.dom.remove(tinymce.activeEditor.selection.getNode(o.toLowerCase())),tinymce.activeEditor.selection.setContent(i))}},values:e}})})}});
1
+ jQuery(document).ready(function(a){if("undefined"!=typeof addquicktag_tags&&"undefined"!=typeof addquicktag_post_type&&"undefined"!=typeof addquicktag_pt_for_js&&-1!=a.inArray(addquicktag_post_type,addquicktag_pt_for_js)){var b=0,c=0,d=0;for(d;d<addquicktag_tags.buttons.length;d++)1===parseInt(addquicktag_tags.buttons[d].visual)&&(b=addquicktag_tags.buttons[d].visual),1===parseInt(addquicktag_tags.buttons[d][addquicktag_post_type])&&(c=addquicktag_tags.buttons[d][addquicktag_post_type]);1===parseInt(b)&&1===parseInt(c)&&tinymce.PluginManager.add("rmnlQuicktagSettings_tmce",function(a){a.addButton("rmnlQuicktagSettings_tmce",function(){var a=addquicktag_tags.buttons,b=[],c=0;for(c;c<a.length;c++)1===parseInt(a[c][addquicktag_post_type])&&1==a[c].visual&&b.push({text:a[c].text,value:String(c),tooltip:a[c].title,icon:"icon dashicons dashicons-before "+a[c].dashicon});return{type:"listbox",icon:"",text:"Quicktags",label:"Select :",fixedWidth:!0,onselect:function(b){console.log(b);var c=b.control.settings.value,d=!1;if("undefined"!=typeof tinymce.activeEditor.selection.getContent()&&(d=!0),1==d){console.log(a),console.log(c);var e=tinymce.activeEditor.selection.getContent(),f=tinymce.activeEditor.selection.getStart().nodeName,g=(tinymce.activeEditor.selection.getNode(),a[c].start),h=(g.match(/[a-z]+/),a[c].end);"undefined"==typeof g&&(g=""),"undefined"==typeof h&&(h=""),g.match(/[a-z]+/i)!=f.toLowerCase()&&tinymce.activeEditor.selection.setContent(a[c].start+e+a[c].end),g.match(/[a-z]+/i)==f.toLowerCase()&&(tinyMCE.activeEditor.dom.remove(tinymce.activeEditor.selection.getNode(f.toLowerCase())),tinymce.activeEditor.selection.setContent(e))}},values:b}})})}});
 
 
 
 
 
 
 
 
 
inc/tinymce/langs/de.js CHANGED
File without changes
inc/tinymce/langs/en.js CHANGED
File without changes
js/add-quicktags.dev.js CHANGED
@@ -7,56 +7,67 @@
7
  * @since 2.0.0
8
  */
9
 
10
- jQuery(document).ready(function ($) {
11
 
12
- if ( typeof addquicktag_tags == 'undefined' )
13
  return;
 
14
 
15
- if (typeof addquicktag_post_type == 'undefined')
16
  return;
 
17
 
18
- if (typeof addquicktag_pt_for_js == 'undefined')
19
  return;
 
20
 
21
- var tags = addquicktag_tags['buttons'];
22
- if (typeof tags == 'undefined')
23
  return;
 
24
 
25
  function html_entity_decode( str ) {
26
  /*Firefox (and IE if the string contains no elements surrounded by angle brackets )*/
27
- try{
28
- var ta=document.createElement("textarea");
29
- ta.innerHTML=str;
30
  return ta.value;
31
- }catch(e){};
 
 
32
  /*Internet Explorer*/
33
- try{
34
- var d=document.createElement("div");
35
- d.innerHTML=str.replace(/</g,"&lt;").replace(/>/g,"&gt;");
36
- if(typeof d.innerText!="undefined")return d.innerText;/*Sadly this strips tags as well*/
37
- }catch(e){}
 
 
 
 
38
  }
39
 
40
  // window for input; currently not in use; maybe later
41
- function qt_callback_input_window(e, c, ed) {
42
 
43
- var prmt = prompt('Enter Tag Name');
44
 
45
- if (prmt === null)
46
  return;
 
47
 
48
  this.tagStart = '[tag]' + prmt + '[/tag]';
49
 
50
- QTags.TagButton.prototype.callback.call(this, e, c, ed);
51
  }
52
 
53
- function get_selected_text(canvas) { // "canvas" is what they call the textarea of the editor
54
  canvas.focus();
55
 
56
- if (document.selection) { // IE
57
  return document.selection.createRange().text;
58
  } else { // standards
59
- return canvas.value.substring(canvas.selectionStart, canvas.selectionEnd);
60
  }
61
  }
62
 
@@ -65,11 +76,18 @@ jQuery(document).ready(function ($) {
65
 
66
  for ( var i = 0; i < tags.length; i++ ) {
67
  // check for active on this post type
68
- if ( 1 === parseInt(tags[i][addquicktag_post_type] ) ) {
69
-
70
- if (typeof tags[i].title == 'undefined') tags[i].title = ' ';
71
- if (typeof tags[i].end == 'undefined') tags[i].end = '';
72
- if (typeof tags[i].access == 'undefined') tags[i].access = '';
 
 
 
 
 
 
 
73
 
74
  /**
75
  * @param id string required Button HTML ID
@@ -82,12 +100,12 @@ jQuery(document).ready(function ($) {
82
  * @param instance string optional Limit the button to a specific instance of Quicktags, add to all instances if not present.
83
  */
84
  QTags.addButton(
85
- html_entity_decode( tags[i].text ).replace( /"|\\/gi, "" ).toLowerCase(),
86
- tags[i].text,
87
- tags[i].start,
88
- tags[i].end,
89
- tags[i].access,
90
- tags[i].title.replace( /"|\\/gi, "" )
91
  );
92
 
93
  /**
@@ -108,65 +126,90 @@ jQuery(document).ready(function ($) {
108
  } // end check post type
109
 
110
  // Check the Code buttons, if inside the json
111
- var code_buttons = addquicktag_tags['code_buttons'];
112
 
113
  // Fallback, if WP core don't set the var
114
- if ( typeof typenow == 'undefined' )
115
  typenow = '';
 
116
 
117
  // IF no code buttons was active
118
- if ( typeof code_buttons == 'undefined' )
119
  return;
 
120
 
121
  // Fallback for no htmlentities settings
122
- if ( typeof code_buttons.htmlentities == 'undefined' )
123
  code_buttons.htmlentities = 0;
 
124
 
125
  // Fallback for no pre settings
126
- if ( typeof code_buttons.pre == 'undefined' )
127
  code_buttons.pre = 0;
 
128
 
129
  // if the htmlentities settings is active for each post type (var typenow from WP core)
130
- if ( code_buttons.htmlentities[typenow] === 1 ) {
131
  /**
132
  * ideas for code buttons and optional window with input possibility
133
  *
134
  * @see @see http://bililite.com/blog/2012/08/20/custom-buttons-in-the-wordpress-html-editor/
135
  */
136
- QTags.addButton('toHTML', 'HTML Entities', function (el, canvas) {
137
  QTags.insertContent(
138
- get_selected_text(canvas).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;')
139
  );
140
- }, 'Encode HTML Entities');
141
 
142
- QTags.addButton('fromHTML', 'Decode HTML', function (el, canvas) {
143
  QTags.insertContent(
144
- get_selected_text(canvas).replace(/&amp;/g, '&').replace(/&lt;/g, '<').replace(/&gt;/g, '>')
145
  );
146
- }, 'Decode HTML Entities');
147
  }
148
 
149
  // if the pre settings is active for each post type (var typenow from WP core)
150
- if ( code_buttons.pre[typenow] === 1 ) {
151
- var code_languages = ['html', 'javascript', 'css', 'bash', 'php', 'vb'];
152
  // Insert before the code button
153
- edButtons[109] = {
154
- html: function (id_prefix) {
155
  return '<select id="' + id_prefix + 'code_language" class="language-select">' +
156
- '<option>blank</option>' + // include a blank option
157
- '<option>' + code_languages.join('</option><option>') + '</option>' +
158
- '</select>';
159
  }
160
  };
161
- $('body').on('change', 'select.language-select', function () {
162
- var lang = $(this).val();
163
  // 110 is the code qt-tag from core, wp-includes/js/quicktags.js
164
- edButtons[110].tagStart = lang ? '<code class="language-' + lang + '">' : '<code>';
165
- });
166
 
167
  // Add pre button for preformatted text
168
- QTags.addButton('qt_pre', 'pre', '<pre>', '</pre>', '', 'Preformatted text', '108');
169
  }
170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
 
172
- });
 
 
7
  * @since 2.0.0
8
  */
9
 
10
+ jQuery( document ).ready( function( $ ) {
11
 
12
+ if ( typeof addquicktag_tags == 'undefined' ) {
13
  return;
14
+ }
15
 
16
+ if ( typeof addquicktag_post_type == 'undefined' ) {
17
  return;
18
+ }
19
 
20
+ if ( typeof addquicktag_pt_for_js == 'undefined' ) {
21
  return;
22
+ }
23
 
24
+ var tags = addquicktag_tags[ 'buttons' ];
25
+ if ( typeof tags == 'undefined' ) {
26
  return;
27
+ }
28
 
29
  function html_entity_decode( str ) {
30
  /*Firefox (and IE if the string contains no elements surrounded by angle brackets )*/
31
+ try {
32
+ var ta = document.createElement( "textarea" );
33
+ ta.innerHTML = str;
34
  return ta.value;
35
+ } catch ( e ) {
36
+ }
37
+ ;
38
  /*Internet Explorer*/
39
+ try {
40
+ var d = document.createElement( "div" );
41
+ d.innerHTML = str.replace( /</g, "&lt;" ).replace( />/g, "&gt;" );
42
+ if ( typeof d.innerText != "undefined" ) {
43
+ return d.innerText;
44
+ }
45
+ /*Sadly this strips tags as well*/
46
+ } catch ( e ) {
47
+ }
48
  }
49
 
50
  // window for input; currently not in use; maybe later
51
+ function qt_callback_input_window( e, c, ed ) {
52
 
53
+ var prmt = prompt( 'Enter Tag Name' );
54
 
55
+ if ( prmt === null ) {
56
  return;
57
+ }
58
 
59
  this.tagStart = '[tag]' + prmt + '[/tag]';
60
 
61
+ QTags.TagButton.prototype.callback.call( this, e, c, ed );
62
  }
63
 
64
+ function get_selected_text( canvas ) { // "canvas" is what they call the textarea of the editor
65
  canvas.focus();
66
 
67
+ if ( document.selection ) { // IE
68
  return document.selection.createRange().text;
69
  } else { // standards
70
+ return canvas.value.substring( canvas.selectionStart, canvas.selectionEnd );
71
  }
72
  }
73
 
76
 
77
  for ( var i = 0; i < tags.length; i++ ) {
78
  // check for active on this post type
79
+ if ( 1 === parseInt( tags[ i ][ addquicktag_post_type ] ) ) {
80
+ //console.log(tags[i]);
81
+ if ( typeof tags[ i ].title == 'undefined' ) {
82
+ tags[ i ].title = ' ';
83
+ }
84
+ console.log( decodeEntities( '&#xf226;' ) );
85
+ if ( typeof tags[ i ].end == 'undefined' ) {
86
+ tags[ i ].end = '';
87
+ }
88
+ if ( typeof tags[ i ].access == 'undefined' ) {
89
+ tags[ i ].access = '';
90
+ }
91
 
92
  /**
93
  * @param id string required Button HTML ID
100
  * @param instance string optional Limit the button to a specific instance of Quicktags, add to all instances if not present.
101
  */
102
  QTags.addButton(
103
+ html_entity_decode( tags[ i ].text ).replace( /"|\\/gi, "" ).toLowerCase(),
104
+ tags[ i ].text,
105
+ tags[ i ].start,
106
+ tags[ i ].end,
107
+ tags[ i ].access,
108
+ tags[ i ].title.replace( /"|\\/gi, "" )
109
  );
110
 
111
  /**
126
  } // end check post type
127
 
128
  // Check the Code buttons, if inside the json
129
+ var code_buttons = addquicktag_tags[ 'code_buttons' ];
130
 
131
  // Fallback, if WP core don't set the var
132
+ if ( typeof typenow == 'undefined' ) {
133
  typenow = '';
134
+ }
135
 
136
  // IF no code buttons was active
137
+ if ( typeof code_buttons == 'undefined' ) {
138
  return;
139
+ }
140
 
141
  // Fallback for no htmlentities settings
142
+ if ( typeof code_buttons.htmlentities == 'undefined' ) {
143
  code_buttons.htmlentities = 0;
144
+ }
145
 
146
  // Fallback for no pre settings
147
+ if ( typeof code_buttons.pre == 'undefined' ) {
148
  code_buttons.pre = 0;
149
+ }
150
 
151
  // if the htmlentities settings is active for each post type (var typenow from WP core)
152
+ if ( code_buttons.htmlentities[ typenow ] === 1 ) {
153
  /**
154
  * ideas for code buttons and optional window with input possibility
155
  *
156
  * @see @see http://bililite.com/blog/2012/08/20/custom-buttons-in-the-wordpress-html-editor/
157
  */
158
+ QTags.addButton( 'toHTML', 'HTML Entities', function( el, canvas ) {
159
  QTags.insertContent(
160
+ get_selected_text( canvas ).replace( /&/g, '&amp;' ).replace( /</g, '&lt;' ).replace( />/g, '&gt;' )
161
  );
162
+ }, 'Encode HTML Entities' );
163
 
164
+ QTags.addButton( 'fromHTML', 'Decode HTML', function( el, canvas ) {
165
  QTags.insertContent(
166
+ get_selected_text( canvas ).replace( /&amp;/g, '&' ).replace( /&lt;/g, '<' ).replace( /&gt;/g, '>' )
167
  );
168
+ }, 'Decode HTML Entities' );
169
  }
170
 
171
  // if the pre settings is active for each post type (var typenow from WP core)
172
+ if ( code_buttons.pre[ typenow ] === 1 ) {
173
+ var code_languages = [ 'html', 'javascript', 'css', 'bash', 'php', 'vb' ];
174
  // Insert before the code button
175
+ edButtons[ 109 ] = {
176
+ html: function( id_prefix ) {
177
  return '<select id="' + id_prefix + 'code_language" class="language-select">' +
178
+ '<option>blank</option>' + // include a blank option
179
+ '<option>' + code_languages.join( '</option><option>' ) + '</option>' +
180
+ '</select>';
181
  }
182
  };
183
+ $( 'body' ).on( 'change', 'select.language-select', function() {
184
+ var lang = $( this ).val();
185
  // 110 is the code qt-tag from core, wp-includes/js/quicktags.js
186
+ edButtons[ 110 ].tagStart = lang ? '<code class="language-' + lang + '">' : '<code>';
187
+ } );
188
 
189
  // Add pre button for preformatted text
190
+ QTags.addButton( 'qt_pre', 'pre', '<pre>', '</pre>', '', 'Preformatted text', '108' );
191
  }
192
 
193
+ } );
194
+
195
+ var decodeEntities = (
196
+ function() {
197
+ // this prevents any overhead from creating the object each time
198
+ var element = document.createElement( 'div' );
199
+
200
+ function decodeHTMLEntities( str ) {
201
+ if ( str && typeof str === 'string' ) {
202
+ // strip script/html tags
203
+ str = str.replace( /<script[^>]*>([\S\s]*?)<\/script>/gmi, '' );
204
+ str = str.replace( /<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gmi, '' );
205
+ element.innerHTML = str;
206
+ str = element.textContent;
207
+ element.textContent = '';
208
+ }
209
+
210
+ return str;
211
+ }
212
 
213
+ return decodeHTMLEntities;
214
+ }
215
+ )();
js/add-quicktags.js CHANGED
@@ -1,10 +1 @@
1
- /**
2
- * AddQuicktag Script to add buttons to html-editor
3
- *
4
- * @package AddQuicktag Plugin
5
- * @author Frank Bueltge <frank@bueltge.de>
6
- * @version 12/19/2014
7
- * @since 2.0.0
8
- */
9
-
10
- jQuery(document).ready(function(e){function t(e){try{var t=document.createElement("textarea");return t.innerHTML=e,t.value}catch(n){}try{var a=document.createElement("div");if(a.innerHTML=e.replace(/</g,"&lt;").replace(/>/g,"&gt;"),"undefined"!=typeof a.innerText)return a.innerText}catch(n){}}function n(e){return e.focus(),document.selection?document.selection.createRange().text:e.value.substring(e.selectionStart,e.selectionEnd)}if("undefined"!=typeof addquicktag_tags&&"undefined"!=typeof addquicktag_post_type&&"undefined"!=typeof addquicktag_pt_for_js){var a=addquicktag_tags.buttons;if("undefined"!=typeof a){if(e.inArray("addquicktag_post_type",addquicktag_pt_for_js))for(var o=0;o<a.length;o++)1===parseInt(a[o][addquicktag_post_type])&&("undefined"==typeof a[o].title&&(a[o].title=" "),"undefined"==typeof a[o].end&&(a[o].end=""),"undefined"==typeof a[o].access&&(a[o].access=""),QTags.addButton(t(a[o].text).replace(/"|\\/gi,"").toLowerCase(),a[o].text,a[o].start,a[o].end,a[o].access,a[o].title.replace(/"|\\/gi,"")));var i=addquicktag_tags.code_buttons;if("undefined"==typeof typenow&&(typenow=""),"undefined"!=typeof i&&("undefined"==typeof i.htmlentities&&(i.htmlentities=0),"undefined"==typeof i.pre&&(i.pre=0),1===i.htmlentities[typenow]&&(QTags.addButton("toHTML","HTML Entities",function(e,t){QTags.insertContent(n(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"))},"Encode HTML Entities"),QTags.addButton("fromHTML","Decode HTML",function(e,t){QTags.insertContent(n(t).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">"))},"Decode HTML Entities")),1===i.pre[typenow])){var d=["html","javascript","css","bash","php","vb"];edButtons[109]={html:function(e){return'<select id="'+e+'code_language" class="language-select"><option>blank</option><option>'+d.join("</option><option>")+"</option></select>"}},e("body").on("change","select.language-select",function(){var t=e(this).val();edButtons[110].tagStart=t?'<code class="language-'+t+'">':"<code>"}),QTags.addButton("qt_pre","pre","<pre>","</pre>","","Preformatted text","108")}}}});
1
+ jQuery(document).ready(function(a){function b(a){try{var b=document.createElement("textarea");return b.innerHTML=a,b.value}catch(c){}try{var d=document.createElement("div");if(d.innerHTML=a.replace(/</g,"&lt;").replace(/>/g,"&gt;"),"undefined"!=typeof d.innerText)return d.innerText}catch(c){}}function c(a){return a.focus(),document.selection?document.selection.createRange().text:a.value.substring(a.selectionStart,a.selectionEnd)}if("undefined"!=typeof addquicktag_tags&&"undefined"!=typeof addquicktag_post_type&&"undefined"!=typeof addquicktag_pt_for_js){var d=addquicktag_tags.buttons;if("undefined"!=typeof d){if(a.inArray("addquicktag_post_type",addquicktag_pt_for_js))for(var e=0;e<d.length;e++)1===parseInt(d[e][addquicktag_post_type])&&("undefined"==typeof d[e].title&&(d[e].title=" "),console.log(decodeEntities("&#xf226;")),"undefined"==typeof d[e].end&&(d[e].end=""),"undefined"==typeof d[e].access&&(d[e].access=""),QTags.addButton(b(d[e].text).replace(/"|\\/gi,"").toLowerCase(),d[e].text,d[e].start,d[e].end,d[e].access,d[e].title.replace(/"|\\/gi,"")));var f=addquicktag_tags.code_buttons;if("undefined"==typeof typenow&&(typenow=""),"undefined"!=typeof f&&("undefined"==typeof f.htmlentities&&(f.htmlentities=0),"undefined"==typeof f.pre&&(f.pre=0),1===f.htmlentities[typenow]&&(QTags.addButton("toHTML","HTML Entities",function(a,b){QTags.insertContent(c(b).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"))},"Encode HTML Entities"),QTags.addButton("fromHTML","Decode HTML",function(a,b){QTags.insertContent(c(b).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">"))},"Decode HTML Entities")),1===f.pre[typenow])){var g=["html","javascript","css","bash","php","vb"];edButtons[109]={html:function(a){return'<select id="'+a+'code_language" class="language-select"><option>blank</option><option>'+g.join("</option><option>")+"</option></select>"}},a("body").on("change","select.language-select",function(){var b=a(this).val();edButtons[110].tagStart=b?'<code class="language-'+b+'">':"<code>"}),QTags.addButton("qt_pre","pre","<pre>","</pre>","","Preformatted text","108")}}}});var decodeEntities=function(){function a(a){return a&&"string"==typeof a&&(a=a.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),a=a.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),b.innerHTML=a,a=b.textContent,b.textContent=""),a}var b=document.createElement("div");return a}();
 
 
 
 
 
 
 
 
 
js/add-quicktags_32.js CHANGED
@@ -1,8 +1 @@
1
- /**
2
- * AddQuicktag Script to add buttons to html-editor for WordPress version smaller 3.3
3
- * @since 2.0.0
4
- * @package AddQuicktag Plugin
5
- */
6
-
7
- jQuery(document).ready(function($){if(typeof addquicktag_tags=="undefined")return;var tags=addquicktag_tags["buttons"];var wpaqToolbar=document.getElementById("ed_toolbar");if(typeof tags!=="undefined"&&wpaqToolbar){var wpaqBut;for(var i=0;i<tags.length;i++){if(typeof tags[i].title=="undefined")tags[i].title=" ";if(typeof tags[i].end=="undefined")tags[i].end="";if(typeof tags[i].access=="undefined")tags[i].access="";wpaqNr=edButtons.length;edButtons[wpaqNr]=new edButton(tags[i].text.toLowerCase(),
8
- tags[i].text,tags[i].start,tags[i].end,tags[i].access,tags[i].title);wpaqBut=wpaqToolbar.lastChild;while(wpaqBut.nodeType!=1)wpaqBut=wpaqBut.previousSibling;wpaqBut=wpaqBut.cloneNode(true);wpaqBut.id="ed_"+wpaqNr;wpaqBut._idx=wpaqNr;wpaqBut.value=tags[i].text;wpaqBut.title=tags[i].title;wpaqBut.onclick=function(){edInsertTag(edCanvas,this._idx);return false;};wpaqToolbar.appendChild(wpaqBut);}}});
1
+ jQuery(document).ready(function(a){if("undefined"!=typeof addquicktag_tags){var b=addquicktag_tags.buttons,c=document.getElementById("ed_toolbar");if("undefined"!=typeof b&&c)for(var d,e,f=0;f<b.length;f++){for("undefined"==typeof b[f].title&&(b[f].title=" "),"undefined"==typeof b[f].end&&(b[f].end=""),"undefined"==typeof b[f].access&&(b[f].access=""),e=edButtons.length,edButtons[e]=new edButton(b[f].text.toLowerCase(),b[f].text,b[f].start,b[f].end,b[f].access,b[f].title),d=c.lastChild;1!=d.nodeType;)d=d.previousSibling;d=d.cloneNode(!0),d.id="ed_"+e,d._idx=e,d.value=b[f].text,d.title=b[f].title,d.onclick=function(){return edInsertTag(edCanvas,this._idx),!1},c.appendChild(d)}}});
 
 
 
 
 
 
 
js/dashicons-picker.dev.js ADDED
@@ -0,0 +1,347 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Dashicons Picker
3
+ *
4
+ * Based on: https://github.com/bradvin/dashicons-picker/
5
+ */
6
+
7
+ ( function ( $ ) {
8
+
9
+ /**
10
+ *
11
+ * @returns {void}
12
+ */
13
+ $.fn.dashiconsPicker = function () {
14
+
15
+ /**
16
+ * Dashicons, in CSS order
17
+ *
18
+ * @type Array
19
+ */
20
+ var icons = [
21
+ 'menu',
22
+ 'admin-site',
23
+ 'dashboard',
24
+ 'admin-media',
25
+ 'admin-page',
26
+ 'admin-comments',
27
+ 'admin-appearance',
28
+ 'admin-plugins',
29
+ 'admin-users',
30
+ 'admin-tools',
31
+ 'admin-settings',
32
+ 'admin-network',
33
+ 'admin-generic',
34
+ 'admin-home',
35
+ 'admin-collapse',
36
+ 'filter',
37
+ 'admin-customizer',
38
+ 'admin-multisite',
39
+ 'admin-links',
40
+ 'format-links',
41
+ 'admin-post',
42
+ 'format-standard',
43
+ 'format-image',
44
+ 'format-gallery',
45
+ 'format-audio',
46
+ 'format-video',
47
+ 'format-chat',
48
+ 'format-status',
49
+ 'format-aside',
50
+ 'format-quote',
51
+ 'welcome-write-blog',
52
+ 'welcome-edit-page',
53
+ 'welcome-add-page',
54
+ 'welcome-view-site',
55
+ 'welcome-widgets-menus',
56
+ 'welcome-comments',
57
+ 'welcome-learn-more',
58
+ 'image-crop',
59
+ 'image-rotate',
60
+ 'image-rotate-left',
61
+ 'image-rotate-right',
62
+ 'image-flip-vertical',
63
+ 'image-flip-horizontal',
64
+ 'image-filter',
65
+ 'undo',
66
+ 'redo',
67
+ 'editor-bold',
68
+ 'editor-italic',
69
+ 'editor-ul',
70
+ 'editor-ol',
71
+ 'editor-quote',
72
+ 'editor-alignleft',
73
+ 'editor-aligncenter',
74
+ 'editor-alignright',
75
+ 'editor-insertmore',
76
+ 'editor-spellcheck',
77
+ 'editor-distractionfree',
78
+ 'editor-expand',
79
+ 'editor-contract',
80
+ 'editor-kitchensink',
81
+ 'editor-underline',
82
+ 'editor-justify',
83
+ 'editor-textcolor',
84
+ 'editor-paste-word',
85
+ 'editor-paste-text',
86
+ 'editor-removeformatting',
87
+ 'editor-video',
88
+ 'editor-customchar',
89
+ 'editor-outdent',
90
+ 'editor-indent',
91
+ 'editor-help',
92
+ 'editor-strikethrough',
93
+ 'editor-unlink',
94
+ 'editor-rtl',
95
+ 'editor-break',
96
+ 'editor-code',
97
+ 'editor-paragraph',
98
+ 'editor-table',
99
+ 'align-left',
100
+ 'align-right',
101
+ 'align-center',
102
+ 'align-none',
103
+ 'lock',
104
+ 'unlock',
105
+ 'calendar',
106
+ 'calendar-alt',
107
+ 'visibility',
108
+ 'hidden',
109
+ 'post-status',
110
+ 'edit',
111
+ 'post-trash',
112
+ 'trash',
113
+ 'sticky',
114
+ 'external',
115
+ 'arrow-up',
116
+ 'arrow-down',
117
+ 'arrow-left',
118
+ 'arrow-right',
119
+ 'arrow-up-alt',
120
+ 'arrow-down-alt',
121
+ 'arrow-left-alt',
122
+ 'arrow-right-alt',
123
+ 'arrow-up-alt2',
124
+ 'arrow-down-alt2',
125
+ 'arrow-left-alt2',
126
+ 'arrow-right-alt2',
127
+ 'leftright',
128
+ 'sort',
129
+ 'randomize',
130
+ 'list-view',
131
+ 'excerpt-view',
132
+ 'grid-view',
133
+ 'hammer',
134
+ 'art',
135
+ 'migrate',
136
+ 'performance',
137
+ 'universal-access',
138
+ 'universal-access-alt',
139
+ 'tickets',
140
+ 'nametag',
141
+ 'clipboard',
142
+ 'heart',
143
+ 'megaphone',
144
+ 'schedule',
145
+ 'wordpress',
146
+ 'wordpress-alt',
147
+ 'pressthis',
148
+ 'update',
149
+ 'screenoptions',
150
+ 'cart',
151
+ 'feedback',
152
+ 'cloud',
153
+ 'translation',
154
+ 'tag',
155
+ 'category',
156
+ 'archive',
157
+ 'tagcloud',
158
+ 'text',
159
+ 'media-archive',
160
+ 'media-audio',
161
+ 'media-code',
162
+ 'media-default',
163
+ 'media-document',
164
+ 'media-interactive',
165
+ 'media-spreadsheet',
166
+ 'media-text',
167
+ 'media-video',
168
+ 'playlist-audio',
169
+ 'playlist-video',
170
+ 'controls-play',
171
+ 'controls-pause',
172
+ 'controls-forward',
173
+ 'controls-skipforward',
174
+ 'controls-back',
175
+ 'controls-skipback',
176
+ 'controls-repeat',
177
+ 'controls-volumeon',
178
+ 'controls-volumeoff',
179
+ 'yes',
180
+ 'no',
181
+ 'no-alt',
182
+ 'plus',
183
+ 'plus-alt',
184
+ 'plus-alt2',
185
+ 'minus',
186
+ 'dismiss',
187
+ 'marker',
188
+ 'star-filled',
189
+ 'star-half',
190
+ 'star-empty',
191
+ 'flag',
192
+ 'info',
193
+ 'warning',
194
+ 'share',
195
+ 'share1',
196
+ 'share-alt',
197
+ 'share-alt2',
198
+ 'twitter',
199
+ 'rss',
200
+ 'email',
201
+ 'email-alt',
202
+ 'facebook',
203
+ 'facebook-alt',
204
+ 'networking',
205
+ 'googleplus',
206
+ 'location',
207
+ 'location-alt',
208
+ 'camera',
209
+ 'images-alt',
210
+ 'images-alt2',
211
+ 'video-alt',
212
+ 'video-alt2',
213
+ 'video-alt3',
214
+ 'vault',
215
+ 'shield',
216
+ 'shield-alt',
217
+ 'sos',
218
+ 'search',
219
+ 'slides',
220
+ 'analytics',
221
+ 'chart-pie',
222
+ 'chart-bar',
223
+ 'chart-line',
224
+ 'chart-area',
225
+ 'groups',
226
+ 'businessman',
227
+ 'id',
228
+ 'id-alt',
229
+ 'products',
230
+ 'awards',
231
+ 'forms',
232
+ 'testimonial',
233
+ 'portfolio',
234
+ 'book',
235
+ 'book-alt',
236
+ 'download',
237
+ 'upload',
238
+ 'backup',
239
+ 'clock',
240
+ 'lightbulb',
241
+ 'microphone',
242
+ 'desktop',
243
+ 'tablet',
244
+ 'smartphone',
245
+ 'phone',
246
+ 'smiley',
247
+ 'index-card',
248
+ 'carrot',
249
+ 'building',
250
+ 'store',
251
+ 'album',
252
+ 'palmtree',
253
+ 'tickets-alt',
254
+ 'money',
255
+ 'thumbs-up',
256
+ 'thumbs-down',
257
+ 'layout',
258
+ '',
259
+ '',
260
+ ''
261
+ ];
262
+
263
+ return this.each( function () {
264
+
265
+ var button = $( this );
266
+
267
+ button.on( 'click.dashiconsPicker', function () {
268
+ createPopup( button );
269
+ } );
270
+
271
+ function createPopup( button ) {
272
+
273
+ var target = $( button.data( 'target' ) ),
274
+ popup = $( '<div class="dashicon-picker-container"> \
275
+ <div class="dashicon-picker-control" /> \
276
+ <ul class="dashicon-picker-list" /> \
277
+ </div>' )
278
+ .css( {
279
+ 'top': button.offset().top,
280
+ 'left': button.offset().left
281
+ } ),
282
+ list = popup.find( '.dashicon-picker-list' );
283
+
284
+ for ( var i in icons ) {
285
+ list.append( '<li data-icon="' + icons[i] + '"><a href="#" title="' + icons[i] + '"><span class="dashicons dashicons-' + icons[i] + '"></span></a></li>' );
286
+ };
287
+
288
+ $( 'a', list ).click( function ( e ) {
289
+ e.preventDefault();
290
+ var title = $( this ).attr( 'title' );
291
+ target.val( 'dashicons-' + title );
292
+ removePopup();
293
+ } );
294
+
295
+ var control = popup.find( '.dashicon-picker-control' );
296
+
297
+ control.html( '<a data-direction="back" href="#"> \
298
+ <span class="dashicons dashicons-arrow-left-alt2"></span></a> \
299
+ <input type="text" class="" placeholder="Search" /> \
300
+ <a data-direction="forward" href="#"><span class="dashicons dashicons-arrow-right-alt2"></span></a>'
301
+ );
302
+
303
+ $( 'a', control ).click( function ( e ) {
304
+ e.preventDefault();
305
+ if ( $( this ).data( 'direction' ) === 'back' ) {
306
+ $( 'li:gt(' + ( icons.length - 26 ) + ')', list ).prependTo( list );
307
+ } else {
308
+ $( 'li:lt(25)', list ).appendTo( list );
309
+ }
310
+ } );
311
+
312
+ popup.appendTo( 'body' ).show();
313
+
314
+ $( 'input', control ).on( 'keyup', function ( e ) {
315
+ var search = $( this ).val();
316
+ if ( search === '' ) {
317
+ $( 'li:lt(25)', list ).show();
318
+ } else {
319
+ $( 'li', list ).each( function () {
320
+ if ( $( this ).data( 'icon' ).toLowerCase().indexOf( search.toLowerCase() ) !== -1 ) {
321
+ $( this ).show();
322
+ } else {
323
+ $( this ).hide();
324
+ }
325
+ } );
326
+ }
327
+ } );
328
+
329
+ $( document ).bind( 'mouseup.dashicons-picker', function ( e ) {
330
+ if ( ! popup.is( e.target ) && popup.has( e.target ).length === 0 ) {
331
+ removePopup();
332
+ }
333
+ } );
334
+ }
335
+
336
+ function removePopup() {
337
+ $( '.dashicon-picker-container' ).remove();
338
+ $( document ).unbind( '.dashicons-picker' );
339
+ }
340
+ } );
341
+ };
342
+
343
+ $( function () {
344
+ $( '.dashicons-picker' ).dashiconsPicker();
345
+ } );
346
+
347
+ }( jQuery ) );
js/dashicons-picker.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(a){a.fn.dashiconsPicker=function(){var b=["menu","admin-site","dashboard","admin-media","admin-page","admin-comments","admin-appearance","admin-plugins","admin-users","admin-tools","admin-settings","admin-network","admin-generic","admin-home","admin-collapse","filter","admin-customizer","admin-multisite","admin-links","format-links","admin-post","format-standard","format-image","format-gallery","format-audio","format-video","format-chat","format-status","format-aside","format-quote","welcome-write-blog","welcome-edit-page","welcome-add-page","welcome-view-site","welcome-widgets-menus","welcome-comments","welcome-learn-more","image-crop","image-rotate","image-rotate-left","image-rotate-right","image-flip-vertical","image-flip-horizontal","image-filter","undo","redo","editor-bold","editor-italic","editor-ul","editor-ol","editor-quote","editor-alignleft","editor-aligncenter","editor-alignright","editor-insertmore","editor-spellcheck","editor-distractionfree","editor-expand","editor-contract","editor-kitchensink","editor-underline","editor-justify","editor-textcolor","editor-paste-word","editor-paste-text","editor-removeformatting","editor-video","editor-customchar","editor-outdent","editor-indent","editor-help","editor-strikethrough","editor-unlink","editor-rtl","editor-break","editor-code","editor-paragraph","editor-table","align-left","align-right","align-center","align-none","lock","unlock","calendar","calendar-alt","visibility","hidden","post-status","edit","post-trash","trash","sticky","external","arrow-up","arrow-down","arrow-left","arrow-right","arrow-up-alt","arrow-down-alt","arrow-left-alt","arrow-right-alt","arrow-up-alt2","arrow-down-alt2","arrow-left-alt2","arrow-right-alt2","leftright","sort","randomize","list-view","excerpt-view","grid-view","hammer","art","migrate","performance","universal-access","universal-access-alt","tickets","nametag","clipboard","heart","megaphone","schedule","wordpress","wordpress-alt","pressthis","update","screenoptions","cart","feedback","cloud","translation","tag","category","archive","tagcloud","text","media-archive","media-audio","media-code","media-default","media-document","media-interactive","media-spreadsheet","media-text","media-video","playlist-audio","playlist-video","controls-play","controls-pause","controls-forward","controls-skipforward","controls-back","controls-skipback","controls-repeat","controls-volumeon","controls-volumeoff","yes","no","no-alt","plus","plus-alt","plus-alt2","minus","dismiss","marker","star-filled","star-half","star-empty","flag","info","warning","share","share1","share-alt","share-alt2","twitter","rss","email","email-alt","facebook","facebook-alt","networking","googleplus","location","location-alt","camera","images-alt","images-alt2","video-alt","video-alt2","video-alt3","vault","shield","shield-alt","sos","search","slides","analytics","chart-pie","chart-bar","chart-line","chart-area","groups","businessman","id","id-alt","products","awards","forms","testimonial","portfolio","book","book-alt","download","upload","backup","clock","lightbulb","microphone","desktop","tablet","smartphone","phone","smiley","index-card","carrot","building","store","album","palmtree","tickets-alt","money","thumbs-up","thumbs-down","layout","","",""];return this.each(function(){function c(c){var e=a(c.data("target")),f=a('<div class="dashicon-picker-container"> <div class="dashicon-picker-control" /> <ul class="dashicon-picker-list" /> </div>').css({top:c.offset().top,left:c.offset().left}),g=f.find(".dashicon-picker-list");for(var h in b)g.append('<li data-icon="'+b[h]+'"><a href="#" title="'+b[h]+'"><span class="dashicons dashicons-'+b[h]+'"></span></a></li>');a("a",g).click(function(b){b.preventDefault();var c=a(this).attr("title");e.val("dashicons-"+c),d()});var i=f.find(".dashicon-picker-control");i.html('<a data-direction="back" href="#"> <span class="dashicons dashicons-arrow-left-alt2"></span></a> <input type="text" class="" placeholder="Search" /> <a data-direction="forward" href="#"><span class="dashicons dashicons-arrow-right-alt2"></span></a>'),a("a",i).click(function(c){c.preventDefault(),"back"===a(this).data("direction")?a("li:gt("+(b.length-26)+")",g).prependTo(g):a("li:lt(25)",g).appendTo(g)}),f.appendTo("body").show(),a("input",i).on("keyup",function(b){var c=a(this).val();""===c?a("li:lt(25)",g).show():a("li",g).each(function(){-1!==a(this).data("icon").toLowerCase().indexOf(c.toLowerCase())?a(this).show():a(this).hide()})}),a(document).bind("mouseup.dashicons-picker",function(a){f.is(a.target)||0!==f.has(a.target).length||d()})}function d(){a(".dashicon-picker-container").remove(),a(document).unbind(".dashicons-picker")}var e=a(this);e.on("click.dashiconsPicker",function(){c(e)})})},a(function(){a(".dashicons-picker").dashiconsPicker()})}(jQuery);
js/settings.dev.js CHANGED
@@ -1,20 +1,22 @@
1
  /**
2
  * AddQuicktag Script settings page of the plugin
3
- * @since 06/19/2014
4
- * @package AddQuicktag Plugin
 
 
5
  */
6
 
7
  jQuery( document ).ready( function( $ ) {
8
-
9
  $( 'input:checkbox.toggle' ).click( function( event ) {
10
  var i = $( this ).attr( 'value' ),
11
- sel = '#rmqtb' + i +' input:checkbox';
12
-
13
  if ( this.checked ) {
14
  // Iterate each checkbox
15
  $( sel ).each( function() {
16
  this.checked = true;
17
- });
18
  } else {
19
  // Iterate each checkbox
20
  $( sel ).each( function() {
@@ -23,9 +25,9 @@ jQuery( document ).ready( function( $ ) {
23
  }
24
  } );
25
 
26
- $( 'table.rmnlQuicktagSettings' ).delegate( 'td','mouseover mouseout', function(e) {
27
  var hover = 'hover';
28
-
29
  if ( e.type == 'mouseover' ) {
30
  $( this ).parent().addClass( hover );
31
  $( 'table.rmnlQuicktagSettings colgroup' ).eq( $( this ).index() ).addClass( hover );
@@ -35,7 +37,7 @@ jQuery( document ).ready( function( $ ) {
35
  }
36
  } );
37
 
38
- $( 'table.rmnlCoreQuicktagSettings' ).delegate( 'td','mouseover mouseout', function(e) {
39
  var hover = 'hover';
40
 
41
  if ( e.type == 'mouseover' ) {
@@ -47,7 +49,7 @@ jQuery( document ).ready( function( $ ) {
47
  }
48
  } );
49
 
50
- $( 'table.rmnlCodeQuicktagSettings' ).delegate( 'td','mouseover mouseout', function(e) {
51
  var hover = 'hover';
52
 
53
  if ( e.type == 'mouseover' ) {
@@ -59,4 +61,56 @@ jQuery( document ).ready( function( $ ) {
59
  }
60
  } );
61
 
 
62
  } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /**
2
  * AddQuicktag Script settings page of the plugin
3
+ *
4
+ * @version 2015-12-23
5
+ * @since 06/19/2014
6
+ * @package AddQuicktag Plugin
7
  */
8
 
9
  jQuery( document ).ready( function( $ ) {
10
+
11
  $( 'input:checkbox.toggle' ).click( function( event ) {
12
  var i = $( this ).attr( 'value' ),
13
+ sel = '#rmqtb' + i + ' input:checkbox';
14
+
15
  if ( this.checked ) {
16
  // Iterate each checkbox
17
  $( sel ).each( function() {
18
  this.checked = true;
19
+ } );
20
  } else {
21
  // Iterate each checkbox
22
  $( sel ).each( function() {
25
  }
26
  } );
27
 
28
+ $( 'table.rmnlQuicktagSettings' ).delegate( 'td', 'mouseover mouseout', function( e ) {
29
  var hover = 'hover';
30
+
31
  if ( e.type == 'mouseover' ) {
32
  $( this ).parent().addClass( hover );
33
  $( 'table.rmnlQuicktagSettings colgroup' ).eq( $( this ).index() ).addClass( hover );
37
  }
38
  } );
39
 
40
+ $( 'table.rmnlCoreQuicktagSettings' ).delegate( 'td', 'mouseover mouseout', function( e ) {
41
  var hover = 'hover';
42
 
43
  if ( e.type == 'mouseover' ) {
49
  }
50
  } );
51
 
52
+ $( 'table.rmnlCodeQuicktagSettings' ).delegate( 'td', 'mouseover mouseout', function( e ) {
53
  var hover = 'hover';
54
 
55
  if ( e.type == 'mouseover' ) {
61
  }
62
  } );
63
 
64
+ //$( 'table.rmnlQuicktagSettings' ).fixMe();
65
  } );
66
+
67
+ /**
68
+ * Kudos to: http://codepen.io/jgx/pen/wiIGc
69
+ */
70
+ (
71
+ function( $ ) {
72
+ $.fn.fixMe = function() {
73
+ return this.each( function() {
74
+
75
+ var $this = $( this ),
76
+ $t_fixed, $x, $th_width;
77
+
78
+ function init() {
79
+ $this.wrap( '<div class="container" />' );
80
+ $t_fixed = $this.clone();
81
+ $t_fixed.find( "tbody" ).remove().end().addClass( "fixed" ).insertBefore( $this );
82
+ resizeFixed();
83
+ }
84
+
85
+ function resizeFixed() {
86
+ $x = 0;
87
+ $t_fixed.find( "th" ).each( function( index ) {
88
+ $x++;
89
+ $th_width = $this.find( "th" ).eq( index ).outerWidth();
90
+ // The first 3 columns are sm
91
+ if ( $x < 4 ) {
92
+ $th_width = $th_width - 11;
93
+ }
94
+ $( this ).css( "width", $th_width + "px" );
95
+ } );
96
+ }
97
+
98
+ function scrollFixed() {
99
+ var offset = $( this ).scrollTop(),
100
+ tableOffsetTop = $this.offset().top,
101
+ tableOffsetBottom = tableOffsetTop + $this.height() - $this.find( "thead" ).height();
102
+ if ( offset < tableOffsetTop || offset > tableOffsetBottom ) {
103
+ $t_fixed.hide();
104
+ } else if ( offset >= tableOffsetTop && offset <= tableOffsetBottom && $t_fixed.is( ":hidden" ) ) {
105
+ $t_fixed.show();
106
+ }
107
+ }
108
+
109
+ $( window ).resize( resizeFixed );
110
+ $( window ).scroll( scrollFixed );
111
+ init();
112
+
113
+ } );
114
+ };
115
+ }
116
+ )( jQuery );
js/settings.js CHANGED
@@ -1,7 +1 @@
1
- /**
2
- * AddQuicktag Script settings page of the plugin
3
- * @since 06/19/2014
4
- * @package AddQuicktag Plugin
5
- */
6
-
7
- jQuery(document).ready(function(e){e("input:checkbox.toggle").click(function(){var t=e(this).attr("value"),s="#rmqtb"+t+" input:checkbox";e(s).each(this.checked?function(){this.checked=!0}:function(){this.checked=!1})}),e("table.rmnlQuicktagSettings").delegate("td","mouseover mouseout",function(t){var s="hover";"mouseover"==t.type?(e(this).parent().addClass(s),e("table.rmnlQuicktagSettings colgroup").eq(e(this).index()).addClass(s)):(e(this).parent().removeClass(s),e("table.rmnlQuicktagSettings colgroup").eq(e(this).index()).removeClass(s))}),e("table.rmnlCoreQuicktagSettings").delegate("td","mouseover mouseout",function(t){var s="hover";"mouseover"==t.type?(e(this).parent().addClass(s),e("table.rmnlCoreQuicktagSettings colgroup").eq(e(this).index()).addClass(s)):(e(this).parent().removeClass(s),e("table.rmnlCoreQuicktagSettings colgroup").eq(e(this).index()).removeClass(s))}),e("table.rmnlCodeQuicktagSettings").delegate("td","mouseover mouseout",function(t){var s="hover";"mouseover"==t.type?(e(this).parent().addClass(s),e("table.rmnlCodeQuicktagSettings colgroup").eq(e(this).index()).addClass(s)):(e(this).parent().removeClass(s),e("table.rmnlCodeQuicktagSettings colgroup").eq(e(this).index()).removeClass(s))})});
1
+ jQuery(document).ready(function(a){a("input:checkbox.toggle").click(function(b){var c=a(this).attr("value"),d="#rmqtb"+c+" input:checkbox";this.checked?a(d).each(function(){this.checked=!0}):a(d).each(function(){this.checked=!1})}),a("table.rmnlQuicktagSettings").delegate("td","mouseover mouseout",function(b){var c="hover";"mouseover"==b.type?(a(this).parent().addClass(c),a("table.rmnlQuicktagSettings colgroup").eq(a(this).index()).addClass(c)):(a(this).parent().removeClass(c),a("table.rmnlQuicktagSettings colgroup").eq(a(this).index()).removeClass(c))}),a("table.rmnlCoreQuicktagSettings").delegate("td","mouseover mouseout",function(b){var c="hover";"mouseover"==b.type?(a(this).parent().addClass(c),a("table.rmnlCoreQuicktagSettings colgroup").eq(a(this).index()).addClass(c)):(a(this).parent().removeClass(c),a("table.rmnlCoreQuicktagSettings colgroup").eq(a(this).index()).removeClass(c))}),a("table.rmnlCodeQuicktagSettings").delegate("td","mouseover mouseout",function(b){var c="hover";"mouseover"==b.type?(a(this).parent().addClass(c),a("table.rmnlCodeQuicktagSettings colgroup").eq(a(this).index()).addClass(c)):(a(this).parent().removeClass(c),a("table.rmnlCodeQuicktagSettings colgroup").eq(a(this).index()).removeClass(c))})}),function(a){a.fn.fixMe=function(){return this.each(function(){function b(){h.wrap('<div class="container" />'),e=h.clone(),e.find("tbody").remove().end().addClass("fixed").insertBefore(h),c()}function c(){f=0,e.find("th").each(function(b){f++,g=h.find("th").eq(b).outerWidth(),4>f&&(g-=11),a(this).css("width",g+"px")})}function d(){var b=a(this).scrollTop(),c=h.offset().top,d=c+h.height()-h.find("thead").height();c>b||b>d?e.hide():b>=c&&d>=b&&e.is(":hidden")&&e.show()}var e,f,g,h=a(this);a(window).resize(c),a(window).scroll(d),b()})}}(jQuery);
 
 
 
 
 
 
languages/addquicktag-cs_CZ.mo DELETED
Binary file
languages/addquicktag-cs_CZ.po DELETED
@@ -1,348 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.2\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2015-05-30 23:22+0100\n"
7
- "Last-Translator: Michal Stanke <michal.stanke@mikk.cz>\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=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
13
- "X-Generator: Poedit 1.5.4\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
- "_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"
17
- "X-Textdomain-Support: yes\n"
18
- "Language: cs_CZ\n"
19
- "X-Poedit-Basepath: .\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
-
22
- # @ addquicktag
23
- #. translators: plugin header field 'Name'
24
- #: addquicktag.php:0
25
- msgid "AddQuicktag"
26
- msgstr "AddQuicktag"
27
-
28
- # @ addquicktag
29
- #. translators: plugin header field 'PluginURI'
30
- #: addquicktag.php:0
31
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
32
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
33
-
34
- # @ addquicktag
35
- #. translators: plugin header field 'Author'
36
- #: addquicktag.php:0
37
- msgid "Frank Bültge"
38
- msgstr "Frank Bültge"
39
-
40
- # @ addquicktag
41
- #. translators: plugin header field 'AuthorURI'
42
- #: addquicktag.php:0
43
- msgid "http://bueltge.de"
44
- msgstr "http://bueltge.de"
45
-
46
- # @ default
47
- # @ addquicktag
48
- #: inc/class-settings.php:172 inc/class-settings.php:192
49
- #: inc/class-settings.php:210 inc/class-settings.php:218
50
- msgid "Settings"
51
- msgstr "Nastavení"
52
-
53
- # @ addquicktag
54
- #: inc/class-settings.php:241
55
- msgid "Add or delete Quicktag buttons"
56
- msgstr "Přidat nebo smazat tlačítka"
57
-
58
- # @ addquicktag
59
- #: inc/class-settings.php:408
60
- msgid "Button Label*"
61
- msgstr "Popisek tlačítka*"
62
-
63
- # @ addquicktag
64
- #: inc/class-settings.php:300 inc/class-settings.php:409
65
- msgid "Title Attribute"
66
- msgstr "Atribut title"
67
-
68
- # @ addquicktag
69
- #: inc/class-settings.php:412
70
- msgid "Start Tag(s)*"
71
- msgstr "Počáteční značky*"
72
-
73
- # @ addquicktag
74
- #: inc/class-settings.php:302 inc/class-settings.php:413
75
- msgid "End Tag(s)"
76
- msgstr "Koncové značky"
77
-
78
- # @ addquicktag
79
- #: inc/class-settings.php:416
80
- msgid "Access Key"
81
- msgstr "Access Key"
82
-
83
- # @ default
84
- #: inc/class-settings.php:432
85
- msgid "Save Changes"
86
- msgstr "Uložit změny"
87
-
88
- # @ addquicktag
89
- #: inc/class-settings.php:472
90
- msgid "Like this plugin?"
91
- msgstr "Líbí se vám tento plugin?"
92
-
93
- # @ addquicktag
94
- #: inc/class-settings.php:475
95
- msgid "Here's how you can give back:"
96
- msgstr "Jak můžete zaslat zpětnou vazbu:"
97
-
98
- # @ addquicktag
99
- #: inc/class-settings.php:478
100
- msgid "The Plugin on the WordPress plugin repository"
101
- msgstr "Stránka pluginu v adresáři WordPressu"
102
-
103
- # @ addquicktag
104
- #: inc/class-settings.php:478
105
- msgid "Give the plugin a good rating."
106
- msgstr "Dejte pluginu dobré hodnocení."
107
-
108
- # @ addquicktag
109
- #: inc/class-settings.php:484
110
- msgid "Donate via PayPal"
111
- msgstr "Přispějte přes PayPal"
112
-
113
- # @ addquicktag
114
- #: inc/class-settings.php:484
115
- msgid "Donate a few euros."
116
- msgstr "Přispějte několik Euro."
117
-
118
- # @ addquicktag
119
- #: inc/class-settings.php:487
120
- msgid "Frank Bültge's Amazon Wish List"
121
- msgstr "Frank Bültge's Amazon Wish List"
122
-
123
- # @ addquicktag
124
- #: inc/class-settings.php:487
125
- msgid "Get me something from my wish list."
126
- msgstr "Pořiďte mi něco z mého seznamu přání."
127
-
128
- # @ addquicktag
129
- #: inc/class-settings.php:511
130
- msgid "About this plugin"
131
- msgstr "O tomto pluginu"
132
-
133
- # @ addquicktag
134
- #: inc/class-settings.php:515
135
- msgid "Version:"
136
- msgstr "Verze:"
137
-
138
- # @ addquicktag
139
- #: inc/class-settings.php:520
140
- msgid "Description:"
141
- msgstr "Popis:"
142
-
143
- # @ addquicktag
144
- #: inc/class-settings.php:304 inc/class-settings.php:417
145
- msgid "Order"
146
- msgstr "Pořadí"
147
-
148
- # @ addquicktag
149
- #: inc/class-settings.php:305
150
- msgid "Visual"
151
- msgstr "Vizuální editor"
152
-
153
- # @ addquicktag
154
- #. translators: plugin header field 'Description'
155
- #: addquicktag.php:0
156
- msgid ""
157
- "Allows you to easily add custom Quicktags to the html- and visual-editor."
158
- msgstr ""
159
- "Umožňuje snadno přidat vlastní rychlé značky v režimu vizuálního editoru i "
160
- "HTML."
161
-
162
- # @ addquicktag
163
- #: inc/class-imexport.php:106
164
- msgid "Export"
165
- msgstr "Export"
166
-
167
- # @ addquicktag
168
- #: inc/class-imexport.php:109
169
- msgid ""
170
- "When you click the button below the plugin will create an JSON file for you "
171
- "to save to your computer."
172
- msgstr ""
173
- "Po klepnutí na tlačítko níže plugin vytvoří JSON soubor pro uložení exportu "
174
- "do vašeho počítače."
175
-
176
- # @ addquicktag
177
- #: inc/class-imexport.php:111
178
- msgid "This format, a custom JSON, will contain your options from quicktags."
179
- msgstr "Tento formát, vlastní JSON, bude obsahovat vaše nastavení."
180
-
181
- # @ addquicktag
182
- #: inc/class-imexport.php:113
183
- msgid ""
184
- "Once you’ve saved the download file, you can use the Import function in "
185
- "another WordPress installation to import this site."
186
- msgstr ""
187
- "Po uložení staženého souboru můžete použít v jakékoliv další instalaci "
188
- "WordPressu funkci pro import nastavení z této stránky."
189
-
190
- # @ addquicktag
191
- #: inc/class-imexport.php:118
192
- msgid "Download Export File"
193
- msgstr "Stáhnout soubor s exportem"
194
-
195
- # @ addquicktag
196
- #: inc/class-imexport.php:126
197
- msgid "Import"
198
- msgstr "Import"
199
-
200
- # @ addquicktag
201
- #: inc/class-imexport.php:135
202
- msgid "Upload file and import"
203
- msgstr "Nahrát soubor a importovat"
204
-
205
- # @ addquicktag
206
- #: inc/class-imexport.php:189
207
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
208
- msgstr "Nastavení nebylo aktualizováno - nemáte dostatečná oprávnění!"
209
-
210
- # @ addquicktag
211
- #: inc/class-settings.php:572
212
- msgid "Options saved."
213
- msgstr "Nastavení uloženo."
214
-
215
- # @ addquicktag
216
- #: inc/class-settings.php:490
217
- msgid ""
218
- "Please give me feedback, contribute and file technical bugs on this GitHub "
219
- "Repo, use Issues."
220
- msgstr ""
221
- "Pošlete mi prosím reakci, jak se vám plugin líbí, přispějte nebo nahlaste "
222
- "technické chyby v tomto GitHub repositáři (použijte Issues)."
223
-
224
- # @ addquicktag
225
- #: inc/class-settings.php:490
226
- msgid "Github Repo for Contribute, Issues & Bugs"
227
- msgstr "GitHub repositář"
228
-
229
- # @ addquicktag
230
- #: inc/class-code-quicktags.php:81
231
- msgid "Enhanced Code Quicktag buttons"
232
- msgstr ""
233
-
234
- # @ addquicktag
235
- #: inc/class-code-quicktags.php:82
236
- msgid "Select the checkbox below to add enhanced code buttons."
237
- msgstr ""
238
-
239
- # @ addquicktag
240
- #: inc/class-code-quicktags.php:83
241
- msgid "pre: Enhanced Code buttons"
242
- msgstr ""
243
-
244
- # @ addquicktag
245
- #: inc/class-code-quicktags.php:84
246
- msgid ""
247
- "Enhanced the default Code buttons. Add a pull down menu for different "
248
- "languages before the default code button and include this as class inside "
249
- "the code tag. Also add a pre button for preformatted text."
250
- msgstr ""
251
-
252
- # @ addquicktag
253
- #: inc/class-code-quicktags.php:85
254
- msgid "htmlentities: HTML Entities, HTML Decode"
255
- msgstr "htmlentities: HTML Entities, HTML Decode"
256
-
257
- # @ addquicktag
258
- #: inc/class-code-quicktags.php:86
259
- msgid ""
260
- "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;"
261
- "lt; and back."
262
- msgstr ""
263
- "Přidejte tlačítka pro kódování nevyhovujících HTML entit, jako &lt; na &amp;"
264
- "lt; nebo zpět."
265
-
266
- # @ addquicktag
267
- #: inc/class-code-quicktags.php:104 inc/class-remove-quicktags.php:85
268
- msgid "Button"
269
- msgstr "Tlačítko"
270
-
271
- # @ addquicktag
272
- #: inc/class-imexport.php:129
273
- msgid ""
274
- "If you have quicktags from other installs, the plugin can import those into "
275
- "this site. To get started, choose a file to import. (json-Format)"
276
- msgstr ""
277
- "Pokud máte nastavené značky v jiné instalaci, tento plugin umožňuje jejich "
278
- "import na tuto stránku. Jako první vyberte soubor pro import. (ve formátu "
279
- "JSON)."
280
-
281
- # @ addquicktag
282
- #: inc/class-imexport.php:198
283
- msgid "Please upload a valid .json file"
284
- msgstr "Nahrajte prosím validní soubor .json."
285
-
286
- # @ addquicktag
287
- #: inc/class-imexport.php:204
288
- msgid "Please upload a file to import."
289
- msgstr "Nahrajte prosím soubor pro import."
290
-
291
- # @ addquicktag
292
- #: inc/class-remove-quicktags.php:66
293
- msgid "Remove Core Quicktag buttons"
294
- msgstr "Odebrat výchozí tlačítka rychlých značek"
295
-
296
- # @ addquicktag
297
- #: inc/class-remove-quicktags.php:67
298
- msgid ""
299
- "Select the checkbox below to remove a core quicktags in the editors of the "
300
- "respective post type."
301
- msgstr ""
302
- "Pro odebrání výchozích značek zaškrtněte pole níže pro odpovídající typ "
303
- "příspěvku."
304
-
305
- # @ addquicktag
306
- #: inc/class-settings.php:243
307
- msgid ""
308
- "Fill in the fields below to add or edit the quicktags. Fields with * are "
309
- "required. To delete a tag simply empty all fields."
310
- msgstr ""
311
- "Pro přidání rychlé značky přidejte nebo vyplňte pole níže. Pole označená * "
312
- "jsou povinná. Pro smazání vlastní značky jednoduše smažte obsah všech jejích "
313
- "polí."
314
-
315
- # @ addquicktag
316
- #: inc/class-settings.php:299
317
- msgid "Button Label* and"
318
- msgstr "Popisek tlačítka* a"
319
-
320
- # @ addquicktag
321
- #: inc/class-settings.php:301
322
- msgid "Start Tag(s)* and"
323
- msgstr "Počáteční značky* a"
324
-
325
- # @ addquicktag
326
- #: inc/class-settings.php:303
327
- msgid "Access Key and"
328
- msgstr "Access Key a"
329
-
330
- # @ addquicktag
331
- #: inc/class-settings.php:481
332
- msgid ""
333
- "Help inside the community other useres and write answer to this plugin "
334
- "questions."
335
- msgstr ""
336
- "Pomáhejte společně s komunitou dalších uživatelů a pište odpovědi na otázky "
337
- "k tomuto pluginu."
338
-
339
- # @ addquicktag
340
- #: inc/class-settings.php:481
341
- msgid "Help other users in the Support Forum."
342
- msgstr "Pomozte dalším uživatelům na fóru podpory."
343
-
344
- # @ addquicktag
345
- #. translators: plugin header field 'Version'
346
- #: addquicktag.php:0
347
- msgid "2.3.2"
348
- msgstr "2.3.2"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-de_DE.mo DELETED
Binary file
languages/addquicktag-de_DE.po DELETED
@@ -1,306 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.2\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: Mon Jan 05 2015 21:49:42 GMT+0100 (CET)\n"
7
- "Last-Translator: admin <frank@bueltge.de>\n"
8
- "Language-Team: \n"
9
- "Language: German\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-Poedit-Language: \n"
17
- "X-Poedit-Country: \n"
18
- "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
19
- "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
20
- "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
21
- "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
22
- "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
23
- "X-Poedit-Basepath: \n"
24
- "X-Poedit-Bookmarks: \n"
25
- "X-Poedit-SearchPath-0: .\n"
26
- "X-Textdomain-Support: yes\n"
27
- "X-Loco-Target-Locale: de_DE"
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: addquicktag.php:0
31
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
32
- msgstr ""
33
-
34
- #. translators: plugin header field 'Author'
35
- #: addquicktag.php:0
36
- msgid "Frank Bültge"
37
- msgstr ""
38
-
39
- #. translators: plugin header field 'AuthorURI'
40
- #: addquicktag.php:0
41
- msgid "http://bueltge.de"
42
- msgstr ""
43
-
44
- #. translators: plugin header field 'Version'
45
- #: addquicktag.php:0
46
- msgid "2.3.2"
47
- msgstr ""
48
-
49
- #. translators: plugin header field 'Name'
50
- #: addquicktag.php:0
51
- msgid "AddQuicktag"
52
- msgstr "AddQuicktag"
53
-
54
- #: inc/class-settings.php:172
55
- #: inc/class-settings.php:192
56
- #: inc/class-settings.php:210
57
- #: inc/class-settings.php:218
58
- msgid "Settings"
59
- msgstr "Einstellungen"
60
-
61
- #: inc/class-settings.php:241
62
- msgid "Add or delete Quicktag buttons"
63
- msgstr "Ergänze oder lösche Quicktag Buttons"
64
-
65
- #: inc/class-settings.php:408
66
- msgid "Button Label*"
67
- msgstr "Button Name*"
68
-
69
- #: inc/class-settings.php:300
70
- #: inc/class-settings.php:409
71
- msgid "Title Attribute"
72
- msgstr "Title Attribut"
73
-
74
- #: inc/class-settings.php:412
75
- msgid "Start Tag(s)*"
76
- msgstr "Start Tag(s)*"
77
-
78
- #: inc/class-settings.php:302
79
- #: inc/class-settings.php:413
80
- msgid "End Tag(s)"
81
- msgstr "Ende Tag(s)"
82
-
83
- #: inc/class-settings.php:416
84
- msgid "Access Key"
85
- msgstr "Zugriffstaste"
86
-
87
- #: inc/class-settings.php:432
88
- msgid "Save Changes"
89
- msgstr "Änderungen speichern"
90
-
91
- #: inc/class-settings.php:472
92
- msgid "Like this plugin?"
93
- msgstr "Du magst das Plugin?"
94
-
95
- #: inc/class-settings.php:475
96
- msgid "Here's how you can give back:"
97
- msgstr "Über folgende Möglichkeiten kannst du etwas zurück geben:"
98
-
99
- #: inc/class-settings.php:478
100
- msgid "The Plugin on the WordPress plugin repository"
101
- msgstr "Das Plugin im offiziellen WordPress Repository"
102
-
103
- #: inc/class-settings.php:478
104
- msgid "Give the plugin a good rating."
105
- msgstr "Gib dem Plugin eine gute Wertung"
106
-
107
- #: inc/class-settings.php:484
108
- msgid "Donate via PayPal"
109
- msgstr "Spende via Paypal"
110
-
111
- #: inc/class-settings.php:484
112
- msgid "Donate a few euros."
113
- msgstr "Spende einige Euros"
114
-
115
- #: inc/class-settings.php:487
116
- msgid "Frank Bültge's Amazon Wish List"
117
- msgstr "Frank Bültge's Amazon Wunschliste"
118
-
119
- #: inc/class-settings.php:487
120
- msgid "Get me something from my wish list."
121
- msgstr "Suche dir was aus und lass mir ein Objekt meiner Wunschliste zukommen."
122
-
123
- #: inc/class-settings.php:511
124
- msgid "About this plugin"
125
- msgstr "Über das Plugin"
126
-
127
- #: inc/class-settings.php:515
128
- msgid "Version:"
129
- msgstr "Version:"
130
-
131
- #: inc/class-settings.php:520
132
- msgid "Description:"
133
- msgstr "Beschreibung:"
134
-
135
- #: inc/class-settings.php:304
136
- #: inc/class-settings.php:417
137
- msgid "Order"
138
- msgstr "Reihenfolge"
139
-
140
- #: inc/class-settings.php:305
141
- msgid "Visual"
142
- msgstr "Visuell"
143
-
144
- #. translators: plugin header field 'Description'
145
- #: addquicktag.php:0
146
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
147
- msgstr "Erlaubt das einfache Hinzufügen von Quicktags zum html- und visuellen Editor."
148
-
149
- #: inc/class-imexport.php:106
150
- msgid "Export"
151
- msgstr "Exportieren"
152
-
153
- #: inc/class-imexport.php:109
154
- msgid ""
155
- "When you click the button below the plugin will create an JSON file for you "
156
- "to save to your computer."
157
- msgstr ""
158
- "Wenn du unten auf Export-Datei herunterladen klickst, wird das Plugin eine "
159
- "JSON-Datei für dich erstellen, die du auf deinem Computer speichern kannst."
160
-
161
- #: inc/class-imexport.php:111
162
- msgid "This format, a custom JSON, will contain your options from quicktags."
163
- msgstr ""
164
- "Dieses Format, ein benutzerdefniertes JSON, beinhaltet Einstellungen der "
165
- "Quicktags."
166
-
167
- #: inc/class-imexport.php:113
168
- msgid ""
169
- "Once you’ve saved the download file, you can use the Import function in "
170
- "another WordPress installation to import this site."
171
- msgstr ""
172
- "Nachdem die heruntergeladene Datei gespeichert wurde, kannst du die Import-"
173
- "Funktion in einer anderen WordPress Installation nutzen."
174
-
175
- #: inc/class-imexport.php:118
176
- msgid "Download Export File"
177
- msgstr "Export-Datei herunterladen"
178
-
179
- #: inc/class-imexport.php:126
180
- msgid "Import"
181
- msgstr "Importieren"
182
-
183
- #: inc/class-imexport.php:135
184
- msgid "Upload file and import"
185
- msgstr "Datei aktualisieren und importieren"
186
-
187
- #: inc/class-imexport.php:189
188
- msgid "Options not update - you don&lsquo;t have the privileges to do this!"
189
- msgstr ""
190
- "Einstellungen wurden nicht aktualisiert - du hast keine ausreichenden Rechte "
191
- "um dies zu tun!"
192
-
193
- #: inc/class-settings.php:572
194
- msgid "Options saved."
195
- msgstr "Einstellungen gespeichert."
196
-
197
- #: inc/class-settings.php:490
198
- msgid ""
199
- "Please give me feedback, contribute and file technical bugs on this GitHub "
200
- "Repo, use Issues."
201
- msgstr "Bitte gib Feedback, Erweiterungen und Hinweis im Github Repo, nutze Issues."
202
-
203
- #: inc/class-settings.php:490
204
- msgid "Github Repo for Contribute, Issues & Bugs"
205
- msgstr "Github Repo für Erweiterungen, Hinweise & Fehler"
206
-
207
- #: inc/class-code-quicktags.php:81
208
- msgid "Enhanced Code Quicktag buttons"
209
- msgstr "Erweiterte Code Quicktag Buttons"
210
-
211
- #: inc/class-code-quicktags.php:82
212
- msgid "Select the checkbox below to add enhanced code buttons."
213
- msgstr "Wähle die jeweilige Checkbox für die Erweiterung um diese Buttons"
214
-
215
- #: inc/class-code-quicktags.php:83
216
- msgid "pre: Enhanced Code buttons"
217
- msgstr "pre: Erweiterte Code Buttons"
218
-
219
- #: inc/class-code-quicktags.php:84
220
- msgid ""
221
- "Enhanced the default Code buttons. Add a pull down menu for different "
222
- "languages before the default code button and include this as class inside "
223
- "the code tag. Also add a pre button for preformatted text."
224
- msgstr ""
225
- "Erweitert die Standard Code Buttons. Es wird ein Pull Down Menu für "
226
- "verschiedene Sprachen zum Standard Code Button hinzugefügt. Dieser enthält "
227
- "diese Sprachen als Attribut class. Außerdem wird ein pre Button für "
228
- "formatierten Text ergänzt. "
229
-
230
- #: inc/class-code-quicktags.php:85
231
- msgid "htmlentities: HTML Entities, HTML Decode"
232
- msgstr "htmlentities: HTML Entities, HTML Decode"
233
-
234
- #: inc/class-code-quicktags.php:86
235
- msgid ""
236
- "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;"
237
- "lt; and back."
238
- msgstr ""
239
- "Ergänzt zwei Quicktag Buttons zum de- und encodieren von HTML, bspw. &lt; zu "
240
- "&amp;lt; und zurück."
241
-
242
- #: inc/class-code-quicktags.php:104
243
- #: inc/class-remove-quicktags.php:85
244
- msgid "Button"
245
- msgstr "Button"
246
-
247
- #: inc/class-imexport.php:129
248
- msgid ""
249
- "If you have quicktags from other installs, the plugin can import those into "
250
- "this site. To get started, choose a file to import. (json-Format)"
251
- msgstr ""
252
- "Wenn du Quicktags von anderen Installationen hast, dann kannst du diese hier "
253
- "importieren. Wähle dazu die Datei und importiere sie. (json-Format)"
254
-
255
- #: inc/class-imexport.php:198
256
- msgid "Please upload a valid .json file"
257
- msgstr "Bitte lade eine valide .json Datei. "
258
-
259
- #: inc/class-imexport.php:204
260
- msgid "Please upload a file to import."
261
- msgstr "Bitte lade eine Datei zum Import."
262
-
263
- #: inc/class-remove-quicktags.php:66
264
- msgid "Remove Core Quicktag buttons"
265
- msgstr "Entferne Core Quicktag Buttons"
266
-
267
- #: inc/class-remove-quicktags.php:67
268
- msgid ""
269
- "Select the checkbox below to remove a core quicktags in the editors of the "
270
- "respective post type."
271
- msgstr ""
272
- "Wähle die jeweilige Checkbox zum Entfernen von Core Quicktags innerhalb des "
273
- "jeweiligen Editors zum Post Type."
274
-
275
- #: inc/class-settings.php:243
276
- msgid ""
277
- "Fill in the fields below to add or edit the quicktags. Fields with * are "
278
- "required. To delete a tag simply empty all fields."
279
- msgstr ""
280
- "Ergänze die Felder um einen Quicktag zu erzeugen. Felder mit * sind "
281
- "Pflichtfelder. Zum Entfernen von Quicktags lösche die Einträge aller Felder "
282
- "eines Quicktags."
283
-
284
- #: inc/class-settings.php:299
285
- msgid "Button Label* and"
286
- msgstr "Button Label* und"
287
-
288
- #: inc/class-settings.php:301
289
- msgid "Start Tag(s)* and"
290
- msgstr "Start Tag(s)* und"
291
-
292
- #: inc/class-settings.php:303
293
- msgid "Access Key and"
294
- msgstr "Zugangstaste und"
295
-
296
- #: inc/class-settings.php:481
297
- msgid ""
298
- "Help inside the community other useres and write answer to this plugin "
299
- "questions."
300
- msgstr ""
301
- "Hilf in der Community anderen Nutzern und schreibe eine Antwort zur "
302
- "jeweiligen Frage."
303
-
304
- #: inc/class-settings.php:481
305
- msgid "Help other users in the Support Forum."
306
- msgstr "Hilf anderen Anwendern im Support Forum zum Plugin."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-es_ES.mo DELETED
Binary file
languages/addquicktag-es_ES.po DELETED
@@ -1,217 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v1.5.7\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2012-01-09 14:33-0500\n"
7
- "Last-Translator: Tristan Goethel <tristang@doftcom.com>\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-Poedit-Language: French\n"
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\n"
17
- "X-Poedit-Basepath: ../\n"
18
- "X-Textdomain-Support: yes\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
-
21
- # @ addquicktag
22
- #. translators: plugin header field 'Name'
23
- #: addquicktag.php:0
24
- msgid "AddQuicktag"
25
- msgstr "AddQuicktag"
26
-
27
- # @ addquicktag
28
- #. translators: plugin header field 'PluginURI'
29
- #: addquicktag.php:0
30
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
31
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
32
-
33
- # @ addquicktag
34
- #. translators: plugin header field 'Author'
35
- #: addquicktag.php:0
36
- msgid "Frank Bültge"
37
- msgstr "Frank Bültge"
38
-
39
- # @ addquicktag
40
- #. translators: plugin header field 'AuthorURI'
41
- #: addquicktag.php:0
42
- msgid "http://bueltge.de"
43
- msgstr "http://bueltge.de "
44
-
45
- #: inc/class-settings.php:110
46
- #: inc/class-settings.php:127
47
- #: inc/class-settings.php:145
48
- #: inc/class-settings.php:153
49
- msgid "Settings"
50
- msgstr "Configuración"
51
-
52
- # @ addquicktag
53
- #: inc/class-settings.php:178
54
- msgid "Add or delete Quicktag buttons"
55
- msgstr "Agregar o eliminar botones Quicktag"
56
-
57
- # @ addquicktag
58
- #: inc/class-settings.php:209
59
- msgid "Button Label*"
60
- msgstr "Etiqueta del botón*"
61
-
62
- # @ addquicktag
63
- #: inc/class-settings.php:210
64
- msgid "Title Attribute"
65
- msgstr "Atributo del título"
66
-
67
- # @ addquicktag
68
- #: inc/class-settings.php:211
69
- msgid "Start Tag(s)*"
70
- msgstr "Etiqueta(s) de inicio*"
71
-
72
- # @ addquicktag
73
- #: inc/class-settings.php:212
74
- msgid "End Tag(s)"
75
- msgstr "Etiqueta(s) de cierre"
76
-
77
- # @ addquicktag
78
- #: inc/class-settings.php:213
79
- msgid "Access Key"
80
- msgstr "Clave de acceso"
81
-
82
- # @ addquicktag
83
- #: inc/class-settings.php:273
84
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
85
- msgstr "Rellenar los siguientes campos para agregar o editar las quicktags. Los campos con * son obligatorios. Para eliminar una etiqueta, simplemente vacíe todos los campos."
86
-
87
- # @ default
88
- #: inc/class-settings.php:275
89
- msgid "Save Changes"
90
- msgstr "Guardar cambios"
91
-
92
- # @ addquicktag
93
- #: inc/class-settings.php:310
94
- msgid "Like this plugin?"
95
- msgstr "¿Le gusta este complemento?"
96
-
97
- # @ addquicktag
98
- #: inc/class-settings.php:312
99
- msgid "Here's how you can give back:"
100
- msgstr "Esta es la manera en la que puede devolver:"
101
-
102
- # @ addquicktag
103
- #: inc/class-settings.php:314
104
- msgid "The Plugin on the WordPress plugin repository"
105
- msgstr "Complemento en el repositorio de complementos de WordPress"
106
-
107
- # @ addquicktag
108
- #: inc/class-settings.php:314
109
- msgid "Give the plugin a good rating."
110
- msgstr "Otorgar una buena calificación al complemento."
111
-
112
- # @ addquicktag
113
- #: inc/class-settings.php:315
114
- msgid "Donate via PayPal"
115
- msgstr "Donar a través de PayPal"
116
-
117
- # @ addquicktag
118
- #: inc/class-settings.php:315
119
- msgid "Donate a few euros."
120
- msgstr "Donar algunos euros."
121
-
122
- # @ addquicktag
123
- #: inc/class-settings.php:316
124
- msgid "Frank Bültge's Amazon Wish List"
125
- msgstr "Lista de deseos de Amazon de Frank Bültge"
126
-
127
- # @ addquicktag
128
- #: inc/class-settings.php:316
129
- msgid "Get me something from my wish list."
130
- msgstr "Regálame algo de mi lista de deseos"
131
-
132
- # @ addquicktag
133
- #: inc/class-settings.php:335
134
- msgid "About this plugin"
135
- msgstr "Acerca de este complemento"
136
-
137
- #: inc/class-settings.php:338
138
- msgid "Version:"
139
- msgstr "Versión:"
140
-
141
- # @ addquicktag
142
- #: inc/class-settings.php:342
143
- msgid "Description:"
144
- msgstr "Descripción:"
145
-
146
- # @ addquicktag
147
- #: inc/class-settings.php:214
148
- msgid "Order"
149
- msgstr "Pedido"
150
-
151
- # @ addquicktag
152
- #: inc/class-settings.php:215
153
- msgid "Visual"
154
- msgstr "Visual"
155
-
156
- # @ addquicktag
157
- #. translators: plugin header field 'Description'
158
- #: addquicktag.php:0
159
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
160
- msgstr "Le permite agregar rápidamente Quicktags personalizadas al editor de HTML y visual."
161
-
162
- # @ addquicktag
163
- #. translators: plugin header field 'Version'
164
- #: addquicktag.php:0
165
- msgid "2.0.0"
166
- msgstr "2.0.0"
167
-
168
- # @ addquicktag
169
- #: inc/class-imexport.php:64
170
- msgid "Export"
171
- msgstr "Exportar"
172
-
173
- # @ addquicktag
174
- #: inc/class-imexport.php:66
175
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
176
- msgstr "Al hacer clic en el siguiente botón, el complemento creará un archivo XML para que guarde en su computadora. "
177
-
178
- # @ addquicktag
179
- #: inc/class-imexport.php:67
180
- msgid "This format, a custom XML, will contain your options from quicktags."
181
- msgstr "Este formato, un XML personalizado, contendrá sus opciones de las quicktags."
182
-
183
- # @ addquicktag
184
- #: inc/class-imexport.php:68
185
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
186
- msgstr "Una vez que haya guardado el archivo de descarga, puede utilizar la función Importar en otra instalación de WordPress para importar este sitio."
187
-
188
- # @ addquicktag
189
- #: inc/class-imexport.php:72
190
- msgid "Download Export File"
191
- msgstr "Descargar el Archivo para Exportar"
192
-
193
- # @ addquicktag
194
- #: inc/class-imexport.php:80
195
- msgid "Import"
196
- msgstr "Importar"
197
-
198
- # @ addquicktag
199
- #: inc/class-imexport.php:82
200
- msgid "If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import."
201
- msgstr "Si tiene quicktags de otras instalaciones, el complemento puede importarlas a este sitio. Para comenzar, seleccione un archivo para importar."
202
-
203
- # @ addquicktag
204
- #: inc/class-imexport.php:87
205
- msgid "Upload file and import"
206
- msgstr "Cargar archivo e importar"
207
-
208
- # @ secure_wp
209
- #: inc/class-imexport.php:178
210
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
211
- msgstr "Opciones no actualizadas. ¡Usted no tiene los privilegios para realizar esta acción!"
212
-
213
- # @ addquicktag
214
- #: inc/class-settings.php:387
215
- msgid "Options saved."
216
- msgstr "Opciones guardadas."
217
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-fr_FR.mo DELETED
Binary file
languages/addquicktag-fr_FR.po DELETED
@@ -1,356 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.2\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-05-25 10:40+0100\n"
6
- "PO-Revision-Date: 2014-06-24 14:27+0100\n"
7
- "Last-Translator: Li-An <lian00@gmail.com>\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: Poedit 1.6.5\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
- "_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"
17
- "X-Poedit-Basepath: ../\n"
18
- "X-Textdomain-Support: yes\n"
19
- "Language: fr_FR\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
-
22
- # @ addquicktag
23
- #: inc/class-code-quicktags.php:81
24
- msgid "Enhanced Code Quicktag buttons"
25
- msgstr "Boutons de code Quicktag améliorés"
26
-
27
- # @ addquicktag
28
- #: inc/class-code-quicktags.php:82
29
- msgid "Select the checkbox below to add enhanced code buttons."
30
- msgstr ""
31
- "Cochez les cases ci-dessous pour ajouter les boutons de code améliorés. "
32
-
33
- # @ addquicktag
34
- #: inc/class-code-quicktags.php:104 inc/class-remove-quicktags.php:85
35
- msgid "Button"
36
- msgstr "Bouton"
37
-
38
- # @ addquicktag
39
- #: inc/class-code-quicktags.php:86
40
- msgid ""
41
- "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;"
42
- "lt; and back."
43
- msgstr ""
44
- "Ajoute des boutons pour réaliser l'encodage/décodage HTML peu pratique comme "
45
- "&lt; vers &amp;lt; et en arrière."
46
-
47
- # @ addquicktag
48
- #: inc/class-imexport.php:106
49
- msgid "Export"
50
- msgstr "Exporter"
51
-
52
- # @ addquicktag
53
- #: inc/class-imexport.php:113
54
- msgid ""
55
- "Once you’ve saved the download file, you can use the Import function in "
56
- "another WordPress installation to import this site."
57
- msgstr ""
58
- "Une fois le fichier téléchargé, vous pouvez utiliser la fonction "
59
- "d'importation dans une autre installation Wordpress pour importer ces "
60
- "réglages."
61
-
62
- # @ addquicktag
63
- #: inc/class-imexport.php:118
64
- msgid "Download Export File"
65
- msgstr "Télécharger le fichier d'exportation"
66
-
67
- # @ addquicktag
68
- #: inc/class-imexport.php:126
69
- msgid "Import"
70
- msgstr "Importer"
71
-
72
- # @ addquicktag
73
- #: inc/class-imexport.php:135
74
- msgid "Upload file and import"
75
- msgstr "Uploader et importer fichier"
76
-
77
- # @ addquicktag
78
- #: inc/class-imexport.php:189
79
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
80
- msgstr ""
81
- "Options pas mises à jour - vous n'avez pas les droits pour réaliser cette "
82
- "action !"
83
-
84
- # @ addquicktag
85
- #: inc/class-remove-quicktags.php:66
86
- msgid "Remove Core Quicktag buttons"
87
- msgstr "Retirer des boutons Quicktag du core"
88
-
89
- # @ default
90
- # @ addquicktag
91
- #: inc/class-settings.php:172 inc/class-settings.php:192
92
- #: inc/class-settings.php:210 inc/class-settings.php:218
93
- msgid "Settings"
94
- msgstr "Réglages"
95
-
96
- # @ addquicktag
97
- #: inc/class-settings.php:241
98
- msgid "Add or delete Quicktag buttons"
99
- msgstr "Ajouter ou supprimer des boutons Quicktag"
100
-
101
- # @ addquicktag
102
- #: inc/class-settings.php:243
103
- msgid ""
104
- "Fill in the fields below to add or edit the quicktags. Fields with * are "
105
- "required. To delete a tag simply empty all fields."
106
- msgstr ""
107
- "Remplissez les champs ci-dessous ou éditez les quicktags. Les champs marqués "
108
- "d'un * sont obligatoires. Pour effacer un tag, videz simplement tous les "
109
- "champs."
110
-
111
- # @ addquicktag
112
- #: inc/class-settings.php:299
113
- msgid "Button Label* and"
114
- msgstr "Label* de bouton et"
115
-
116
- # @ addquicktag
117
- #: inc/class-settings.php:300 inc/class-settings.php:409
118
- msgid "Title Attribute"
119
- msgstr "Attribut de titre"
120
-
121
- # @ addquicktag
122
- #: inc/class-settings.php:301
123
- msgid "Start Tag(s)* and"
124
- msgstr "Débuter le/les Tag(s)* et"
125
-
126
- # @ addquicktag
127
- #: inc/class-settings.php:302 inc/class-settings.php:413
128
- msgid "End Tag(s)"
129
- msgstr "Fin du(des) tag(s)"
130
-
131
- # @ addquicktag
132
- #: inc/class-settings.php:303
133
- msgid "Access Key and"
134
- msgstr "Accéder à la clef et"
135
-
136
- # @ addquicktag
137
- #: inc/class-settings.php:304 inc/class-settings.php:417
138
- msgid "Order"
139
- msgstr "Ordre"
140
-
141
- # @ addquicktag
142
- #: inc/class-settings.php:305
143
- msgid "Visual"
144
- msgstr "Visuel"
145
-
146
- # @ addquicktag
147
- #: inc/class-settings.php:408
148
- msgid "Button Label*"
149
- msgstr "Label du bouton*"
150
-
151
- # @ addquicktag
152
- #: inc/class-settings.php:412
153
- msgid "Start Tag(s)*"
154
- msgstr "Début du/des tag(s)*"
155
-
156
- # @ addquicktag
157
- #: inc/class-settings.php:416
158
- msgid "Access Key"
159
- msgstr "Clef d'accès"
160
-
161
- # @ default
162
- #: inc/class-settings.php:432
163
- msgid "Save Changes"
164
- msgstr "Sauvegarder les modifications"
165
-
166
- # @ addquicktag
167
- #: inc/class-settings.php:472
168
- msgid "Like this plugin?"
169
- msgstr "Vous aimez ce plugin ?"
170
-
171
- # @ addquicktag
172
- #: inc/class-settings.php:475
173
- msgid "Here's how you can give back:"
174
- msgstr "Voici comment le soutenir:"
175
-
176
- # @ addquicktag
177
- #: inc/class-settings.php:511
178
- msgid "About this plugin"
179
- msgstr "À propos de ce plugin"
180
-
181
- # @ addquicktag
182
- #: inc/class-settings.php:515
183
- msgid "Version:"
184
- msgstr "Version:"
185
-
186
- # @ addquicktag
187
- #: inc/class-settings.php:520
188
- msgid "Description:"
189
- msgstr "Description:"
190
-
191
- # @ addquicktag
192
- #: inc/class-settings.php:572
193
- msgid "Options saved."
194
- msgstr "Options sauvegardées."
195
-
196
- # @ addquicktag
197
- #. translators: plugin header field 'Name'
198
- #: addquicktag.php:0
199
- msgid "AddQuicktag"
200
- msgstr "AddQuicktag"
201
-
202
- # @ addquicktag
203
- #. translators: plugin header field 'PluginURI'
204
- #: addquicktag.php:0
205
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
206
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
207
-
208
- # @ addquicktag
209
- #. translators: plugin header field 'Description'
210
- #: addquicktag.php:0
211
- msgid ""
212
- "Allows you to easily add custom Quicktags to the html- and visual-editor."
213
- msgstr ""
214
- "vous permet d'ajouter facilement des quicktags personnalisés à l'éditeur "
215
- "html et visuel."
216
-
217
- # @ addquicktag
218
- #. translators: plugin header field 'Author'
219
- #: addquicktag.php:0
220
- msgid "Frank Bültge"
221
- msgstr "Frank Bültge"
222
-
223
- # @ addquicktag
224
- #. translators: plugin header field 'AuthorURI'
225
- #: addquicktag.php:0
226
- msgid "http://bueltge.de"
227
- msgstr "http://bueltge.de"
228
-
229
- # @ addquicktag
230
- #: inc/class-code-quicktags.php:83
231
- msgid "pre: Enhanced Code buttons"
232
- msgstr "pre: boutons de code améliorés"
233
-
234
- # @ addquicktag
235
- #: inc/class-code-quicktags.php:84
236
- msgid ""
237
- "Enhanced the default Code buttons. Add a pull down menu for different "
238
- "languages before the default code button and include this as class inside "
239
- "the code tag. Also add a pre button for preformatted text."
240
- msgstr ""
241
- "Améliore les boutons de code par défaut. Ajoute un menu déroulant pour "
242
- "différents langages devant le bouton de code par défaut et l'inclut en tant "
243
- "que classe dans le tag de code. Ajoute aussi un bouton pre pour le texte "
244
- "préformaté."
245
-
246
- # @ addquicktag
247
- #: inc/class-code-quicktags.php:85
248
- msgid "htmlentities: HTML Entities, HTML Decode"
249
- msgstr "htmlentities: entrées HTML, décodage HTML"
250
-
251
- # @ addquicktag
252
- #: inc/class-imexport.php:129
253
- msgid ""
254
- "If you have quicktags from other installs, the plugin can import those into "
255
- "this site. To get started, choose a file to import. (json-Format)"
256
- msgstr ""
257
- "Si vous avez des quicktags d'autres installations, le plugin peut les "
258
- "importer dans ce site. Pour commencer, veuillez choisir un fichier à "
259
- "importer (au format json)"
260
-
261
- # @ addquicktag
262
- #: inc/class-imexport.php:198
263
- msgid "Please upload a valid .json file"
264
- msgstr "Veuillez uploader un fichier .json valide"
265
-
266
- # @ addquicktag
267
- #: inc/class-imexport.php:204
268
- msgid "Please upload a file to import."
269
- msgstr "Veuillez uploader un fichier pour l'importation."
270
-
271
- # @ addquicktag
272
- #: inc/class-remove-quicktags.php:67
273
- msgid ""
274
- "Select the checkbox below to remove a core quicktags in the editors of the "
275
- "respective post type."
276
- msgstr ""
277
- "Sélectionner une case à cocher ci-dessous pour retirer des quicktags du core "
278
- "dans les éditeurs des types de billets respectifs."
279
-
280
- # @ addquicktag
281
- #: inc/class-settings.php:478
282
- msgid "The Plugin on the WordPress plugin repository"
283
- msgstr "Le plugin sur le dépôt officiel des plugins Wordpress"
284
-
285
- # @ addquicktag
286
- #: inc/class-settings.php:478
287
- msgid "Give the plugin a good rating."
288
- msgstr "Donnez une bonne note au plugin."
289
-
290
- # @ addquicktag
291
- #: inc/class-settings.php:481
292
- msgid ""
293
- "Help inside the community other useres and write answer to this plugin "
294
- "questions."
295
- msgstr ""
296
- "Aidez à l'intérieur de la communauté d'autres utilisateurs et répondez aux "
297
- "question concernant ce plugin."
298
-
299
- # @ addquicktag
300
- #: inc/class-settings.php:481
301
- msgid "Help other users in the Support Forum."
302
- msgstr "Aidez d'autres utilisateurs dans le forum de support."
303
-
304
- # @ addquicktag
305
- #: inc/class-settings.php:484
306
- msgid "Donate via PayPal"
307
- msgstr "Faites une donatin via Paypal"
308
-
309
- # @ addquicktag
310
- #: inc/class-settings.php:484
311
- msgid "Donate a few euros."
312
- msgstr "Donnez quelques euros."
313
-
314
- # @ addquicktag
315
- #: inc/class-settings.php:487
316
- msgid "Frank Bültge's Amazon Wish List"
317
- msgstr "La liste d'envies de Frank Bültge"
318
-
319
- # @ addquicktag
320
- #: inc/class-settings.php:487
321
- msgid "Get me something from my wish list."
322
- msgstr "Commandez moi un article de ma liste d'envies."
323
-
324
- # @ addquicktag
325
- #: inc/class-settings.php:490
326
- msgid ""
327
- "Please give me feedback, contribute and file technical bugs on this GitHub "
328
- "Repo, use Issues."
329
- msgstr ""
330
- "Veuillez donner votre avis, contribuer et indiquer les bugs techniques sur "
331
- "le dépôt GitHub. Utiliser Issues."
332
-
333
- # @ addquicktag
334
- #: inc/class-settings.php:490
335
- msgid "Github Repo for Contribute, Issues & Bugs"
336
- msgstr "Dépôt GitHub pour les contributions, problèmes et bugs"
337
-
338
- # @ addquicktag
339
- #. translators: plugin header field 'Version'
340
- #: addquicktag.php:0
341
- msgid "2.3.2"
342
- msgstr "2.3.2"
343
-
344
- # @ addquicktag
345
- #: inc/class-imexport.php:109
346
- msgid ""
347
- "When you click the button below the plugin will create an JSON file for you "
348
- "to save to your computer."
349
- msgstr ""
350
- "En cliquant sur ls bouton ci-dessous, le plugin créera un fichier JSON à "
351
- "sauvegarder sur votre ordinateur."
352
-
353
- # @ addquicktag
354
- #: inc/class-imexport.php:111
355
- msgid "This format, a custom JSON, will contain your options from quicktags."
356
- msgstr "Ce format, un JSON personnalisé, contiendra vos options de quicktags."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-ja.mo DELETED
Binary file
languages/addquicktag-ja.po DELETED
@@ -1,215 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Yuuichi <u1@u-1.net>\n"
8
- "Language-Team: Yuuichi <u1@u-1.net>\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: Japanese\n"
13
- "X-Poedit-Country: JAPAN\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
-
16
- # @ addquicktag
17
- #. translators: plugin header field 'Name'
18
- #: addquicktag.php:0
19
- msgid "AddQuicktag"
20
- msgstr "AddQuicktag"
21
-
22
- # @ addquicktag
23
- #. translators: plugin header field 'PluginURI'
24
- #: addquicktag.php:0
25
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
26
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
27
-
28
- # @ addquicktag
29
- #. translators: plugin header field 'Author'
30
- #: addquicktag.php:0
31
- msgid "Frank Bültge"
32
- msgstr "Frank Bültge"
33
-
34
- # @ addquicktag
35
- #. translators: plugin header field 'AuthorURI'
36
- #: addquicktag.php:0
37
- msgid "http://bueltge.de"
38
- msgstr "http://bueltge.de"
39
-
40
- # @ default
41
- # @ addquicktag
42
- #: inc/class-settings.php:110
43
- #: inc/class-settings.php:127
44
- #: inc/class-settings.php:145
45
- #: inc/class-settings.php:153
46
- msgid "Settings"
47
- msgstr "設定"
48
-
49
- # @ addquicktag
50
- #: inc/class-settings.php:178
51
- msgid "Add or delete Quicktag buttons"
52
- msgstr "クイックタグの追加と削除"
53
-
54
- # @ addquicktag
55
- #: inc/class-settings.php:209
56
- msgid "Button Label*"
57
- msgstr "ボタン名*"
58
-
59
- # @ addquicktag
60
- #: inc/class-settings.php:210
61
- msgid "Title Attribute"
62
- msgstr "ラベル名"
63
-
64
- # @ addquicktag
65
- #: inc/class-settings.php:211
66
- msgid "Start Tag(s)*"
67
- msgstr "開始タグ*"
68
-
69
- # @ addquicktag
70
- #: inc/class-settings.php:212
71
- msgid "End Tag(s)"
72
- msgstr "終了タグ(s)"
73
-
74
- # @ addquicktag
75
- #: inc/class-settings.php:213
76
- msgid "Access Key"
77
- msgstr "アクセスキー"
78
-
79
- # @ addquicktag
80
- #: inc/class-settings.php:273
81
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
82
- msgstr "クイックタグを追加・編集するには以下の項目を埋めるか変更してください。 * が付いた項目は必須です。タグを削除するには全ての項目を空にしてください。"
83
-
84
- # @ default
85
- #: inc/class-settings.php:275
86
- msgid "Save Changes"
87
- msgstr "変更を保存"
88
-
89
- # @ addquicktag
90
- #: inc/class-settings.php:310
91
- msgid "Like this plugin?"
92
- msgstr "このプラグインが気に入りましたか?"
93
-
94
- # @ addquicktag
95
- #: inc/class-settings.php:312
96
- msgid "Here's how you can give back:"
97
- msgstr "あなたからの支援をお待ちしています:"
98
-
99
- # @ addquicktag
100
- #: inc/class-settings.php:314
101
- msgid "The Plugin on the WordPress plugin repository"
102
- msgstr "WordPress プラグインリポジトリへ移動"
103
-
104
- # @ addquicktag
105
- #: inc/class-settings.php:314
106
- msgid "Give the plugin a good rating."
107
- msgstr "評価をお願いします"
108
-
109
- # @ addquicktag
110
- #: inc/class-settings.php:315
111
- msgid "Donate via PayPal"
112
- msgstr "PayPal 経由で寄付"
113
-
114
- # @ addquicktag
115
- #: inc/class-settings.php:315
116
- msgid "Donate a few euros."
117
- msgstr "寄付をする"
118
-
119
- # @ addquicktag
120
- #: inc/class-settings.php:316
121
- msgid "Frank Bültge's Amazon Wish List"
122
- msgstr "Frank Bültge の Amazon ウィッシュリスト"
123
-
124
- # @ addquicktag
125
- #: inc/class-settings.php:316
126
- msgid "Get me something from my wish list."
127
- msgstr "ウィッシュリストからどれかを送ってください"
128
-
129
- # @ addquicktag
130
- #: inc/class-settings.php:335
131
- msgid "About this plugin"
132
- msgstr "このプラグインについて"
133
-
134
- # @ addquicktag
135
- #: inc/class-settings.php:338
136
- msgid "Version:"
137
- msgstr "バージョン:"
138
-
139
- # @ addquicktag
140
- #: inc/class-settings.php:342
141
- msgid "Description:"
142
- msgstr "説明:"
143
-
144
- # @ addquicktag
145
- #: inc/class-settings.php:214
146
- msgid "Order"
147
- msgstr "順番"
148
-
149
- # @ addquicktag
150
- #: inc/class-settings.php:215
151
- msgid "Visual"
152
- msgstr "ビジュアルエディター"
153
-
154
- # @ addquicktag
155
- #. translators: plugin header field 'Description'
156
- #: addquicktag.php:0
157
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
158
- msgstr "HTMLエディターやビジュアルリッチエディターで定型入力に使用できるクイックタグを簡単に追加・管理できます。"
159
-
160
- # @ addquicktag
161
- #. translators: plugin header field 'Version'
162
- #: addquicktag.php:0
163
- msgid "2.0.0"
164
- msgstr "2.0.0"
165
-
166
- # @ addquicktag
167
- #: inc/class-imexport.php:64
168
- msgid "Export"
169
- msgstr "エクスポート"
170
-
171
- # @ addquicktag
172
- #: inc/class-imexport.php:66
173
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
174
- msgstr "下のボタンを押すとプラグインの設定を保存した XML ファイルをあなたのコンピューターにダウンロードすることができます。"
175
-
176
- # @ addquicktag
177
- #: inc/class-imexport.php:67
178
- msgid "This format, a custom XML, will contain your options from quicktags."
179
- msgstr "この XML ファイルにはプラグインの設定(クイックタグのリストなど)が保存されています。"
180
-
181
- # @ addquicktag
182
- #: inc/class-imexport.php:68
183
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
184
- msgstr "設定ファイルの保存を行うと、プラグインのインポート機能が使用できます。他の WordPress サイトにこのサイトのクイックタグの設定を取り込むことができます。"
185
-
186
- # @ addquicktag
187
- #: inc/class-imexport.php:72
188
- msgid "Download Export File"
189
- msgstr "エクスポートファイルのダウンロード"
190
-
191
- # @ addquicktag
192
- #: inc/class-imexport.php:80
193
- msgid "Import"
194
- msgstr "インポート"
195
-
196
- # @ addquicktag
197
- #: inc/class-imexport.php:82
198
- msgid "If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import."
199
- msgstr "このプラグインを他のサイトで利用の場合、その設定をインポートできます。インポートするファイルを選択してください。"
200
-
201
- # @ addquicktag
202
- #: inc/class-imexport.php:87
203
- msgid "Upload file and import"
204
- msgstr "ファイルのアップロード・インポート"
205
-
206
- # @ addquicktag
207
- #: inc/class-imexport.php:178
208
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
209
- msgstr "権限がないため設定は更新されません。"
210
-
211
- # @ addquicktag
212
- #: inc/class-settings.php:387
213
- msgid "Options saved."
214
- msgstr "設定は保存されました。"
215
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-lt_LT.mo DELETED
Binary file
languages/addquicktag-lt_LT.po DELETED
@@ -1,217 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: \n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: \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-Poedit-SourceCharset: utf-8\n"
14
- "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"
15
- "X-Textdomain-Support: yes\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
-
18
- #@ addquicktag
19
- #. translators: plugin header field 'Name'
20
- #: addquicktag.php:0
21
- msgid "AddQuicktag"
22
- msgstr "AddQuicktag"
23
-
24
- #@ addquicktag
25
- #. translators: plugin header field 'PluginURI'
26
- #: addquicktag.php:0
27
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
28
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
29
-
30
- #@ addquicktag
31
- #. translators: plugin header field 'Author'
32
- #: addquicktag.php:0
33
- msgid "Frank Bültge"
34
- msgstr "Frank Bültge"
35
-
36
- #@ addquicktag
37
- #. translators: plugin header field 'AuthorURI'
38
- #: addquicktag.php:0
39
- msgid "http://bueltge.de"
40
- msgstr "http://bueltge.de"
41
-
42
- #@ default
43
- #@ addquicktag
44
- #: inc/class-settings.php:110
45
- #: inc/class-settings.php:127
46
- #: inc/class-settings.php:145
47
- #: inc/class-settings.php:153
48
- msgid "Settings"
49
- msgstr "Nuostatos"
50
-
51
- #@ addquicktag
52
- #: inc/class-settings.php:178
53
- msgid "Add or delete Quicktag buttons"
54
- msgstr "Pridėti arba ištrinti Sparčiųjų gairių mygtukus"
55
-
56
- #@ addquicktag
57
- #: inc/class-settings.php:209
58
- msgid "Button Label*"
59
- msgstr "Mygtuko Žymė*"
60
-
61
- #@ addquicktag
62
- #: inc/class-settings.php:210
63
- msgid "Title Attribute"
64
- msgstr "Antraštės Požymis"
65
-
66
- #@ addquicktag
67
- #: inc/class-settings.php:211
68
- msgid "Start Tag(s)*"
69
- msgstr "Paleisti Gairę (Gaires)*"
70
-
71
- #@ addquicktag
72
- #: inc/class-settings.php:212
73
- msgid "End Tag(s)"
74
- msgstr "Nutraukti Gairę (Gaires)"
75
-
76
- #@ addquicktag
77
- #: inc/class-settings.php:213
78
- msgid "Access Key"
79
- msgstr "Priėjimo Raktas"
80
-
81
- #@ addquicktag
82
- #: inc/class-settings.php:273
83
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
84
- msgstr "Norėdami papildyti ar redaguoti gaires, užpildykite žemiau esančius laukelius. Simboliu * pažymėti laukeliai yra privalomi. Norėdami ištrinti gairę, tiesiog ištuštinkite visus laukelius."
85
-
86
- #@ default
87
- #: inc/class-settings.php:275
88
- msgid "Save Changes"
89
- msgstr "Įrašyti Pakeitimus"
90
-
91
- #@ addquicktag
92
- #: inc/class-settings.php:310
93
- msgid "Like this plugin?"
94
- msgstr "Jums patinka šis papildinys?"
95
-
96
- #@ addquicktag
97
- #: inc/class-settings.php:312
98
- msgid "Here's how you can give back:"
99
- msgstr "Štai kaip galite atsidėkoti:"
100
-
101
- #@ addquicktag
102
- #: inc/class-settings.php:314
103
- msgid "The Plugin on the WordPress plugin repository"
104
- msgstr "Papildinys WordPress papildinių saugykloje"
105
-
106
- #@ addquicktag
107
- #: inc/class-settings.php:314
108
- msgid "Give the plugin a good rating."
109
- msgstr "Įvertinkite šį papildinį aukštu balu."
110
-
111
- #@ addquicktag
112
- #: inc/class-settings.php:315
113
- msgid "Donate via PayPal"
114
- msgstr "Paaukokite per PayPal internetinių atsiskaitimų sistemą"
115
-
116
- #@ addquicktag
117
- #: inc/class-settings.php:315
118
- msgid "Donate a few euros."
119
- msgstr "Paaukokite kelis Eurus."
120
-
121
- #@ addquicktag
122
- #: inc/class-settings.php:316
123
- msgid "Frank Bültge's Amazon Wish List"
124
- msgstr "Frank Bültge's Amazon Pageidavimų Sąrašas"
125
-
126
- #@ addquicktag
127
- #: inc/class-settings.php:316
128
- msgid "Get me something from my wish list."
129
- msgstr "Padovanokite man ką nors iš mano pageidavimų sąrašo."
130
-
131
- #@ addquicktag
132
- #: inc/class-settings.php:335
133
- msgid "About this plugin"
134
- msgstr "Apie šį papildinį"
135
-
136
- #@ addquicktag
137
- #: inc/class-settings.php:338
138
- msgid "Version:"
139
- msgstr "Versija:"
140
-
141
- #@ addquicktag
142
- #: inc/class-settings.php:342
143
- msgid "Description:"
144
- msgstr "Aprašas:"
145
-
146
- #@ addquicktag
147
- #: inc/class-settings.php:214
148
- msgid "Order"
149
- msgstr "Tvarka"
150
-
151
- #@ addquicktag
152
- #: inc/class-settings.php:215
153
- msgid "Visual"
154
- msgstr "Vaizdinis"
155
-
156
- #@ addquicktag
157
- #. translators: plugin header field 'Description'
158
- #: addquicktag.php:0
159
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
160
- msgstr "Suteikia Jums galimybę lengvai pridėti individualizuotą sparčiąją gairę į html ir vaizdinį redaktorius."
161
-
162
- #@ addquicktag
163
- #. translators: plugin header field 'Version'
164
- #: addquicktag.php:0
165
- msgid "2.0.0"
166
- msgstr "2.0.0"
167
-
168
- #@ addquicktag
169
- #: inc/class-imexport.php:64
170
- msgid "Export"
171
- msgstr "Eksportuoti"
172
-
173
- #@ addquicktag
174
- #: inc/class-imexport.php:66
175
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
176
- msgstr "Kai paspausite mygtuką, esantį žemiau, papildinys sukurs XML rinkmeną, kurią galėsite parsisiųsti į savo kompiuterį."
177
-
178
- #@ addquicktag
179
- #: inc/class-imexport.php:67
180
- msgid "This format, a custom XML, will contain your options from quicktags."
181
- msgstr "Šis, adaptuotas XML formatas, saugos Jūsų sparčiųjų gairių parinktis."
182
-
183
- #@ addquicktag
184
- #: inc/class-imexport.php:68
185
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
186
- msgstr "Iškart po to, kai įsirašysite savo parsisiuntimo rinkmeną, galėsite naudoti šio puslapio importavimo funkciją kitame įrenginyje, kuriame įdiegta WordPress sistema."
187
-
188
- #@ addquicktag
189
- #: inc/class-imexport.php:72
190
- msgid "Download Export File"
191
- msgstr "Parsisiųsti Eksportavimo Rinkmeną"
192
-
193
- #@ addquicktag
194
- #: inc/class-imexport.php:80
195
- msgid "Import"
196
- msgstr "Importuoti"
197
-
198
- #@ addquicktag
199
- #: inc/class-imexport.php:82
200
- msgid "If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import."
201
- msgstr "Jeigu turite susikūręs sparčiųjų gairių kituose įrengimuose, papildinys importuos jas į šį tinklapį. Kad galėtumėte pradėti, pasirinkite importavimo rinkmeną."
202
-
203
- #@ addquicktag
204
- #: inc/class-imexport.php:87
205
- msgid "Upload file and import"
206
- msgstr "Nusiųsti rinkmeną ir ją importuoti"
207
-
208
- #@ addquicktag
209
- #: inc/class-imexport.php:178
210
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
211
- msgstr "Neatnaujintos reikiamos parinktys - Jūs neturite teisių to daryti!"
212
-
213
- #@ addquicktag
214
- #: inc/class-settings.php:387
215
- msgid "Options saved."
216
- msgstr "Parinktys išsaugotos."
217
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-pl_PL.mo DELETED
Binary file
languages/addquicktag-pl_PL.po DELETED
@@ -1,345 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: \n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2015-09-19 00:46+0530\n"
7
- "Last-Translator: \n"
8
- "Language-Team: \n"
9
- "Language: pl_PL\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.8.4\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
16
- "|| n%100>=20) ? 1 : 2);\n"
17
-
18
- # @ addquicktag
19
- #. translators: plugin header field 'Name'
20
- #: addquicktag.php:0
21
- msgid "AddQuicktag"
22
- msgstr "AddQuicktag"
23
-
24
- # @ addquicktag
25
- #. translators: plugin header field 'PluginURI'
26
- #: addquicktag.php:0
27
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
28
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
29
-
30
- # @ addquicktag
31
- #. translators: plugin header field 'Author'
32
- #: addquicktag.php:0
33
- msgid "Frank Bültge"
34
- msgstr "Frank Bültge"
35
-
36
- # @ addquicktag
37
- #. translators: plugin header field 'AuthorURI'
38
- #: addquicktag.php:0
39
- msgid "http://bueltge.de"
40
- msgstr "http://bueltge.de"
41
-
42
- # @ default
43
- # @ addquicktag
44
- #: inc/class-settings.php:172 inc/class-settings.php:192
45
- #: inc/class-settings.php:210 inc/class-settings.php:218
46
- msgid "Settings"
47
- msgstr "Ustawienia"
48
-
49
- # @ addquicktag
50
- #: inc/class-settings.php:241
51
- msgid "Add or delete Quicktag buttons"
52
- msgstr "Dodaj lub Usuń przyciski Quicktag"
53
-
54
- # @ addquicktag
55
- #: inc/class-settings.php:408
56
- msgid "Button Label*"
57
- msgstr "Etykieta przycisku"
58
-
59
- # @ addquicktag
60
- #: inc/class-settings.php:300 inc/class-settings.php:409
61
- msgid "Title Attribute"
62
- msgstr "Atrybut „Tytułu”"
63
-
64
- # @ addquicktag
65
- #: inc/class-settings.php:412
66
- msgid "Start Tag(s)*"
67
- msgstr "Rozpocząć tag (s) *"
68
-
69
- # @ addquicktag
70
- #: inc/class-settings.php:302 inc/class-settings.php:413
71
- msgid "End Tag(s)"
72
- msgstr "Koniec tag (s)"
73
-
74
- # @ addquicktag
75
- #: inc/class-settings.php:416
76
- msgid "Access Key"
77
- msgstr "Klucz dostępu"
78
-
79
- # @ default
80
- #: inc/class-settings.php:432
81
- msgid "Save Changes"
82
- msgstr "Zapisz zmiany"
83
-
84
- # @ addquicktag
85
- #: inc/class-settings.php:472
86
- msgid "Like this plugin?"
87
- msgstr "Podoba Ci się to plugin?"
88
-
89
- # @ addquicktag
90
- #: inc/class-settings.php:475
91
- msgid "Here's how you can give back:"
92
- msgstr "Oto w jaki sposób można oddać:"
93
-
94
- # @ addquicktag
95
- #: inc/class-settings.php:478
96
- msgid "The Plugin on the WordPress plugin repository"
97
- msgstr "Plugin na repozytorium wtyczki WordPress"
98
-
99
- # @ addquicktag
100
- #: inc/class-settings.php:478
101
- msgid "Give the plugin a good rating."
102
- msgstr "Dać ten szpunt pewien dobry oszacowanie."
103
-
104
- # @ addquicktag
105
- #: inc/class-settings.php:484
106
- msgid "Donate via PayPal"
107
- msgstr "Podaruj przez PayPal"
108
-
109
- # @ addquicktag
110
- #: inc/class-settings.php:484
111
- msgid "Donate a few euros."
112
- msgstr "Oddawać kilka euro."
113
-
114
- # @ addquicktag
115
- #: inc/class-settings.php:487
116
- msgid "Frank Bültge's Amazon Wish List"
117
- msgstr "Lista życzeń Amazon Frank Bültge"
118
-
119
- # @ addquicktag
120
- #: inc/class-settings.php:487
121
- msgid "Get me something from my wish list."
122
- msgstr "Się mi coś z mojej listy życzeń."
123
-
124
- # @ addquicktag
125
- #: inc/class-settings.php:511
126
- msgid "About this plugin"
127
- msgstr "O ten plugin"
128
-
129
- # @ addquicktag
130
- #: inc/class-settings.php:515
131
- msgid "Version:"
132
- msgstr "Wersja:"
133
-
134
- # @ addquicktag
135
- #: inc/class-settings.php:520
136
- msgid "Description:"
137
- msgstr "Opis:"
138
-
139
- # @ addquicktag
140
- #: inc/class-settings.php:304 inc/class-settings.php:417
141
- msgid "Order"
142
- msgstr "Zamówienie"
143
-
144
- # @ addquicktag
145
- #: inc/class-settings.php:305
146
- msgid "Visual"
147
- msgstr "Wizualny"
148
-
149
- # @ addquicktag
150
- #. translators: plugin header field 'Description'
151
- #: addquicktag.php:0
152
- msgid ""
153
- "Allows you to easily add custom Quicktags to the html- and visual-editor."
154
- msgstr ""
155
- "Pozwala ty wobec łatwo dodać niestandardowe Quicktags do html i Wzrokowy "
156
- "Redaktor."
157
-
158
- # @ addquicktag
159
- #: inc/class-imexport.php:106
160
- msgid "Export"
161
- msgstr "Eksportuj"
162
-
163
- # @ addquicktag
164
- #: inc/class-imexport.php:109
165
- msgid ""
166
- "When you click the button below the plugin will create an JSON file for you "
167
- "to save to your computer."
168
- msgstr ""
169
- "Po kliknięciu przycisku poniżej plugin spowoduje utworzenie pliku JSON, aby "
170
- "zapisać na swoim komputerze."
171
-
172
- # @ addquicktag
173
- #: inc/class-imexport.php:111
174
- msgid "This format, a custom JSON, will contain your options from quicktags."
175
- msgstr "Ten format, niestandardowe JSON, będzie zawierał opcje od quicktags."
176
-
177
- # @ addquicktag
178
- #: inc/class-imexport.php:113
179
- msgid ""
180
- "Once you’ve saved the download file, you can use the Import function in "
181
- "another WordPress installation to import this site."
182
- msgstr ""
183
- "Po zapisaniu pliku do pobrania, można użyć funkcji importu w innej "
184
- "instalacji WordPress do zaimportowania tej strony."
185
-
186
- # @ addquicktag
187
- #: inc/class-imexport.php:118
188
- msgid "Download Export File"
189
- msgstr "Pobierz plik Exportu"
190
-
191
- # @ addquicktag
192
- #: inc/class-imexport.php:126
193
- msgid "Import"
194
- msgstr "Importuj"
195
-
196
- # @ addquicktag
197
- #: inc/class-imexport.php:135
198
- msgid "Upload file and import"
199
- msgstr "Prześlij plik i importuj"
200
-
201
- # @ addquicktag
202
- #: inc/class-imexport.php:189
203
- msgid "Options not update - you don&lsquo;t have the privileges to do this!"
204
- msgstr "Opcje nie update - nie masz uprawnień do tego!"
205
-
206
- # @ addquicktag
207
- #: inc/class-settings.php:572
208
- msgid "Options saved."
209
- msgstr "Opcje zapisano."
210
-
211
- # @ addquicktag
212
- #: inc/class-settings.php:490
213
- msgid ""
214
- "Please give me feedback, contribute and file technical bugs on this GitHub "
215
- "Repo, use Issues."
216
- msgstr ""
217
- "Proszę dał mi Opinie, przyczyniają się i pliku błędów technicznych w tym "
218
- "GitHub Repo, użyj problemy."
219
-
220
- # @ addquicktag
221
- #: inc/class-settings.php:490
222
- msgid "Github Repo for Contribute, Issues & Bugs"
223
- msgstr "GitHub Repo dla programu Contribute, kwestie idealna błędów"
224
-
225
- # @ addquicktag
226
- #: inc/class-code-quicktags.php:81
227
- msgid "Enhanced Code Quicktag buttons"
228
- msgstr "Rozszerzony kod Quicktag przyciski"
229
-
230
- # @ addquicktag
231
- #: inc/class-code-quicktags.php:82
232
- msgid "Select the checkbox below to add enhanced code buttons."
233
- msgstr "Zaznacz pole wyboru poniżej, aby dodać przyciski rozszerzony kod."
234
-
235
- # @ addquicktag
236
- #: inc/class-code-quicktags.php:83
237
- msgid "pre: Enhanced Code buttons"
238
- msgstr "przed: rozszerzony kod przyciski"
239
-
240
- # @ addquicktag
241
- #: inc/class-code-quicktags.php:84
242
- msgid ""
243
- "Enhanced the default Code buttons. Add a pull down menu for different "
244
- "languages before the default code button and include this as class inside "
245
- "the code tag. Also add a pre button for preformatted text."
246
- msgstr ""
247
- "Ulepszone domyślny kod przyciski. Dodać ciągnąć w dół menu dla różnych "
248
- "języków przed przycisk Domyślny kod i uwzględnienie tego jako Klasa wewnątrz "
249
- "tagu kod. Również dodać przycisk pre dla tekstu preformatowanego."
250
-
251
- # @ addquicktag
252
- #: inc/class-code-quicktags.php:85
253
- msgid "htmlentities: HTML Entities, HTML Decode"
254
- msgstr "htmlentities: encje HTML, HTML dekodowania"
255
-
256
- # @ addquicktag
257
- #: inc/class-code-quicktags.php:86
258
- msgid ""
259
- "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;"
260
- "lt; and back."
261
- msgstr ""
262
- "Dodaj przyciski do inconvient HTML kodowania/dekodowania, jak < do &amp; lt; "
263
- "i z powrotem."
264
-
265
- # @ addquicktag
266
- #: inc/class-code-quicktags.php:104 inc/class-remove-quicktags.php:85
267
- msgid "Button"
268
- msgstr "Przycisk"
269
-
270
- # @ addquicktag
271
- #: inc/class-imexport.php:129
272
- msgid ""
273
- "If you have quicktags from other installs, the plugin can import those into "
274
- "this site. To get started, choose a file to import. (json-Format)"
275
- msgstr ""
276
- "Jeśli masz quicktags z innego źródła, plugin można zaimportować je do tej "
277
- "strony. Aby rozpocząć, wybierz plik do zaimportowania. (w formacie json)"
278
-
279
- # @ addquicktag
280
- #: inc/class-imexport.php:198
281
- msgid "Please upload a valid .json file"
282
- msgstr "Proszę przesłać plik prawidłowe .json"
283
-
284
- # @ addquicktag
285
- #: inc/class-imexport.php:204
286
- msgid "Please upload a file to import."
287
- msgstr "Proszę przesłać plik do zaimportowania."
288
-
289
- # @ addquicktag
290
- #: inc/class-remove-quicktags.php:66
291
- msgid "Remove Core Quicktag buttons"
292
- msgstr "Usunąć Quicktag podstawowych przycisków"
293
-
294
- # @ addquicktag
295
- #: inc/class-remove-quicktags.php:67
296
- msgid ""
297
- "Select the checkbox below to remove a core quicktags in the editors of the "
298
- "respective post type."
299
- msgstr ""
300
- "Zaznacz pole wyboru poniżej, aby usunąć quicktags rdzeń w edytorach typu "
301
- "odpowiednie stanowisko."
302
-
303
- # @ addquicktag
304
- #: inc/class-settings.php:243
305
- msgid ""
306
- "Fill in the fields below to add or edit the quicktags. Fields with * are "
307
- "required. To delete a tag simply empty all fields."
308
- msgstr ""
309
- "Wypełnij pola poniżej, aby dodać lub edytować quicktags. Pola oznaczone * są "
310
- "wymagane. Aby usunąć znacznik po prostu puste wszystkie pola."
311
-
312
- # @ addquicktag
313
- #: inc/class-settings.php:299
314
- msgid "Button Label* and"
315
- msgstr "Etykieta przycisku"
316
-
317
- # @ addquicktag
318
- #: inc/class-settings.php:301
319
- msgid "Start Tag(s)* and"
320
- msgstr "Rozpocząć tag (s) * oraz"
321
-
322
- # @ addquicktag
323
- #: inc/class-settings.php:303
324
- msgid "Access Key and"
325
- msgstr "Klawisz dostępu i"
326
-
327
- # @ addquicktag
328
- #: inc/class-settings.php:481
329
- msgid ""
330
- "Help inside the community other useres and write answer to this plugin "
331
- "questions."
332
- msgstr ""
333
- "Pomoc wewnątrz Wspólnoty innych useres i napisz odpowiedzi na to pytanie "
334
- "plugin."
335
-
336
- # @ addquicktag
337
- #: inc/class-settings.php:481
338
- msgid "Help other users in the Support Forum."
339
- msgstr "Pomóż innym użytkownikom forum wsparcia."
340
-
341
- # @ addquicktag
342
- #. translators: plugin header field 'Version'
343
- #: addquicktag.php:0
344
- msgid "2.3.2"
345
- msgstr "2.3.2."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-pt_BR.mo DELETED
Binary file
languages/addquicktag-pt_BR.po DELETED
@@ -1,316 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.2\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-07-19 09:41+0100\n"
6
- "PO-Revision-Date: 2014-06-22 07:54:14+0000\n"
7
- "Last-Translator: Aluízio Leye Larangeira <contato@aluizioll.com.br>\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: Poedit 1.5.7\n"
14
- "X-Poedit-Language: \n"
15
- "X-Poedit-Country: \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-imexport.php:106
24
- #@ addquicktag
25
- msgid "Export"
26
- msgstr "Exportar"
27
-
28
- #: inc/class-imexport.php:113
29
- #@ addquicktag
30
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
31
- msgstr "Assim que tiver salvado o arquivo de download, você pode utilizar a função de Importação em outra instalação do WordPress para importar este site."
32
-
33
- #: inc/class-imexport.php:118
34
- #@ addquicktag
35
- msgid "Download Export File"
36
- msgstr "Baixar Arquivo de Exportação"
37
-
38
- #: inc/class-imexport.php:126
39
- #@ addquicktag
40
- msgid "Import"
41
- msgstr "Importar"
42
-
43
- #: inc/class-imexport.php:135
44
- #@ addquicktag
45
- msgid "Upload file and import"
46
- msgstr "Enviar arquivo e importar"
47
-
48
- #: inc/class-imexport.php:189
49
- #@ addquicktag
50
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
51
- msgstr "Configurações não atualizadas - você não possui privilégios para fazer isso!"
52
-
53
- #: inc/class-settings.php:172
54
- #: inc/class-settings.php:192
55
- #: inc/class-settings.php:210
56
- #: inc/class-settings.php:218
57
- #@ default
58
- #@ addquicktag
59
- msgid "Settings"
60
- msgstr "Configurações"
61
-
62
- #: inc/class-settings.php:241
63
- #@ addquicktag
64
- msgid "Add or delete Quicktag buttons"
65
- msgstr "Adicionar ou excluir botões de Quicktag"
66
-
67
- #: inc/class-settings.php:408
68
- #@ addquicktag
69
- msgid "Button Label*"
70
- msgstr "Rótulo do Botão*"
71
-
72
- #: inc/class-settings.php:300
73
- #: inc/class-settings.php:409
74
- #@ addquicktag
75
- msgid "Title Attribute"
76
- msgstr "Atributo \"Title\""
77
-
78
- #: inc/class-settings.php:412
79
- #@ addquicktag
80
- msgid "Start Tag(s)*"
81
- msgstr "Tag(s) de Abertura*"
82
-
83
- #: inc/class-settings.php:302
84
- #: inc/class-settings.php:413
85
- #@ addquicktag
86
- msgid "End Tag(s)"
87
- msgstr "Tag(s) de Fechamento"
88
-
89
- #: inc/class-settings.php:416
90
- #@ addquicktag
91
- msgid "Access Key"
92
- msgstr "Tecla de Acesso"
93
-
94
- #: inc/class-settings.php:304
95
- #: inc/class-settings.php:417
96
- #@ addquicktag
97
- msgid "Order"
98
- msgstr "Ordem"
99
-
100
- #: inc/class-settings.php:305
101
- #@ addquicktag
102
- msgid "Visual"
103
- msgstr "Visual"
104
-
105
- #: inc/class-settings.php:243
106
- #@ addquicktag
107
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
108
- msgstr "Preencha os campos abaixo para adicionar ou editar os QuickTags. Os campos com * são obrigatórios. Para excluir uma tag simplesmente limpe todos os campos."
109
-
110
- #: inc/class-settings.php:432
111
- #@ default
112
- msgid "Save Changes"
113
- msgstr "Salvar Alterações"
114
-
115
- #: inc/class-settings.php:472
116
- #@ addquicktag
117
- msgid "Like this plugin?"
118
- msgstr "Gosta deste plugin?"
119
-
120
- #: inc/class-settings.php:475
121
- #@ addquicktag
122
- msgid "Here's how you can give back:"
123
- msgstr "Aqui você pode dar feedback:"
124
-
125
- #: inc/class-settings.php:478
126
- #@ addquicktag
127
- msgid "Give the plugin a good rating."
128
- msgstr "Dê uma nota ao plugin."
129
-
130
- #: inc/class-settings.php:484
131
- #@ addquicktag
132
- msgid "Donate a few euros."
133
- msgstr "Doe alguns Euros."
134
-
135
- #: inc/class-settings.php:487
136
- #@ addquicktag
137
- msgid "Get me something from my wish list."
138
- msgstr "Dê-me algo de minha lista de desejos."
139
-
140
- #: inc/class-settings.php:490
141
- #@ addquicktag
142
- msgid "Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues."
143
- msgstr "Por favor me dê feedback, contribua e apresente erros técnicos sobre este plugin no repositório GitHub, em \"Issues\"."
144
-
145
- #: inc/class-settings.php:490
146
- #@ addquicktag
147
- msgid "Github Repo for Contribute, Issues & Bugs"
148
- msgstr "Repositório Github para Contribuir, Questões & Bugs"
149
-
150
- #: inc/class-settings.php:511
151
- #@ addquicktag
152
- msgid "About this plugin"
153
- msgstr "Sobre este plugin"
154
-
155
- #: inc/class-settings.php:515
156
- #@ addquicktag
157
- msgid "Version:"
158
- msgstr "Versão:"
159
-
160
- #: inc/class-settings.php:520
161
- #@ addquicktag
162
- msgid "Description:"
163
- msgstr "Descrição:"
164
-
165
- #: inc/class-settings.php:572
166
- #@ addquicktag
167
- msgid "Options saved."
168
- msgstr "As configurações foram salvas."
169
-
170
- #. translators: plugin header field 'Name'
171
- #: addquicktag.php:0
172
- #@ addquicktag
173
- msgid "AddQuicktag"
174
- msgstr ""
175
-
176
- #. translators: plugin header field 'PluginURI'
177
- #: addquicktag.php:0
178
- #@ addquicktag
179
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
180
- msgstr ""
181
-
182
- #. translators: plugin header field 'Description'
183
- #: addquicktag.php:0
184
- #@ addquicktag
185
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
186
- msgstr ""
187
-
188
- #. translators: plugin header field 'Author'
189
- #: addquicktag.php:0
190
- #@ addquicktag
191
- msgid "Frank Bültge"
192
- msgstr ""
193
-
194
- #. translators: plugin header field 'AuthorURI'
195
- #: addquicktag.php:0
196
- #@ addquicktag
197
- msgid "http://bueltge.de"
198
- msgstr ""
199
-
200
- #: inc/class-code-quicktags.php:81
201
- #@ addquicktag
202
- msgid "Enhanced Code Quicktag buttons"
203
- msgstr ""
204
-
205
- #: inc/class-code-quicktags.php:82
206
- #@ addquicktag
207
- msgid "Select the checkbox below to add enhanced code buttons."
208
- msgstr ""
209
-
210
- #: inc/class-code-quicktags.php:83
211
- #@ addquicktag
212
- msgid "pre: Enhanced Code buttons"
213
- msgstr ""
214
-
215
- #: inc/class-code-quicktags.php:84
216
- #@ addquicktag
217
- msgid "Enhanced the default Code buttons. Add a pull down menu for different languages before the default code button and include this as class inside the code tag. Also add a pre button for preformatted text."
218
- msgstr ""
219
-
220
- #: inc/class-code-quicktags.php:85
221
- #@ addquicktag
222
- msgid "htmlentities: HTML Entities, HTML Decode"
223
- msgstr ""
224
-
225
- #: inc/class-code-quicktags.php:86
226
- #@ addquicktag
227
- msgid "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;lt; and back."
228
- msgstr ""
229
-
230
- #: inc/class-code-quicktags.php:104
231
- #: inc/class-remove-quicktags.php:85
232
- #@ addquicktag
233
- msgid "Button"
234
- msgstr ""
235
-
236
- #: inc/class-imexport.php:129
237
- #@ addquicktag
238
- msgid "If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import. (json-Format)"
239
- msgstr ""
240
-
241
- #: inc/class-imexport.php:198
242
- #@ addquicktag
243
- msgid "Please upload a valid .json file"
244
- msgstr ""
245
-
246
- #: inc/class-imexport.php:204
247
- #@ addquicktag
248
- msgid "Please upload a file to import."
249
- msgstr ""
250
-
251
- #: inc/class-remove-quicktags.php:66
252
- #@ addquicktag
253
- msgid "Remove Core Quicktag buttons"
254
- msgstr ""
255
-
256
- #: inc/class-remove-quicktags.php:67
257
- #@ addquicktag
258
- msgid "Select the checkbox below to remove a core quicktags in the editors of the respective post type."
259
- msgstr ""
260
-
261
- #: inc/class-settings.php:299
262
- #@ addquicktag
263
- msgid "Button Label* and"
264
- msgstr ""
265
-
266
- #: inc/class-settings.php:301
267
- #@ addquicktag
268
- msgid "Start Tag(s)* and"
269
- msgstr ""
270
-
271
- #: inc/class-settings.php:303
272
- #@ addquicktag
273
- msgid "Access Key and"
274
- msgstr ""
275
-
276
- #: inc/class-settings.php:478
277
- #@ addquicktag
278
- msgid "The Plugin on the WordPress plugin repository"
279
- msgstr ""
280
-
281
- #: inc/class-settings.php:481
282
- #@ addquicktag
283
- msgid "Help inside the community other useres and write answer to this plugin questions."
284
- msgstr ""
285
-
286
- #: inc/class-settings.php:481
287
- #@ addquicktag
288
- msgid "Help other users in the Support Forum."
289
- msgstr ""
290
-
291
- #: inc/class-settings.php:484
292
- #@ addquicktag
293
- msgid "Donate via PayPal"
294
- msgstr ""
295
-
296
- #: inc/class-settings.php:487
297
- #@ addquicktag
298
- msgid "Frank Bültge's Amazon Wish List"
299
- msgstr ""
300
-
301
- #. translators: plugin header field 'Version'
302
- #: addquicktag.php:0
303
- #@ addquicktag
304
- msgid "2.3.2"
305
- msgstr ""
306
-
307
- #: inc/class-imexport.php:109
308
- #@ addquicktag
309
- msgid "When you click the button below the plugin will create an JSON file for you to save to your computer."
310
- msgstr ""
311
-
312
- #: inc/class-imexport.php:111
313
- #@ addquicktag
314
- msgid "This format, a custom JSON, will contain your options from quicktags."
315
- msgstr ""
316
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-ru_RU.mo DELETED
Binary file
languages/addquicktag-ru_RU.po DELETED
@@ -1,220 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag-ru\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Flector <rlector@gmail.com>\n"
8
- "Language-Team: WordpressPlugins.ru\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-Poedit-SourceCharset: utf-8\n"
14
- "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"
15
- "X-Textdomain-Support: yes\n"
16
- "X-Poedit-Language: Russian\n"
17
- "X-Poedit-Country: RUSSIAN FEDERATION\n"
18
- "X-Poedit-Basepath: .\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
-
21
- #@ addquicktag
22
- #. translators: plugin header field 'Name'
23
- #: addquicktag.php:0
24
- msgid "AddQuicktag"
25
- msgstr "AddQuicktag"
26
-
27
- #@ addquicktag
28
- #. translators: plugin header field 'PluginURI'
29
- #: addquicktag.php:0
30
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
31
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
32
-
33
- #@ addquicktag
34
- #. translators: plugin header field 'Author'
35
- #: addquicktag.php:0
36
- msgid "Frank Bültge"
37
- msgstr "Frank Bültge"
38
-
39
- #@ addquicktag
40
- #. translators: plugin header field 'AuthorURI'
41
- #: addquicktag.php:0
42
- msgid "http://bueltge.de"
43
- msgstr "http://bueltge.de"
44
-
45
- #@ default
46
- #@ addquicktag
47
- #: inc/class-settings.php:110
48
- #: inc/class-settings.php:127
49
- #: inc/class-settings.php:145
50
- #: inc/class-settings.php:153
51
- msgid "Settings"
52
- msgstr "Настройки"
53
-
54
- #@ addquicktag
55
- #: inc/class-settings.php:178
56
- msgid "Add or delete Quicktag buttons"
57
- msgstr "Добавление или удаление кнопок Quicktag"
58
-
59
- #@ addquicktag
60
- #: inc/class-settings.php:209
61
- msgid "Button Label*"
62
- msgstr "Название кнопки*"
63
-
64
- #@ addquicktag
65
- #: inc/class-settings.php:210
66
- msgid "Title Attribute"
67
- msgstr "Заголовок"
68
-
69
- #@ addquicktag
70
- #: inc/class-settings.php:211
71
- msgid "Start Tag(s)*"
72
- msgstr "Начало тега(ов)*"
73
-
74
- #@ addquicktag
75
- #: inc/class-settings.php:212
76
- msgid "End Tag(s)"
77
- msgstr "Конец тега(ов)"
78
-
79
- #@ addquicktag
80
- #: inc/class-settings.php:213
81
- msgid "Access Key"
82
- msgstr "Хоткей"
83
-
84
- #@ addquicktag
85
- #: inc/class-settings.php:273
86
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
87
- msgstr "Заполните поля, чтобы добавить или отредактировать кнопки. Для удаления кнопки удалите все ее поля и сохраните изменения. <br />Поля со звездочкой (*) обязательны для заполнения."
88
-
89
- #@ default
90
- #: inc/class-settings.php:275
91
- msgid "Save Changes"
92
- msgstr "Сохранить настройки"
93
-
94
- #@ addquicktag
95
- #: inc/class-settings.php:310
96
- msgid "Like this plugin?"
97
- msgstr "Понравился плагин?"
98
-
99
- #@ addquicktag
100
- #: inc/class-settings.php:312
101
- msgid "Here's how you can give back:"
102
- msgstr "Способы отблагодарить автора:"
103
-
104
- #@ addquicktag
105
- #: inc/class-settings.php:314
106
- msgid "The Plugin on the WordPress plugin repository"
107
- msgstr "Страница плагина в репозитории WordPress.org"
108
-
109
- #@ addquicktag
110
- #: inc/class-settings.php:314
111
- msgid "Give the plugin a good rating."
112
- msgstr "Поставить плагину хорошую оценку"
113
-
114
- #@ addquicktag
115
- #: inc/class-settings.php:315
116
- msgid "Donate via PayPal"
117
- msgstr "Сделать пожертвование через PayPal"
118
-
119
- #@ addquicktag
120
- #: inc/class-settings.php:315
121
- msgid "Donate a few euros."
122
- msgstr "Пожертвовать пару евро"
123
-
124
- #@ addquicktag
125
- #: inc/class-settings.php:316
126
- msgid "Frank Bültge's Amazon Wish List"
127
- msgstr "Список пожеланий автора на Amazon'е"
128
-
129
- #@ addquicktag
130
- #: inc/class-settings.php:316
131
- msgid "Get me something from my wish list."
132
- msgstr "Подарить автору что-нибудь из этого списка"
133
-
134
- #@ addquicktag
135
- #: inc/class-settings.php:335
136
- msgid "About this plugin"
137
- msgstr "О плагине"
138
-
139
- #@ addquicktag
140
- #: inc/class-settings.php:338
141
- msgid "Version:"
142
- msgstr "Версия:"
143
-
144
- #@ addquicktag
145
- #: inc/class-settings.php:342
146
- msgid "Description:"
147
- msgstr "Описание:"
148
-
149
- #@ addquicktag
150
- #: inc/class-settings.php:214
151
- msgid "Order"
152
- msgstr "Порядок"
153
-
154
- #@ addquicktag
155
- #: inc/class-settings.php:215
156
- msgid "Visual"
157
- msgstr "Визуально"
158
-
159
- #@ addquicktag
160
- #. translators: plugin header field 'Description'
161
- #: addquicktag.php:0
162
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
163
- msgstr "Плагин позволяет легко добавить свои кнопки в html и визуальный редактор WordPress."
164
-
165
- #@ addquicktag
166
- #. translators: plugin header field 'Version'
167
- #: addquicktag.php:0
168
- msgid "2.0.0"
169
- msgstr "2.0.0"
170
-
171
- #@ addquicktag
172
- #: inc/class-imexport.php:64
173
- msgid "Export"
174
- msgstr "Экспорт"
175
-
176
- #@ addquicktag
177
- #: inc/class-imexport.php:66
178
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
179
- msgstr "При клике на кнопку плагин создаст XML-файл, который вы можете сохранить на своем компьютере."
180
-
181
- #@ addquicktag
182
- #: inc/class-imexport.php:67
183
- msgid "This format, a custom XML, will contain your options from quicktags."
184
- msgstr "Этот XML-файл будет содержать все настройки плагина."
185
-
186
- #@ addquicktag
187
- #: inc/class-imexport.php:68
188
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
189
- msgstr "С помощью данного файла вы сможете импортировать настройки этого плагина в другом блоге."
190
-
191
- #@ addquicktag
192
- #: inc/class-imexport.php:72
193
- msgid "Download Export File"
194
- msgstr "Скачать файл экспорта"
195
-
196
- #@ addquicktag
197
- #: inc/class-imexport.php:80
198
- msgid "Import"
199
- msgstr "Импорт"
200
-
201
- #@ addquicktag
202
- #: inc/class-imexport.php:82
203
- msgid "If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import."
204
- msgstr "Если у вас есть файл с настройками плагина вы можете их импортировать. Для этого выберите файл и нажмите кнопку \"Загрузить и импортировать\"."
205
-
206
- #@ addquicktag
207
- #: inc/class-imexport.php:87
208
- msgid "Upload file and import"
209
- msgstr "Загрузить и импортировать"
210
-
211
- #@ addquicktag
212
- #: inc/class-imexport.php:178
213
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
214
- msgstr "Настройки не сохранены - у вас нет прав доступа для этого!"
215
-
216
- #@ addquicktag
217
- #: inc/class-settings.php:387
218
- msgid "Options saved."
219
- msgstr "Настройки сохранены."
220
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-sr_RS.mo DELETED
Binary file
languages/addquicktag-sr_RS.po DELETED
@@ -1,316 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.2\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-06-16 20:31-0300\n"
6
- "PO-Revision-Date: 2014-06-22 07:54:17+0000\n"
7
- "Last-Translator: Brian Flores <baflores@gmail.com>\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: Serbo-Croatian\n"
15
- "X-Poedit-Country: ARGENTINA\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-imexport.php:189
24
- #@ addquicktag
25
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
26
- msgstr "Опције не ажурирање - немате привилегије да то урадите! "
27
-
28
- #: inc/class-settings.php:572
29
- #@ addquicktag
30
- msgid "Options saved."
31
- msgstr "Опције сачуване"
32
-
33
- #: inc/class-settings.php:241
34
- #@ addquicktag
35
- msgid "Add or delete Quicktag buttons"
36
- msgstr "Додај или избриши Quicktag тастер"
37
-
38
- #: inc/class-settings.php:243
39
- #@ addquicktag
40
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
41
- msgstr "Попуни поља да би додао или изменио quicktag. Поља са * су обавезна. Да избришеш tag једноставно избриши сва поља"
42
-
43
- #: inc/class-settings.php:408
44
- #@ addquicktag
45
- msgid "Button Label*"
46
- msgstr "Обележје тастатуре*"
47
-
48
- #: inc/class-settings.php:300
49
- #: inc/class-settings.php:409
50
- #@ addquicktag
51
- msgid "Title Attribute"
52
- msgstr "Назив додељене функције"
53
-
54
- #: inc/class-settings.php:412
55
- #@ addquicktag
56
- msgid "Start Tag(s)*"
57
- msgstr "Почни сa tag(oвим)"
58
-
59
- #: inc/class-settings.php:302
60
- #: inc/class-settings.php:413
61
- #@ addquicktag
62
- msgid "End Tag(s)"
63
- msgstr "Заврши са tag(овима)"
64
-
65
- #: inc/class-imexport.php:106
66
- #@ addquicktag
67
- msgid "Export"
68
- msgstr "Експортуј"
69
-
70
- #: inc/class-imexport.php:126
71
- #@ addquicktag
72
- msgid "Import"
73
- msgstr "Импортуј"
74
-
75
- #: inc/class-settings.php:172
76
- #: inc/class-settings.php:192
77
- #: inc/class-settings.php:210
78
- #: inc/class-settings.php:218
79
- #@ default
80
- #@ addquicktag
81
- msgid "Settings"
82
- msgstr "Подешавања"
83
-
84
- #. translators: plugin header field 'Name'
85
- #: addquicktag.php:0
86
- #@ addquicktag
87
- msgid "AddQuicktag"
88
- msgstr "AddQuicktag"
89
-
90
- #. translators: plugin header field 'PluginURI'
91
- #: addquicktag.php:0
92
- #@ addquicktag
93
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
94
- msgstr ""
95
-
96
- #. translators: plugin header field 'Description'
97
- #: addquicktag.php:0
98
- #@ addquicktag
99
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
100
- msgstr ""
101
-
102
- #. translators: plugin header field 'Author'
103
- #: addquicktag.php:0
104
- #@ addquicktag
105
- msgid "Frank Bültge"
106
- msgstr ""
107
-
108
- #. translators: plugin header field 'AuthorURI'
109
- #: addquicktag.php:0
110
- #@ addquicktag
111
- msgid "http://bueltge.de"
112
- msgstr ""
113
-
114
- #: inc/class-code-quicktags.php:81
115
- #@ addquicktag
116
- msgid "Enhanced Code Quicktag buttons"
117
- msgstr ""
118
-
119
- #: inc/class-code-quicktags.php:82
120
- #@ addquicktag
121
- msgid "Select the checkbox below to add enhanced code buttons."
122
- msgstr ""
123
-
124
- #: inc/class-code-quicktags.php:83
125
- #@ addquicktag
126
- msgid "pre: Enhanced Code buttons"
127
- msgstr ""
128
-
129
- #: inc/class-code-quicktags.php:84
130
- #@ addquicktag
131
- msgid "Enhanced the default Code buttons. Add a pull down menu for different languages before the default code button and include this as class inside the code tag. Also add a pre button for preformatted text."
132
- msgstr ""
133
-
134
- #: inc/class-code-quicktags.php:85
135
- #@ addquicktag
136
- msgid "htmlentities: HTML Entities, HTML Decode"
137
- msgstr ""
138
-
139
- #: inc/class-code-quicktags.php:86
140
- #@ addquicktag
141
- msgid "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;lt; and back."
142
- msgstr ""
143
-
144
- #: inc/class-code-quicktags.php:104
145
- #: inc/class-remove-quicktags.php:85
146
- #@ addquicktag
147
- msgid "Button"
148
- msgstr ""
149
-
150
- #: inc/class-imexport.php:113
151
- #@ addquicktag
152
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
153
- msgstr ""
154
-
155
- #: inc/class-imexport.php:118
156
- #@ addquicktag
157
- msgid "Download Export File"
158
- msgstr ""
159
-
160
- #: inc/class-imexport.php:129
161
- #@ addquicktag
162
- msgid "If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import. (json-Format)"
163
- msgstr ""
164
-
165
- #: inc/class-imexport.php:135
166
- #@ addquicktag
167
- msgid "Upload file and import"
168
- msgstr ""
169
-
170
- #: inc/class-imexport.php:198
171
- #@ addquicktag
172
- msgid "Please upload a valid .json file"
173
- msgstr ""
174
-
175
- #: inc/class-imexport.php:204
176
- #@ addquicktag
177
- msgid "Please upload a file to import."
178
- msgstr ""
179
-
180
- #: inc/class-remove-quicktags.php:66
181
- #@ addquicktag
182
- msgid "Remove Core Quicktag buttons"
183
- msgstr ""
184
-
185
- #: inc/class-remove-quicktags.php:67
186
- #@ addquicktag
187
- msgid "Select the checkbox below to remove a core quicktags in the editors of the respective post type."
188
- msgstr ""
189
-
190
- #: inc/class-settings.php:299
191
- #@ addquicktag
192
- msgid "Button Label* and"
193
- msgstr ""
194
-
195
- #: inc/class-settings.php:301
196
- #@ addquicktag
197
- msgid "Start Tag(s)* and"
198
- msgstr ""
199
-
200
- #: inc/class-settings.php:303
201
- #@ addquicktag
202
- msgid "Access Key and"
203
- msgstr ""
204
-
205
- #: inc/class-settings.php:304
206
- #: inc/class-settings.php:417
207
- #@ addquicktag
208
- msgid "Order"
209
- msgstr ""
210
-
211
- #: inc/class-settings.php:305
212
- #@ addquicktag
213
- msgid "Visual"
214
- msgstr ""
215
-
216
- #: inc/class-settings.php:416
217
- #@ addquicktag
218
- msgid "Access Key"
219
- msgstr ""
220
-
221
- #: inc/class-settings.php:432
222
- #@ default
223
- msgid "Save Changes"
224
- msgstr ""
225
-
226
- #: inc/class-settings.php:472
227
- #@ addquicktag
228
- msgid "Like this plugin?"
229
- msgstr ""
230
-
231
- #: inc/class-settings.php:475
232
- #@ addquicktag
233
- msgid "Here's how you can give back:"
234
- msgstr ""
235
-
236
- #: inc/class-settings.php:478
237
- #@ addquicktag
238
- msgid "The Plugin on the WordPress plugin repository"
239
- msgstr ""
240
-
241
- #: inc/class-settings.php:478
242
- #@ addquicktag
243
- msgid "Give the plugin a good rating."
244
- msgstr ""
245
-
246
- #: inc/class-settings.php:481
247
- #@ addquicktag
248
- msgid "Help inside the community other useres and write answer to this plugin questions."
249
- msgstr ""
250
-
251
- #: inc/class-settings.php:481
252
- #@ addquicktag
253
- msgid "Help other users in the Support Forum."
254
- msgstr ""
255
-
256
- #: inc/class-settings.php:484
257
- #@ addquicktag
258
- msgid "Donate via PayPal"
259
- msgstr ""
260
-
261
- #: inc/class-settings.php:484
262
- #@ addquicktag
263
- msgid "Donate a few euros."
264
- msgstr ""
265
-
266
- #: inc/class-settings.php:487
267
- #@ addquicktag
268
- msgid "Frank Bültge's Amazon Wish List"
269
- msgstr ""
270
-
271
- #: inc/class-settings.php:487
272
- #@ addquicktag
273
- msgid "Get me something from my wish list."
274
- msgstr ""
275
-
276
- #: inc/class-settings.php:490
277
- #@ addquicktag
278
- msgid "Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues."
279
- msgstr ""
280
-
281
- #: inc/class-settings.php:490
282
- #@ addquicktag
283
- msgid "Github Repo for Contribute, Issues & Bugs"
284
- msgstr ""
285
-
286
- #: inc/class-settings.php:511
287
- #@ addquicktag
288
- msgid "About this plugin"
289
- msgstr ""
290
-
291
- #: inc/class-settings.php:515
292
- #@ addquicktag
293
- msgid "Version:"
294
- msgstr ""
295
-
296
- #: inc/class-settings.php:520
297
- #@ addquicktag
298
- msgid "Description:"
299
- msgstr ""
300
-
301
- #. translators: plugin header field 'Version'
302
- #: addquicktag.php:0
303
- #@ addquicktag
304
- msgid "2.3.2"
305
- msgstr ""
306
-
307
- #: inc/class-imexport.php:109
308
- #@ addquicktag
309
- msgid "When you click the button below the plugin will create an JSON file for you to save to your computer."
310
- msgstr ""
311
-
312
- #: inc/class-imexport.php:111
313
- #@ addquicktag
314
- msgid "This format, a custom JSON, will contain your options from quicktags."
315
- msgstr ""
316
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-tr_TR.mo DELETED
Binary file
languages/addquicktag-tr_TR.po DELETED
@@ -1,353 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.2.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-06-27 01:16+0200\n"
7
- "Last-Translator: Gürkan Özsoy <turk3005@gmail.com>\n"
8
- "Language-Team: gurkanozsoy.com <admin@gurkanozsoy.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-Poedit-SourceCharset: UTF-8\n"
14
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
15
- "_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-Poedit-Basepath: .\n"
17
- "X-Textdomain-Support: yes\n"
18
- "Language: tr_TR\n"
19
- "X-Generator: Poedit 1.6.5\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
-
22
- # @ addquicktag
23
- #. translators: plugin header field 'Name'
24
- #: addquicktag.php:0
25
- msgid "AddQuicktag"
26
- msgstr "AddQuicktag"
27
-
28
- # @ addquicktag
29
- #. translators: plugin header field 'PluginURI'
30
- #: addquicktag.php:0
31
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
32
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
33
-
34
- # @ addquicktag
35
- #. translators: plugin header field 'Author'
36
- #: addquicktag.php:0
37
- msgid "Frank Bültge"
38
- msgstr "Frank Bültge"
39
-
40
- # @ addquicktag
41
- #. translators: plugin header field 'AuthorURI'
42
- #: addquicktag.php:0
43
- msgid "http://bueltge.de"
44
- msgstr "http://bueltge.de"
45
-
46
- # @ default
47
- # @ addquicktag
48
- #: inc/class-settings.php:172 inc/class-settings.php:192
49
- #: inc/class-settings.php:210 inc/class-settings.php:218
50
- msgid "Settings"
51
- msgstr "Ayarlar"
52
-
53
- # @ addquicktag
54
- #: inc/class-settings.php:241
55
- msgid "Add or delete Quicktag buttons"
56
- msgstr "Quicktag Ekle/Sil"
57
-
58
- # @ addquicktag
59
- #: inc/class-settings.php:408
60
- msgid "Button Label*"
61
- msgstr "Buton İsmi*"
62
-
63
- # @ addquicktag
64
- #: inc/class-settings.php:300 inc/class-settings.php:409
65
- msgid "Title Attribute"
66
- msgstr "Başlık Özelliği"
67
-
68
- # @ addquicktag
69
- #: inc/class-settings.php:412
70
- msgid "Start Tag(s)*"
71
- msgstr "Başlangıç Etiket(ler)i*"
72
-
73
- # @ addquicktag
74
- #: inc/class-settings.php:302 inc/class-settings.php:413
75
- msgid "End Tag(s)"
76
- msgstr "Bitiş Etiket(ler)i"
77
-
78
- # @ addquicktag
79
- #: inc/class-settings.php:416
80
- msgid "Access Key"
81
- msgstr "Erişim Anahtarı"
82
-
83
- # @ default
84
- #: inc/class-settings.php:432
85
- msgid "Save Changes"
86
- msgstr "Değişiklikleri Kaydet"
87
-
88
- # @ addquicktag
89
- #: inc/class-settings.php:472
90
- msgid "Like this plugin?"
91
- msgstr "Bu eklentiyi sevdiniz mi?"
92
-
93
- # @ addquicktag
94
- #: inc/class-settings.php:475
95
- msgid "Here's how you can give back:"
96
- msgstr "Buradan nasıl geribildirim yapabileceğinizi seçebilirsiniz:"
97
-
98
- # @ addquicktag
99
- #: inc/class-settings.php:478
100
- msgid "The Plugin on the WordPress plugin repository"
101
- msgstr "Eklenti WordPress eklenti deposunda "
102
-
103
- # @ addquicktag
104
- #: inc/class-settings.php:478
105
- msgid "Give the plugin a good rating."
106
- msgstr "Bu eklentiye oy verin."
107
-
108
- # @ addquicktag
109
- #: inc/class-settings.php:484
110
- msgid "Donate via PayPal"
111
- msgstr "Paypal üzerinden bağışta bulunun"
112
-
113
- # @ addquicktag
114
- #: inc/class-settings.php:484
115
- msgid "Donate a few euros."
116
- msgstr "Birkaç Euro bağışta bulunun."
117
-
118
- # @ addquicktag
119
- #: inc/class-settings.php:487
120
- msgid "Frank Bültge's Amazon Wish List"
121
- msgstr "Frank Bültge'nin Amazon İstek Listesi"
122
-
123
- # @ addquicktag
124
- #: inc/class-settings.php:487
125
- msgid "Get me something from my wish list."
126
- msgstr "İstek listemden bazı şeyleri benim için alabilirsiniz."
127
-
128
- # @ addquicktag
129
- #: inc/class-settings.php:511
130
- msgid "About this plugin"
131
- msgstr "Bu eklenti hakkınd"
132
-
133
- # @ addquicktag
134
- #: inc/class-settings.php:515
135
- msgid "Version:"
136
- msgstr "Sürüm:"
137
-
138
- # @ addquicktag
139
- #: inc/class-settings.php:520
140
- msgid "Description:"
141
- msgstr "Açıklama:"
142
-
143
- # @ addquicktag
144
- #: inc/class-settings.php:304 inc/class-settings.php:417
145
- msgid "Order"
146
- msgstr "Sıra"
147
-
148
- # @ addquicktag
149
- #: inc/class-settings.php:305
150
- msgid "Visual"
151
- msgstr "Görsel"
152
-
153
- # @ addquicktag
154
- #. translators: plugin header field 'Description'
155
- #: addquicktag.php:0
156
- msgid ""
157
- "Allows you to easily add custom Quicktags to the html- and visual-editor."
158
- msgstr ""
159
- "Özel Quicktags butonlarını kolayca HTML veya Görsel yazı editörüne "
160
- "eklemenize olanak sağlar."
161
-
162
- # @ addquicktag
163
- #: inc/class-imexport.php:106
164
- msgid "Export"
165
- msgstr "Dışa Aktar"
166
-
167
- # @ addquicktag
168
- #: inc/class-imexport.php:109
169
- msgid ""
170
- "When you click the button below the plugin will create an JSON file for you "
171
- "to save to your computer."
172
- msgstr ""
173
- "Alttaki düğmeye bir kere tıkladığınızda eklenti, bilgisayarınıza kaydetmek "
174
- "için bir JSON dosyası oluşturur."
175
-
176
- # @ addquicktag
177
- #: inc/class-imexport.php:111
178
- msgid "This format, a custom JSON, will contain your options from quicktags."
179
- msgstr ""
180
- "Bu JSON dosyası özel bir biçim dosyası olup, quicktags seçeneklerinizi "
181
- "içerecektir."
182
-
183
- # @ addquicktag
184
- #: inc/class-imexport.php:113
185
- msgid ""
186
- "Once you’ve saved the download file, you can use the Import function in "
187
- "another WordPress installation to import this site."
188
- msgstr ""
189
- "Aktarım dosyasını indirdikten sonra, bu sitedeki ayarları başka WordPress "
190
- "kurulumunda kullanmak için, içe aktar işlevini kullanabilirsiniz."
191
-
192
- # @ addquicktag
193
- #: inc/class-imexport.php:118
194
- msgid "Download Export File"
195
- msgstr "İndirme dosyasını içe aktar"
196
-
197
- # @ addquicktag
198
- #: inc/class-imexport.php:126
199
- msgid "Import"
200
- msgstr "İçe Aktar"
201
-
202
- # @ addquicktag
203
- #: inc/class-imexport.php:135
204
- msgid "Upload file and import"
205
- msgstr "Dosyayı yükle ve içe aktar"
206
-
207
- # @ addquicktag
208
- #: inc/class-imexport.php:189
209
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
210
- msgstr "Seçenekler güncellenmedi - Bunu yapmak için izniniz yok!"
211
-
212
- # @ addquicktag
213
- #: inc/class-settings.php:572
214
- msgid "Options saved."
215
- msgstr "Seçenekler kaydedildi."
216
-
217
- # @ addquicktag
218
- #: inc/class-settings.php:490
219
- msgid ""
220
- "Please give me feedback, contribute and file technical bugs on this GitHub "
221
- "Repo, use Issues."
222
- msgstr ""
223
- "Bana geribildirimde bulunmak, eklentiye katkı vermek ve eklenti hakkındaki "
224
- "teknik hataları bildirmek için bu GitHub Repo üzerindeki sayfayı kullanın."
225
-
226
- # @ addquicktag
227
- #: inc/class-settings.php:490
228
- msgid "Github Repo for Contribute, Issues & Bugs"
229
- msgstr "Github Repo Katkıda bulunmak Sorun ve Teknik Hatalar için"
230
-
231
- # @ addquicktag
232
- #: inc/class-code-quicktags.php:81
233
- msgid "Enhanced Code Quicktag buttons"
234
- msgstr "Gelişmiş Quicktag Kod Butonları"
235
-
236
- # @ addquicktag
237
- #: inc/class-code-quicktags.php:82
238
- msgid "Select the checkbox below to add enhanced code buttons."
239
- msgstr "Gelişmiş kod butonları eklemek için aşağıdaki onay kutusunu seçin."
240
-
241
- # @ addquicktag
242
- #: inc/class-code-quicktags.php:83
243
- msgid "pre: Enhanced Code buttons"
244
- msgstr "pre: Gelişmiş kod butonları"
245
-
246
- # @ addquicktag
247
- #: inc/class-code-quicktags.php:84
248
- msgid ""
249
- "Enhanced the default Code buttons. Add a pull down menu for different "
250
- "languages before the default code button and include this as class inside "
251
- "the code tag. Also add a pre button for preformatted text."
252
- msgstr ""
253
- "Varsayılan buton kodları geliştirildi. Varsayılan buton kodu ve bu kod "
254
- "etiketi için sınıf görevi bu eklemeden önce farklı diller için bir aşağı "
255
- "çekme menüsü ve ayrıca önceden biçimlendirilmiş metin için bir pre butonu "
256
- "ekleyin."
257
-
258
- # @ addquicktag
259
- #: inc/class-code-quicktags.php:85
260
- msgid "htmlentities: HTML Entities, HTML Decode"
261
- msgstr "htmlentities: HTML Entities, HTML Decode"
262
-
263
- # @ addquicktag
264
- #: inc/class-code-quicktags.php:86
265
- msgid ""
266
- "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;"
267
- "lt; and back."
268
- msgstr ""
269
- "Uygunsuz HTML kodlama/çözümleme için butonların öncesine < ve sonrasına > "
270
- "ekleyin."
271
-
272
- # @ addquicktag
273
- #: inc/class-code-quicktags.php:104 inc/class-remove-quicktags.php:85
274
- msgid "Button"
275
- msgstr "Buton"
276
-
277
- # @ addquicktag
278
- #: inc/class-imexport.php:129
279
- msgid ""
280
- "If you have quicktags from other installs, the plugin can import those into "
281
- "this site. To get started, choose a file to import. (json-Format)"
282
- msgstr ""
283
- "Diğer bloglarınızda yüklü olan Quicktag'larınız varsa, eklenti ile bu site "
284
- "içine bunları alabilirsiniz. Başlamak için bir dosya seçin. (json-Format)"
285
-
286
- # @ addquicktag
287
- #: inc/class-imexport.php:198
288
- msgid "Please upload a valid .json file"
289
- msgstr "Lütfen geçerli bir .json dosyası yükleyin."
290
-
291
- # @ addquicktag
292
- #: inc/class-imexport.php:204
293
- msgid "Please upload a file to import."
294
- msgstr "Lütfen bir dosya içe aktarın."
295
-
296
- # @ addquicktag
297
- #: inc/class-remove-quicktags.php:66
298
- msgid "Remove Core Quicktag buttons"
299
- msgstr "Temel Quicktag butonlarını kaldırın"
300
-
301
- # @ addquicktag
302
- #: inc/class-remove-quicktags.php:67
303
- msgid ""
304
- "Select the checkbox below to remove a core quicktags in the editors of the "
305
- "respective post type."
306
- msgstr ""
307
- "İlgili seçim sonrası editörlerden bir çekirdek quicktags türünü kaldırmak "
308
- "için aşağıdaki onay kutusunu seçin."
309
-
310
- # @ addquicktag
311
- #: inc/class-settings.php:243
312
- msgid ""
313
- "Fill in the fields below to add or edit the quicktags. Fields with * are "
314
- "required. To delete a tag simply empty all fields."
315
- msgstr ""
316
- "Quicktag eklemek veya düzenlemek için aşağıdaki alanları doldurun. * ile "
317
- "belirtilen alanların doldurulması zorunludur. Bir etiketi silmek için tüm "
318
- "alanları boşaltın."
319
-
320
- # @ addquicktag
321
- #: inc/class-settings.php:299
322
- msgid "Button Label* and"
323
- msgstr "Button İsmi* ve"
324
-
325
- # @ addquicktag
326
- #: inc/class-settings.php:301
327
- msgid "Start Tag(s)* and"
328
- msgstr "Başlangıç Etiket(ler)i* ve"
329
-
330
- # @ addquicktag
331
- #: inc/class-settings.php:303
332
- msgid "Access Key and"
333
- msgstr "Erişim Anahtarı ve"
334
-
335
- # @ addquicktag
336
- #: inc/class-settings.php:481
337
- msgid ""
338
- "Help inside the community other useres and write answer to this plugin "
339
- "questions."
340
- msgstr ""
341
- "Topluluk, üye olan kullanıcılara yardımcı olur ve bu eklenti hakkındaki "
342
- "sorulara cevap verir."
343
-
344
- # @ addquicktag
345
- #: inc/class-settings.php:481
346
- msgid "Help other users in the Support Forum."
347
- msgstr "Destek forumu diğer kullanıcılara yardımcı olur."
348
-
349
- # @ addquicktag
350
- #. translators: plugin header field 'Version'
351
- #: addquicktag.php:0
352
- msgid "2.3.2"
353
- msgstr "2.3.3"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-uk_UA.mo DELETED
Binary file
languages/addquicktag-uk_UA.po DELETED
@@ -1,316 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.2\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-06-22 07:54:21+0000\n"
7
- "Last-Translator: Frank Bültge <frank@bueltge.de>\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=3; plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n+9)%10>3 ? 2 : 1;\n"
13
- "X-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: \n"
15
- "X-Poedit-Country: \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
- #. translators: plugin header field 'Name'
24
- #: addquicktag.php:0
25
- #@ addquicktag
26
- msgid "AddQuicktag"
27
- msgstr "Додати швидкий тег"
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: addquicktag.php:0
31
- #@ addquicktag
32
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
33
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
34
-
35
- #. translators: plugin header field 'Author'
36
- #: addquicktag.php:0
37
- #@ addquicktag
38
- msgid "Frank Bültge"
39
- msgstr "Frank Bültge"
40
-
41
- #. translators: plugin header field 'AuthorURI'
42
- #: addquicktag.php:0
43
- #@ addquicktag
44
- msgid "http://bueltge.de"
45
- msgstr "http://bueltge.de"
46
-
47
- #: inc/class-settings.php:172
48
- #: inc/class-settings.php:192
49
- #: inc/class-settings.php:210
50
- #: inc/class-settings.php:218
51
- #@ default
52
- #@ addquicktag
53
- msgid "Settings"
54
- msgstr "Налаштування"
55
-
56
- #: inc/class-settings.php:241
57
- #@ addquicktag
58
- msgid "Add or delete Quicktag buttons"
59
- msgstr "Додати або видалити кнопки швидких тегів"
60
-
61
- #: inc/class-settings.php:408
62
- #@ addquicktag
63
- msgid "Button Label*"
64
- msgstr "Кнопка Label *"
65
-
66
- #: inc/class-settings.php:300
67
- #: inc/class-settings.php:409
68
- #@ addquicktag
69
- msgid "Title Attribute"
70
- msgstr "Назва Атрибуту"
71
-
72
- #: inc/class-settings.php:412
73
- #@ addquicktag
74
- msgid "Start Tag(s)*"
75
- msgstr "Початковий тег (і) *"
76
-
77
- #: inc/class-settings.php:302
78
- #: inc/class-settings.php:413
79
- #@ addquicktag
80
- msgid "End Tag(s)"
81
- msgstr "Кінець тегів (у)"
82
-
83
- #: inc/class-settings.php:416
84
- #@ addquicktag
85
- msgid "Access Key"
86
- msgstr "Ключ доступу"
87
-
88
- #: inc/class-settings.php:243
89
- #@ addquicktag
90
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
91
- msgstr "Заповніть поля внизу, щоб додати або редагувати Швидкі теги. Поля, відмічені * обов&#39;язкові для заповнення. Щоб видалити тег просто очистить всі поля."
92
-
93
- #: inc/class-settings.php:432
94
- #@ default
95
- msgid "Save Changes"
96
- msgstr "Зберегти зміни"
97
-
98
- #: inc/class-settings.php:472
99
- #@ addquicktag
100
- msgid "Like this plugin?"
101
- msgstr "Подобається цей плагін?"
102
-
103
- #: inc/class-settings.php:475
104
- #@ addquicktag
105
- msgid "Here's how you can give back:"
106
- msgstr "Ось як ви можете повернути:"
107
-
108
- #: inc/class-settings.php:478
109
- #@ addquicktag
110
- msgid "The Plugin on the WordPress plugin repository"
111
- msgstr "Плагін на сховищі плагінів WordPress"
112
-
113
- #: inc/class-settings.php:478
114
- #@ addquicktag
115
- msgid "Give the plugin a good rating."
116
- msgstr "Дайте Плагіну хороший рейтинг."
117
-
118
- #: inc/class-settings.php:484
119
- #@ addquicktag
120
- msgid "Donate via PayPal"
121
- msgstr "Пожертвувати через PayPal"
122
-
123
- #: inc/class-settings.php:484
124
- #@ addquicktag
125
- msgid "Donate a few euros."
126
- msgstr "Пожертвувати кілька євро."
127
-
128
- #: inc/class-settings.php:487
129
- #@ addquicktag
130
- msgid "Frank Bültge's Amazon Wish List"
131
- msgstr "Список побажань Frank Bültge's на Amazon"
132
-
133
- #: inc/class-settings.php:487
134
- #@ addquicktag
135
- msgid "Get me something from my wish list."
136
- msgstr "Дайте мені що-небудь з мого списку побажань."
137
-
138
- #: inc/class-settings.php:511
139
- #@ addquicktag
140
- msgid "About this plugin"
141
- msgstr "Про цей плагін"
142
-
143
- #: inc/class-settings.php:515
144
- #@ addquicktag
145
- msgid "Version:"
146
- msgstr "Версія:"
147
-
148
- #: inc/class-settings.php:520
149
- #@ addquicktag
150
- msgid "Description:"
151
- msgstr "Опис:"
152
-
153
- #: inc/class-settings.php:304
154
- #: inc/class-settings.php:417
155
- #@ addquicktag
156
- msgid "Order"
157
- msgstr "Порядок"
158
-
159
- #: inc/class-settings.php:305
160
- #@ addquicktag
161
- msgid "Visual"
162
- msgstr "Візуальний"
163
-
164
- #. translators: plugin header field 'Description'
165
- #: addquicktag.php:0
166
- #@ addquicktag
167
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
168
- msgstr "Дозволяє легко додавати власні Швидкі теги в HTML-та візуального редактора."
169
-
170
- #: inc/class-imexport.php:106
171
- #@ addquicktag
172
- msgid "Export"
173
- msgstr "Експорт"
174
-
175
- #: inc/class-imexport.php:113
176
- #@ addquicktag
177
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
178
- msgstr "Після того як ви зберегли файл, ви можете використовувати функцію імпорту в іншому WordPress та імпортувати установки на сайт."
179
-
180
- #: inc/class-imexport.php:118
181
- #@ addquicktag
182
- msgid "Download Export File"
183
- msgstr "Завантажити Експорт файлу"
184
-
185
- #: inc/class-imexport.php:126
186
- #@ addquicktag
187
- msgid "Import"
188
- msgstr "Імпорт"
189
-
190
- #: inc/class-imexport.php:135
191
- #@ addquicktag
192
- msgid "Upload file and import"
193
- msgstr "Завантажити та імпортувати"
194
-
195
- #: inc/class-imexport.php:189
196
- #@ addquicktag
197
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
198
- msgstr "Опції не оновилися - ви не маєте привілегій, щоб зробити це!"
199
-
200
- #: inc/class-settings.php:572
201
- #@ addquicktag
202
- msgid "Options saved."
203
- msgstr "Налаштування збережені."
204
-
205
- #: inc/class-settings.php:490
206
- #@ addquicktag
207
- msgid "Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues."
208
- msgstr "Будь ласка, зробіть свій внесок і подати технічні помилки на цьому GitHub репозиторію, використовуючи питання."
209
-
210
- #: inc/class-settings.php:490
211
- #@ addquicktag
212
- msgid "Github Repo for Contribute, Issues & Bugs"
213
- msgstr "Github репозиторій для сприяння, питання і помилки"
214
-
215
- #: inc/class-code-quicktags.php:81
216
- #@ addquicktag
217
- msgid "Enhanced Code Quicktag buttons"
218
- msgstr ""
219
-
220
- #: inc/class-code-quicktags.php:82
221
- #@ addquicktag
222
- msgid "Select the checkbox below to add enhanced code buttons."
223
- msgstr ""
224
-
225
- #: inc/class-code-quicktags.php:83
226
- #@ addquicktag
227
- msgid "pre: Enhanced Code buttons"
228
- msgstr ""
229
-
230
- #: inc/class-code-quicktags.php:84
231
- #@ addquicktag
232
- msgid "Enhanced the default Code buttons. Add a pull down menu for different languages before the default code button and include this as class inside the code tag. Also add a pre button for preformatted text."
233
- msgstr ""
234
-
235
- #: inc/class-code-quicktags.php:85
236
- #@ addquicktag
237
- msgid "htmlentities: HTML Entities, HTML Decode"
238
- msgstr ""
239
-
240
- #: inc/class-code-quicktags.php:86
241
- #@ addquicktag
242
- msgid "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;lt; and back."
243
- msgstr ""
244
-
245
- #: inc/class-code-quicktags.php:104
246
- #: inc/class-remove-quicktags.php:85
247
- #@ addquicktag
248
- msgid "Button"
249
- msgstr ""
250
-
251
- #: inc/class-imexport.php:129
252
- #@ addquicktag
253
- msgid "If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import. (json-Format)"
254
- msgstr ""
255
-
256
- #: inc/class-imexport.php:198
257
- #@ addquicktag
258
- msgid "Please upload a valid .json file"
259
- msgstr ""
260
-
261
- #: inc/class-imexport.php:204
262
- #@ addquicktag
263
- msgid "Please upload a file to import."
264
- msgstr ""
265
-
266
- #: inc/class-remove-quicktags.php:66
267
- #@ addquicktag
268
- msgid "Remove Core Quicktag buttons"
269
- msgstr ""
270
-
271
- #: inc/class-remove-quicktags.php:67
272
- #@ addquicktag
273
- msgid "Select the checkbox below to remove a core quicktags in the editors of the respective post type."
274
- msgstr ""
275
-
276
- #: inc/class-settings.php:299
277
- #@ addquicktag
278
- msgid "Button Label* and"
279
- msgstr ""
280
-
281
- #: inc/class-settings.php:301
282
- #@ addquicktag
283
- msgid "Start Tag(s)* and"
284
- msgstr ""
285
-
286
- #: inc/class-settings.php:303
287
- #@ addquicktag
288
- msgid "Access Key and"
289
- msgstr ""
290
-
291
- #: inc/class-settings.php:481
292
- #@ addquicktag
293
- msgid "Help inside the community other useres and write answer to this plugin questions."
294
- msgstr ""
295
-
296
- #: inc/class-settings.php:481
297
- #@ addquicktag
298
- msgid "Help other users in the Support Forum."
299
- msgstr ""
300
-
301
- #. translators: plugin header field 'Version'
302
- #: addquicktag.php:0
303
- #@ addquicktag
304
- msgid "2.3.2"
305
- msgstr ""
306
-
307
- #: inc/class-imexport.php:109
308
- #@ addquicktag
309
- msgid "When you click the button below the plugin will create an JSON file for you to save to your computer."
310
- msgstr ""
311
-
312
- #: inc/class-imexport.php:111
313
- #@ addquicktag
314
- msgid "This format, a custom JSON, will contain your options from quicktags."
315
- msgstr ""
316
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-xx_XX.pot DELETED
@@ -1,316 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.2\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-06-22 07:53:56+0000\n"
7
- "Last-Translator: Frank Bültge <frank@bueltge.de>\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: Poedit 1.5.4\n"
14
- "X-Poedit-Language: \n"
15
- "X-Poedit-Country: \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
- #. translators: plugin header field 'Name'
24
- #: addquicktag.php:0
25
- #@ addquicktag
26
- msgid "AddQuicktag"
27
- msgstr "AddQuicktag"
28
-
29
- #. translators: plugin header field 'PluginURI'
30
- #: addquicktag.php:0
31
- #@ addquicktag
32
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
33
- msgstr ""
34
-
35
- #. translators: plugin header field 'Author'
36
- #: addquicktag.php:0
37
- #@ addquicktag
38
- msgid "Frank Bültge"
39
- msgstr ""
40
-
41
- #. translators: plugin header field 'AuthorURI'
42
- #: addquicktag.php:0
43
- #@ addquicktag
44
- msgid "http://bueltge.de"
45
- msgstr ""
46
-
47
- #: inc/class-settings.php:172
48
- #: inc/class-settings.php:192
49
- #: inc/class-settings.php:210
50
- #: inc/class-settings.php:218
51
- #@ default
52
- #@ addquicktag
53
- msgid "Settings"
54
- msgstr "Einstellungen"
55
-
56
- #: inc/class-settings.php:241
57
- #@ addquicktag
58
- msgid "Add or delete Quicktag buttons"
59
- msgstr "Ergänze oder lösche Quicktag Buttons"
60
-
61
- #: inc/class-settings.php:408
62
- #@ addquicktag
63
- msgid "Button Label*"
64
- msgstr "Button Name*"
65
-
66
- #: inc/class-settings.php:300
67
- #: inc/class-settings.php:409
68
- #@ addquicktag
69
- msgid "Title Attribute"
70
- msgstr "Title Attribut"
71
-
72
- #: inc/class-settings.php:412
73
- #@ addquicktag
74
- msgid "Start Tag(s)*"
75
- msgstr "Start Tag(s)*"
76
-
77
- #: inc/class-settings.php:302
78
- #: inc/class-settings.php:413
79
- #@ addquicktag
80
- msgid "End Tag(s)"
81
- msgstr "Ende Tag(s)"
82
-
83
- #: inc/class-settings.php:416
84
- #@ addquicktag
85
- msgid "Access Key"
86
- msgstr "Zugriffstaste"
87
-
88
- #: inc/class-settings.php:432
89
- #@ default
90
- msgid "Save Changes"
91
- msgstr "Änderungen speichern"
92
-
93
- #: inc/class-settings.php:472
94
- #@ addquicktag
95
- msgid "Like this plugin?"
96
- msgstr "Du magst das Plugin?"
97
-
98
- #: inc/class-settings.php:475
99
- #@ addquicktag
100
- msgid "Here's how you can give back:"
101
- msgstr "Über folgende Möglichkeiten kannst du etwas zurück geben:"
102
-
103
- #: inc/class-settings.php:478
104
- #@ addquicktag
105
- msgid "The Plugin on the WordPress plugin repository"
106
- msgstr "Das Plugin im offiziellen WordPress Repository"
107
-
108
- #: inc/class-settings.php:478
109
- #@ addquicktag
110
- msgid "Give the plugin a good rating."
111
- msgstr "Gib dem Plugin eine gute Wertung"
112
-
113
- #: inc/class-settings.php:484
114
- #@ addquicktag
115
- msgid "Donate via PayPal"
116
- msgstr "Spende via Paypal"
117
-
118
- #: inc/class-settings.php:484
119
- #@ addquicktag
120
- msgid "Donate a few euros."
121
- msgstr "Spende einige Euros"
122
-
123
- #: inc/class-settings.php:487
124
- #@ addquicktag
125
- msgid "Frank Bültge's Amazon Wish List"
126
- msgstr "Frank Bültge's Amazon Wunschliste"
127
-
128
- #: inc/class-settings.php:487
129
- #@ addquicktag
130
- msgid "Get me something from my wish list."
131
- msgstr "Suche dir was aus und lass mir ein Objekt meiner Wunschliste zukommen."
132
-
133
- #: inc/class-settings.php:511
134
- #@ addquicktag
135
- msgid "About this plugin"
136
- msgstr "Über das Plugin"
137
-
138
- #: inc/class-settings.php:515
139
- #@ addquicktag
140
- msgid "Version:"
141
- msgstr "Version:"
142
-
143
- #: inc/class-settings.php:520
144
- #@ addquicktag
145
- msgid "Description:"
146
- msgstr "Beschreibung:"
147
-
148
- #: inc/class-settings.php:304
149
- #: inc/class-settings.php:417
150
- #@ addquicktag
151
- msgid "Order"
152
- msgstr "Reihenfolge"
153
-
154
- #: inc/class-settings.php:305
155
- #@ addquicktag
156
- msgid "Visual"
157
- msgstr "Visuell"
158
-
159
- #. translators: plugin header field 'Description'
160
- #: addquicktag.php:0
161
- #@ addquicktag
162
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
163
- msgstr "Erlaubt das einfache Hinzufügen von Quicktags zum html- und visuellen Editor."
164
-
165
- #: inc/class-imexport.php:106
166
- #@ addquicktag
167
- msgid "Export"
168
- msgstr "Exportieren"
169
-
170
- #: inc/class-imexport.php:109
171
- #@ addquicktag
172
- msgid "When you click the button below the plugin will create an JSON file for you to save to your computer."
173
- msgstr "Wenn du unten auf Export-Datei herunterladen klickst, wird das Plugin eine JSON-Datei für dich erstellen, die du auf deinem Computer speichern kannst."
174
-
175
- #: inc/class-imexport.php:111
176
- #@ addquicktag
177
- msgid "This format, a custom JSON, will contain your options from quicktags."
178
- msgstr "Dieses Format, ein benutzerdefniertes JSON, beinhaltet Einstellungen der Quicktags."
179
-
180
- #: inc/class-imexport.php:113
181
- #@ addquicktag
182
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
183
- msgstr "Nachdem die heruntergeladene Datei gespeichert wurde, kannst du die Import-Funktion in einer anderen WordPress Installation nutzen."
184
-
185
- #: inc/class-imexport.php:118
186
- #@ addquicktag
187
- msgid "Download Export File"
188
- msgstr "Export-Datei herunterladen"
189
-
190
- #: inc/class-imexport.php:126
191
- #@ addquicktag
192
- msgid "Import"
193
- msgstr "Importieren"
194
-
195
- #: inc/class-imexport.php:135
196
- #@ addquicktag
197
- msgid "Upload file and import"
198
- msgstr "Datei aktualisieren und importieren"
199
-
200
- #: inc/class-imexport.php:189
201
- #@ addquicktag
202
- msgid "Options not update - you don&lsquo;t have the privileges to do this!"
203
- msgstr "Einstellungen wurden nicht aktualisiert - du hast keine ausreichenden Rechte um dies zu tun!"
204
-
205
- #: inc/class-settings.php:572
206
- #@ addquicktag
207
- msgid "Options saved."
208
- msgstr "Einstellungen gespeichert."
209
-
210
- #: inc/class-settings.php:490
211
- #@ addquicktag
212
- msgid "Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues."
213
- msgstr "Bitte gib Feedback, Erweiterungen und Hinweis im Github Repo, nutze Issues."
214
-
215
- #: inc/class-settings.php:490
216
- #@ addquicktag
217
- msgid "Github Repo for Contribute, Issues & Bugs"
218
- msgstr "Github Repo für Erweiterungen, Hinweise & Fehler"
219
-
220
- #: inc/class-code-quicktags.php:81
221
- #@ addquicktag
222
- msgid "Enhanced Code Quicktag buttons"
223
- msgstr "Erweiterte Code Quicktag Buttons"
224
-
225
- #: inc/class-code-quicktags.php:82
226
- #@ addquicktag
227
- msgid "Select the checkbox below to add enhanced code buttons."
228
- msgstr "Wähle die jeweilige Checkbox für die Erweiterung um diese Buttons"
229
-
230
- #: inc/class-code-quicktags.php:83
231
- #@ addquicktag
232
- msgid "pre: Enhanced Code buttons"
233
- msgstr "pre: Erweiterte Code Buttons"
234
-
235
- #: inc/class-code-quicktags.php:84
236
- #@ addquicktag
237
- msgid "Enhanced the default Code buttons. Add a pull down menu for different languages before the default code button and include this as class inside the code tag. Also add a pre button for preformatted text."
238
- msgstr "Erweitert die Standard Code Buttons. Es wird ein Pull Down Menu für verschiedene Sprachen zum Standard Code Button hinzugefügt. Dieser enthält diese Sprachen als Attribut class. Außerdem wird ein pre Button für formatierten Text ergänzt. "
239
-
240
- #: inc/class-code-quicktags.php:85
241
- #@ addquicktag
242
- msgid "htmlentities: HTML Entities, HTML Decode"
243
- msgstr "htmlentities: HTML Entities, HTML Decode"
244
-
245
- #: inc/class-code-quicktags.php:86
246
- #@ addquicktag
247
- msgid "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;lt; and back."
248
- msgstr "Ergänzt zwei Quicktag Buttons zum de- und encodieren von HTML, bspw. &lt; zu &amp;lt; und zurück."
249
-
250
- #: inc/class-code-quicktags.php:104
251
- #: inc/class-remove-quicktags.php:85
252
- #@ addquicktag
253
- msgid "Button"
254
- msgstr "Button"
255
-
256
- #: inc/class-imexport.php:129
257
- #@ addquicktag
258
- msgid "If you have quicktags from other installs, the plugin can import those into this site. To get started, choose a file to import. (json-Format)"
259
- msgstr "Wenn du Quicktags von anderen Installationen hast, dann kannst du diese hier importieren. Wähle dazu die Datei und importiere sie. (json-Format)"
260
-
261
- #: inc/class-imexport.php:198
262
- #@ addquicktag
263
- msgid "Please upload a valid .json file"
264
- msgstr "Bitte lade eine valide .json Datei. "
265
-
266
- #: inc/class-imexport.php:204
267
- #@ addquicktag
268
- msgid "Please upload a file to import."
269
- msgstr "Bitte lade eine Datei zum Import."
270
-
271
- #: inc/class-remove-quicktags.php:66
272
- #@ addquicktag
273
- msgid "Remove Core Quicktag buttons"
274
- msgstr "Entferne Core Quicktag Buttons"
275
-
276
- #: inc/class-remove-quicktags.php:67
277
- #@ addquicktag
278
- msgid "Select the checkbox below to remove a core quicktags in the editors of the respective post type."
279
- msgstr "Wähle die jeweilige Checkbox zum Entfernen von Core Quicktags innerhalb des jeweiligen Editors zum Post Type."
280
-
281
- #: inc/class-settings.php:243
282
- #@ addquicktag
283
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
284
- msgstr "Ergänze die Felder um einen Quicktag zu erzeugen. Felder mit * sind Pflichtfelder. Zum Entfernen von Quicktags lösche die Einträge aller Felder eines Quicktags."
285
-
286
- #: inc/class-settings.php:299
287
- #@ addquicktag
288
- msgid "Button Label* and"
289
- msgstr "Button Label* und"
290
-
291
- #: inc/class-settings.php:301
292
- #@ addquicktag
293
- msgid "Start Tag(s)* and"
294
- msgstr "Start Tag(s)* und"
295
-
296
- #: inc/class-settings.php:303
297
- #@ addquicktag
298
- msgid "Access Key and"
299
- msgstr "Zugangstaste und"
300
-
301
- #: inc/class-settings.php:481
302
- #@ addquicktag
303
- msgid "Help inside the community other useres and write answer to this plugin questions."
304
- msgstr "Hilf in der Community anderen Nutzern und schreibe eine Antwort zur jeweiligen Frage."
305
-
306
- #: inc/class-settings.php:481
307
- #@ addquicktag
308
- msgid "Help other users in the Support Forum."
309
- msgstr "Hilf anderen Anwendern im Support Forum zum Plugin."
310
-
311
- #. translators: plugin header field 'Version'
312
- #: addquicktag.php:0
313
- #@ addquicktag
314
- msgid "2.3.2"
315
- msgstr ""
316
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-zh_CN.mo DELETED
Binary file
languages/addquicktag-zh_CN.po DELETED
@@ -1,245 +0,0 @@
1
- # Darcy Hu <hot123tea123@gmail.com>, 2014.
2
- msgid ""
3
- msgstr ""
4
- "Project-Id-Version: AddQuicktag v2.2.0\n"
5
- "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: \n"
7
- "PO-Revision-Date: 2014-10-02 14:58+0800\n"
8
- "Last-Translator: Darcy Hu <hot123tea123@gmail.com>\n"
9
- "Language-Team: Chinese Simplified <>\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-Poedit-Language: \n"
15
- "X-Poedit-Country: \n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
18
- "_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"
19
- "X-Poedit-Basepath: \n"
20
- "X-Poedit-Bookmarks: \n"
21
- "X-Poedit-SearchPath-0: .\n"
22
- "X-Textdomain-Support: yes\n"
23
- "Language: zh_CN\n"
24
- "X-Generator: Lokalize 1.5\n"
25
-
26
- # @ addquicktag
27
- #. translators: plugin header field 'Name'
28
- #: addquicktag.php:0
29
- msgid "AddQuicktag"
30
- msgstr "AddQuicktag"
31
-
32
- # @ addquicktag
33
- #. translators: plugin header field 'PluginURI'
34
- #: addquicktag.php:0
35
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
36
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
37
-
38
- # @ addquicktag
39
- #. translators: plugin header field 'Author'
40
- #: addquicktag.php:0
41
- msgid "Frank Bültge"
42
- msgstr "Frank Bültge"
43
-
44
- # @ addquicktag
45
- #. translators: plugin header field 'AuthorURI'
46
- #: addquicktag.php:0
47
- msgid "http://bueltge.de"
48
- msgstr "http://bueltge.de"
49
-
50
- # @ default
51
- # @ addquicktag
52
- #: inc/class-settings.php:128 inc/class-settings.php:145
53
- #: inc/class-settings.php:163 inc/class-settings.php:171
54
- msgid "Settings"
55
- msgstr "设置"
56
-
57
- # @ addquicktag
58
- #: inc/class-settings.php:196
59
- msgid "Add or delete Quicktag buttons"
60
- msgstr "添加或删除「快捷标签」 (Quicktag) 按钮"
61
-
62
- # @ addquicktag
63
- #: inc/class-settings.php:237
64
- msgid "Button Label*"
65
- msgstr "按钮名称*"
66
-
67
- # @ addquicktag
68
- #: inc/class-settings.php:238
69
- msgid "Title Attribute"
70
- msgstr "Title 属性"
71
-
72
- # @ addquicktag
73
- #: inc/class-settings.php:239
74
- msgid "Start Tag(s)*"
75
- msgstr "起始标签*"
76
-
77
- # @ addquicktag
78
- #: inc/class-settings.php:240
79
- msgid "End Tag(s)"
80
- msgstr "结束标签"
81
-
82
- # @ addquicktag
83
- #: inc/class-settings.php:241
84
- msgid "Access Key"
85
- msgstr "快捷键"
86
-
87
- # @ addquicktag
88
- #: inc/class-settings.php:341
89
- msgid ""
90
- "Fill in the fields below to add or edit the quicktags. Fields with * are "
91
- "required. To delete a tag simply empty all fields."
92
- msgstr "要添加或者编辑「快捷标签」,请填写或修改以下表格。带 * 号的为必填项。删除「快速标签」则需要清空该「快速标签」的所有项。"
93
-
94
- # @ default
95
- #: inc/class-settings.php:343
96
- msgid "Save Changes"
97
- msgstr "保存更改"
98
-
99
- # @ addquicktag
100
- #: inc/class-settings.php:378
101
- msgid "Like this plugin?"
102
- msgstr "喜欢这个插件吗?"
103
-
104
- # @ addquicktag
105
- #: inc/class-settings.php:380
106
- msgid "Here's how you can give back:"
107
- msgstr "您可以用以下方式给我们回馈:"
108
-
109
- # @ addquicktag
110
- #: inc/class-settings.php:382
111
- msgid "The Plugin on the WordPress plugin repository"
112
- msgstr "在 WordPress 插件库中的 AddQuicktag"
113
-
114
- # @ addquicktag
115
- #: inc/class-settings.php:382
116
- msgid "Give the plugin a good rating."
117
- msgstr "给个好评哦,亲。"
118
-
119
- # @ addquicktag
120
- #: inc/class-settings.php:383
121
- msgid "Donate via PayPal"
122
- msgstr "通过 PayPal 捐赠"
123
-
124
- # @ addquicktag
125
- #: inc/class-settings.php:383
126
- msgid "Donate a few euros."
127
- msgstr "捐个几欧元。"
128
-
129
- # @ addquicktag
130
- #: inc/class-settings.php:384
131
- msgid "Frank Bültge's Amazon Wish List"
132
- msgstr "Frank Bültge's 的亚马逊愿望单"
133
-
134
- # @ addquicktag
135
- #: inc/class-settings.php:384
136
- msgid "Get me something from my wish list."
137
- msgstr "从我的愿望单送点小礼物给我。"
138
-
139
- # @ addquicktag
140
- #: inc/class-settings.php:404
141
- msgid "About this plugin"
142
- msgstr "关于这个插件"
143
-
144
- # @ addquicktag
145
- #: inc/class-settings.php:407
146
- msgid "Version:"
147
- msgstr "版本:"
148
-
149
- # @ addquicktag
150
- #: inc/class-settings.php:411
151
- msgid "Description:"
152
- msgstr "描述:"
153
-
154
- # @ addquicktag
155
- #: inc/class-settings.php:242
156
- msgid "Order"
157
- msgstr "序号"
158
-
159
- # @ addquicktag
160
- #: inc/class-settings.php:243
161
- msgid "Visual"
162
- msgstr "可视化编辑器"
163
-
164
- # @ addquicktag
165
- #. translators: plugin header field 'Description'
166
- #: addquicktag.php:0
167
- msgid ""
168
- "Allows you to easily add custom Quicktags to the html- and visual-editor."
169
- msgstr "让您轻松地添加自定义「快捷标签」到 html 编辑器或者可视化编辑器。"
170
-
171
- # @ addquicktag
172
- #: inc/class-imexport.php:70
173
- msgid "Export"
174
- msgstr "导出"
175
-
176
- # @ addquicktag
177
- #: inc/class-imexport.php:72
178
- msgid ""
179
- "When you click the button below the plugin will create an XML file for you "
180
- "to save to your computer."
181
- msgstr "点击下面的按钮后,本插件将会为您提供一个 XML 文件来保存到您的电脑。"
182
-
183
- # @ addquicktag
184
- #: inc/class-imexport.php:73
185
- msgid "This format, a custom XML, will contain your options from quicktags."
186
- msgstr "这个格式是一个自定义的 XML,它包含了您的所有的「快捷标签」设置。"
187
-
188
- # @ addquicktag
189
- #: inc/class-imexport.php:74
190
- msgid ""
191
- "Once you’ve saved the download file, you can use the Import function in "
192
- "another WordPress installation to import this site."
193
- msgstr "保存好下载的文件之后,您可以在另外一个 WordPress 里导入本站点的「快捷标签」设置。"
194
-
195
- # @ addquicktag
196
- #: inc/class-imexport.php:78
197
- msgid "Download Export File"
198
- msgstr "下载导出文件"
199
-
200
- # @ addquicktag
201
- #: inc/class-imexport.php:86
202
- msgid "Import"
203
- msgstr "导入"
204
-
205
- # @ addquicktag
206
- #: inc/class-imexport.php:88
207
- msgid ""
208
- "If you have quicktags from other installs, the plugin can import those into "
209
- "this site. To get started, choose a file to import."
210
- msgstr "如果您有其他安装好的 AddQuicktag,您可以将其导入。要导入 AddQuicktag 设置,请选择要导入的文件。"
211
-
212
- # @ addquicktag
213
- #: inc/class-imexport.php:93
214
- msgid "Upload file and import"
215
- msgstr "上传文件并导入"
216
-
217
- # @ addquicktag
218
- #: inc/class-imexport.php:184
219
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
220
- msgstr "导入失败——您没有权限导入文件!"
221
-
222
- # @ addquicktag
223
- #: inc/class-settings.php:456
224
- msgid "Options saved."
225
- msgstr "导入成功。"
226
-
227
- # @ addquicktag
228
- #. translators: plugin header field 'Version'
229
- #: addquicktag.php:0
230
- msgid "2.2.0"
231
- msgstr "2.2.0"
232
-
233
- # @ addquicktag
234
- #: inc/class-settings.php:385
235
- msgid ""
236
- "Please give me feedback, contribute and file technical bugs on this GitHub "
237
- "Repo, use Issues."
238
- msgstr "请通过 GitHub 的 issue 给项目回馈、贡献以及 bug 报告。"
239
-
240
- # @ addquicktag
241
- #: inc/class-settings.php:385
242
- msgid "Github Repo for Contribute, Issues & Bugs"
243
- msgstr "贡献、提交 issue 以及 bug 请到 GitHub 仓库"
244
-
245
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag-zh_TW.mo DELETED
Binary file
languages/addquicktag-zh_TW.po DELETED
@@ -1,242 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2016-02-14 15:52+0800\n"
7
- "Last-Translator: Zeng pppdog <admin@pppdog.me>\n"
8
- "Language-Team: zpppdog@gmail.com <dog@pppdog.me>\n"
9
- "Language: zh_TW\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.8.7\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=1; plural=0;\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
-
18
- # @ addquicktag
19
- #. translators: plugin header field 'Name'
20
- #: addquicktag.php:0
21
- msgid "AddQuicktag"
22
- msgstr "AddQuicktag"
23
-
24
- # @ addquicktag
25
- #. translators: plugin header field 'PluginURI'
26
- #: addquicktag.php:0
27
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
28
- msgstr "http://bueltge.de/wp-addquicktags-de-plugin/120/"
29
-
30
- # @ addquicktag
31
- #. translators: plugin header field 'Author'
32
- #: addquicktag.php:0
33
- msgid "Frank Bültge"
34
- msgstr "Frank Bültge"
35
-
36
- # @ addquicktag
37
- #. translators: plugin header field 'AuthorURI'
38
- #: addquicktag.php:0
39
- msgid "http://bueltge.de"
40
- msgstr "http://bueltge.de"
41
-
42
- # @ default
43
- # @ addquicktag
44
- #: inc/class-settings.php:128 inc/class-settings.php:145
45
- #: inc/class-settings.php:163 inc/class-settings.php:171
46
- msgid "Settings"
47
- msgstr "設定"
48
-
49
- # @ addquicktag
50
- #: inc/class-settings.php:196
51
- msgid "Add or delete Quicktag buttons"
52
- msgstr "即時標籤的追加及刪除 (Quicktag) 按鈕"
53
-
54
- # @ addquicktag
55
- #: inc/class-settings.php:237
56
- msgid "Button Label*"
57
- msgstr "按鈕名稱。*"
58
-
59
- # @ addquicktag
60
- #: inc/class-settings.php:238
61
- msgid "Title Attribute"
62
- msgstr "標籤名稱。"
63
-
64
- # @ addquicktag
65
- #: inc/class-settings.php:239
66
- msgid "Start Tag(s)*"
67
- msgstr "開始標籤 * "
68
-
69
- # @ addquicktag
70
- #: inc/class-settings.php:240
71
- msgid "End Tag(s)"
72
- msgstr "結束標籤"
73
-
74
- # @ addquicktag
75
- #: inc/class-settings.php:241
76
- msgid "Access Key"
77
- msgstr "存取密鑰。"
78
-
79
- # @ addquicktag
80
- #: inc/class-settings.php:273
81
- msgid ""
82
- "Fill in the fields below to add or edit the quicktags. Fields with * are "
83
- "required. To delete a tag simply empty all fields."
84
- msgstr ""
85
- "\"要添加或者編輯「即時標籤」,請填寫或修改以下表格。附有'*'者為必須設定項"
86
- "目。刪除「即時標籤」時請清空該「即時標籤」所有的項目。"
87
-
88
- # @ default
89
- #: inc/class-settings.php:275
90
- msgid "Save Changes"
91
- msgstr "保存變更"
92
-
93
- # @ addquicktag
94
- #: inc/class-settings.php:310
95
- msgid "Like this plugin?"
96
- msgstr "這個外掛你喜歡嗎?"
97
-
98
- # @ addquicktag
99
- #: inc/class-settings.php:312
100
- msgid "Here's how you can give back:"
101
- msgstr "您可以用以下方式給我們回饋"
102
-
103
- # @ addquicktag
104
- #: inc/class-settings.php:314
105
- msgid "The Plugin on the WordPress plugin repository"
106
- msgstr "在 WordPress 外掛程式庫中的 AddQuicktag"
107
-
108
- # @ addquicktag
109
- #: inc/class-settings.php:314
110
- msgid "Give the plugin a good rating."
111
- msgstr "給個好評五顆星哦,親。"
112
-
113
- # @ addquicktag
114
- #: inc/class-settings.php:315
115
- msgid "Donate via PayPal"
116
- msgstr "経由PayPal捐增"
117
-
118
- # @ addquicktag
119
- #: inc/class-settings.php:315
120
- msgid "Donate a few euros."
121
- msgstr "捐贈n個歐元."
122
-
123
- # @ addquicktag
124
- #: inc/class-settings.php:316
125
- msgid "Frank Bültge's Amazon Wish List"
126
- msgstr "Frank Bültge's 的亞馬遜願望單"
127
-
128
- # @ addquicktag
129
- #: inc/class-settings.php:316
130
- msgid "Get me something from my wish list."
131
- msgstr "請從願望清單送個小禮物給我。"
132
-
133
- # @ addquicktag
134
- #: inc/class-settings.php:335
135
- msgid "About this plugin"
136
- msgstr "關於這個外掛。"
137
-
138
- # @ addquicktag
139
- #: inc/class-settings.php:338
140
- msgid "Version:"
141
- msgstr "版本:"
142
-
143
- # @ addquicktag
144
- #: inc/class-settings.php:342
145
- msgid "Description:"
146
- msgstr "説明:"
147
-
148
- # @ addquicktag
149
- #: inc/class-settings.php:214
150
- msgid "Order"
151
- msgstr "序號"
152
-
153
- # @ addquicktag
154
- #: inc/class-settings.php:215
155
- msgid "Visual"
156
- msgstr "視覺化編輯"
157
-
158
- # @ addquicktag
159
- #. translators: plugin header field 'Description'
160
- #: addquicktag.php:0
161
- msgid ""
162
- "Allows you to easily add custom Quicktags to the html- and visual-editor."
163
- msgstr ""
164
- "在自訂輸入時用HTML編輯和視覺化編輯可以那麼簡單追加和管理的使用即時標籤。"
165
-
166
- # @ addquicktag
167
- #. translators: plugin header field 'Version'
168
- #: addquicktag.php:0
169
- msgid "2.0.0"
170
- msgstr "2.0.0"
171
-
172
- # @ addquicktag
173
- #: inc/class-imexport.php:64
174
- msgid "Export"
175
- msgstr "輸出"
176
-
177
- # @ addquicktag
178
- #: inc/class-imexport.php:66
179
- msgid ""
180
- "When you click the button below the plugin will create an XML file for you "
181
- "to save to your computer."
182
- msgstr "按下下面的按鈕就可以把保存著外掛設定的XML檔案下載到你的電腦裡。"
183
-
184
- # @ addquicktag
185
- #: inc/class-imexport.php:67
186
- msgid "This format, a custom XML, will contain your options from quicktags."
187
- msgstr "這個XML檔案裡面保存著外掛的設定(即時標籤的表單等)。"
188
-
189
- # @ addquicktag
190
- #: inc/class-imexport.php:68
191
- msgid ""
192
- "Once you’ve saved the download file, you can use the Import function in "
193
- "another WordPress installation to import this site."
194
- msgstr ""
195
- "若執行設定檔案的保存就可以行使外掛的輸入機能。可以把這個位置的即時標籤的設定"
196
- "套入其他 WordPress 資料庫位置裡。"
197
-
198
- # @ addquicktag
199
- #: inc/class-imexport.php:72
200
- msgid "Download Export File"
201
- msgstr "下載匯出檔案。"
202
-
203
- # @ addquicktag
204
- #: inc/class-imexport.php:80
205
- msgid "Import"
206
- msgstr "輸入"
207
-
208
- # @ addquicktag
209
- #: inc/class-imexport.php:82
210
- msgid ""
211
- "If you have quicktags from other installs, the plugin can import those into "
212
- "this site. To get started, choose a file to import."
213
- msgstr ""
214
- "如果您有其他安裝好的 AddQuicktag,您可以將其輸入。要輸入 AddQuicktag 設置,"
215
- "請選擇要輸入的檔。"
216
-
217
- # @ addquicktag
218
- #: inc/class-imexport.php:87
219
- msgid "Upload file and import"
220
- msgstr "檔案的上傳和輸入。"
221
-
222
- # @ addquicktag
223
- #: inc/class-imexport.php:178
224
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
225
- msgstr "輸入失敗——您沒有許可權輸入檔!"
226
-
227
- # @ addquicktag
228
- #: inc/class-settings.php:387 inc/class-settings.php:456
229
- msgid "Options saved."
230
- msgstr "選擇保存。"
231
-
232
- # @ addquicktag
233
- #: inc/class-settings.php:385
234
- msgid ""
235
- "Please give me feedback, contribute and file technical bugs on this GitHub "
236
- "Repo, use Issues."
237
- msgstr "請通過 GitHub 的 issue 給專案回饋、貢獻以及 bug 報告。"
238
-
239
- # @ addquicktag
240
- #: inc/class-settings.php:385
241
- msgid "Github Repo for Contribute, Issues & Bugs"
242
- msgstr "貢獻、提交 issue 以及 bug 請到 GitHub 倉庫"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/addquicktag_sk_SK.mo DELETED
Binary file
languages/addquicktag_sk_SK.po DELETED
@@ -1,247 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.2.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2013-01-20 16:07+0300\n"
7
- "Last-Translator: Serg\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-Poedit-SourceCharset: utf-8\n"
14
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
15
- "_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
- "X-Generator: Poedit 1.5.4\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
-
20
- # @ addquicktag
21
- #. translators: plugin header field 'Name'
22
- #: addquicktag.php:0
23
- msgid "AddQuicktag"
24
- msgstr "AddQuicktag"
25
-
26
- # @ addquicktag
27
- #. translators: plugin header field 'PluginURI'
28
- #: addquicktag.php:0
29
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
30
- msgstr "http://bueltge.de/WP-addquicktags-de-plugin/120/"
31
-
32
- # @ addquicktag
33
- #. translators: plugin header field 'Author'
34
- #: addquicktag.php:0
35
- msgid "Frank Bültge"
36
- msgstr "Frank BГјltge"
37
-
38
- # @ addquicktag
39
- #. translators: plugin header field 'AuthorURI'
40
- #: addquicktag.php:0
41
- msgid "http://bueltge.de"
42
- msgstr "http://bueltge.de"
43
-
44
- # @ default
45
- # @ addquicktag
46
- #: inc/class-settings.php:128 inc/class-settings.php:145
47
- #: inc/class-settings.php:163 inc/class-settings.php:171
48
- msgid "Settings"
49
- msgstr "Nastavenia"
50
-
51
- # @ addquicktag
52
- #: inc/class-settings.php:196
53
- msgid "Add or delete Quicktag buttons"
54
- msgstr "Pridať alebo odstrániť tlačidlá Quicktag"
55
-
56
- # @ addquicktag
57
- #: inc/class-settings.php:237
58
- msgid "Button Label*"
59
- msgstr "Tlačidlo etikete"
60
-
61
- # @ addquicktag
62
- #: inc/class-settings.php:238
63
- msgid "Title Attribute"
64
- msgstr "Názov atribútu"
65
-
66
- # @ addquicktag
67
- #: inc/class-settings.php:239
68
- msgid "Start Tag(s)*"
69
- msgstr "Začať Tag (y) *"
70
-
71
- # @ addquicktag
72
- #: inc/class-settings.php:240
73
- msgid "End Tag(s)"
74
- msgstr "Koniec Tag (y)"
75
-
76
- # @ addquicktag
77
- #: inc/class-settings.php:241
78
- msgid "Access Key"
79
- msgstr "Prístupový kľúč"
80
-
81
- # @ addquicktag
82
- #: inc/class-settings.php:341
83
- msgid ""
84
- "Fill in the fields below to add or edit the quicktags. Fields with * are "
85
- "required. To delete a tag simply empty all fields."
86
- msgstr ""
87
- "Vyplňte polia nižšie pridať alebo upraviť quicktags. Políčka s * sú povinné. "
88
- "Ak chcete odstrániť značku jednoducho prázdne všetky polia."
89
-
90
- # @ default
91
- #: inc/class-settings.php:343
92
- msgid "Save Changes"
93
- msgstr "Uložiť zmeny"
94
-
95
- # @ addquicktag
96
- #: inc/class-settings.php:378
97
- msgid "Like this plugin?"
98
- msgstr "Ako tento plugin?"
99
-
100
- # @ addquicktag
101
- #: inc/class-settings.php:380
102
- msgid "Here's how you can give back:"
103
- msgstr "Tu je, ako môžete dať späť:"
104
-
105
- # @ addquicktag
106
- #: inc/class-settings.php:382
107
- msgid "The Plugin on the WordPress plugin repository"
108
- msgstr "Plugin na WordPress plugin repository"
109
-
110
- # @ addquicktag
111
- #: inc/class-settings.php:382
112
- msgid "Give the plugin a good rating."
113
- msgstr "Dať plugin dobré ohodnotenie."
114
-
115
- # @ addquicktag
116
- #: inc/class-settings.php:383
117
- msgid "Donate via PayPal"
118
- msgstr "Darovať cez PayPal"
119
-
120
- # @ addquicktag
121
- #: inc/class-settings.php:383
122
- msgid "Donate a few euros."
123
- msgstr "Darovať pár EUR."
124
-
125
- # @ addquicktag
126
- #: inc/class-settings.php:384
127
- msgid "Frank Bültge's Amazon Wish List"
128
- msgstr "Frank BГјltge zoznamu prianí Amazon"
129
-
130
- # @ addquicktag
131
- #: inc/class-settings.php:384
132
- msgid "Get me something from my wish list."
133
- msgstr "Si mi niečo z môjho zoznamu želaní."
134
-
135
- # @ addquicktag
136
- #: inc/class-settings.php:404
137
- msgid "About this plugin"
138
- msgstr "O tento plugin"
139
-
140
- # @ addquicktag
141
- #: inc/class-settings.php:407
142
- msgid "Version:"
143
- msgstr "Verzia:"
144
-
145
- # @ addquicktag
146
- #: inc/class-settings.php:411
147
- msgid "Description:"
148
- msgstr "Popis/kontrol:"
149
-
150
- # @ addquicktag
151
- #: inc/class-settings.php:242
152
- msgid "Order"
153
- msgstr "Objednávky"
154
-
155
- # @ addquicktag
156
- #: inc/class-settings.php:243
157
- msgid "Visual"
158
- msgstr "Vizuálne"
159
-
160
- # @ addquicktag
161
- #. translators: plugin header field 'Description'
162
- #: addquicktag.php:0
163
- msgid ""
164
- "Allows you to easily add custom Quicktags to the html- and visual-editor."
165
- msgstr "Umožňuje jednoducho pridať vlastné Quicktags do html a visual-editor."
166
-
167
- # @ addquicktag
168
- #: inc/class-imexport.php:70
169
- msgid "Export"
170
- msgstr "Export"
171
-
172
- # @ addquicktag
173
- #: inc/class-imexport.php:72
174
- msgid ""
175
- "When you click the button below the plugin will create an XML file for you "
176
- "to save to your computer."
177
- msgstr ""
178
- "Keď kliknete na tlačidlo nižšie plugin vytvorí súbor XML môžete uložiť do "
179
- "svojho počítača."
180
-
181
- # @ addquicktag
182
- #: inc/class-imexport.php:73
183
- msgid "This format, a custom XML, will contain your options from quicktags."
184
- msgstr "Tento formát, vlastné XML, bude obsahovať vaše možnosti z quicktags."
185
-
186
- # @ addquicktag
187
- #: inc/class-imexport.php:74
188
- msgid ""
189
- "Once you’ve saved the download file, you can use the Import function in "
190
- "another WordPress installation to import this site."
191
- msgstr ""
192
- "Raz you†™ ve uložili prevzatý súbor, môžete použiť funkciu Importovať "
193
- "ďalšie WordPress inštalácie import túto stránku."
194
-
195
- # @ addquicktag
196
- #: inc/class-imexport.php:78
197
- msgid "Download Export File"
198
- msgstr "Stiahnuť exportného súboru"
199
-
200
- # @ addquicktag
201
- #: inc/class-imexport.php:86
202
- msgid "Import"
203
- msgstr "Import"
204
-
205
- # @ addquicktag
206
- #: inc/class-imexport.php:88
207
- msgid ""
208
- "If you have quicktags from other installs, the plugin can import those into "
209
- "this site. To get started, choose a file to import."
210
- msgstr ""
211
- "Ak máte quicktags z iných inštaluje, plugin môžete importovať do tejto "
212
- "stránky. Ak chcete začať, vyberte súbor na import."
213
-
214
- # @ addquicktag
215
- #: inc/class-imexport.php:93
216
- msgid "Upload file and import"
217
- msgstr "Nahrať súbor a import"
218
-
219
- # @ addquicktag
220
- #: inc/class-imexport.php:184
221
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
222
- msgstr "Možnosti aktualizovať - nemáte privilidges na to!"
223
-
224
- # @ addquicktag
225
- #: inc/class-settings.php:456
226
- msgid "Options saved."
227
- msgstr "Nastavenia uložené."
228
-
229
- # @ addquicktag
230
- #. translators: plugin header field 'Version'
231
- #: addquicktag.php:0
232
- msgid "2.2.0"
233
- msgstr "2.2.0"
234
-
235
- # @ addquicktag
236
- #: inc/class-settings.php:385
237
- msgid ""
238
- "Please give me feedback, contribute and file technical bugs on this GitHub "
239
- "Repo, use Issues."
240
- msgstr ""
241
- "Prosím daj mi spätnú väzbu, prispievať a súbor technickej chyby na tejto "
242
- "GitHub Repo, použite otázky."
243
-
244
- # @ addquicktag
245
- #: inc/class-settings.php:385
246
- msgid "Github Repo for Contribute, Issues & Bugs"
247
- msgstr "Github Repo pre prispievanie, otázky &amp; chyby"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Bueltge, inpsyde
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955
4
  Tags: quicktag, editor, tinymce, add buttons, button, buttons, visual editor
5
  Requires at least: 3.0
6
- Tested up to: 4.7
7
- Stable tag: 2.4.3
8
 
9
  This plugin makes it easy to add Quicktags to the html - and visual-editor.
10
 
@@ -21,7 +21,6 @@ Please give me feedback, contribute and file technical bugs on [GitHub Repo](htt
21
 
22
  **Crafted by [Inpsyde](http://inpsyde.com) · Engineering the web since 2006.**
23
 
24
- Yes, we also run that [marketplace for premium WordPress plugins and themes](http://marketpress.com).
25
 
26
  == Installation ==
27
  = Requirements =
@@ -45,20 +44,6 @@ If you wish to use this plugin with an older version of WordPress, please use an
45
 
46
 
47
  == Other Notes ==
48
- = Acknowledgements =
49
- **Thanks to**
50
-
51
- * German Translation (de_DE) by [myself](http://bueltge.de) ;)
52
- * French translation (fr_FR) by [Jean-Michel MEYER](http://www.li-an.fr/blog)
53
- * Japanese translation (ja) by [Yuuichi](http://www.u-1.net/2011/12/29/2498/)
54
- * Traditional Chinese (zh_TW) by [Zeng pppdog](http://pppdog.me/)
55
- * Slovak translation by [Branco](http://webhostinggeeks.com/user-reviews/)
56
- * Brazilian Portuguese translation by [Aluízio Leye Larangeira](http://www.aluizioll.com.br/category/traducao/)
57
- * Turkish translation by [Turk3005](http://wordpress.org/support/profile/turk3005), see also his [seetings tutorial video](https://yadi.sk/i/l6YwDpa_V3FaV)
58
- * Ukrainian translation by [Michael Yunat](http://getvoip.com/blog)
59
- * Czech translation by [Michal Stanke](https://github.com/MikkCZ)
60
- * Polish translation by [Rachela](http://couponmachine.in)
61
-
62
  = Hook for custom post types =
63
  The plugin adds the quicktag by default to post types/ID `post`, `page` and `comment`. To use the plugin for other post types also you may use a filter; see the following example or an example plugin in the [Gist 1595155](https://gist.github.com/1595155).
64
 
@@ -144,14 +129,11 @@ The following example adds buttons. The params inside the array are the same as
144
  = License =
145
  Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you may consider to thank me and leave a [small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955 "Paypal Donate link") for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)
146
 
147
- = Translations =
148
- The plugin comes with various translations, please refer to the [WordPress Codex](http://codex.wordpress.org/Installing_WordPress_in_Your_Language "Installing WordPress in Your Language") for more information on activating the translation. If you want to help to translate the plugin to your language, please have a look at the .pot file which contains all definitions and may be used with a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) (Windows) or the plugin [Localization](http://wordpress.org/extend/plugins/codestyling-localization/) for WordPress.
149
-
150
-
151
  == Changelog ==
152
- = 2.5.0 (???) =
153
- * Add title attribute to view on hover to each button in the TinyMCE listbox.
154
- * Add possibilty to use Dashicon "icons" for TinyMCE buttons.
 
155
  * Button Label is not more required, only the start-tag
156
 
157
  = 2.4.3 (2015-08-21) =
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955
4
  Tags: quicktag, editor, tinymce, add buttons, button, buttons, visual editor
5
  Requires at least: 3.0
6
+ Tested up to: 4.7.2
7
+ Stable tag: 2.5.0
8
 
9
  This plugin makes it easy to add Quicktags to the html - and visual-editor.
10
 
21
 
22
  **Crafted by [Inpsyde](http://inpsyde.com) · Engineering the web since 2006.**
23
 
 
24
 
25
  == Installation ==
26
  = Requirements =
44
 
45
 
46
  == Other Notes ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  = Hook for custom post types =
48
  The plugin adds the quicktag by default to post types/ID `post`, `page` and `comment`. To use the plugin for other post types also you may use a filter; see the following example or an example plugin in the [Gist 1595155](https://gist.github.com/1595155).
49
 
129
  = License =
130
  Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you may consider to thank me and leave a [small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955 "Paypal Donate link") for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)
131
 
 
 
 
 
132
  == Changelog ==
133
+ = 2.5.0 (2017-02-21) =
134
+ * Fixed PHP7.1 problem to save new buttons.
135
+ * Adds title attribute to view on hover to each button in the TinyMCE listbox.
136
+ * Adds possibilty to use Dashicon "icons" for TinyMCE buttons.
137
  * Button Label is not more required, only the start-tag
138
 
139
  = 2.4.3 (2015-08-21) =