AddQuicktag - Version 2.4.3

Version Description

(2015-08-21) = * Add czech translation, thanks to https://github.com/MikkCZ * Bugfix: TinyMCE input select was changed in his object, changes on the script for the visual editor to set quicktags.

Download this release

Release Info

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

Code changes from version 2.3.0 to 2.4.3

Files changed (43) hide show
  1. addquicktag.php +422 -447
  2. assets/screenshot-1.png +0 -0
  3. assets/screenshot-2.png +0 -0
  4. assets/screenshot-3.png +0 -0
  5. assets/screenshot-4.png +0 -0
  6. inc/class-code-quicktags.php +151 -151
  7. inc/class-imexport.php +238 -238
  8. inc/class-remove-quicktags.php +151 -151
  9. inc/class-settings.php +781 -805
  10. inc/class-tinymce.php +1 -1
  11. inc/tinymce/editor_plugin.dev.js +149 -139
  12. inc/tinymce/editor_plugin.js +10 -10
  13. inc/tinymce/langs/de.js +0 -0
  14. inc/tinymce/langs/en.js +0 -0
  15. js/add-quicktags.dev.js +82 -55
  16. js/add-quicktags.js +2 -2
  17. languages/addquicktag-cs_CZ.mo +0 -0
  18. languages/addquicktag-cs_CZ.po +348 -0
  19. languages/addquicktag-de_DE.mo +0 -0
  20. languages/addquicktag-de_DE.po +87 -97
  21. languages/addquicktag-es_ES.mo +0 -0
  22. languages/addquicktag-es_ES.po +217 -0
  23. languages/addquicktag-fr_FR.mo +0 -0
  24. languages/addquicktag-fr_FR.po +159 -119
  25. languages/addquicktag-lt_LT.mo +0 -0
  26. languages/addquicktag-lt_LT.po +217 -0
  27. languages/addquicktag-pl_PL.mo +0 -0
  28. languages/addquicktag-pl_PL.po +345 -0
  29. languages/addquicktag-pt_BR.po +18 -18
  30. languages/addquicktag-ru_RU.mo +0 -0
  31. languages/addquicktag-ru_RU.po +220 -0
  32. languages/addquicktag-sr_RS.po +18 -18
  33. languages/addquicktag-tr_TR.mo +0 -0
  34. languages/addquicktag-tr_TR.po +176 -139
  35. languages/addquicktag-uk_UA.po +18 -18
  36. languages/addquicktag-xx_XX.pot +316 -231
  37. languages/addquicktag-zh_CN.mo +0 -0
  38. languages/addquicktag-zh_CN.po +245 -0
  39. languages/addquicktag-zh_TW.mo +0 -0
  40. languages/addquicktag-zh_TW.po +242 -0
  41. license.txt +674 -674
  42. readme.md +0 -0
  43. readme.txt +74 -39
