AddQuicktag - Version 2.0.2

Version Description

  • change hook for include styles and scriptes for compatibility in WP 3.4
Download this release

Release Info

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

Code changes from version 2.0.1 to 2.0.2

addquicktag.php CHANGED
@@ -5,7 +5,7 @@
5
  * Text Domain: addquicktag
6
  * Domain Path: /languages
7
  * Description: Allows you to easily add custom Quicktags to the html- and visual-editor.
8
- * Version: 2.0.1
9
  * Author: Frank Bültge
10
  * Author URI: http://bueltge.de
11
  * License: GPLv3
@@ -60,7 +60,7 @@ class Add_Quicktag {
60
 
61
  // on uninstall remove capability from roles
62
  register_uninstall_hook( __FILE__, array('Add_Quicktag', 'uninstall' ) );
63
- // in deactivate delete all settings in database
64
  // register_deactivation_hook( __FILE__, array('Add_Quicktag', 'uninstall' ) );
65
 
66
  // load translation files
@@ -70,9 +70,9 @@ class Add_Quicktag {
70
 
71
  // Include solution for TinyMCe
72
  require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'inc/class-tinymce.php';
73
-
74
- add_action( 'wp_print_scripts', array( $this, 'print_scripts' ) );
75
-
76
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts') );
77
 
78
  }
5
  * Text Domain: addquicktag
6
  * Domain Path: /languages
7
  * Description: Allows you to easily add custom Quicktags to the html- and visual-editor.
8
+ * Version: 2.0.2
9
  * Author: Frank Bültge
10
  * Author URI: http://bueltge.de
11
  * License: GPLv3
60
 
61
  // on uninstall remove capability from roles
62
  register_uninstall_hook( __FILE__, array('Add_Quicktag', 'uninstall' ) );
63
+ // on deactivate delete all settings in database
64
  // register_deactivation_hook( __FILE__, array('Add_Quicktag', 'uninstall' ) );
65
 
66
  // load translation files
70
 
71
  // Include solution for TinyMCe
72
  require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'inc/class-tinymce.php';
73
+ // print json in head
74
+ add_action( 'admin_enqueue_scripts', array( $this, 'print_scripts' ) );
75
+ // inlcude scripts
76
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts') );
77
 
78
  }