addquicktag.php CHANGED
@@ -1,447 +1,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.3.0
10
- * Author: Frank Bültge
11
- * Author URI: http://bueltge.de
12
- * License: GPLv2+
13
- *
14
- *
15
- *
16
- * License:
17
- * ==============================================================================
18
- * Copyright 2011 - 2014 Frank Bültge (email : frank@bueltge.de)
19
- *
20
- * This program is free software; you can redistribute it and/or modify
21
- * it under the terms of the GNU General Public License as published by
22
- * the Free Software Foundation; either version 2 of the License, or
23
- * (at your option) any later version.
24
- *
25
- * This program is distributed in the hope that it will be useful,
26
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
- * GNU General Public License for more details.
29
- *
30
- * You should have received a copy of the GNU General Public License
31
- * along with this program; if not, write to the Free Software
32
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33
- *
34
- * Requirements:
35
- * ==============================================================================
36
- * This plugin requires WordPress >= 3.9 and tested with PHP Interpreter >= 5.3
37
- *
38
- *
39
- *
40
- * Add Quicktag Plugin class
41
- *
42
- * @since 2.0.0
43
- */
44
- class Add_Quicktag {
45
-
46
- /**
47
- * Option key - String
48
- *
49
- * @var string
50
- */
51
- static private $option_string = 'rmnlQuicktagSettings';
52
-
53
- /**
54
- * Use filter 'addquicktag_pages' for add custom pages
55
- *
56
- * @var array
57
- */
58
- static private $admin_pages_for_js = array(
59
- 'post.php',
60
- 'post-new.php',
61
- 'comment.php',
62
- 'edit-comments.php',
63
- 'widgets.php'
64
- );
65
-
66
- /**
67
- * Use filter 'addquicktag_post_types' for add custom post_types
68
- *
69
- * @var array
70
- */
71
- static private $post_types_for_js = array( 'comment', 'edit-comments', 'widgets' );
72
-
73
- /**
74
- * @var string
75
- */
76
- static private $plugin;
77
-
78
- /**
79
- * Handler for the action 'init'. Instantiates this class.
80
- *
81
- * @since 2.0.0
82
- * @access public
83
- * @return \Add_Quicktag $instance
84
- */
85
- public static function get_object() {
86
-
87
- static $instance;
88
-
89
- if ( NULL === $instance ) {
90
- $instance = new self();
91
- }
92
-
93
- return $instance;
94
- }
95
-
96
- /**
97
- * Constructor, init the functions inside WP
98
- *
99
- * @since 2.0.0
100
- * @return \Add_Quicktag
101
- */
102
- private function __construct() {
103
-
104
- if ( ! is_admin() ) {
105
- return;
106
- }
107
-
108
- // get string of plugin
109
- self::$plugin = plugin_basename( __FILE__ );
110
-
111
- // on uninstall remove capability from roles
112
- register_uninstall_hook( __FILE__, array( 'Add_Quicktag', 'uninstall' ) );
113
- // on deactivate delete all settings in database
114
- // register_deactivation_hook( __FILE__, array('Add_Quicktag', 'uninstall' ) );
115
-
116
- // load translation files
117
- add_action( 'admin_init', array( $this, 'localize_plugin' ) );
118
- // on init register post type for addquicktag and print js
119
- add_action( 'init', array( $this, 'on_admin_init' ) );
120
-
121
- add_filter( 'quicktags_settings', array( $this, 'remove_quicktags' ), 10, 1 );
122
- }
123
-
124
-
125
- /**
126
- * Include other files and print JS
127
- *
128
- * @since 07/16/2012
129
- * @return void
130
- */
131
- public function on_admin_init() {
132
-
133
- if ( ! is_admin() ) {
134
- return NULL;
135
- }
136
-
137
- // Include settings
138
- require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'inc/class-settings.php';
139
- // Include solution for TinyMCE
140
- require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'inc/class-tinymce.php';
141
-
142
- foreach ( $this->get_admin_pages_for_js() as $page ) {
143
- add_action( 'admin_print_scripts-' . $page, array( $this, 'get_json' ) );
144
- add_action( 'admin_print_scripts-' . $page, array( $this, 'admin_enqueue_scripts' ) );
145
- }
146
- }
147
-
148
- /**
149
- * Remove quicktags
150
- *
151
- * @since 08/15/2013
152
- *
153
- * @param array $qtags_init the Buttons
154
- *
155
- * @type string id
156
- * @type array buttons, default: 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,fullscreen'
157
- * @return array $qtags_init the Buttons
158
- */
159
- public function remove_quicktags( $qtags_init ) {
160
-
161
- // No core buttons, not necessary to filter
162
- if ( empty( $qtags_init[ 'buttons' ] ) ) {
163
- return $qtags_init;
164
- }
165
-
166
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
167
- $options = get_site_option( self::$option_string );
168
- } else {
169
- $options = get_option( self::$option_string );
170
- }
171
-
172
- // No settings, not necessary to filter
173
- if ( empty( $options[ 'core_buttons' ] ) ) {
174
- return $qtags_init;
175
- }
176
-
177
- // get current screen, post type
178
- $screen = get_current_screen();
179
-
180
- // Convert string to array from default core buttons
181
- $buttons = explode( ',', $qtags_init[ 'buttons' ] );
182
-
183
- // loop about the options to check for each post type
184
- foreach ( $options[ 'core_buttons' ] as $button => $post_type ) {
185
-
186
- // if the post type is inside the settings array active, the remove qtags
187
- if ( array_key_exists( $screen->id, $post_type ) ) {
188
-
189
- // If settings have key inside, then unset this button
190
- if ( FALSE !== ( $key = array_search( $button, $buttons ) ) ) {
191
- unset( $buttons[ $key ] );
192
- }
193
- }
194
- }
195
-
196
- // Convert new buttons array back into a comma-separated string
197
- $qtags_init[ 'buttons' ] = implode( ',', $buttons );
198
- $qtags_init[ 'buttons' ] = apply_filters( 'addquicktag_remove_buttons', $qtags_init[ 'buttons' ] );
199
-
200
- return $qtags_init;
201
- }
202
-
203
- /**
204
- * Uninstall data in options table, if the plugin was uninstall via backend
205
- *
206
- * @since 2.0.0
207
- * @return void
208
- */
209
- public function uninstall() {
210
-
211
- delete_site_option( self::$option_string );
212
- }
213
-
214
- /**
215
- * Print json data in head
216
- *
217
- * @since 2.0.0
218
- * @return void
219
- */
220
- public function get_json() {
221
- global $current_screen;
222
-
223
- if ( ! in_array(
224
- $current_screen->id,
225
- $this->get_post_types_for_js()
226
- ) &&
227
- isset( $current_screen->id )
228
- ) {
229
- return NULL;
230
- }
231
-
232
- if ( is_multisite() && is_plugin_active_for_network( $this ->get_plugin_string() ) ) {
233
- $options = get_site_option( self::$option_string );
234
- } else {
235
- $options = get_option( self::$option_string );
236
- }
237
-
238
- if ( empty( $options[ 'buttons' ] ) ) {
239
- $options[ 'buttons' ] = '';
240
- }
241
-
242
- // allow change or enhance buttons array
243
- $options[ 'buttons' ] = apply_filters( 'addquicktag_buttons', $options[ 'buttons' ] );
244
- // hook for filter options
245
- $options = apply_filters( 'addquicktag_options', $options );
246
-
247
- if ( ! $options ) {
248
- return NULL;
249
- }
250
-
251
- if ( 1 < count( $options[ 'buttons' ] ) ) {
252
- // sort array by order value
253
- $tmp = array();
254
- foreach ( $options[ 'buttons' ] as $order ) {
255
- if ( isset( $order[ 'order' ] ) ) {
256
- $tmp[ ] = $order[ 'order' ];
257
- } else {
258
- $tmp[ ] = 0;
259
- }
260
- }
261
- array_multisort( $tmp, SORT_ASC, $options[ 'buttons' ] );
262
- }
263
-
264
- ?>
265
- <script type="text/javascript">
266
- var addquicktag_tags = <?php echo json_encode( $options ); ?>,
267
- addquicktag_post_type = <?php echo json_encode( $current_screen->id ); ?>,
268
- addquicktag_pt_for_js = <?php echo json_encode( $this->get_post_types_for_js() ); ?>;
269
- </script>
270
- <?php
271
- }
272
-
273
- /**
274
- * Enqueue Scripts for plugin
275
- *
276
- * @internal param string $where
277
- *
278
- * @since 2.0.0
279
- * @access public
280
- * @return void
281
- */
282
- public function admin_enqueue_scripts() {
283
-
284
- global $current_screen;
285
-
286
- if ( ! in_array(
287
- $current_screen->id,
288
- $this->get_post_types_for_js()
289
- ) &&
290
- isset( $current_screen->id )
291
- ) {
292
- return NULL;
293
- }
294
-
295
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '.dev' : '';
296
-
297
- if ( version_compare( $GLOBALS[ 'wp_version' ], '3.3alpha', '>=' ) ) {
298
- wp_enqueue_script(
299
- self::get_textdomain() . '_script',
300
- plugins_url( '/js/add-quicktags' . $suffix . '.js', __FILE__ ),
301
- array( 'jquery', 'quicktags' ),
302
- '',
303
- TRUE
304
- );
305
- // Load only for WPs, there version is smaller then 3.2
306
- } else {
307
- wp_enqueue_script(
308
- self::get_textdomain() . '_script',
309
- plugins_url( '/js/add-quicktags_32' . $suffix . '.js', __FILE__ ),
310
- array( 'jquery', 'quicktags' ),
311
- '',
312
- TRUE
313
- );
314
- }
315
- // Alternative to JSON function
316
- // wp_localize_script( self :: get_textdomain() . '_script', 'addquicktag_tags', get_option( self :: $option_string ) );
317
- }
318
-
319
- /**
320
- * Localize_plugin function.
321
- *
322
- * @uses load_plugin_textdomain, plugin_basename
323
- * @access public
324
- * @since 2.0.0
325
- * @return void
326
- */
327
- public function localize_plugin() {
328
-
329
- load_plugin_textdomain( $this->get_textdomain(), FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
330
- }
331
-
332
- /**
333
- * return plugin comment data
334
- *
335
- * @since 2.0.0
336
- * @access public
337
- *
338
- * @param $value string, default = 'TextDomain'
339
- * Name, PluginURI, Version, Description, Author, AuthorURI, TextDomain, DomainPath, Network, Title
340
- *
341
- * @return string
342
- */
343
- public function get_plugin_data( $value = 'TextDomain' ) {
344
-
345
- static $plugin_data = array();
346
-
347
- // fetch the data just once.
348
- if ( isset( $plugin_data[ $value ] ) ) {
349
- return $plugin_data[ $value ];
350
- }
351
-
352
- if ( ! function_exists( 'get_plugin_data' ) ) {
353
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
354
- }
355
-
356
- $plugin_data = get_plugin_data( __FILE__ );
357
-
358
- return empty( $plugin_data[ $value ] ) ? '' : $plugin_data[ $value ];
359
- }
360
-
361
- /**
362
- * Return string of plugin
363
- *
364
- * @since 2.0.0
365
- * @return string
366
- */
367
- public function get_plugin_string() {
368
-
369
- return self::$plugin;
370
- }
371
-
372
- /**
373
- * Get Post types with UI to use optional the quicktags
374
- *
375
- * @since 08/1/2013
376
- * @return Array
377
- */
378
- private function get_post_types() {
379
-
380
- // list only post types, there was used in UI
381
- $args = array( 'show_ui' => TRUE );
382
- $post_types = get_post_types( $args, 'names' );
383
- // simplify the array
384
- $post_types = array_values( $post_types );
385
- // merge with strings from var
386
- $post_types = array_merge( $post_types, self::$post_types_for_js );
387
-
388
- return $post_types;
389
- }
390
-
391
- /**
392
- * Return allowed post types for include scripts
393
- *
394
- * @since 2.1.1
395
- * @access public
396
- * @return Array
397
- */
398
- public function get_post_types_for_js() {
399
-
400
- return apply_filters( 'addquicktag_post_types', $this->get_post_types() );
401
- }
402
-
403
- /**
404
- * Return allowed post types for include scripts
405
- *
406
- * @since 2.1.1
407
- * @access public
408
- * @return Array
409
- */
410
- public function get_admin_pages_for_js() {
411
-
412
- return apply_filters( 'addquicktag_pages', self::$admin_pages_for_js );
413
- }
414
-
415
- /**
416
- * Return textdomain string
417
- *
418
- * @since 2.0.0
419
- * @access public
420
- * @return string
421
- */
422
- public function get_textdomain() {
423
-
424
- return self::get_plugin_data( 'TextDomain' );
425
- }
426
-
427
- /**
428
- * Return string for options
429
- *
430
- * @since 2.0.0
431
- * @return string
432
- */
433
- public function get_option_string() {
434
-
435
- return self::$option_string;
436
- }
437
-
438
-
439
- } // end class
440
-
441
- if ( function_exists( 'add_action' ) && class_exists( 'Add_Quicktag' ) ) {
442
- add_action( 'plugins_loaded', array( 'Add_Quicktag', 'get_object' ) );
443
- } else {
444
- header( 'Status: 403 Forbidden' );
445
- header( 'HTTP/1.1 403 Forbidden' );
446
- exit();
447
- }
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
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/screenshot-1.png DELETED
Binary file
assets/screenshot-2.png DELETED
Binary file
assets/screenshot-3.png DELETED
Binary file
assets/screenshot-4.png DELETED
Binary file
inc/class-code-quicktags.php CHANGED
@@ -1,151 +1,151 @@
1
- <?php
2
- /**
3
- * AddQuicktag - Settings for enhanced code buttons
4
- *
5
- * @license GPLv2
6
- * @package AddQuicktag
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' ) ) {
14
- echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
15
- exit;
16
- }
17
-
18
- /**
19
- * Class Add_Quicktag_Code_Quicktags
20
- */
21
- class Add_Quicktag_Code_Quicktags extends Add_Quicktag_Settings {
22
-
23
- /**
24
- * Post types for the settings
25
- *
26
- * @var
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
- *
40
- * @access public
41
- * @since 2.0.0
42
- * @return \Add_Quicktag|\Add_Quicktag_Code_Quicktags|\Add_Quicktag_Settings $instance
43
- */
44
- public static function get_object() {
45
-
46
- static $instance;
47
-
48
- if ( NULL === $instance ) {
49
- $instance = new self();
50
- }
51
-
52
- return $instance;
53
- }
54
-
55
- /**
56
- * Constructor, init on defined hooks of WP and include second class
57
- *
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
-
70
- /**
71
- * Add settings area
72
- *
73
- * @param $options
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 _e( 'Enhanced Code Quicktag buttons', self::$textdomain ); ?></h3>
82
- <p><?php _e( 'Select the checkbox below to add enhanced code buttons.', $this->get_textdomain() ); ?></p>
83
- <h4><?php _e( 'pre: Enhanced Code buttons', self::$textdomain ); ?></h4>
84
- <p><?php _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 _e( 'htmlentities: HTML Entities, HTML Decode', self::$textdomain ); ?></h4>
86
- <p><?php _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
90
- $pt_title = '';
91
- $pt_colgroup = '';
92
- foreach ( $this->get_post_types_for_js() as $post_type ) {
93
- $pt_title .= '<th class="row-title rotate" title="Post Type"><span><code>' . $post_type . '</code></span></th>' . "\n";
94
- $pt_colgroup .= '<colgroup></colgroup>' . "\n";
95
- }
96
- ?>
97
-
98
- <table class="widefat form-table rmnlCodeQuicktagSettings">
99
- <colgroup></colgroup>
100
- <?php echo $pt_colgroup; ?>
101
- <colgroup></colgroup>
102
-
103
- <tr>
104
- <th class="row-title"><?php _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 );
112
- // Loop over items to remove and unset them from the buttons
113
- $i = 9999;
114
- foreach ( self::$code_quicktags as $key => $value ) {
115
-
116
- echo '<tr id="rmqtb' . $i . '">' . "\n";
117
- echo '<td><input type="button" class="ed_button" title="" value="' . $value . '"></td>';
118
-
119
- // loop about the post types, create html an values
120
- $pt_checkboxes = '';
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
-
128
- $pt_checkboxes .= '<td class="num"><input type="checkbox" name="' .
129
- parent :: get_option_string() . '[code_buttons][' .
130
- $value . '][' . $post_type . ']" value="1"' .
131
- $pt_checked . '/></td>' . "\n";
132
- }
133
- echo $pt_checkboxes;
134
-
135
- echo '<td class="num"><input type="checkbox" class="toggle" id="select_all_' . $i . '" value="' . $i . '" /></td>' . "\n";
136
-
137
- echo '</tr>' . "\n";
138
- $i ++;
139
- }
140
-
141
- // Convert new buttons array back into a comma-separated string
142
- //$code_qt = implode( ',', $code_buttons );
143
- ?>
144
-
145
- </table>
146
- <?php
147
- }
148
-
149
- } // end class
150
-
151
- $add_quicktag_code_quicktags = Add_Quicktag_Code_Quicktags::get_object();
1
+ <?php
2
+ /**
3
+ * AddQuicktag - Settings for enhanced code buttons
4
+ *
5
+ * @license GPLv2
6
+ * @package AddQuicktag
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' ) ) {
14
+ echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
15
+ exit;
16
+ }
17
+
18
+ /**
19
+ * Class Add_Quicktag_Code_Quicktags
20
+ */
21
+ class Add_Quicktag_Code_Quicktags extends Add_Quicktag_Settings {
22
+
23
+ /**
24
+ * Post types for the settings
25
+ *
26
+ * @var
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
+ *
40
+ * @access public
41
+ * @since 2.0.0
42
+ * @return \Add_Quicktag|\Add_Quicktag_Code_Quicktags|\Add_Quicktag_Settings $instance
43
+ */
44
+ public static function get_object() {
45
+
46
+ static $instance;
47
+
48
+ if ( NULL === $instance ) {
49
+ $instance = new self();
50
+ }
51
+
52
+ return $instance;
53
+ }
54
+
55
+ /**
56
+ * Constructor, init on defined hooks of WP and include second class
57
+ *
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
+
70
+ /**
71
+ * Add settings area
72
+ *
73
+ * @param $options
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
90
+ $pt_title = '';
91
+ $pt_colgroup = '';
92
+ foreach ( $this->get_post_types_for_js() as $post_type ) {
93
+ $pt_title .= '<th class="row-title rotate" title="Post Type"><span><code>' . $post_type . '</code></span></th>' . "\n";
94
+ $pt_colgroup .= '<colgroup></colgroup>' . "\n";
95
+ }
96
+ ?>
97
+
98
+ <table class="widefat form-table rmnlCodeQuicktagSettings">
99
+ <colgroup></colgroup>
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 );
112
+ // Loop over items to remove and unset them from the buttons
113
+ $i = 9999;
114
+ foreach ( self::$code_quicktags as $key => $value ) {
115
+
116
+ echo '<tr id="rmqtb' . $i . '">' . "\n";
117
+ echo '<td><input type="button" class="ed_button" title="" value="' . $value . '"></td>';
118
+
119
+ // loop about the post types, create html an values
120
+ $pt_checkboxes = '';
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
+
128
+ $pt_checkboxes .= '<td class="num"><input type="checkbox" name="' .
129
+ parent :: get_option_string() . '[code_buttons][' .
130
+ $value . '][' . $post_type . ']" value="1"' .
131
+ $pt_checked . '/></td>' . "\n";
132
+ }
133
+ echo $pt_checkboxes;
134
+
135
+ echo '<td class="num"><input type="checkbox" class="toggle" id="select_all_' . $i . '" value="' . $i . '" /></td>' . "\n";
136
+
137
+ echo '</tr>' . "\n";
138
+ $i ++;
139
+ }
140
+
141
+ // Convert new buttons array back into a comma-separated string
142
+ //$code_qt = implode( ',', $code_buttons );
143
+ ?>
144
+
145
+ </table>
146
+ <?php
147
+ }
148
+
149
+ } // end class
150
+
151
+ $add_quicktag_code_quicktags = Add_Quicktag_Code_Quicktags::get_object();
inc/class-imexport.php CHANGED
@@ -1,238 +1,238 @@
1
- <?php
2
- /**
3
- * AddQuicktag - Settings
4
- *
5
- * @license GPLv3
6
- * @package AddQuicktag
7
- * @subpackage AddQuicktag Settings
8
- * @author Frank Bueltge <frank@bueltge.de>
9
- * @version 06/19/2014
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_Im_Export
19
- */
20
- class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
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
- *
43
- * @var Array
44
- */
45
- private static $post_types_for_js;
46
-
47
- /**
48
- * Handler for the action 'init'. Instantiates this class.
49
- *
50
- * @access public
51
- * @since 2.0.0
52
- * @return \Add_Quicktag|\Add_Quicktag_Im_Export|\Add_Quicktag_Settings $instance
53
- */
54
- public static function get_object() {
55
-
56
- static $instance;
57
-
58
- if ( NULL === $instance ) {
59
- $instance = new self();
60
- }
61
-
62
- return $instance;
63
- }
64
-
65
- /**
66
- * Constructor, init on defined hooks of WP and include second class
67
- *
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();
80
-
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
- }
93
-
94
- /**
95
- * get markup for ex- and import on settings page
96
- *
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 _e( 'Export', parent :: get_textdomain() ); ?></span></h3>
107
-
108
- <div class="inside">
109
- <p><?php _e( 'When you click the button below the plugin will create an XML file for you to save to your computer.', parent :: get_textdomain() ); ?></p>
110
-
111
- <p><?php _e( 'This format, a custom XML, will contain your options from quicktags.', parent :: get_textdomain() ); ?></p>
112
-
113
- <p><?php _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 _e( 'Download Export File', parent :: get_textdomain() ); ?> &raquo;" />
119
- <input type="hidden" name="addquicktag_download" value="true" />
120
- </p>
121
- </form>
122
- </div>
123
- </div>
124
-
125
- <div class="postbox">
126
- <h3><span><?php _e( 'Import', parent :: get_textdomain() ); ?></span></h3>
127
-
128
- <div class="inside">
129
- <p><?php _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 _e( 'Upload file and import', parent :: get_textdomain() ); ?> &raquo;" />
136
- <input type="hidden" name="addquicktag_import" value="true" />
137
- </p>
138
- </form>
139
- </div>
140
- </div>
141
- <?php
142
- }
143
-
144
- /**
145
- * Build export file, json
146
- *
147
- * @access public
148
- * @since 2.0.0
149
- */
150
- public function get_export_file() {
151
-
152
- if ( ! current_user_can( 'manage_options' ) ) {
153
- return;
154
- }
155
-
156
- check_admin_referer( parent :: $nonce_string );
157
-
158
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
159
- $options = get_site_option( self::$option_string );
160
- } else {
161
- $options = get_option( self::$option_string );
162
- }
163
-
164
- ignore_user_abort( TRUE );
165
-
166
- nocache_headers();
167
- header( 'Content-Type: application/json; charset=utf-8' );
168
- header( 'Content-Disposition: attachment; filename=addquicktag.-' . date( 'm-d-Y' ) . '.json' );
169
- header( "Expires: 0" );
170
-
171
- echo json_encode( $options );
172
- exit;
173
- }
174
-
175
- /**
176
- * Import json and update settings
177
- *
178
- * @access public
179
- * @since 2.0.0
180
- *
181
- * @internal param bool|string $filename
182
- *
183
- * @uses current_user_can, wp_die, is_plugin_active_for_network, update_site_option, update_option
184
- * @return void
185
- */
186
- public function import_file() {
187
-
188
- if ( ! current_user_can( 'manage_options' ) ) {
189
- wp_die( __( 'Options not update - you don&lsquo;t have the privilidges to do this!', parent::get_textdomain() ) );
190
- }
191
-
192
- check_admin_referer( parent :: $nonce_string );
193
-
194
- $extension = explode( '.', $_FILES[ 'import_file' ][ 'name' ] );
195
- $extension = end( $extension );
196
-
197
- if ( $extension != 'json' ) {
198
- wp_die( __( '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( __( '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.
208
- $options = (array) json_decode( file_get_contents( $import_file ), TRUE );
209
-
210
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
211
- update_site_option( self::$option_string, $options );
212
- } else {
213
- update_option( self::$option_string, $options );
214
- }
215
-
216
- // redirect to settings page in network
217
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
218
- wp_redirect(
219
- add_query_arg(
220
- array( 'page' => self::$plugin, 'updated' => 'true' ),
221
- network_admin_url( 'settings.php' )
222
- )
223
- );
224
- } else {
225
- $page = str_replace( basename( __FILE__ ), 'class-settings.php', plugin_basename( __FILE__ ) );
226
- wp_redirect(
227
- add_query_arg(
228
- array( 'page' => $page, 'updated' => 'true' ),
229
- admin_url( 'options-general.php' )
230
- )
231
- );
232
- }
233
- exit;
234
- }
235
-
236
- } // end class
237
-
238
- $add_quicktag_im_export = Add_Quicktag_Im_Export::get_object();
1
+ <?php
2
+ /**
3
+ * AddQuicktag - Settings
4
+ *
5
+ * @license GPLv3
6
+ * @package AddQuicktag
7
+ * @subpackage AddQuicktag Settings
8
+ * @author Frank Bueltge <frank@bueltge.de>
9
+ * @version 06/19/2014
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_Im_Export
19
+ */
20
+ class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
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
+ *
43
+ * @var Array
44
+ */
45
+ private static $post_types_for_js;
46
+
47
+ /**
48
+ * Handler for the action 'init'. Instantiates this class.
49
+ *
50
+ * @access public
51
+ * @since 2.0.0
52
+ * @return \Add_Quicktag|\Add_Quicktag_Im_Export|\Add_Quicktag_Settings $instance
53
+ */
54
+ public static function get_object() {
55
+
56
+ static $instance;
57
+
58
+ if ( NULL === $instance ) {
59
+ $instance = new self();
60
+ }
61
+
62
+ return $instance;
63
+ }
64
+
65
+ /**
66
+ * Constructor, init on defined hooks of WP and include second class
67
+ *
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();
80
+
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
+ }
93
+
94
+ /**
95
+ * get markup for ex- and import on settings page
96
+ *
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>
122
+ </div>
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>
139
+ </div>
140
+ </div>
141
+ <?php
142
+ }
143
+
144
+ /**
145
+ * Build export file, json
146
+ *
147
+ * @access public
148
+ * @since 2.0.0
149
+ */
150
+ public function get_export_file() {
151
+
152
+ if ( ! current_user_can( 'manage_options' ) ) {
153
+ return;
154
+ }
155
+
156
+ check_admin_referer( parent :: $nonce_string );
157
+
158
+ if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
159
+ $options = get_site_option( self::$option_string );
160
+ } else {
161
+ $options = get_option( self::$option_string );
162
+ }
163
+
164
+ ignore_user_abort( TRUE );
165
+
166
+ nocache_headers();
167
+ header( 'Content-Type: application/json; charset=utf-8' );
168
+ header( 'Content-Disposition: attachment; filename=addquicktag.-' . date( 'm-d-Y' ) . '.json' );
169
+ header( 'Expires: 0' );
170
+
171
+ echo json_encode( $options );
172
+ exit;
173
+ }
174
+
175
+ /**
176
+ * Import json and update settings
177
+ *
178
+ * @access public
179
+ * @since 2.0.0
180
+ *
181
+ * @internal param bool|string $filename
182
+ *
183
+ * @uses current_user_can, wp_die, is_plugin_active_for_network, update_site_option, update_option
184
+ * @return void
185
+ */
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 );
193
+
194
+ $extension = explode( '.', $_FILES[ 'import_file' ][ 'name' ] );
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.
208
+ $options = (array) json_decode( file_get_contents( $import_file ), TRUE );
209
+
210
+ if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
211
+ update_site_option( self::$option_string, $options );
212
+ } else {
213
+ update_option( self::$option_string, $options );
214
+ }
215
+
216
+ // redirect to settings page in network
217
+ if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
218
+ wp_redirect(
219
+ add_query_arg(
220
+ array( 'page' => self::$plugin, 'updated' => 'true' ),
221
+ network_admin_url( 'settings.php' )
222
+ )
223
+ );
224
+ } else {
225
+ $page = str_replace( basename( __FILE__ ), 'class-settings.php', plugin_basename( __FILE__ ) );
226
+ wp_redirect(
227
+ add_query_arg(
228
+ array( 'page' => $page, 'updated' => 'true' ),
229
+ admin_url( 'options-general.php' )
230
+ )
231
+ );
232
+ }
233
+ exit;
234
+ }
235
+
236
+ } // end class
237
+
238
+ $add_quicktag_im_export = Add_Quicktag_Im_Export::get_object();
inc/class-remove-quicktags.php CHANGED
@@ -1,152 +1,152 @@
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' ) ) {
12
- echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
13
- exit;
14
- }
15
-
16
- /**
17
- * Class Add_Quicktag_Remove_Quicktags
18
- */
19
- class Add_Quicktag_Remove_Quicktags extends Add_Quicktag_Settings {
20
-
21
- // default buttons from WP Core
22
- private static $core_quicktags = 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,fullscreen';
23
-
24
- /**
25
- * Handler for the action 'init'. Instantiates this class.
26
- *
27
- * @access public
28
- * @since 2.0.0
29
- * @return \Add_Quicktag|\Add_Quicktag_Remove_Quicktags|\Add_Quicktag_Settings $instance
30
- */
31
- public static function get_object() {
32
-
33
- static $instance;
34
-
35
- if ( NULL === $instance ) {
36
- $instance = new self();
37
- }
38
-
39
- return $instance;
40
- }
41
-
42
- /**
43
- * Constructor, init on defined hooks of WP and include second class
44
- *
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
-
52
- add_action( 'addquicktag_settings_form_page', array( $this, 'get_remove_quicktag_area' ) );
53
- }
54
-
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 _e( 'Remove Core Quicktag buttons', parent::get_textdomain() ); ?></h3>
67
- <p><?php _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
71
- $pt_title = '';
72
- $pt_colgroup = '';
73
- foreach ( $this->get_post_types_for_js() as $post_type ) {
74
- $pt_title .= '<th class="row-title rotate" title="Post Type"><span><code>' . $post_type . '</code></span></th>' . "\n";
75
- $pt_colgroup .= '<colgroup></colgroup>' . "\n";
76
- }
77
- ?>
78
-
79
- <table class="widefat form-table rmnlCoreQuicktagSettings">
80
- <colgroup></colgroup>
81
- <?php echo $pt_colgroup; ?>
82
- <colgroup></colgroup>
83
-
84
- <tr>
85
- <th class="row-title"><?php _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 );
93
- // Loop over items to remove and unset them from the buttons
94
- $i = 999;
95
- foreach ( $core_buttons as $key => $value ) {
96
-
97
- // same style as in editor
98
- if ( 'strong' === $value ) {
99
- $text = 'b';
100
- $style = ' style="font-weight: bold;"';
101
- } else if ( 'em' === $value ) {
102
- $text = 'i';
103
- $style = ' style="font-style: italic;"';
104
- } else if ( 'link' === $value ) {
105
- $text = $value;
106
- $style = ' style="text-decoration: underline;"';
107
- } else if ( 'del' === $value ) {
108
- $text = $value;
109
- $style = ' style="text-decoration: line-through;"';
110
- } else if ( 'block' === $value ) {
111
- $text = 'b-quote';
112
- $style = '';
113
- } else {
114
- $text = $value;
115
- $style = '';
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
-
130
- $pt_checkboxes .= '<td class="num"><input type="checkbox" name="' .
131
- parent :: get_option_string() . '[core_buttons][' .
132
- $value . '][' . $post_type . ']" value="1"' .
133
- $pt_checked . '/></td>' . "\n";
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 ++;
141
- }
142
-
143
- // Convert new buttons array back into a comma-separated string
144
- $core_qt = implode( ',', $core_buttons );
145
- ?>
146
- </table>
147
- <?php
148
- }
149
-
150
- } // end class
151
-
152
  $add_quicktag_remove_quicktags = Add_Quicktag_Remove_Quicktags::get_object();
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' ) ) {
12
+ echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
13
+ exit;
14
+ }
15
+
16
+ /**
17
+ * Class Add_Quicktag_Remove_Quicktags
18
+ */
19
+ class Add_Quicktag_Remove_Quicktags extends Add_Quicktag_Settings {
20
+
21
+ // default buttons from WP Core
22
+ private static $core_quicktags = 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,fullscreen';
23
+
24
+ /**
25
+ * Handler for the action 'init'. Instantiates this class.
26
+ *
27
+ * @access public
28
+ * @since 2.0.0
29
+ * @return \Add_Quicktag|\Add_Quicktag_Remove_Quicktags|\Add_Quicktag_Settings $instance
30
+ */
31
+ public static function get_object() {
32
+
33
+ static $instance;
34
+
35
+ if ( NULL === $instance ) {
36
+ $instance = new self();
37
+ }
38
+
39
+ return $instance;
40
+ }
41
+
42
+ /**
43
+ * Constructor, init on defined hooks of WP and include second class
44
+ *
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
+
52
+ add_action( 'addquicktag_settings_form_page', array( $this, 'get_remove_quicktag_area' ) );
53
+ }
54
+
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
71
+ $pt_title = '';
72
+ $pt_colgroup = '';
73
+ foreach ( $this->get_post_types_for_js() as $post_type ) {
74
+ $pt_title .= '<th class="row-title rotate" title="Post Type"><span><code>' . $post_type . '</code></span></th>' . "\n";
75
+ $pt_colgroup .= '<colgroup></colgroup>' . "\n";
76
+ }
77
+ ?>
78
+
79
+ <table class="widefat form-table rmnlCoreQuicktagSettings">
80
+ <colgroup></colgroup>
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 );
93
+ // Loop over items to remove and unset them from the buttons
94
+ $i = 999;
95
+ foreach ( $core_buttons as $key => $value ) {
96
+
97
+ // same style as in editor
98
+ if ( 'strong' === $value ) {
99
+ $text = 'b';
100
+ $style = ' style="font-weight: bold;"';
101
+ } else if ( 'em' === $value ) {
102
+ $text = 'i';
103
+ $style = ' style="font-style: italic;"';
104
+ } else if ( 'link' === $value ) {
105
+ $text = $value;
106
+ $style = ' style="text-decoration: underline;"';
107
+ } else if ( 'del' === $value ) {
108
+ $text = $value;
109
+ $style = ' style="text-decoration: line-through;"';
110
+ } else if ( 'block' === $value ) {
111
+ $text = 'b-quote';
112
+ $style = '';
113
+ } else {
114
+ $text = $value;
115
+ $style = '';
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
+
130
+ $pt_checkboxes .= '<td class="num"><input type="checkbox" name="' .
131
+ parent :: get_option_string() . '[core_buttons][' .
132
+ $value . '][' . $post_type . ']" value="1"' .
133
+ $pt_checked . '/></td>' . "\n";
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 ++;
141
+ }
142
+
143
+ // Convert new buttons array back into a comma-separated string
144
+ $core_qt = implode( ',', $core_buttons );
145
+ ?>
146
+ </table>
147
+ <?php
148
+ }
149
+
150
+ } // end class
151
+
152
  $add_quicktag_remove_quicktags = Add_Quicktag_Remove_Quicktags::get_object();
inc/class-settings.php CHANGED
@@ -1,805 +1,781 @@
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 NULL;
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__ ) . '">' . __( '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__ ) . '">' . __( '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
- * @return void
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' ) . ' ' . __( 'Settings', $this->get_textdomain() ),
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' ) . ' ' . __( 'Settings', $this->get_textdomain() ),
219
- parent :: get_plugin_data( 'Name' ),
220
- 'manage_options',
221
- plugin_basename( __FILE__ ),
222
- array( $this, 'get_settings_page' )
223
- );
224
- add_action( 'contextual_help', array( $this, 'contextual_help' ), 10, 3 );
225
- }
226
- }
227
-
228
- /**
229
- * Return form and markup on settings page
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
- * @return void
234
- */
235
- public function get_settings_page() {
236
-
237
- ?>
238
- <div class="wrap">
239
- <h2><?php echo parent :: get_plugin_data( 'Name' ); ?></h2>
240
-
241
- <h3><?php _e( 'Add or delete Quicktag buttons', $this->get_textdomain() ); ?></h3>
242
-
243
- <p><?php _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>
244
-
245
- <?php
246
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
247
- $action = 'edit.php?action=' . self::$option_string;
248
- } else {
249
- $action = 'options.php';
250
- }
251
- ?>
252
- <form method="post" action="<?php echo $action; ?>">
253
- <?php
254
- if ( is_multisite() && is_plugin_active_for_network( self::$plugin ) ) {
255
- wp_nonce_field( self::$nonce_string );
256
- $options = get_site_option( self::$option_string );
257
- } else {
258
- settings_fields( self::$option_string . '_group' );
259
- $options = get_option( self::$option_string );
260
- }
261
-
262
- if ( ! isset( $options[ 'buttons' ] ) ) {
263
- $options[ 'buttons' ] = array();
264
- }
265
-
266
- if ( 1 < count( $options[ 'buttons' ] ) ) {
267
- // sort array by order value
268
- $tmp = array();
269
- foreach ( $options[ 'buttons' ] as $order ) {
270
- if ( isset( $order[ 'order' ] ) ) {
271
- $tmp[ ] = $order[ 'order' ];
272
- } else {
273
- $tmp[ ] = 0;
274
- }
275
- }
276
- array_multisort( $tmp, SORT_ASC, $options[ 'buttons' ] );
277
- }
278
-
279
- // loop about the post types, create html an values for title in table
280
- $pt_title = '';
281
- $pt_colgroup = '';
282
- foreach ( $this->get_post_types_for_js() as $post_type ) {
283
-
284
- $pt_title .= '<th class="row-title rotate" title="Post Type"><span><code>' . $post_type . '</code></span></th>' . "\n";
285
- $pt_colgroup .= '<colgroup></colgroup>' . "\n";
286
- }
287
- ?>
288
-
289
- <table class="widefat form-table rmnlQuicktagSettings">
290
- <colgroup></colgroup>
291
- <colgroup></colgroup>
292
- <colgroup></colgroup>
293
- <colgroup></colgroup>
294
- <colgroup></colgroup>
295
- <?php echo $pt_colgroup; ?>
296
- <colgroup></colgroup>
297
-
298
- <tr class="rmnlqsheader">
299
- <th class="row-title"><?php _e( 'Button Label* and', $this->get_textdomain() ); ?><br />
300
- <?php _e( 'Title Attribute', $this->get_textdomain() ); ?></th>
301
- <th class="row-title"><?php _e( 'Start Tag(s)* and', $this->get_textdomain() ); ?><br />
302
- <?php _e( 'End Tag(s)', $this->get_textdomain() ); ?></th>
303
- <th class="row-title"><?php _e( 'Access Key and', $this->get_textdomain() ); ?><br />
304
- <?php _e( 'Order', $this->get_textdomain() ); ?></th>
305
- <th class="row-title rotate"><span><?php _e( 'Visual', $this->get_textdomain() ); ?></span></th>
306
- <?php echo $pt_title ?>
307
- <th class="row-title rotate">&#x2714;</th>
308
- </tr>
309
- <?php
310
- if ( empty( $options[ 'buttons' ] ) ) {
311
- $options[ 'buttons' ] = array();
312
- }
313
- $class = '';
314
- for ( $i = 0; $i < count( $options[ 'buttons' ] ); $i ++ ) {
315
- $class = ( ' class="alternate"' == $class ) ? '' : ' class="alternate"';
316
- $b = $options[ 'buttons' ][ $i ];
317
- $b[ 'text' ] = htmlentities( stripslashes( $b[ 'text' ] ), ENT_COMPAT, get_option( 'blog_charset' ) );
318
- if ( isset( $b[ 'title' ] ) ) {
319
- $b[ 'title' ] = htmlentities( stripslashes( $b[ 'title' ] ), ENT_COMPAT, get_option( 'blog_charset' ) );
320
- }
321
- $b[ 'start' ] = htmlentities( $b[ 'start' ], ENT_COMPAT, get_option( 'blog_charset' ) );
322
- if ( isset( $b[ 'end' ] ) ) {
323
- $b[ 'end' ] = htmlentities( $b[ 'end' ], ENT_COMPAT, get_option( 'blog_charset' ) );
324
- }
325
- if ( ! isset( $b[ 'access' ] ) ) {
326
- $b[ 'access' ] = '';
327
- }
328
- $b[ 'access' ] = htmlentities( $b[ 'access' ], ENT_COMPAT, get_option( 'blog_charset' ) );
329
- if ( ! isset( $b[ 'order' ] ) ) {
330
- $b[ 'order' ] = 0;
331
- }
332
- $b[ 'order' ] = intval( $b[ 'order' ] );
333
- if ( ! isset( $b[ 'visual' ] ) ) {
334
- $b[ 'visual' ] = 0;
335
- }
336
- $b[ 'visual' ] = intval( $b[ 'visual' ] );
337
- if ( 1 == $b[ 'visual' ] ) {
338
- $checked = ' checked="checked"';
339
- } else {
340
- $checked = '';
341
- }
342
- // loop about the post types, create html an values
343
- $pt_checkboxes = '';
344
- foreach ( $this->get_post_types_for_js() as $post_type ) {
345
-
346
- if ( ! isset( $b[ $post_type ] ) ) {
347
- $b[ $post_type ] = 0;
348
- }
349
-
350
- $b[ $post_type ] = intval( $b[ $post_type ] );
351
-
352
- if ( 1 == $b[ $post_type ] ) {
353
- $pt_checked = ' checked="checked"';
354
- } else {
355
- $pt_checked = '';
356
- }
357
-
358
- $pt_checkboxes .= '<td class="num"><input type="checkbox" name="' .
359
- self::$option_string . '[buttons][' .
360
- $i . '][' . $post_type . ']" value="1"' .
361
- $pt_checked . '/></td>' . "\n";
362
- }
363
-
364
- echo '
365
- <tr id="rmqtb' . $i . '">
366
- <td><input type="text" name="' . self::$option_string . '[buttons][' . $i
367
- . '][text]" value="' . $b[ 'text' ] . '" /><br />
368
- <input type="text" name="' . self::$option_string . '[buttons][' . $i . '][title]" value="'
369
- . $b[ 'title' ] . '" /></td>
370
- <td><textarea class="code" name="' . self::$option_string . '[buttons][' . $i
371
- . '][start]" rows="2" cols="25" >' . $b[ 'start' ] . '</textarea><br />
372
- <textarea class="code" name="' . self::$option_string . '[buttons][' . $i
373
- . '][end]" rows="2" cols="25" >' . $b[ 'end' ] . '</textarea></td>
374
- <td><input class="small-text" type="text" name="' . self::$option_string . '[buttons][' . $i
375
- . '][access]" value="' . $b[ 'access' ] . '" /><br />
376
- <input class="small-text" type="text" name="' . self::$option_string . '[buttons][' . $i
377
- . '][order]" value="' . $b[ 'order' ] . '" /></td>
378
- <td class="num"><input type="checkbox" name="' . self::$option_string . '[buttons][' . $i
379
- . '][visual]" value="1"' . $checked . '/></td>' .
380
- $pt_checkboxes . '
381
- <td class="num"><input type="checkbox" class="toggle" id="select_all_' . $i . '" value="' . $i . '" /></td>' . '
382
- </tr>
383
- ';
384
- }
385
-
386
- // loop about the post types, create html an values for empty new checkboxes
387
- $pt_new_boxes = '';
388
- foreach ( $this->get_post_types_for_js() as $post_type ) {
389
- if ( ! isset( $b[ $post_type ] ) ) {
390
- $b[ $post_type ] = 0;
391
- }
392
-
393
- $b[ $post_type ] = intval( $b[ $post_type ] );
394
-
395
- if ( 1 == $b[ $post_type ] ) {
396
- $pt_checked = ' checked="checked"';
397
- } else {
398
- $pt_checked = '';
399
- }
400
-
401
- $pt_new_boxes .= '<td class="num"><input type="checkbox" name="' .
402
- self::$option_string . '[buttons][' .
403
- $i . '][' . $post_type . ']" value="1" /></td>' . "\n";
404
- }
405
- ?>
406
- <tr id="rmqtb<?php echo $i ?>">
407
- <td>
408
- <input type="text" placeholder="<?php _e( 'Button Label*', $this->get_textdomain() ); ?>" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][text]" value="" /><br />
409
- <input type="text" placeholder="<?php _e( 'Title Attribute', $this->get_textdomain() ); ?>" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][title]" value="" />
410
- </td>
411
- <td>
412
- <textarea placeholder="<?php _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 />
413
- <textarea placeholder="<?php _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>
414
- </td>
415
- <td>
416
- <input type="text" placeholder="<?php _e( 'Access Key', $this->get_textdomain() ); ?>" title="<?php _e( 'Access Key', $this->get_textdomain() ); ?>" class="small-text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][access]" value="" /><br />
417
- <input type="text" placeholder="<?php _e( 'Order', $this->get_textdomain() ); ?>" title="<?php _e( 'Order', $this->get_textdomain() ); ?>" class="small-text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][order]" value="" />
418
- </td>
419
- <td class="num">
420
- <input type="checkbox" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][visual]" value="1" />
421
- </td>
422
- <?php echo $pt_new_boxes; ?>
423
- <td class="num">
424
- <input type="checkbox" class="toggle" id="select_all_<?php echo $i ?>" value="<?php echo $i ?>" />
425
- </td>
426
- </tr>
427
- </table>
428
-
429
- <?php do_action( 'addquicktag_settings_form_page', $options ); ?>
430
-
431
- <p class="submit">
432
- <input type="submit" class="button-primary" value="<?php _e( 'Save Changes' ) ?>" />
433
- </p>
434
-
435
- </form>
436
-
437
- <div class="metabox-holder has-right-sidebar">
438
-
439
- <div class="inner-sidebar">
440
- <?php do_action( 'addquicktag_settings_page_sidebar' ); ?>
441
- </div>
442
- <!-- .inner-sidebar -->
443
-
444
- <div id="post-body">
445
- <div id="post-body-content">
446
- <?php do_action( 'addquicktag_settings_page', $options ); ?>
447
- </div>
448
- <!-- #post-body-content -->
449
- </div>
450
- <!-- #post-body -->
451
-
452
- </div>
453
- <!-- .metabox-holder -->
454
-
455
- </div>
456
- <?php
457
- }
458
-
459
- /*
460
- * Return information to donate
461
- *
462
- * @uses _e,esc_attr_e
463
- * @access public
464
- * @since 2.0.0
465
- * @return void
466
- */
467
- public function get_plugin_infos() {
468
-
469
- ?>
470
- <div class="postbox">
471
-
472
- <h3><span><?php _e( 'Like this plugin?', $this->get_textdomain() ); ?></span></h3>
473
-
474
- <div class="inside">
475
- <p><?php _e( 'Here\'s how you can give back:', $this->get_textdomain() ); ?></p>
476
- <ul>
477
- <li>
478
- <a href="http://wordpress.org/support/view/plugin-reviews/addquicktag" title="<?php esc_attr_e( 'The Plugin on the WordPress plugin repository', $this->get_textdomain() ); ?>"><?php esc_attr_e( 'Give the plugin a good rating.', $this->get_textdomain() ); ?></a>
479
- </li>
480
- <li>
481
- <a href="http://wordpress.org/support/plugin/addquicktag" title="<?php esc_attr_e( 'Help inside the community other useres and write answer to this plugin questions.', $this->get_textdomain() ); ?>"><?php esc_attr_e( 'Help other users in the Support Forum.', $this->get_textdomain() ); ?></a>
482
- </li>
483
- <li>
484
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=6069955" title="<?php esc_attr_e( 'Donate via PayPal', $this->get_textdomain() ); ?>"><?php esc_attr_e( 'Donate a few euros.', $this->get_textdomain() ); ?></a>
485
- </li>
486
- <li>
487
- <a href="http://www.amazon.de/gp/registry/3NTOGEK181L23/ref=wl_s_3" title="<?php esc_attr_e( 'Frank Bültge\'s Amazon Wish List', $this->get_textdomain() ); ?>"><?php esc_attr_e( 'Get me something from my wish list.', $this->get_textdomain() ); ?></a>
488
- </li>
489
- <li>
490
- <a href="https://github.com/bueltge/AddQuicktag" title="<?php esc_attr_e( 'Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues.', $this->get_textdomain() ); ?>"><?php esc_attr_e( 'Github Repo for Contribute, Issues & Bugs', $this->get_textdomain() ); ?></a>
491
- </li>
492
- </ul>
493
- </div>
494
- </div>
495
- <?php
496
- }
497
-
498
- /*
499
- * Return informations about the plugin
500
- *
501
- * @uses _e,esc_attr_e
502
- * @access public
503
- * @since 2.0.0
504
- * @return void
505
- */
506
- public function get_about_plugin() {
507
-
508
- ?>
509
- <div class="postbox">
510
-
511
- <h3><span><?php _e( 'About this plugin', $this->get_textdomain() ); ?></span></h3>
512
-
513
- <div class="inside">
514
- <p>
515
- <strong><?php _e( 'Version:', $this->get_textdomain() ); ?></strong>
516
- <?php echo parent :: get_plugin_data( 'Version' ); ?>
517
- </p>
518
-
519
- <p>
520
- <strong><?php _e( 'Description:', $this->get_textdomain() ); ?></strong>
521
- <?php echo parent :: get_plugin_data( 'Description' ); ?>
522
- </p>
523
- </div>
524
-
525
- </div>
526
- <?php
527
- }
528
-
529
- /*
530
- * Save network settings
531
- *
532
- * @uses update_site_option, wp_redirect, add_query_arg, network_admin_url
533
- * @access public
534
- * @since 2.0.0
535
- * @return void
536
- */
537
- public function save_network_settings_page() {
538
-
539
- if ( ! wp_verify_nonce( $_REQUEST[ '_wpnonce' ], self::$nonce_string ) ) {
540
- wp_die( 'Sorry, you failed the nonce test.' );
541
- }
542
-
543
- // validate options
544
- $value = $this->validate_settings( $_POST[ self::$option_string ] );
545
-
546
- // update options
547
- update_site_option( self::$option_string, $value );
548
- // redirect to settings page in network
549
- wp_redirect(
550
- add_query_arg(
551
- array( 'page' => plugin_basename( __FILE__ ), 'updated' => 'true' ),
552
- network_admin_url( 'settings.php' )
553
- )
554
- );
555
- exit();
556
- }
557
-
558
- /*
559
- * Retrun string vor update message
560
- *
561
- * @uses
562
- * @access public
563
- * @since 2.0.0
564
- * @return string $notice
565
- */
566
- public function get_network_admin_notices() {
567
-
568
- // if updated and the right page
569
- if ( isset( $_GET[ 'updated' ] ) &&
570
- 'settings_page_addquicktag/inc/class-settings-network' === $GLOBALS[ 'current_screen' ] ->id
571
- ) {
572
- $message = __( 'Options saved.', $this->get_textdomain() );
573
- $notice = '<div id="message" class="updated"><p>' . $message . '</p></div>';
574
- echo $notice;
575
- }
576
- }
577
-
578
- /**
579
- * Validate settings for options
580
- * @uses normalize_whitespace
581
- * @access public
582
- *
583
- * @param array $value
584
- *
585
- * @since 2.0.0
586
- * @return string $value
587
- */
588
- public function validate_settings( $value ) {
589
-
590
- // Save core buttons changes
591
- if ( isset( $value[ 'core_buttons' ] ) ) {
592
- $core_buttons = $value[ 'core_buttons' ];
593
- }
594
-
595
- // Save Code buttons
596
- if ( isset( $value[ 'code_buttons' ] ) ) {
597
- $code_buttons = $value[ 'code_buttons' ];
598
- }
599
-
600
- // set allowed values for import, only the defaults of plugin and custom post types
601
- $allowed_settings = (array) array_merge(
602
- $this->get_post_types_for_js(),
603
- array( 'text', 'title', 'start', 'end', 'access', 'order', 'visual' )
604
- );
605
-
606
- $buttons = '';
607
- // filter for allowed values
608
- foreach ( $value[ 'buttons' ] as $key => $button ) {
609
-
610
- foreach ( $button as $label => $val ) {
611
-
612
- if ( ! in_array( $label, $allowed_settings ) ) {
613
- unset( $button[ $label ] );
614
- }
615
- }
616
-
617
- $buttons[ ] = $button;
618
- }
619
-
620
- // return filtered array
621
- $filtered_values[ 'buttons' ] = $buttons;
622
- $value = $filtered_values;
623
-
624
- $buttons = array();
625
- for ( $i = 0; $i < count( $value[ 'buttons' ] ); $i ++ ) {
626
-
627
- $b = $value[ 'buttons' ][ $i ];
628
- if ( ! empty( $b[ 'text' ] ) && ! empty( $b[ 'start' ] ) ) {
629
-
630
- $b[ 'text' ] = esc_html( $b[ 'text' ] );
631
- $b[ 'title' ] = esc_html( $b[ 'title' ] );
632
- $b[ 'start' ] = stripslashes( $b[ 'start' ] );
633
- $b[ 'end' ] = stripslashes( $b[ 'end' ] );
634
-
635
- if ( isset( $b[ 'access' ] ) ) {
636
- $b[ 'access' ] = esc_html( $b[ 'access' ] );
637
- }
638
-
639
- if ( isset( $b[ 'order' ] ) ) {
640
- $b[ 'order' ] = intval( $b[ 'order' ] );
641
- }
642
-
643
- // visual settings
644
- if ( isset( $b[ 'visual' ] ) ) {
645
- $b[ 'visual' ] = intval( $b[ 'visual' ] );
646
- } else {
647
- $b[ 'visual' ] = 0;
648
- }
649
-
650
- // post types
651
- foreach ( $this->get_post_types_for_js() as $post_type ) {
652
-
653
- if ( isset( $b[ $post_type ] ) ) {
654
- $b[ $post_type ] = intval( $b[ $post_type ] );
655
- } else {
656
- $b[ $post_type ] = 0;
657
- }
658
-
659
- }
660
-
661
- $buttons[ ] = $b;
662
- }
663
-
664
- }
665
-
666
- // Check for wrong empty values and kill
667
- foreach ( $value[ 'buttons' ] as $key => $b ) {
668
-
669
- if ( empty( $b[ 'text' ] ) && empty( $b[ 'start' ] ) ) {
670
- unset( $value[ 'buttons' ][ $key ] );
671
- }
672
- }
673
- // reorder the array
674
- $value[ 'buttons' ] = array_values( $value[ 'buttons' ] );
675
-
676
- // Filter core button values, strings and convert to integer
677
- if ( ! empty( $core_buttons ) ) {
678
-
679
- /**
680
- * $key is core-string
681
- * 'core_buttons' =>
682
- array (size=1)
683
- 'strong' =>
684
- array (size=2)
685
- 'post' => string '1' (length=1)
686
- 'page' => string '1' (length=1)
687
- */
688
- $filtered_core_buttons = array();
689
- foreach ( $core_buttons as $key => $var ) {
690
-
691
- $core_button = array();
692
- foreach ( $var as $post_type => $val ) {
693
- $core_button[ $post_type ] = intval( $val );
694
- }
695
-
696
- $filtered_core_buttons[ $key ] = $core_button;
697
-
698
- }
699
-
700
- $value[ 'core_buttons' ] = $filtered_core_buttons;
701
-
702
- }
703
-
704
- // Filter code button values, strings and convert to integer
705
- if ( ! empty( $code_buttons ) ) {
706
-
707
- $filtered_code_buttons = array();
708
- foreach ( $code_buttons as $key => $var ) {
709
-
710
- $code_button = array();
711
- foreach ( $var as $post_type => $val ) {
712
- $code_button[ $post_type ] = intval( $val );
713
- }
714
-
715
- $filtered_code_buttons[ $key ] = $code_button;
716
-
717
- }
718
-
719
- $value[ 'code_buttons' ] = $filtered_code_buttons;
720
-
721
- }
722
-
723
- return $value;
724
- }
725
-
726
- /**
727
- * Register settings for options
728
- * @uses register_setting
729
- * @access public
730
- * @since 2.0.0
731
- * @return void
732
- */
733
- public function register_settings() {
734
-
735
- register_setting( self::$option_string . '_group', self::$option_string, array( $this, 'validate_settings' ) );
736
- }
737
-
738
- /**
739
- * Unregister and delete settings; clean database
740
- * @uses unregister_setting, delete_option
741
- * @access public
742
- * @since 0.0.2
743
- * @return void
744
- */
745
- public function unregister_settings() {
746
-
747
- unregister_setting( self::$option_string . '_group', self::$option_string );
748
- delete_option( self::$option_string );
749
- }
750
-
751
- /**
752
- * Enqueue scripts and stylesheets
753
- * @since 0.0.2
754
- *
755
- * @internal param $where
756
- */
757
- public function print_scripts() {
758
-
759
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '.dev' : '';
760
-
761
- wp_register_script(
762
- self::$option_string . '_admin_script',
763
- plugins_url( '/js/settings' . $suffix . '.js', parent::get_plugin_string() ),
764
- array( 'jquery', 'quicktags' ),
765
- '',
766
- TRUE
767
- );
768
- wp_enqueue_script( self::$option_string . '_admin_script' );
769
-
770
- wp_register_style(
771
- self::$option_string . '_admin_style',
772
- plugins_url( '/css/settings' . $suffix . '.css', parent::get_plugin_string() ),
773
- array(),
774
- FALSE,
775
- 'screen'
776
- );
777
- wp_enqueue_style( self::$option_string . '_admin_style' );
778
- }
779
-
780
- /**
781
- * Add help text
782
- * @uses normalize_whitespace
783
- *
784
- * @param string $contextual_help
785
- * @param string $screen_id
786
- * @param string $screen
787
- *
788
- * @since 2.0.0
789
- * @return string $contextual_help
790
- */
791
- public function contextual_help( $contextual_help, $screen_id, $screen ) {
792
-
793
- if ( 'settings_page_' . self::$option_string . '_group' !== $screen_id ) {
794
- return $contextual_help;
795
- }
796
-
797
- $contextual_help =
798
- '<p>' . __( '' ) . '</p>';
799
-
800
- return normalize_whitespace( $contextual_help );
801
- }
802
-
803
- }
804
-
805
- $add_quicktag_settings = Add_Quicktag_Settings :: get_object();
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();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/class-tinymce.php CHANGED
@@ -92,4 +92,4 @@ class Add_Quicktag_2_TinyMce extends Add_Quicktag {
92
  }
93
 
94
  } // end class
95
- $add_quicktag_2_tinymce = Add_Quicktag_2_TinyMce::get_object();
92
  }
93
 
94
  } // end class
95
+ $add_quicktag_2_tinymce = Add_Quicktag_2_TinyMce::get_object();
inc/tinymce/editor_plugin.dev.js CHANGED
@@ -1,140 +1,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 05/22/2014
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 = 0; 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 = 0; 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
-
73
- var // Set short var for the value identifier
74
- v = v.control._value,
75
- marked = false;
76
-
77
- if (typeof( tinymce.activeEditor.selection.getContent() ) != 'undefined')
78
- marked = true;
79
-
80
- if (marked == true) {
81
-
82
- var content = tinymce.activeEditor.selection.getContent(),
83
- start_content = tinymce.activeEditor.selection.getStart().nodeName,
84
- all = tinymce.activeEditor.selection.getNode(),
85
- start = tiny_tags[v].start,
86
- start_tag = start.match(/[a-z]+/),
87
- end = tiny_tags[v].end;
88
-
89
- if (typeof end == 'undefined')
90
- end = '';
91
-
92
-
93
- /*
94
- // For debugging purpose
95
- console.log(v);
96
- console.log('TinyTags: ' + tiny_tags[v]);
97
- console.log('start_content: ' + start_content);
98
- console.log('start_content.nodeName: ' + tinymce.activeEditor.selection.getStart().nodeName);
99
- console.log('start_content.outerHMTL: ' + tinymce.activeEditor.selection.getStart().outerHMTL);
100
- console.log('Content: ' + content);
101
- console.log(all);
102
- console.log('Start tag: ' + start);
103
- console.log('Start tag, only: ' + start.match(/[a-z]+/));
104
- console.log('End tag: ' + end);
105
- //console.log(start_content.indexOf( start ));
106
- console.log('Search nodeName: ' + start_content.search(start));
107
- /**/
108
-
109
-
110
- // Add tag to content
111
- if (start.match(/[a-z]+/i) != start_content.toLowerCase()) {
112
- tinymce.activeEditor.selection.setContent(
113
- tiny_tags[v].start + content + tiny_tags[v].end
114
- );
115
- }
116
-
117
- // Remove existing tag
118
- if (start.match(/[a-z]+/i) == start_content.toLowerCase()) {
119
-
120
- // Remove content with tag
121
- tinyMCE.activeEditor.dom.remove(
122
- tinymce.activeEditor.selection.getNode(
123
- start_content.toLowerCase()
124
- )
125
- );
126
- // Add content, without tag
127
- tinymce.activeEditor.selection.setContent(
128
- content
129
- );
130
-
131
- }
132
-
133
- }
134
- },
135
- values : values,
136
- };
137
- });
138
-
139
- });
 
 
 
 
 
 
 
 
 
 
140
  });
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
  });