languages/addquicktag-fr_FR.mo ADDED
Binary file
languages/addquicktag-fr_FR.po ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 2011-12-15 15:35+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-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 "Réglages"
51
+
52
+ # @ addquicktag
53
+ #: inc/class-settings.php:178
54
+ msgid "Add or delete Quicktag buttons"
55
+ msgstr "Ajouter ou supprimer des boutons Quicktag"
56
+
57
+ # @ addquicktag
58
+ #: inc/class-settings.php:209
59
+ msgid "Button Label*"
60
+ msgstr "Label du bouton*"
61
+
62
+ # @ addquicktag
63
+ #: inc/class-settings.php:210
64
+ msgid "Title Attribute"
65
+ msgstr "Attribut de titre"
66
+
67
+ # @ addquicktag
68
+ #: inc/class-settings.php:211
69
+ msgid "Start Tag(s)*"
70
+ msgstr "Début du/des tag(s)*"
71
+
72
+ # @ addquicktag
73
+ #: inc/class-settings.php:212
74
+ msgid "End Tag(s)"
75
+ msgstr "Fin du(des) tag(s)"
76
+
77
+ # @ addquicktag
78
+ #: inc/class-settings.php:213
79
+ msgid "Access Key"
80
+ msgstr "Zugriffstaste"
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 "Remplissez les champs ci-dessous ou éditez les quicktags. Les champs marqués d'un * sont obligatoires. Pour effacer un tag, videz simplement tous les champs."
86
+
87
+ # @ default
88
+ #: inc/class-settings.php:275
89
+ msgid "Save Changes"
90
+ msgstr "Sauvegarder les modifications"
91
+
92
+ # @ addquicktag
93
+ #: inc/class-settings.php:310
94
+ msgid "Like this plugin?"
95
+ msgstr "Vous aimez ce plugin ?"
96
+
97
+ # @ addquicktag
98
+ #: inc/class-settings.php:312
99
+ msgid "Here's how you can give back:"
100
+ msgstr "Über folgende Möglichkeiten kannst du etwas zurück geben:"
101
+
102
+ # @ addquicktag
103
+ #: inc/class-settings.php:314
104
+ msgid "The Plugin on the WordPress plugin repository"
105
+ msgstr "Das Plugin im offiziellen WordPress Repository"
106
+
107
+ # @ addquicktag
108
+ #: inc/class-settings.php:314
109
+ msgid "Give the plugin a good rating."
110
+ msgstr "Gib dem Plugin eine gute Wertung"
111
+
112
+ # @ addquicktag
113
+ #: inc/class-settings.php:315
114
+ msgid "Donate via PayPal"
115
+ msgstr "Spende via Paypal"
116
+
117
+ # @ addquicktag
118
+ #: inc/class-settings.php:315
119
+ msgid "Donate a few euros."
120
+ msgstr "Spende einige Euros"
121
+
122
+ # @ addquicktag
123
+ #: inc/class-settings.php:316
124
+ msgid "Frank Bültge's Amazon Wish List"
125
+ msgstr "Frank Bültge's Amazon Wunschliste"
126
+
127
+ # @ addquicktag
128
+ #: inc/class-settings.php:316
129
+ msgid "Get me something from my wish list."
130
+ msgstr "Suche dir was aus und lass mir ein Objekt meiner Wunschliste zukommen."
131
+
132
+ # @ addquicktag
133
+ #: inc/class-settings.php:335
134
+ msgid "About this plugin"
135
+ msgstr "À propos de ce plugin"
136
+
137
+ #: inc/class-settings.php:338
138
+ msgid "Version:"
139
+ msgstr "Version:"
140
+
141
+ # @ addquicktag
142
+ #: inc/class-settings.php:342
143
+ msgid "Description:"
144
+ msgstr "Beschreibung:"
145
+
146
+ # @ addquicktag
147
+ #: inc/class-settings.php:214
148
+ msgid "Order"
149
+ msgstr "Reihenfolge"
150
+
151
+ # @ addquicktag
152
+ #: inc/class-settings.php:215
153
+ msgid "Visual"
154
+ msgstr "Visuell"
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 "Erlaubt das einfache Hinzufügen von Quicktags zum html- und visuellen Editor."
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 "Exporter"
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 "Wenn du unten auf Export-Datei herunterladen klickst, wird das Plugin eine XML-Datei für dich erstellen, die du auf deinem Computer speichern kannst."
177
+
178
+ # @ addquicktag
179
+ #: inc/class-imexport.php:67
180
+ msgid "This format, a custom XML, will contain your options from quicktags."
181
+ msgstr "Dieses Format, ein benutzerdefniertes XML, beinhaltet Einstellungen der 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 "Nachdem die heruntergeladene Datei gespeichert wurde, kannst du die Import-Funktion in einer anderen WordPress Installation nutzen."
187
+
188
+ # @ addquicktag
189
+ #: inc/class-imexport.php:72
190
+ msgid "Download Export File"
191
+ msgstr "Export-Datei herunterladen"
192
+
193
+ # @ addquicktag
194
+ #: inc/class-imexport.php:80
195
+ msgid "Import"
196
+ msgstr "Importer"
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 "Wenn du Quicktags von einer anderen WordPress Installation hast, dann kann das Plugin diese Einstellungen importieren. Zum Starten des Imports wähle eine Datei und klicke auf Datei aktualisieren und importieren."
202
+
203
+ # @ addquicktag
204
+ #: inc/class-imexport.php:87
205
+ msgid "Upload file and import"
206
+ msgstr "Uploader et importer fichier"
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 "Options pas mises à jour - vous n'avez pas les droits pour réaliser cette action !"
212
+
213
+ # @ addquicktag
214
+ #: inc/class-settings.php:387
215
+ msgid "Options saved."
216
+ msgstr "Options sauvegardées."
217
+
readme.txt CHANGED
@@ -2,22 +2,16 @@
2
  Contributors: Bueltge
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.3
6
  Tested up to: 3.3
7
- Stable tag: 2.0.1
8
 
9
- This plugin make it easy, Quicktags add to the editor. It is possible to ex- and import your Quicktags.
10
 
11
  == Description ==
12
- This plugin make it easy, Quicktags add to the editor. It is possible to ex- and import your Quicktags.
13
 