inc/tinymce/editor_plugin.js CHANGED
@@ -1,10 +1,10 @@
1
- /**
2
- * AddQuicktag Script to add listbox to visual-editor
3
- *
4
- * @package AddQuicktag Plugin
5
- * @author Frank Bueltge <frank@bueltge.de>
6
- * @version 05/22/2014
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,i=0;for(i=0;i<addquicktag_tags.buttons.length;i++)1===parseInt(addquicktag_tags.buttons[i].visual)&&(e=addquicktag_tags.buttons[i].visual),1===parseInt(addquicktag_tags.buttons[i][addquicktag_post_type])&&(a=addquicktag_tags.buttons[i][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=0;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 e=e.control._value,a=!1;if("undefined"!=typeof tinymce.activeEditor.selection.getContent()&&(a=!0),1==a){var i=tinymce.activeEditor.selection.getContent(),n=tinymce.activeEditor.selection.getStart().nodeName,d=(tinymce.activeEditor.selection.getNode(),t[e].start),o=(d.match(/[a-z]+/),t[e].end);"undefined"==typeof o&&(o=""),d.match(/[a-z]+/i)!=n.toLowerCase()&&tinymce.activeEditor.selection.setContent(t[e].start+i+t[e].end),d.match(/[a-z]+/i)==n.toLowerCase()&&(tinyMCE.activeEditor.dom.remove(tinymce.activeEditor.selection.getNode(n.toLowerCase())),tinymce.activeEditor.selection.setContent(i))}},values:e}})})}});
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}})})}});
inc/tinymce/langs/de.js CHANGED
File without changes
inc/tinymce/langs/en.js CHANGED
File without changes
js/add-quicktags.dev.js CHANGED
@@ -3,13 +3,13 @@
3
  *
4
  * @package AddQuicktag Plugin
5
  * @author Frank Bueltge <frank@bueltge.de>
6
- * @version 06/19/2014
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')
@@ -22,6 +22,21 @@ jQuery(document).ready(function ($) {
22
  if (typeof tags == 'undefined')
23
  return;
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  // window for input; currently not in use; maybe later
26
  function qt_callback_input_window(e, c, ed) {
27
 
@@ -67,66 +82,16 @@ jQuery(document).ready(function ($) {
67
  * @param instance string optional Limit the button to a specific instance of Quicktags, add to all instances if not present.
68
  */
69
  QTags.addButton(
70
- tags[i].text.toLowerCase(),
71
  tags[i].text,
72
  tags[i].start,
73
  tags[i].end,
74
  tags[i].access,
75
- tags[i].title
76
  );
77
 
78
- // Check the Code buttons, if inside the json
79
- var code_buttons = addquicktag_tags['code_buttons'];
80
-
81
- // Vallback, if WP core don't set the var
82
- if ( typeof typenow == 'undefined' )
83
- typenow = '';
84
-
85
-
86
- // if the htmlentities settings is active for each post type (var typenow from WP core)
87
- if ( code_buttons.htmlentities[typenow] === 1 ) {
88
- /**
89
- * ideas for code buttons and optional window with input possibility
90
- *
91
- * @see @see http://bililite.com/blog/2012/08/20/custom-buttons-in-the-wordpress-html-editor/
92
- */
93
- QTags.addButton('toHTML', 'HTML Entities', function (el, canvas) {
94
- QTags.insertContent(
95
- get_selected_text(canvas).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;')
96
- );
97
- }, 'Encode HTML Entities');
98
-
99
- QTags.addButton('fromHTML', 'Decode HTML', function (el, canvas) {
100
- QTags.insertContent(
101
- get_selected_text(canvas).replace(/&amp;/g, '&').replace(/&lt;/g, '<').replace(/&gt;/g, '>')
102
- );
103
- }, 'Decode HTML Entities');
104
- }
105
-
106
- // if the pre settings is active for each post type (var typenow from WP core)
107
- if ( code_buttons.pre[typenow] === 1 ) {
108
- var code_languages = ['html', 'javascript', 'css', 'bash', 'php', 'vb'];
109
- // Insert before the code button
110
- edButtons[109] = {
111
- html: function (id_prefix) {
112
- return '<select id="' + id_prefix + 'code_language" class="language-select">' +
113
- '<option>blank</option>' + // include a blank option
114
- '<option>' + code_languages.join('</option><option>') + '</option>' +
115
- '</select>';
116
- }
117
- };
118
- $('body').on('change', 'select.language-select', function () {
119
- var lang = $(this).val();
120
- // 110 is the code qt-tag from core, wp-includes/js/quicktags.js
121
- edButtons[110].tagStart = lang ? '<code class="language-' + lang + '">' : '<code>';
122
- });
123
-
124
- // Add pre button for preformatted text
125
- QTags.addButton('qt_pre', 'pre', '<pre>', '</pre>', '', 'Preformatted text', '108');
126
- }
127
-
128
  /**
129
- * @TODO New idea for multible edit windows
130
  // for edit window
131
  QTags.addButton(
132
  tags[i].text.toLowerCase(),
@@ -142,4 +107,66 @@ jQuery(document).ready(function ($) {
142
 
143
  } // end check post type
144
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  });
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 ($) {
11
 
12
+ if ( typeof addquicktag_tags == 'undefined' )
13
  return;
14
 
15
  if (typeof addquicktag_post_type == 'undefined')
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
 
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
  /**
94
+ * @TODO New idea for multiple edit windows
95
  // for edit window
96
  QTags.addButton(
97
  tags[i].text.toLowerCase(),
107
 
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
  });
js/add-quicktags.js CHANGED
@@ -3,8 +3,8 @@
3
  *
4
  * @package AddQuicktag Plugin
5
  * @author Frank Bueltge <frank@bueltge.de>
6
- * @version 06/19/2014
7
  * @since 2.0.0
8
  */
9
 