14
- WP-AddQuicktag for WordPress is in originally by [Roel Meurders](http://roel.meurders.nl/ "Roel Meurders"). AddQuicktag is an newer version, completly rewrite with version 2.0.0 and more functionalities.
15
-
16
- Requires WordPress 3.0 and PHP 5.
17
-
18
- **Version before WordPress smaller 3.0**
19
-
20
- If you will use this plugin with an older version of WordPress, please use an older version of this plugin, smaller version 2.0.0 - you find it in the [repo](http://wordpress.org/extend/plugins/addquicktag/download/). But i will not support this version. The version 2.0.0 and higher was rewrite with all new posibilties of the WordPress Core.
21
 
22
  **More Plugins**
23
 
@@ -29,12 +23,18 @@ You may also be interested in WordPress tips and tricks at [WP Engineer](http://
29
 
30
 
31
  == Installation ==
 
 
 
 
32
  1. Unpack the download-package
33
  1. Upload the files to the `/wp-content/plugins/` directory
34
- 1. Activate the plugin through the 'Plugins' menu in WordPress
35
  1. Got to 'Settings' menu and configure the plugin
36
 
37
- See also [the official website](http://bueltge.de/wp-addquicktags-de-plugin/120 "AddQuicktag").
 
 
38
 
39
 
40
  == Screenshots ==
@@ -48,14 +48,8 @@ See also [the official website](http://bueltge.de/wp-addquicktags-de-plugin/120
48
  = Acknowledgements =
49
  **Thanks to**
50
 
51
- * Yuuich on [www.u-1.net](http://www.u-1.net/ "Yuuich") for translate the plugin in japanese
52
- * Neil on [www.wmfield.idv.tw](http://www.wmfield.idv.tw/ "Yuuich") for translate the plugin in chinese
53
- * [Jean-Michel MEYER](http://www.li-an.fr/blog "Jean-Michel MEYER") for translate in french
54
- * [Gianni Diurno](http://gidibao.net/ "Gianni Diurno") for italien translation
55
- * Josef Klimosz on [http://blog.rudice.cz/](http://blog.rudice.cz/ "Josef Klimosz") for the czech language files
56
- * [Lagg3r](lagg3r.com.ar "Lagg3r") for spanish translation
57
- * Michal Maciejewski for polish translation
58
- * Fat Cow for the belarussian language files
59
 
60
  = Licence =
61
  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 can 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 ;)
@@ -65,6 +59,9 @@ The plugin comes with various translations, please refer to the [WordPress Codex
65
 
66
 
67
  == Changelog ==
 
 
 
68
  = 2.0.1 =
69
  * Bugfix on JS for WP smaller 3.3; use quickbuttons clean on html-editor with core-buttons
70
 
2
  Contributors: Bueltge
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: 3.3
7
+ Stable tag: 2.0.2
8
 
9
+ This plugin make it easy, Quicktags add to the html - and visual-editor.
10
 
11
  == Description ==
12
+ This plugin make it easy, Quicktags add to the html - and visual-editor.. It is possible to ex- and import your Quicktags.
13
 
14
+ WP-AddQuicktag for WordPress is in originally by [Roel Meurders](http://roel.meurders.nl/ "Roel Meurders"). The versions of the Repo to AddQuicktag are newer versions, completly rewrite with version 2.0.0 and more functionalities.
 
 
 
 
 
 
15
 
16
  **More Plugins**
17
 
23
 
24
 
25
  == Installation ==
26
+ = Requirements =
27
+ * WordPress version 3.0 and later (tested at 3.3 and 3.2.1)
28
+
29
+ = Installation =
30
  1. Unpack the download-package
31
  1. Upload the files to the `/wp-content/plugins/` directory
32
+ 1. Activate the plugin through the 'Plugins' menu in WordPress or for the Network, if you will use in Multisite for all Sites
33
  1. Got to 'Settings' menu and configure the plugin
34
 
35
+ **Version before WordPress smaller 3.0**
36
+
37
+ If you will use this plugin with an older version of WordPress, please use an older version of this plugin, smaller version 2.0.0 - you find it in the [repo](http://wordpress.org/extend/plugins/addquicktag/download/). But i will not support this version. The version 2.0.0 and higher was rewrite with all new posibilties of the WordPress Core.
38
 
39
 
40
  == Screenshots ==
48
  = Acknowledgements =
49
  **Thanks to**
50
 
51
+ * German Translation by [myself](http://bueltge.de) ;)
52
+ * French translation by [Jean-Michel MEYER](http://www.li-an.fr/blog)
 
 
 
 
 
 
53
 
54
  = Licence =
55
  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 can 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 ;)
59
 
60
 
61
  == Changelog ==
62
+ = 2.0.2 =
63
+ * change hook for include styles and scriptes for compatibility in WP 3.4
64
+
65
  = 2.0.1 =
66
  * Bugfix on JS for WP smaller 3.3; use quickbuttons clean on html-editor with core-buttons
67