10
- jQuery(document).ready(function(t){function e(t){return t.focus(),document.selection?document.selection.createRange().text:t.value.substring(t.selectionStart,t.selectionEnd)}if("undefined"!=typeof addquicktag_tags&&"undefined"!=typeof addquicktag_post_type&&"undefined"!=typeof addquicktag_pt_for_js){var n=addquicktag_tags.buttons;if("undefined"!=typeof n&&t.inArray("addquicktag_post_type",addquicktag_pt_for_js))for(var a=0;a<n.length;a++)if(1===parseInt(n[a][addquicktag_post_type])){"undefined"==typeof n[a].title&&(n[a].title=" "),"undefined"==typeof n[a].end&&(n[a].end=""),"undefined"==typeof n[a].access&&(n[a].access=""),QTags.addButton(n[a].text.toLowerCase(),n[a].text,n[a].start,n[a].end,n[a].access,n[a].title);var o=addquicktag_tags.code_buttons;if("undefined"==typeof typenow&&(typenow=""),1===o.htmlentities[typenow]&&(QTags.addButton("toHTML","HTML Entities",function(t,n){QTags.insertContent(e(n).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"))},"Encode HTML Entities"),QTags.addButton("fromHTML","Decode HTML",function(t,n){QTags.insertContent(e(n).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">"))},"Decode HTML Entities")),1===o.pre[typenow]){var d=["html","javascript","css","bash","php","vb"];edButtons[109]={html:function(t){return'<select id="'+t+'code_language" class="language-select"><option>blank</option><option>'+d.join("</option><option>")+"</option></select>"}},t("body").on("change","select.language-select",function(){var e=t(this).val();edButtons[110].tagStart=e?'<code class="language-'+e+'">':"<code>"}),QTags.addButton("qt_pre","pre","<pre>","</pre>","","Preformatted text","108")}}}});
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")}}}});
languages/addquicktag-cs_CZ.mo ADDED
Binary file
languages/addquicktag-cs_CZ.po ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 CHANGED
Binary file
languages/addquicktag-de_DE.po CHANGED
@@ -1,316 +1,306 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-06-19 14:41:12+0000\n"
7
- "Last-Translator: Frank Bueltge <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.6.3\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 XML file for you to save to your computer."
173
- 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."
 
 
 
174
 
175
  #: inc/class-imexport.php:111
176
- #@ addquicktag
177
- msgid "This format, a custom XML, will contain your options from quicktags."
178
- msgstr "Dieses Format, ein benutzerdefniertes XML, 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 privilidges 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
- #. translators: plugin header field 'Version'
221
- #: addquicktag.php:0
222
- #@ addquicktag
223
- msgid "2.3.0"
224
- msgstr ""
225
-
226
  #: inc/class-code-quicktags.php:81
227
- #@ addquicktag
228
  msgid "Enhanced Code Quicktag buttons"
229
  msgstr "Erweiterte Code Quicktag Buttons"
230
 
231
  #: inc/class-code-quicktags.php:82
232
- #@ addquicktag
233
  msgid "Select the checkbox below to add enhanced code buttons."
234
  msgstr "Wähle die jeweilige Checkbox für die Erweiterung um diese Buttons"
235
 
236
  #: inc/class-code-quicktags.php:83
237
- #@ addquicktag
238
  msgid "pre: Enhanced Code buttons"
239
  msgstr "pre: Erweiterte Code Buttons"
240
 
241
  #: inc/class-code-quicktags.php:84
242
- #@ addquicktag
243
- 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."
244
- 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. "
 
 
 
 
 
 
245
 
246
  #: inc/class-code-quicktags.php:85
247
- #@ addquicktag
248
  msgid "htmlentities: HTML Entities, HTML Decode"
249
  msgstr "htmlentities: HTML Entities, HTML Decode"
250
 
251
  #: inc/class-code-quicktags.php:86
252
- #@ addquicktag
253
- msgid "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;lt; and back."
254
- msgstr "Ergänzt zwei Quicktag Buttons zum de- und encodieren von HTML, bspw. &lt; zu &amp;lt; und zurück."
 
 
 
255
 
256
  #: inc/class-code-quicktags.php:104
257
  #: inc/class-remove-quicktags.php:85
258
- #@ addquicktag
259
  msgid "Button"
260
  msgstr "Button"
261
 
262
  #: inc/class-imexport.php:129
263
- #@ addquicktag
264
- 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)"
265
- msgstr "Wenn du Quicktags von anderen Installationen hast, dann kannst du diese hier importieren. Wähle dazu die Datei und importiere sie. (json-Format)"
 
 
 
266
 
267
  #: inc/class-imexport.php:198
268
- #@ addquicktag
269
  msgid "Please upload a valid .json file"
270
  msgstr "Bitte lade eine valide .json Datei. "
271
 
272
  #: inc/class-imexport.php:204
273
- #@ addquicktag
274
  msgid "Please upload a file to import."
275
  msgstr "Bitte lade eine Datei zum Import."
276
 
277
  #: inc/class-remove-quicktags.php:66
278
- #@ addquicktag
279
  msgid "Remove Core Quicktag buttons"
280
  msgstr "Entferne Core Quicktag Buttons"
281
 
282
  #: inc/class-remove-quicktags.php:67
283
- #@ addquicktag
284
- msgid "Select the checkbox below to remove a core quicktags in the editors of the respective post type."
285
- msgstr "Wähle die jeweilige Checkbox zum Entfernen von Core Quicktags innerhalb des jeweiligen Editors zum Post Type."
 
 
 
286
 
287
  #: inc/class-settings.php:243
288
- #@ addquicktag
289
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
290
- 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."
 
 
 
 
291
 
292
  #: inc/class-settings.php:299
293
- #@ addquicktag
294
  msgid "Button Label* and"
295
  msgstr "Button Label* und"
296
 
297
  #: inc/class-settings.php:301
298
- #@ addquicktag
299
  msgid "Start Tag(s)* and"
300
  msgstr "Start Tag(s)* und"
301
 
302
  #: inc/class-settings.php:303
303
- #@ addquicktag
304
  msgid "Access Key and"
305
  msgstr "Zugangstaste und"
306
 
307
  #: inc/class-settings.php:481
308
- #@ addquicktag
309
- msgid "Help inside the community other useres and write answer to this plugin questions."
310
- msgstr "Hilf in der Community anderen Nutzern und schreibe eine Antwort zur jeweiligen Frage."
 
 
 
311
 
312
  #: inc/class-settings.php:481
313
- #@ addquicktag
314
  msgid "Help other users in the Support Forum."
315
  msgstr "Hilf anderen Anwendern im Support Forum zum Plugin."
316
-
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 ADDED
Binary file
languages/addquicktag-es_ES.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: 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 CHANGED
Binary file
languages/addquicktag-fr_FR.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-05-25 10:40+0100\n"
6
- "PO-Revision-Date: 2014-06-19 14:28:04+0000\n"
7
  "Last-Translator: Li-An <lian00@gmail.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -11,306 +11,346 @@ msgstr ""
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-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-code-quicktags.php:81
24
- #@ addquicktag
25
  msgid "Enhanced Code Quicktag buttons"
26
- msgstr "Bouton de code Quicktag améliorés"
27
 
 
28
  #: inc/class-code-quicktags.php:82
29
- #@ addquicktag
30
  msgid "Select the checkbox below to add enhanced code buttons."
31
- msgstr "Cochez les cases ci-dessous pour ajouter des boutons de code."
 
32
 
33
- #: inc/class-code-quicktags.php:104
34
- #: inc/class-remove-quicktags.php:85
35
- #@ addquicktag
36
  msgid "Button"
37
  msgstr "Bouton"
38
 
 
39
  #: inc/class-code-quicktags.php:86
40
- #@ addquicktag
41
- msgid "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;lt; and back."
42
- msgstr "Ajoute des boutons pour réaliser l'encodage/décodage HTML peu pratique comme &lt; vers &amp;lt; et en arrière."
 
 
 
43
 
 
44
  #: inc/class-imexport.php:106
45
- #@ addquicktag
46
  msgid "Export"
47
  msgstr "Exporter"
48
 
49
- #: inc/class-imexport.php:109
50
- #@ addquicktag
51
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
52
- msgstr "Quand vous cliquez sur le bouton ci-dessous, le plugin va créer un fichier XML à sauvegarder sur votre ordinateur."
53
-
54
- #: inc/class-imexport.php:111
55
- #@ addquicktag
56
- msgid "This format, a custom XML, will contain your options from quicktags."
57
- msgstr "Ce format, un XML personnalisé, contiendra vos options de quicktags."
58
-
59
  #: inc/class-imexport.php:113
60
- #@ addquicktag
61
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
62
- msgstr "Une fois le fichier téléchargé, vous pouvez utiliser la fonction d'importation dans une autre installation Wordpress pour importer ces réglages."
 
 
 
 
63
 
 
64
  #: inc/class-imexport.php:118
65
- #@ addquicktag
66
  msgid "Download Export File"
67
  msgstr "Télécharger le fichier d'exportation"
68
 
 
69
  #: inc/class-imexport.php:126
70
- #@ addquicktag
71
  msgid "Import"
72
  msgstr "Importer"
73
 
 
74
  #: inc/class-imexport.php:135
75
- #@ addquicktag
76
  msgid "Upload file and import"
77
  msgstr "Uploader et importer fichier"
78
 
 
79
  #: inc/class-imexport.php:189
80
- #@ addquicktag
81
  msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
82
- msgstr "Options pas mises à jour - vous n'avez pas les droits pour réaliser cette action !"
 
 
83
 
 
84
  #: inc/class-remove-quicktags.php:66
85
- #@ addquicktag
86
  msgid "Remove Core Quicktag buttons"
87
  msgstr "Retirer des boutons Quicktag du core"
88
 
89
- #: inc/class-settings.php:172
90
- #: inc/class-settings.php:192
91
- #: inc/class-settings.php:210
92
- #: inc/class-settings.php:218
93
- #@ default
94
- #@ addquicktag
95
  msgid "Settings"
96
  msgstr "Réglages"
97
 
 
98
  #: inc/class-settings.php:241
99
- #@ addquicktag
100
  msgid "Add or delete Quicktag buttons"
101
  msgstr "Ajouter ou supprimer des boutons Quicktag"
102
 
 
103
  #: inc/class-settings.php:243
104
- #@ addquicktag
105
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
106
- 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."
 
 
 
 
107
 
 
108
  #: inc/class-settings.php:299
109
- #@ addquicktag
110
  msgid "Button Label* and"
111
  msgstr "Label* de bouton et"
112
 
113
- #: inc/class-settings.php:300
114
- #: inc/class-settings.php:409
115
- #@ addquicktag
116
  msgid "Title Attribute"
117
  msgstr "Attribut de titre"
118
 
 
119
  #: inc/class-settings.php:301
120
- #@ addquicktag
121
  msgid "Start Tag(s)* and"
122
  msgstr "Débuter le/les Tag(s)* et"
123
 
124
- #: inc/class-settings.php:302
125
- #: inc/class-settings.php:413
126
- #@ addquicktag
127
  msgid "End Tag(s)"
128
  msgstr "Fin du(des) tag(s)"
129
 
 
130
  #: inc/class-settings.php:303
131
- #@ addquicktag
132
  msgid "Access Key and"
133
  msgstr "Accéder à la clef et"
134
 
135
- #: inc/class-settings.php:304
136
- #: inc/class-settings.php:417
137
- #@ addquicktag
138
  msgid "Order"
139
  msgstr "Ordre"
140
 
 
141
  #: inc/class-settings.php:305
142
- #@ addquicktag
143
  msgid "Visual"
144
  msgstr "Visuel"
145
 
 
146
  #: inc/class-settings.php:408
147
- #@ addquicktag
148
  msgid "Button Label*"
149
  msgstr "Label du bouton*"
150
 
 
151
  #: inc/class-settings.php:412
152
- #@ addquicktag
153
  msgid "Start Tag(s)*"
154
  msgstr "Début du/des tag(s)*"
155
 
 
156
  #: inc/class-settings.php:416
157
- #@ addquicktag
158
  msgid "Access Key"
159
  msgstr "Clef d'accès"
160
 
 
161
  #: inc/class-settings.php:432
162
- #@ default
163
  msgid "Save Changes"
164
  msgstr "Sauvegarder les modifications"
165
 
 
166
  #: inc/class-settings.php:472
167
- #@ addquicktag
168
  msgid "Like this plugin?"
169
  msgstr "Vous aimez ce plugin ?"
170
 
 
171
  #: inc/class-settings.php:475
172
- #@ addquicktag
173
  msgid "Here's how you can give back:"
174
  msgstr "Voici comment le soutenir:"
175
 
 
176
  #: inc/class-settings.php:511
177
- #@ addquicktag
178
  msgid "About this plugin"
179
  msgstr "À propos de ce plugin"
180
 
 
181
  #: inc/class-settings.php:515
182
- #@ addquicktag
183
  msgid "Version:"
184
  msgstr "Version:"
185
 
 
186
  #: inc/class-settings.php:520
187
- #@ addquicktag
188
  msgid "Description:"
189
  msgstr "Description:"
190
 
 
191
  #: inc/class-settings.php:572
192
- #@ addquicktag
193
  msgid "Options saved."
194
  msgstr "Options sauvegardées."
195
 
 
196
  #. translators: plugin header field 'Name'
197
  #: addquicktag.php:0
198
- #@ addquicktag
199
  msgid "AddQuicktag"
200
- msgstr ""
201
 
 
202
  #. translators: plugin header field 'PluginURI'
203
  #: addquicktag.php:0
204
- #@ addquicktag
205
  msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
206
- msgstr ""
207
 
 
208
  #. translators: plugin header field 'Description'
209
  #: addquicktag.php:0
210
- #@ addquicktag
211
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
212
  msgstr ""
 
 
213
 
 
214
  #. translators: plugin header field 'Author'
215
  #: addquicktag.php:0
216
- #@ addquicktag
217
  msgid "Frank Bültge"
218
- msgstr ""
219
 
 
220
  #. translators: plugin header field 'AuthorURI'
221
  #: addquicktag.php:0
222
- #@ addquicktag
223
  msgid "http://bueltge.de"
224
- msgstr ""
225
-
226
- #. translators: plugin header field 'Version'
227
- #: addquicktag.php:0
228
- #@ addquicktag
229
- msgid "2.3.0"
230
- msgstr ""
231
 
 
232
  #: inc/class-code-quicktags.php:83
233
- #@ addquicktag
234
  msgid "pre: Enhanced Code buttons"
235
- msgstr ""
236
 
 
237
  #: inc/class-code-quicktags.php:84
238
- #@ addquicktag
239
- 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."
 
 
240
  msgstr ""
 
 
 
 
241
 
 
242
  #: inc/class-code-quicktags.php:85
243
- #@ addquicktag
244
  msgid "htmlentities: HTML Entities, HTML Decode"
245
- msgstr ""
246
 
 
247
  #: inc/class-imexport.php:129
248
- #@ addquicktag
249
- 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)"
 
250
  msgstr ""
 
 
 
251
 
 
252
  #: inc/class-imexport.php:198
253
- #@ addquicktag
254
  msgid "Please upload a valid .json file"
255
- msgstr ""
256
 
 
257
  #: inc/class-imexport.php:204
258
- #@ addquicktag
259
  msgid "Please upload a file to import."
260
- msgstr ""
261
 
 
262
  #: inc/class-remove-quicktags.php:67
263
- #@ addquicktag
264
- msgid "Select the checkbox below to remove a core quicktags in the editors of the respective post type."
 
265
  msgstr ""
 
 
266
 
 
267
  #: inc/class-settings.php:478
268
- #@ addquicktag
269
  msgid "The Plugin on the WordPress plugin repository"
270
- msgstr ""
271
 
 
272
  #: inc/class-settings.php:478
273
- #@ addquicktag
274
  msgid "Give the plugin a good rating."
275
- msgstr ""
276
 
 
277
  #: inc/class-settings.php:481
278
- #@ addquicktag
279
- msgid "Help inside the community other useres and write answer to this plugin questions."
 
280
  msgstr ""
 
 
281
 
 
282
  #: inc/class-settings.php:481
283
- #@ addquicktag
284
  msgid "Help other users in the Support Forum."
285
- msgstr ""
286
 
 
287
  #: inc/class-settings.php:484
288
- #@ addquicktag
289
  msgid "Donate via PayPal"
290
- msgstr ""
291
 
 
292
  #: inc/class-settings.php:484
293
- #@ addquicktag
294
  msgid "Donate a few euros."
295
- msgstr ""
296
 
 
297
  #: inc/class-settings.php:487
298
- #@ addquicktag
299
  msgid "Frank Bültge's Amazon Wish List"
300
- msgstr ""
301
 
 
302
  #: inc/class-settings.php:487
303
- #@ addquicktag
304
  msgid "Get me something from my wish list."
305
- msgstr ""
306
 
 
307
  #: inc/class-settings.php:490
308
- #@ addquicktag
309
- msgid "Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues."
 
310
  msgstr ""
 
 
311
 
 
312
  #: inc/class-settings.php:490
313
- #@ addquicktag
314
  msgid "Github Repo for Contribute, Issues & Bugs"
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  msgstr ""
 
 
316
 
 
 
 
 
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"
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-lt_LT.mo ADDED
Binary file
languages/addquicktag-lt_LT.po ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
Binary file
languages/addquicktag-pl_PL.po ADDED
@@ -0,0 +1,345 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2012-07-19 09:41+0100\n"
6
- "PO-Revision-Date: 2014-06-19 14:28:06+0000\n"
7
  "Last-Translator: Aluízio Leye Larangeira <contato@aluizioll.com.br>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -25,16 +25,6 @@ msgstr ""
25
  msgid "Export"
26
  msgstr "Exportar"
27
 
28
- #: inc/class-imexport.php:109
29
- #@ addquicktag
30
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
31
- msgstr "Quando você clica no botão abaixo, o plugin irá criar um arquivo XML para você salvar em seu computador."
32
-
33
- #: inc/class-imexport.php:111
34
- #@ addquicktag
35
- msgid "This format, a custom XML, will contain your options from quicktags."
36
- msgstr "Este formato, um XML personalizado, irá conter suas opções de QuickTags."
37
-
38
  #: inc/class-imexport.php:113
39
  #@ addquicktag
40
  msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
@@ -207,12 +197,6 @@ msgstr ""
207
  msgid "http://bueltge.de"
208
  msgstr ""
209
 
210
- #. translators: plugin header field 'Version'
211
- #: addquicktag.php:0
212
- #@ addquicktag
213
- msgid "2.3.0"
214
- msgstr ""
215
-
216
  #: inc/class-code-quicktags.php:81
217
  #@ addquicktag
218
  msgid "Enhanced Code Quicktag buttons"
@@ -314,3 +298,19 @@ msgstr ""
314
  msgid "Frank Bültge's Amazon Wish List"
315
  msgstr ""
316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"
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."
197
  msgid "http://bueltge.de"
198
  msgstr ""
199
 
 
 
 
 
 
 
200
  #: inc/class-code-quicktags.php:81
201
  #@ addquicktag
202
  msgid "Enhanced Code Quicktag buttons"
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 ADDED
Binary file
languages/addquicktag-ru_RU.po ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2009-06-16 20:31-0300\n"
6
- "PO-Revision-Date: 2014-06-19 14:28:09+0000\n"
7
  "Last-Translator: Brian Flores <baflores@gmail.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -111,12 +111,6 @@ msgstr ""
111
  msgid "http://bueltge.de"
112
  msgstr ""
113
 
114
- #. translators: plugin header field 'Version'
115
- #: addquicktag.php:0
116
- #@ addquicktag
117
- msgid "2.3.0"
118
- msgstr ""
119
-
120
  #: inc/class-code-quicktags.php:81
121
  #@ addquicktag
122
  msgid "Enhanced Code Quicktag buttons"
@@ -153,16 +147,6 @@ msgstr ""
153
  msgid "Button"
154
  msgstr ""
155
 
156
- #: inc/class-imexport.php:109
157
- #@ addquicktag
158
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
159
- msgstr ""
160
-
161
- #: inc/class-imexport.php:111
162
- #@ addquicktag
163
- msgid "This format, a custom XML, will contain your options from quicktags."
164
- msgstr ""
165
-
166
  #: inc/class-imexport.php:113
167
  #@ addquicktag
168
  msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
@@ -314,3 +298,19 @@ msgstr ""
314
  msgid "Description:"
315
  msgstr ""
316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"
111
  msgid "http://bueltge.de"
112
  msgstr ""
113
 
 
 
 
 
 
 
114
  #: inc/class-code-quicktags.php:81
115
  #@ addquicktag
116
  msgid "Enhanced Code Quicktag buttons"
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."
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 CHANGED
Binary file
languages/addquicktag-tr_TR.po CHANGED
@@ -1,316 +1,353 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-06-19 14:28:13+0000\n"
7
- "Last-Translator: gürkan özsoy <turk3005@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=1; plural=0;\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 "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 "Ayarlar"
55
 
 
56
  #: inc/class-settings.php:241
57
- #@ addquicktag
58
  msgid "Add or delete Quicktag buttons"
59
- msgstr "Quicktag Etiketi Ekle veya Sil"
60
 
 
61
  #: inc/class-settings.php:408
62
- #@ addquicktag
63
  msgid "Button Label*"
64
- msgstr "Buton Etiketi*"
65
 
66
- #: inc/class-settings.php:300
67
- #: inc/class-settings.php:409
68
- #@ addquicktag
69
  msgid "Title Attribute"
70
- msgstr "Özellik Başlığı"
71
 
 
72
  #: inc/class-settings.php:412
73
- #@ addquicktag
74
  msgid "Start Tag(s)*"
75
- msgstr "Başlangıç Etiket(ler)i *"
76
 
77
- #: inc/class-settings.php:302
78
- #: inc/class-settings.php:413
79
- #@ addquicktag
80
  msgid "End Tag(s)"
81
  msgstr "Bitiş Etiket(ler)i"
82
 
 
83
  #: inc/class-settings.php:416
84
- #@ addquicktag
85
  msgid "Access Key"
86
  msgstr "Erişim Anahtarı"
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 "Quicktag eklemek için yukarıdaki alanları doldurun. * ile işaretli alanları doldurmak zorunludur. Eklediğiniz butonu silmek için tüm alanları boşaltın."
92
-
93
  #: inc/class-settings.php:432
94
- #@ default
95
  msgid "Save Changes"
96
- msgstr "Değişiklikler Kaydedildi"
97
 
 
98
  #: inc/class-settings.php:472
99
- #@ addquicktag
100
  msgid "Like this plugin?"
101
- msgstr "Bu eklentiyi beğendiniz mi?"
102
 
 
103
  #: inc/class-settings.php:475
104
- #@ addquicktag
105
  msgid "Here's how you can give back:"
106
- msgstr "Buradan geri bildirimde bulunabilirsiniz:"
107
 
 
108
  #: inc/class-settings.php:478
109
- #@ addquicktag
110
  msgid "The Plugin on the WordPress plugin repository"
111
- msgstr "Bu eklenti Wordpress eklenti deposunda"
112
 
 
113
  #: inc/class-settings.php:478
114
- #@ addquicktag
115
  msgid "Give the plugin a good rating."
116
- msgstr "Eklentiye iyi bir derece verin."
117
 
 
118
  #: inc/class-settings.php:484
119
- #@ addquicktag
120
  msgid "Donate via PayPal"
121
- msgstr "PayPal Üzerinden Bağışta Bulunun"
122
 
 
123
  #: inc/class-settings.php:484
124
- #@ addquicktag
125
  msgid "Donate a few euros."
126
- msgstr "Birkaç EURO bağışta bulunun."
127
 
 
128
  #: inc/class-settings.php:487
129
- #@ addquicktag
130
  msgid "Frank Bültge's Amazon Wish List"
131
- msgstr "Frank Bültge'nin Amazon Dilek Listesi"
132
 
 
133
  #: inc/class-settings.php:487
134
- #@ addquicktag
135
  msgid "Get me something from my wish list."
136
- msgstr "Dilek listemden birşeyler satın alabilirsiniz."
137
 
 
138
  #: inc/class-settings.php:511
139
- #@ addquicktag
140
  msgid "About this plugin"
141
- msgstr "Bu eklenti hakkında"
142
 
 
143
  #: inc/class-settings.php:515
144
- #@ addquicktag
145
  msgid "Version:"
146
- msgstr "Versiyon:"
147
 
 
148
  #: inc/class-settings.php:520
149
- #@ addquicktag
150
  msgid "Description:"
151
- msgstr "Tanımlama:"
152
 
153
- #: inc/class-settings.php:304
154
- #: inc/class-settings.php:417
155
- #@ addquicktag
156
  msgid "Order"
157
  msgstr "Sıra"
158
 
 
159
  #: inc/class-settings.php:305
160
- #@ addquicktag
161
  msgid "Visual"
162
  msgstr "Görsel"
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 ve görsel-editöre kolayca özel Quicktags eklemenizi sağlar."
 
 
169
 
 
170
  #: inc/class-imexport.php:106
171
- #@ addquicktag
172
  msgid "Export"
173
  msgstr "Dışa Aktar"
174
 
 
175
  #: inc/class-imexport.php:109
176
- #@ addquicktag
177
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
178
- msgstr "Bilgisayarınıza kaydetmek için aşağıdaki düğmeye tıkladığınız zaman eklenti bir XML dosyası oluşturur."
 
 
 
179
 
 
180
  #: inc/class-imexport.php:111
181
- #@ addquicktag
182
- msgid "This format, a custom XML, will contain your options from quicktags."
183
- msgstr "Bu bir XML dosyası olup, bu dosya formatı sizin quicktags seçeneklerinizi içerecektir."
 
184
 
 
185
  #: inc/class-imexport.php:113
186
- #@ addquicktag
187
- msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
188
- msgstr "Bir kere kaydettiğiniz dosyayı, bir başka Wordpress kurulumu için içe aktarma fonksiyonu ile kullanabilirsiniz."
 
 
 
189
 
 
190
  #: inc/class-imexport.php:118
191
- #@ addquicktag
192
  msgid "Download Export File"
193
- msgstr "Dışa Aktar Dosyasını İndir"
194
 
 
195
  #: inc/class-imexport.php:126
196
- #@ addquicktag
197
  msgid "Import"
198
  msgstr "İçe Aktar"
199
 
 
200
  #: inc/class-imexport.php:135
201
- #@ addquicktag
202
  msgid "Upload file and import"
203
- msgstr "Dosya Yükle ve İçe Aktar"
204
 
 
205
  #: inc/class-imexport.php:189
206
- #@ addquicktag
207
  msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
208
- msgstr "Seçenekler güncellenmedi - Bunu yapma yetkisine sahip değilsiniz!"
209
 
 
210
  #: inc/class-settings.php:572
211
- #@ addquicktag
212
  msgid "Options saved."
213
  msgstr "Seçenekler kaydedildi."
214
 
 
215
  #: inc/class-settings.php:490
216
- #@ addquicktag
217
- msgid "Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues."
218
- msgstr "Kullanım hataları, sorunlar gibi teknik konular ile eklentiye katkıda bulunmak için GitHub Repo üzerinden bana geri bildirimde bulunun."
 
 
 
219
 
 
220
  #: inc/class-settings.php:490
221
- #@ addquicktag
222
  msgid "Github Repo for Contribute, Issues & Bugs"
223
- msgstr "Hata &amp; Sorunlar ile Kakıtda Bulunmak İçin Github Repo"
224
-
225
- #. translators: plugin header field 'Version'
226
- #: addquicktag.php:0
227
- #@ addquicktag
228
- msgid "2.3.0"
229
- msgstr ""
230
 
 
231
  #: inc/class-code-quicktags.php:81
232
- #@ addquicktag
233
  msgid "Enhanced Code Quicktag buttons"
234
- msgstr ""
235
 
 
236
  #: inc/class-code-quicktags.php:82
237
- #@ addquicktag
238
  msgid "Select the checkbox below to add enhanced code buttons."
239
- msgstr ""
240
 
 
241
  #: inc/class-code-quicktags.php:83
242
- #@ addquicktag
243
  msgid "pre: Enhanced Code buttons"
244
- msgstr ""
245
 
 
246
  #: inc/class-code-quicktags.php:84
247
- #@ addquicktag
248
- 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."
 
 
249
  msgstr ""
 
 
 
 
250
 
 
251
  #: inc/class-code-quicktags.php:85
252
- #@ addquicktag
253
  msgid "htmlentities: HTML Entities, HTML Decode"
254
- msgstr ""
255
 
 
256
  #: inc/class-code-quicktags.php:86
257
- #@ addquicktag
258
- msgid "Add buttons to do the inconvient HTML encoding/decoding, like &lt; to &amp;lt; and back."
 
259
  msgstr ""
 
 
260
 
261
- #: inc/class-code-quicktags.php:104
262
- #: inc/class-remove-quicktags.php:85
263
- #@ addquicktag
264
  msgid "Button"
265
- msgstr ""
266
 
 
267
  #: inc/class-imexport.php:129
268
- #@ addquicktag
269
- 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)"
 
270
  msgstr ""
 
 
271
 
 
272
  #: inc/class-imexport.php:198
273
- #@ addquicktag
274
  msgid "Please upload a valid .json file"
275
- msgstr ""
276
 
 
277
  #: inc/class-imexport.php:204
278
- #@ addquicktag
279
  msgid "Please upload a file to import."
280
- msgstr ""
281
 
 
282
  #: inc/class-remove-quicktags.php:66
283
- #@ addquicktag
284
  msgid "Remove Core Quicktag buttons"
285
- msgstr ""
286
 
 
287
  #: inc/class-remove-quicktags.php:67
288
- #@ addquicktag
289
- msgid "Select the checkbox below to remove a core quicktags in the editors of the respective post type."
 
290
  msgstr ""
 
 
291
 
 
 
 
 
 
 
 
 
 
 
 
292
  #: inc/class-settings.php:299
293
- #@ addquicktag
294
  msgid "Button Label* and"
295
- msgstr ""
296
 
 
297
  #: inc/class-settings.php:301
298
- #@ addquicktag
299
  msgid "Start Tag(s)* and"
300
- msgstr ""
301
 
 
302
  #: inc/class-settings.php:303
303
- #@ addquicktag
304
  msgid "Access Key and"
305
- msgstr ""
306
 
 
307
  #: inc/class-settings.php:481
308
- #@ addquicktag
309
- msgid "Help inside the community other useres and write answer to this plugin questions."
 
310
  msgstr ""
 
 
311
 
 
312
  #: inc/class-settings.php:481
313
- #@ addquicktag
314
  msgid "Help other users in the Support Forum."
315
- msgstr ""
316
 
 
 
 
 
 
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.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: AddQuicktag v2.3.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-06-19 14:28:15+0000\n"
7
  "Last-Translator: Frank Bültge <frank@bueltge.de>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -172,16 +172,6 @@ msgstr "Дозволяє легко додавати власні Швидкі
172
  msgid "Export"
173
  msgstr "Експорт"
174
 
175
- #: inc/class-imexport.php:109
176
- #@ addquicktag
177
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
178
- msgstr "При натисканні на кнопку нижче плагін створить XML файл для вас, щоб зберегти на свій комп&#39;ютер."
179
-
180
- #: inc/class-imexport.php:111
181
- #@ addquicktag
182
- msgid "This format, a custom XML, will contain your options from quicktags."
183
- msgstr "Цей формат, звичайний XML, міститиме ваші варіанти від швидких тегів."
184
-
185
  #: inc/class-imexport.php:113
186
  #@ addquicktag
187
  msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import this site."
@@ -222,12 +212,6 @@ msgstr "Будь ласка, зробіть свій внесок і подат
222
  msgid "Github Repo for Contribute, Issues & Bugs"
223
  msgstr "Github репозиторій для сприяння, питання і помилки"
224
 
225
- #. translators: plugin header field 'Version'
226
- #: addquicktag.php:0
227
- #@ addquicktag
228
- msgid "2.3.0"
229
- msgstr ""
230
-
231
  #: inc/class-code-quicktags.php:81
232
  #@ addquicktag
233
  msgid "Enhanced Code Quicktag buttons"
@@ -314,3 +298,19 @@ msgstr ""
314
  msgid "Help other users in the Support Forum."
315
  msgstr ""
316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"
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."
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"
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 CHANGED
@@ -1,231 +1,316 @@
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: 2012-07-16 14:38:53+0000\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-Language: \n"
14
- "X-Poedit-Country: \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;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
- "X-Poedit-Basepath: \n"
18
- "X-Poedit-Bookmarks: \n"
19
- "X-Poedit-SearchPath-0: .\n"
20
- "X-Textdomain-Support: yes"
21
-
22
- #. translators: plugin header field 'Name'
23
- #: addquicktag.php:0
24
- #@ addquicktag
25
- msgid "AddQuicktag"
26
- msgstr "AddQuicktag"
27
-
28
- #. translators: plugin header field 'PluginURI'
29
- #: addquicktag.php:0
30
- #@ addquicktag
31
- msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
32
- msgstr ""
33
-
34
- #. translators: plugin header field 'Author'
35
- #: addquicktag.php:0
36
- #@ addquicktag
37
- msgid "Frank Bültge"
38
- msgstr ""
39
-
40
- #. translators: plugin header field 'AuthorURI'
41
- #: addquicktag.php:0
42
- #@ addquicktag
43
- msgid "http://bueltge.de"
44
- msgstr ""
45
-
46
- #: inc/class-settings.php:128
47
- #: inc/class-settings.php:145
48
- #: inc/class-settings.php:163
49
- #: inc/class-settings.php:171
50
- #@ default
51
- #@ addquicktag
52
- msgid "Settings"
53
- msgstr "Einstellungen"
54
-
55
- #: inc/class-settings.php:196
56
- #@ addquicktag
57
- msgid "Add or delete Quicktag buttons"
58
- msgstr "Ergänze oder lösche Quicktag Buttons"
59
-
60
- #: inc/class-settings.php:237
61
- #@ addquicktag
62
- msgid "Button Label*"
63
- msgstr "Button Name*"
64
-
65
- #: inc/class-settings.php:238
66
- #@ addquicktag
67
- msgid "Title Attribute"
68
- msgstr "Title Attribut"
69
-
70
- #: inc/class-settings.php:239
71
- #@ addquicktag
72
- msgid "Start Tag(s)*"
73
- msgstr "Start Tag(s)*"
74
-
75
- #: inc/class-settings.php:240
76
- #@ addquicktag
77
- msgid "End Tag(s)"
78
- msgstr "Ende Tag(s)"
79
-
80
- #: inc/class-settings.php:241
81
- #@ addquicktag
82
- msgid "Access Key"
83
- msgstr "Zugriffstaste"
84
-
85
- #: inc/class-settings.php:341
86
- #@ addquicktag
87
- msgid "Fill in the fields below to add or edit the quicktags. Fields with * are required. To delete a tag simply empty all fields."
88
- msgstr "Ergänze neue Buttons, in dem die unteren Felder ausgefüllt werden. Felder mit * sind Pflichtfelder, müssen ausgefüllt werden. Um einen Button zu löschen, einfach die Felder des Buttons leeren und speichern."
89
-
90
- #: inc/class-settings.php:343
91
- #@ default
92
- msgid "Save Changes"
93
- msgstr ""
94
-
95
- #: inc/class-settings.php:378
96
- #@ addquicktag
97
- msgid "Like this plugin?"
98
- msgstr "Du magst das Plugin?"
99
-
100
- #: inc/class-settings.php:380
101
- #@ addquicktag
102
- msgid "Here's how you can give back:"
103
- msgstr "Über folgende Möglichkeiten kannst du etwas zurück geben:"
104
-
105
- #: inc/class-settings.php:382
106
- #@ addquicktag
107
- msgid "The Plugin on the WordPress plugin repository"
108
- msgstr "Das Plugin im offiziellen WordPress Repository"
109
-
110
- #: inc/class-settings.php:382
111
- #@ addquicktag
112
- msgid "Give the plugin a good rating."
113
- msgstr "Gib dem Plugin eine gute Wertung"
114
-
115
- #: inc/class-settings.php:383
116
- #@ addquicktag
117
- msgid "Donate via PayPal"
118
- msgstr "Spende via Paypal"
119
-
120
- #: inc/class-settings.php:383
121
- #@ addquicktag
122
- msgid "Donate a few euros."
123
- msgstr "Spende einige Euros"
124
-
125
- #: inc/class-settings.php:384
126
- #@ addquicktag
127
- msgid "Frank Bültge's Amazon Wish List"
128
- msgstr "Frank Bültge's Amazon Wunschliste"
129
-
130
- #: inc/class-settings.php:384
131
- #@ addquicktag
132
- msgid "Get me something from my wish list."
133
- msgstr "Suche dir was aus und lass mir ein Objekt meiner Wunschliste zukommen."
134
-
135
- #: inc/class-settings.php:404
136
- #@ addquicktag
137
- msgid "About this plugin"
138
- msgstr "Über das Plugin"
139
-
140
- #: inc/class-settings.php:407
141
- #@ addquicktag
142
- msgid "Version:"
143
- msgstr "Version:"
144
-
145
- #: inc/class-settings.php:411
146
- #@ addquicktag
147
- msgid "Description:"
148
- msgstr "Beschreibung:"
149
-
150
- #: inc/class-settings.php:242
151
- #@ addquicktag
152
- msgid "Order"
153
- msgstr "Reihenfolge"
154
-
155
- #: inc/class-settings.php:243
156
- #@ addquicktag
157
- msgid "Visual"
158
- msgstr "Visuell"
159
-
160
- #. translators: plugin header field 'Description'
161
- #: addquicktag.php:0
162
- #@ addquicktag
163
- msgid "Allows you to easily add custom Quicktags to the html- and visual-editor."
164
- msgstr "Erlaubt das einfache Hinzufügen von Quicktags zum html- und visuellen Editor."
165
-
166
- #: inc/class-imexport.php:70
167
- #@ addquicktag
168
- msgid "Export"
169
- msgstr "Exportieren"
170
-
171
- #: inc/class-imexport.php:72
172
- #@ addquicktag
173
- msgid "When you click the button below the plugin will create an XML file for you to save to your computer."
174
- 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."
175
-
176
- #: inc/class-imexport.php:73
177
- #@ addquicktag
178
- msgid "This format, a custom XML, will contain your options from quicktags."
179
- msgstr "Dieses Format, ein benutzerdefniertes XML, beinhaltet Einstellungen der Quicktags."
180
-
181
- #: inc/class-imexport.php:74
182
- #@ addquicktag
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 "Nachdem die heruntergeladene Datei gespeichert wurde, kannst du die Import-Funktion in einer anderen WordPress Installation nutzen."
185
-
186
- #: inc/class-imexport.php:78
187
- #@ addquicktag
188
- msgid "Download Export File"
189
- msgstr "Export-Datei herunterladen"
190
-
191
- #: inc/class-imexport.php:86
192
- #@ addquicktag
193
- msgid "Import"
194
- msgstr "Importieren"
195
-
196
- #: inc/class-imexport.php:88
197
- #@ addquicktag
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 "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."
200
-
201
- #: inc/class-imexport.php:93
202
- #@ addquicktag
203
- msgid "Upload file and import"
204
- msgstr "Datei aktualisieren und importieren"
205
-
206
- #: inc/class-imexport.php:184
207
- #@ addquicktag
208
- msgid "Options not update - you don&lsquo;t have the privilidges to do this!"
209
- msgstr "Einstellungen wurden nicht aktualisiert - du hast keine ausreichenden Rechte um dies zu tun!"
210
-
211
- #: inc/class-settings.php:456
212
- #@ addquicktag
213
- msgid "Options saved."
214
- msgstr "Einstellungen gespeichert."
215
-
216
- #. translators: plugin header field 'Version'
217
- #: addquicktag.php:0
218
- #@ addquicktag
219
- msgid "2.2.0"
220
- msgstr ""
221
-
222
- #: inc/class-settings.php:385
223
- #@ addquicktag
224
- msgid "Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues."
225
- msgstr "Bitte gib Feedback, Erweiterungen und Hinweis im Github Repo, nutze Issues."
226
-
227
- #: inc/class-settings.php:385
228
- #@ addquicktag
229
- msgid "Github Repo for Contribute, Issues & Bugs"
230
- msgstr "Github Repo für Erweiterungen, Hinweise & Fehler"
231
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
Binary file
languages/addquicktag-zh_CN.po ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
Binary file
languages/addquicktag-zh_TW.po ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 倉庫"
license.txt CHANGED
@@ -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>.
readme.md DELETED
Binary file
readme.txt CHANGED
@@ -3,25 +3,25 @@ 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.0-alpha
7
- Stable tag: trunk
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
- The plugin can add each custom quicktag to each post type, include custom post type from other sources.
17
- If is will not work can you also use the hooks inside the plugin. See the examples and hint inside the tab "[Other Notes](http://wordpress.org/extend/plugins/addquicktag/other_notes/)".
18
 
19
  = Bugs, technical hints or contribute =
20
  Please give me feedback, contribute and file technical bugs on [GitHub Repo](https://github.com/bueltge/AddQuicktag).
21
 
22
- **Made by [Inpsyde](http://inpsyde.com) &middot; We love WordPress**
23
 
24
- Have a look at the premium plugins in our [market](http://marketpress.com).
25
 
26
  == Installation ==
27
  = Requirements =
@@ -33,32 +33,34 @@ Have a look at the premium plugins in our [market](http://marketpress.com).
33
  1. Activate the plugin through the 'Plugins' menu in WordPress or for the Network, if you will use in Multisite for all Sites
34
  1. Got to 'Settings' menu and configure the plugin
35
 
36
- **Version before WordPress smaller 3.0**
37
 
38
- 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.
39
 
40
 
41
  == Screenshots ==
42
- 1. Settings area in WordPress 3.3
43
- 2. Settings area in WordPress Network of an Multisite install 3.3
44
- 3. HTML Editor with new Quicktags
45
- 4. Visual editor with new Quicktags
46
 
47
 
48
  == Other Notes ==
49
  = Acknowledgements =
50
  **Thanks to**
51
 
52
- * German Translation by [myself](http://bueltge.de) ;)
53
- * French translation by [Jean-Michel MEYER](http://www.li-an.fr/blog)
54
- * Japanese translation by [Yuuichi](http://www.u-1.net/2011/12/29/2498/)
 
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)
58
- * Ukranian translation by [Michael Yunat](http://getvoip.com/blog)
 
 
59
 
60
  = Hook for custom post types =
61
- The plugin add the quicktag on default to post types/ID `post`, `page` and `comment`. If you will also the plugin for other post types you can use a filter; see the follow example or an example plugin in the [Gist 1595155](https://gist.github.com/1595155).
62
 
63
  // add custom function to filter hook 'addquicktag_post_types'
64
  add_filter( 'addquicktag_post_types', 'my_addquicktag_post_types' );
@@ -77,7 +79,7 @@ The plugin add the quicktag on default to post types/ID `post`, `page` and `comm
77
 
78
 
79
  = Hook for custom pages =
80
- Also it is possible to filter the pages inside the backend. On default was the scripts include the pages `post.php`, `comment.php`. The follow example change this for an another page.
81
 
82
  add_filter( 'addquicktag_pages', 'my_addquicktag_pages' );
83
  /**
@@ -93,15 +95,14 @@ Also it is possible to filter the pages inside the backend. On default was the s
93
  return $page;
94
  }
95
 
96
- See this Gist als example for add the Quicktags to the editor of comments: [Gist: 3076698](https://gist.github.com/3076698).
97
- If you need the functionality, that the Quicktags of this plugin works on the Quickedit of comments as well, remove the `.example`-part of `addquicktag_quickedit_comment.php.example` filename. The file is a stand alone helper plugin for Add Quicktag and you'll need to activate this file (plugin) separately in 'Manage Plugins'.
98
 
99
 
100
  = Hook for custom buttons =
101
  It is possible to add custom buttons to the editor, if the plugin is active.
102
- Is usefull to easier add buttons about the solution of this plugin.
103
 
104
- See the follow example to add buttons. The params inside the array is the same as in the settings of the plugin.
105
 
106
  if ( class_exists( 'Add_Quicktag' ) ) :
107
  add_filter( 'addquicktag_buttons', 'my_addquicktag_buttons' );
@@ -141,29 +142,63 @@ See the follow example to add buttons. The params inside the array is the same a
141
 
142
 
143
  = License =
144
- 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 ;)
145
 
146
  = Translations =
147
- 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 about 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 defintions 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.
148
 
149
 
150
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  = 2.3.0 (06/19/2014) =
152
- * Allow Quicktags on edit-comment and quick-edit screen on default
153
- * Add possibilty to remove core quicktags from each post type
154
  * Add possibility to add enhanced code buttons to mask code and format
155
  * Rewrite the Im-Export function (now works simple with json)
156
  * Rewrite the german language file
157
 
158
  = 2.3.0-RC1 (05/22/2014) =
159
- * Use on default all post types with active UI, incl. Custom and Defaul Post types
160
  * New settings UI to easier add quicktags to each post type
161
- * Add Widget area, now it is possible to use Quicktags on widgets with WP editor
162
  * Add brazilian translation
163
  * Add turkish translation
164
  * Add possibility to remove default quicktags
165
  * Changes on settings style, check in MP6 design, WP 3.8
166
- * Add ukranian translation
167
  * Add solution to remove core quicktag, Beta Status
168
  * Fix TinyMCE Select Box in WordPress 3.9*
169
 
@@ -181,12 +216,12 @@ The plugin comes with various translations, please refer to the [WordPress Codex
181
  * Add more data in JSON
182
  * Fix for custom post types; works now also on settings page
183
  * Change function to add button in html editor --> `QTags.addButton()`
184
- * Update im/export function for use with custmo post type
185
  * Fix settings page on network for WP 3.5
186
 
187
  = 2.1.0 =
188
  * Add fix, see [Forum thread 'array_multisort error'](http://wordpress.org/support/topic/plugin-addquicktag-array_multisort-error#post-2920394)
189
- * See Quicktag button in visual editor, onbly if an button is actove for visual
190
  * Change hooks for include scripts
191
  * Add filter for page in backend
192
  * Add edit comments to use quicktags
@@ -200,7 +235,7 @@ The plugin comes with various translations, please refer to the [WordPress Codex
200
  * Update readme and add an example for this filter; also an Gist for use faster
201
 
202
  = 2.0.2 =
203
- * change hook for include styles and scriptes for compatibility in WP 3.4
204
 
205
  = 2.0.1 =
206
  * Bugfix on JS for WP smaller 3.3; use quickbuttons clean on html-editor with core-buttons
@@ -217,9 +252,9 @@ The plugin comes with various translations, please refer to the [WordPress Codex
217
  * kill php warnings on debug-mode
218
 
219
  = v1.6.4 (12/22/2010) =
220
- * small changes for depreaced WP functions
221
 
222
  = v1.6.3 (16/06/2009) =
223
- * Add belarussian language file, thanks to Fat Cow
224
 
225
- Please see the older changes on version on the [the official website](http://bueltge.de/wp-addquicktags-de-plugin/120/#historie "AddQuicktag")!
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
 
11
  == Description ==
12
+ This plugin makes it easy to add Quicktags to the html - and visual-editor. It is possible to export your Quicktags as a JSON - file that can be imported in other installations of the plugin.
13
 
14
+ WP-AddQuicktag for WordPress is originally created by [Roel Meurders](http://roel.meurders.nl/ "Roel Meurders"). The versions in the Repo of AddQuicktag are newer versions, this is a complete rewrite of version 2.0.0 with more functionality.
15
 
16
+ The plugin can add configurable custom quicktags to the editor of every post type, including custom post types from other sources. You may choose a post type for which a quicktag shall show up in the editor.
17
+ If this should not work perfectly well for you, you may also use the hooks inside the plugin. See the examples and hint inside the tab "[Other Notes](http://wordpress.org/extend/plugins/addquicktag/other_notes/)".
18
 
19
  = Bugs, technical hints or contribute =
20
  Please give me feedback, contribute and file technical bugs on [GitHub Repo](https://github.com/bueltge/AddQuicktag).
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 =
33
  1. Activate the plugin through the 'Plugins' menu in WordPress or for the Network, if you will use in Multisite for all Sites
34
  1. Got to 'Settings' menu and configure the plugin
35
 
36
+ **Versions before WordPress 3.0**
37
 
38
+ If you wish to use this plugin with an older version of WordPress, please use an older version of this plugin, older than version 2.0.0 - you find old versions in the [repo](http://wordpress.org/extend/plugins/addquicktag/download/). Anyway, I will not support this version. The plugin version 2.0.0 and newer are rewrites, that use all new possibilities of the WordPress Core that are not available in WordPress versions before 3.x.
39
 
40
 
41
  == Screenshots ==
42
+ 1. Settings area in WordPress 4.0-alpha
43
+ 2. HTML Editor with new Quicktags
44
+ 3. Visual editor with new Quicktags
 
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
 
65
  // add custom function to filter hook 'addquicktag_post_types'
66
  add_filter( 'addquicktag_post_types', 'my_addquicktag_post_types' );
79
 
80
 
81
  = Hook for custom pages =
82
+ It is possible also to filter the pages inside the backend. By default the scripts include the pages `post.php`, `comment.php`. The following example changes this for an another page.
83
 
84
  add_filter( 'addquicktag_pages', 'my_addquicktag_pages' );
85
  /**
95
  return $page;
96
  }
97
 
98
+ See this Gist as an example for how to add the Quicktags to the editor of comments: [Gist: 3076698](https://gist.github.com/3076698).
99
+ If you want the Quicktags of this plugin to work on the Quickedit of comments as well, remove the `.example`-part of `addquicktag_quickedit_comment.php.example` filename. The file is a stand alone helper plugin for Add Quicktag. You'll need to activate this file (plugin) separately in 'Manage Plugins'.
100
 
101
 
102
  = Hook for custom buttons =
103
  It is possible to add custom buttons to the editor, if the plugin is active.
 
104
 
105
+ The following example adds buttons. The params inside the array are the same as in the settings of the plugin.
106
 
107
  if ( class_exists( 'Add_Quicktag' ) ) :
108
  add_filter( 'addquicktag_buttons', 'my_addquicktag_buttons' );
142
 
143
 
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) =
158
+ * Add czech translation, thanks to [https://github.com/MikkCZ](https://github.com/MikkCZ)
159
+ * Bugfix: TinyMCE input select was changed in his object, changes on the script for the visual editor to set quicktags.
160
+
161
+ = 2.4.2 (2015-02-24) =
162
+ * Remove `remove_accents()` for save title and attribute on buttons to allow all characters.
163
+
164
+ = 2.4.1 (2015-01-19) =
165
+ * Bugfix for save label of each button; change sanitizing
166
+
167
+ = 2.4.0 (12/18/2014) =
168
+ * Add traditional Chinese (zh_TW) language files
169
+ * Fix filter topic to use tags with attributes [issue #30](https://github.com/bueltge/AddQuicktag/issues/30)
170
+ * Update grammar topics [Issue #29](https://github.com/bueltge/AddQuicktag/issues/29)
171
+
172
+ = 2.3.3 (06/26/2014) =
173
+ * Fix PHP notice on different installs
174
+ * Update french, turkish and german language files
175
+ * Update description, hint on the settings page
176
+ * Order setting works now also on the visual drop down menu
177
+ * Update readme
178
+ * Update screenshots for the new version, possibilities
179
+
180
+ = 2.3.2 (06/20/2014) =
181
+ * Bugfix Javascript to add quicktags
182
+
183
+ = 2.3.1 (06/19/2014) =
184
+ * Fix JavaScript error on code_buttons
185
+
186
  = 2.3.0 (06/19/2014) =
187
+ * Allow quicktags on edit-comment and quick-edit screen on default
188
+ * Add possibility to remove core quicktags from each post type
189
  * Add possibility to add enhanced code buttons to mask code and format
190
  * Rewrite the Im-Export function (now works simple with json)
191
  * Rewrite the german language file
192
 
193
  = 2.3.0-RC1 (05/22/2014) =
194
+ * Use on default all post types with active UI, incl. Custom and Default Post types
195
  * New settings UI to easier add quicktags to each post type
196
+ * Add Widget area, now it is possible to use quicktags on widgets with WP editor
197
  * Add brazilian translation
198
  * Add turkish translation
199
  * Add possibility to remove default quicktags
200
  * Changes on settings style, check in MP6 design, WP 3.8
201
+ * Add ukrainian translation
202
  * Add solution to remove core quicktag, Beta Status
203
  * Fix TinyMCE Select Box in WordPress 3.9*
204
 
216
  * Add more data in JSON
217
  * Fix for custom post types; works now also on settings page
218
  * Change function to add button in html editor --> `QTags.addButton()`
219
+ * Update im/export function for use with custom post type
220
  * Fix settings page on network for WP 3.5
221
 
222
  = 2.1.0 =
223
  * Add fix, see [Forum thread 'array_multisort error'](http://wordpress.org/support/topic/plugin-addquicktag-array_multisort-error#post-2920394)
224
+ * See quicktag button in visual editor, only if an button is active for visual
225
  * Change hooks for include scripts
226
  * Add filter for page in backend
227
  * Add edit comments to use quicktags
235
  * Update readme and add an example for this filter; also an Gist for use faster
236
 
237
  = 2.0.2 =
238
+ * change hook for including styles and scripts for compatibility in WP 3.4
239
 
240
  = 2.0.1 =
241
  * Bugfix on JS for WP smaller 3.3; use quickbuttons clean on html-editor with core-buttons
252
  * kill php warnings on debug-mode
253
 
254
  = v1.6.4 (12/22/2010) =
255
+ * small changes for deprecated WP functions
256
 
257
  = v1.6.3 (16/06/2009) =
258
+ * Add belorussian language file, thanks to Fat Cow
259
 
260
+ Find out about older changes on the [the official website](http://bueltge.de/wp-addquicktags-de-plugin/120/#historie "AddQuicktag")!