Version Description
- Fix for im/export
- Add toggle checkboxes for each type
Download this release
Release Info
Developer | Bueltge |
Plugin | AddQuicktag |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- addquicktag.php +1 -1
- inc/class-imexport.php +4 -2
- inc/class-settings.php +29 -2
- js/settings.dev.js +26 -0
- js/settings.js +7 -0
- languages/addquicktag_sk_SK.mo +0 -0
- languages/addquicktag_sk_SK.po +247 -0
- readme.md +0 -0
- readme.txt +10 -8
addquicktag.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Text Domain: addquicktag
|
6 |
* Domain Path: /languages
|
7 |
* Description: Allows you to easily add custom Quicktags to the html- and visual-editor.
|
8 |
-
* Version: 2.2.
|
9 |
* Author: Frank Bültge
|
10 |
* Author URI: http://bueltge.de
|
11 |
* License: GPLv3
|
5 |
* Text Domain: addquicktag
|
6 |
* Domain Path: /languages
|
7 |
* Description: Allows you to easily add custom Quicktags to the html- and visual-editor.
|
8 |
+
* Version: 2.2.1
|
9 |
* Author: Frank Bültge
|
10 |
* Author URI: http://bueltge.de
|
11 |
* License: GPLv3
|
inc/class-imexport.php
CHANGED
@@ -48,10 +48,12 @@ class Add_Quicktag_Im_Export extends Add_Quicktag_Settings {
|
|
48 |
$this->post_types_for_js = parent::get_post_types_for_js();
|
49 |
|
50 |
if ( isset( $_GET['addquicktag_download'] ) && check_admin_referer( parent :: $nonce_string ) )
|
51 |
-
|
|
|
52 |
|
53 |
if ( isset( $_POST['addquicktag_import'] ) && check_admin_referer( parent :: $nonce_string ) )
|
54 |
-
|
|
|
55 |
|
56 |
add_action( 'addquicktag_settings_page', array( $this, 'get_im_export_part' ) );
|
57 |
}
|
48 |
$this->post_types_for_js = parent::get_post_types_for_js();
|
49 |
|
50 |
if ( isset( $_GET['addquicktag_download'] ) && check_admin_referer( parent :: $nonce_string ) )
|
51 |
+
$this->get_export_file();
|
52 |
+
//add_action( 'init', array( $this, 'get_export_file' ) );
|
53 |
|
54 |
if ( isset( $_POST['addquicktag_import'] ) && check_admin_referer( parent :: $nonce_string ) )
|
55 |
+
$this->import_file();
|
56 |
+
//add_action( 'init', array( $this, 'import_file' ) );
|
57 |
|
58 |
add_action( 'addquicktag_settings_page', array( $this, 'get_im_export_part' ) );
|
59 |
}
|
inc/class-settings.php
CHANGED
@@ -29,6 +29,8 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
29 |
// string for nonce fields
|
30 |
static public $nonce_string;
|
31 |
|
|
|
|
|
32 |
/**
|
33 |
* Handler for the action 'init'. Instantiates this class.
|
34 |
*
|
@@ -75,6 +77,7 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
75 |
add_action( 'network_admin_edit_' . self::$option_string, array( $this, 'save_network_settings_page' ) );
|
76 |
// return message for update settings
|
77 |
add_action( 'network_admin_notices', array( $this, 'get_network_admin_notices' ) );
|
|
|
78 |
} else {
|
79 |
add_action( 'admin_menu', array( $this, 'add_settings_page' ) );
|
80 |
// add settings link
|
@@ -82,6 +85,11 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
82 |
// use settings API
|
83 |
add_action( 'admin_init', array( $this, 'register_settings' ) );
|
84 |
}
|
|
|
|
|
|
|
|
|
|
|
85 |
// add meta boxes on settings pages
|
86 |
add_action( 'addquicktag_settings_page_sidebar', array( $this, 'get_plugin_infos' ) );
|
87 |
add_action( 'addquicktag_settings_page_sidebar', array( $this, 'get_about_plugin' ) );
|
@@ -243,6 +251,7 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
243 |
<th class="row-title"><?php _e( 'Order', $this->get_textdomain() ); ?></th>
|
244 |
<th class="row-title"><?php _e( 'Visual', $this->get_textdomain() ); ?></th>
|
245 |
<?php echo $pt_title ?>
|
|
|
246 |
</tr>
|
247 |
<?php
|
248 |
if ( empty($options['buttons']) )
|
@@ -271,6 +280,7 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
271 |
// loop about the post types, create html an values
|
272 |
$pt_checkboxes = '';
|
273 |
foreach ( $this->get_post_types_for_js() as $post_type ) {
|
|
|
274 |
if ( ! isset( $b[$post_type] ) )
|
275 |
$b[$post_type] = 0;
|
276 |
|
@@ -288,8 +298,9 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
288 |
}
|
289 |
|
290 |
$nr = $i + 1;
|
|
|
291 |
echo '
|
292 |
-
<tr>
|
293 |
<td><input type="text" name="' . self::$option_string . '[buttons][' . $i
|
294 |
. '][text]" value="' . $b['text'] . '" style="width: 95%;" /></td>
|
295 |
<td><input type="text" name="' . self::$option_string . '[buttons][' . $i . '][title]" value="'
|
@@ -305,6 +316,7 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
305 |
<td><input type="checkbox" name="' . self::$option_string . '[buttons][' . $i
|
306 |
. '][visual]" value="1"' . $checked . '/></td>' .
|
307 |
$pt_checkboxes . '
|
|
|
308 |
</tr>
|
309 |
';
|
310 |
}
|
@@ -327,7 +339,7 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
327 |
$i . '][' . $post_type . ']" value="1" /></td>' . "\n";
|
328 |
}
|
329 |
?>
|
330 |
-
<tr>
|
331 |
<td><input type="text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][text]" value="" style="width: 95%;" /></td>
|
332 |
<td><input type="text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][title]" value="" style="width: 95%;" /></td>
|
333 |
<td><textarea class="code" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][start]" rows="2" cols="25" style="width: 95%;"></textarea></td>
|
@@ -336,6 +348,7 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
336 |
<td><input type="text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][order]" value="" style="width: 95%;" /></td>
|
337 |
<td><input type="checkbox" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][visual]" value="1" /></td>
|
338 |
<?php echo $pt_new_boxes; ?>
|
|
|
339 |
</tr>
|
340 |
</table>
|
341 |
|
@@ -558,6 +571,20 @@ class Add_Quicktag_Settings extends Add_Quicktag {
|
|
558 |
delete_option( self::$option_string );
|
559 |
}
|
560 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
561 |
/**
|
562 |
* Add help text
|
563 |
*
|
29 |
// string for nonce fields
|
30 |
static public $nonce_string;
|
31 |
|
32 |
+
protected $page_hook;
|
33 |
+
|
34 |
/**
|
35 |
* Handler for the action 'init'. Instantiates this class.
|
36 |
*
|
77 |
add_action( 'network_admin_edit_' . self::$option_string, array( $this, 'save_network_settings_page' ) );
|
78 |
// return message for update settings
|
79 |
add_action( 'network_admin_notices', array( $this, 'get_network_admin_notices' ) );
|
80 |
+
// add script on settings page
|
81 |
} else {
|
82 |
add_action( 'admin_menu', array( $this, 'add_settings_page' ) );
|
83 |
// add settings link
|
85 |
// use settings API
|
86 |
add_action( 'admin_init', array( $this, 'register_settings' ) );
|
87 |
}
|
88 |
+
// include js
|
89 |
+
add_action( 'admin_print_scripts-settings_page_' . str_replace( '.php', '', plugin_basename( __FILE__ ) ),
|
90 |
+
array( $this, 'print_scripts' )
|
91 |
+
);
|
92 |
+
|
93 |
// add meta boxes on settings pages
|
94 |
add_action( 'addquicktag_settings_page_sidebar', array( $this, 'get_plugin_infos' ) );
|
95 |
add_action( 'addquicktag_settings_page_sidebar', array( $this, 'get_about_plugin' ) );
|
251 |
<th class="row-title"><?php _e( 'Order', $this->get_textdomain() ); ?></th>
|
252 |
<th class="row-title"><?php _e( 'Visual', $this->get_textdomain() ); ?></th>
|
253 |
<?php echo $pt_title ?>
|
254 |
+
<th class="row-title">✔</th>
|
255 |
</tr>
|
256 |
<?php
|
257 |
if ( empty($options['buttons']) )
|
280 |
// loop about the post types, create html an values
|
281 |
$pt_checkboxes = '';
|
282 |
foreach ( $this->get_post_types_for_js() as $post_type ) {
|
283 |
+
|
284 |
if ( ! isset( $b[$post_type] ) )
|
285 |
$b[$post_type] = 0;
|
286 |
|
298 |
}
|
299 |
|
300 |
$nr = $i + 1;
|
301 |
+
|
302 |
echo '
|
303 |
+
<tr id="rmqtb' . $i . '">
|
304 |
<td><input type="text" name="' . self::$option_string . '[buttons][' . $i
|
305 |
. '][text]" value="' . $b['text'] . '" style="width: 95%;" /></td>
|
306 |
<td><input type="text" name="' . self::$option_string . '[buttons][' . $i . '][title]" value="'
|
316 |
<td><input type="checkbox" name="' . self::$option_string . '[buttons][' . $i
|
317 |
. '][visual]" value="1"' . $checked . '/></td>' .
|
318 |
$pt_checkboxes . '
|
319 |
+
<td><input type="checkbox" class="toggle" id="select_all_' . $i . '" value="'. $i . '" /></td>' . '
|
320 |
</tr>
|
321 |
';
|
322 |
}
|
339 |
$i . '][' . $post_type . ']" value="1" /></td>' . "\n";
|
340 |
}
|
341 |
?>
|
342 |
+
<tr id="rmqtb<?php echo $i ?>">
|
343 |
<td><input type="text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][text]" value="" style="width: 95%;" /></td>
|
344 |
<td><input type="text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][title]" value="" style="width: 95%;" /></td>
|
345 |
<td><textarea class="code" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][start]" rows="2" cols="25" style="width: 95%;"></textarea></td>
|
348 |
<td><input type="text" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][order]" value="" style="width: 95%;" /></td>
|
349 |
<td><input type="checkbox" name="<?php echo self::$option_string; ?>[buttons][<?php echo $i; ?>][visual]" value="1" /></td>
|
350 |
<?php echo $pt_new_boxes; ?>
|
351 |
+
<td><input type="checkbox" class="toggle" id="select_all_<?php echo $i ?>" value="<?php echo $i ?>" /></td>
|
352 |
</tr>
|
353 |
</table>
|
354 |
|
571 |
delete_option( self::$option_string );
|
572 |
}
|
573 |
|
574 |
+
public function print_scripts( $where ) {
|
575 |
+
|
576 |
+
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '.dev' : '';
|
577 |
+
|
578 |
+
wp_register_script(
|
579 |
+
self::$option_string . '_admin_script',
|
580 |
+
plugins_url( '/js/settings' . $suffix. '.js', parent::get_plugin_string() ),
|
581 |
+
array( 'jquery', 'quicktags' ),
|
582 |
+
'',
|
583 |
+
TRUE
|
584 |
+
);
|
585 |
+
wp_enqueue_script( self::$option_string . '_admin_script' );
|
586 |
+
}
|
587 |
+
|
588 |
/**
|
589 |
* Add help text
|
590 |
*
|
js/settings.dev.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* AddQuicktag Script settings page of the plugin
|
3 |
+
* @since 08/02/2012
|
4 |
+
* @package AddQuicktag Plugin
|
5 |
+
*/
|
6 |
+
|
7 |
+
jQuery( document ).ready( function( $ ) {
|
8 |
+
|
9 |
+
$( 'input:checkbox.toggle' ).click( function( event ) {
|
10 |
+
var i = $(this).attr('value');
|
11 |
+
console.log(i);
|
12 |
+
|
13 |
+
if ( this.checked ) {
|
14 |
+
// Iterate each checkbox
|
15 |
+
$('#rmqtb' + i +' input:checkbox').each(function() {
|
16 |
+
this.checked = true;
|
17 |
+
});
|
18 |
+
} else {
|
19 |
+
// Iterate each checkbox
|
20 |
+
$('#rmqtb' + i +' input:checkbox').each(function() {
|
21 |
+
this.checked = false;
|
22 |
+
});
|
23 |
+
}
|
24 |
+
});
|
25 |
+
|
26 |
+
});
|
js/settings.js
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* AddQuicktag Script settings page of the plugin
|
3 |
+
* @since 08/02/2012
|
4 |
+
* @package AddQuicktag Plugin
|
5 |
+
*/
|
6 |
+
|
7 |
+
jQuery(document).ready(function(a){a("input:checkbox.toggle").click(function(b){var c=a(this).attr("value");if(this.checked){a("#rmqtb"+c+" input:checkbox").each(function(){this.checked=true})}else{a("#rmqtb"+c+" input:checkbox").each(function(){this.checked=false})}})})
|
languages/addquicktag_sk_SK.mo
ADDED
Binary file
|
languages/addquicktag_sk_SK.po
ADDED
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: AddQuicktag v2.2.0\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2013-01-20 16:07+0300\n"
|
7 |
+
"Last-Translator: Serg\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
15 |
+
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
16 |
+
"X-Textdomain-Support: yes\n"
|
17 |
+
"X-Generator: Poedit 1.5.4\n"
|
18 |
+
"X-Poedit-SearchPath-0: .\n"
|
19 |
+
|
20 |
+
# @ addquicktag
|
21 |
+
#. translators: plugin header field 'Name'
|
22 |
+
#: addquicktag.php:0
|
23 |
+
msgid "AddQuicktag"
|
24 |
+
msgstr "AddQuicktag"
|
25 |
+
|
26 |
+
# @ addquicktag
|
27 |
+
#. translators: plugin header field 'PluginURI'
|
28 |
+
#: addquicktag.php:0
|
29 |
+
msgid "http://bueltge.de/wp-addquicktags-de-plugin/120/"
|
30 |
+
msgstr "http://bueltge.de/WP-addquicktags-de-plugin/120/"
|
31 |
+
|
32 |
+
# @ addquicktag
|
33 |
+
#. translators: plugin header field 'Author'
|
34 |
+
#: addquicktag.php:0
|
35 |
+
msgid "Frank Bültge"
|
36 |
+
msgstr "Frank BГјltge"
|
37 |
+
|
38 |
+
# @ addquicktag
|
39 |
+
#. translators: plugin header field 'AuthorURI'
|
40 |
+
#: addquicktag.php:0
|
41 |
+
msgid "http://bueltge.de"
|
42 |
+
msgstr "http://bueltge.de"
|
43 |
+
|
44 |
+
# @ default
|
45 |
+
# @ addquicktag
|
46 |
+
#: inc/class-settings.php:128 inc/class-settings.php:145
|
47 |
+
#: inc/class-settings.php:163 inc/class-settings.php:171
|
48 |
+
msgid "Settings"
|
49 |
+
msgstr "Nastavenia"
|
50 |
+
|
51 |
+
# @ addquicktag
|
52 |
+
#: inc/class-settings.php:196
|
53 |
+
msgid "Add or delete Quicktag buttons"
|
54 |
+
msgstr "Pridať alebo odstrániť tlačidlá Quicktag"
|
55 |
+
|
56 |
+
# @ addquicktag
|
57 |
+
#: inc/class-settings.php:237
|
58 |
+
msgid "Button Label*"
|
59 |
+
msgstr "Tlačidlo etikete"
|
60 |
+
|
61 |
+
# @ addquicktag
|
62 |
+
#: inc/class-settings.php:238
|
63 |
+
msgid "Title Attribute"
|
64 |
+
msgstr "Názov atribútu"
|
65 |
+
|
66 |
+
# @ addquicktag
|
67 |
+
#: inc/class-settings.php:239
|
68 |
+
msgid "Start Tag(s)*"
|
69 |
+
msgstr "Začať Tag (y) *"
|
70 |
+
|
71 |
+
# @ addquicktag
|
72 |
+
#: inc/class-settings.php:240
|
73 |
+
msgid "End Tag(s)"
|
74 |
+
msgstr "Koniec Tag (y)"
|
75 |
+
|
76 |
+
# @ addquicktag
|
77 |
+
#: inc/class-settings.php:241
|
78 |
+
msgid "Access Key"
|
79 |
+
msgstr "Prístupový kľúč"
|
80 |
+
|
81 |
+
# @ addquicktag
|
82 |
+
#: inc/class-settings.php:341
|
83 |
+
msgid ""
|
84 |
+
"Fill in the fields below to add or edit the quicktags. Fields with * are "
|
85 |
+
"required. To delete a tag simply empty all fields."
|
86 |
+
msgstr ""
|
87 |
+
"Vyplňte polia nižšie pridať alebo upraviť quicktags. Políčka s * sú povinné. "
|
88 |
+
"Ak chcete odstrániť značku jednoducho prázdne všetky polia."
|
89 |
+
|
90 |
+
# @ default
|
91 |
+
#: inc/class-settings.php:343
|
92 |
+
msgid "Save Changes"
|
93 |
+
msgstr "Uložiť zmeny"
|
94 |
+
|
95 |
+
# @ addquicktag
|
96 |
+
#: inc/class-settings.php:378
|
97 |
+
msgid "Like this plugin?"
|
98 |
+
msgstr "Ako tento plugin?"
|
99 |
+
|
100 |
+
# @ addquicktag
|
101 |
+
#: inc/class-settings.php:380
|
102 |
+
msgid "Here's how you can give back:"
|
103 |
+
msgstr "Tu je, ako môžete dať späť:"
|
104 |
+
|
105 |
+
# @ addquicktag
|
106 |
+
#: inc/class-settings.php:382
|
107 |
+
msgid "The Plugin on the WordPress plugin repository"
|
108 |
+
msgstr "Plugin na WordPress plugin repository"
|
109 |
+
|
110 |
+
# @ addquicktag
|
111 |
+
#: inc/class-settings.php:382
|
112 |
+
msgid "Give the plugin a good rating."
|
113 |
+
msgstr "Dať plugin dobré ohodnotenie."
|
114 |
+
|
115 |
+
# @ addquicktag
|
116 |
+
#: inc/class-settings.php:383
|
117 |
+
msgid "Donate via PayPal"
|
118 |
+
msgstr "Darovať cez PayPal"
|
119 |
+
|
120 |
+
# @ addquicktag
|
121 |
+
#: inc/class-settings.php:383
|
122 |
+
msgid "Donate a few euros."
|
123 |
+
msgstr "Darovať pár EUR."
|
124 |
+
|
125 |
+
# @ addquicktag
|
126 |
+
#: inc/class-settings.php:384
|
127 |
+
msgid "Frank Bültge's Amazon Wish List"
|
128 |
+
msgstr "Frank BГјltge zoznamu prianí Amazon"
|
129 |
+
|
130 |
+
# @ addquicktag
|
131 |
+
#: inc/class-settings.php:384
|
132 |
+
msgid "Get me something from my wish list."
|
133 |
+
msgstr "Si mi niečo z môjho zoznamu želaní."
|
134 |
+
|
135 |
+
# @ addquicktag
|
136 |
+
#: inc/class-settings.php:404
|
137 |
+
msgid "About this plugin"
|
138 |
+
msgstr "O tento plugin"
|
139 |
+
|
140 |
+
# @ addquicktag
|
141 |
+
#: inc/class-settings.php:407
|
142 |
+
msgid "Version:"
|
143 |
+
msgstr "Verzia:"
|
144 |
+
|
145 |
+
# @ addquicktag
|
146 |
+
#: inc/class-settings.php:411
|
147 |
+
msgid "Description:"
|
148 |
+
msgstr "Popis/kontrol:"
|
149 |
+
|
150 |
+
# @ addquicktag
|
151 |
+
#: inc/class-settings.php:242
|
152 |
+
msgid "Order"
|
153 |
+
msgstr "Objednávky"
|
154 |
+
|
155 |
+
# @ addquicktag
|
156 |
+
#: inc/class-settings.php:243
|
157 |
+
msgid "Visual"
|
158 |
+
msgstr "Vizuálne"
|
159 |
+
|
160 |
+
# @ addquicktag
|
161 |
+
#. translators: plugin header field 'Description'
|
162 |
+
#: addquicktag.php:0
|
163 |
+
msgid ""
|
164 |
+
"Allows you to easily add custom Quicktags to the html- and visual-editor."
|
165 |
+
msgstr "Umožňuje jednoducho pridať vlastné Quicktags do html a visual-editor."
|
166 |
+
|
167 |
+
# @ addquicktag
|
168 |
+
#: inc/class-imexport.php:70
|
169 |
+
msgid "Export"
|
170 |
+
msgstr "Export"
|
171 |
+
|
172 |
+
# @ addquicktag
|
173 |
+
#: inc/class-imexport.php:72
|
174 |
+
msgid ""
|
175 |
+
"When you click the button below the plugin will create an XML file for you "
|
176 |
+
"to save to your computer."
|
177 |
+
msgstr ""
|
178 |
+
"Keď kliknete na tlačidlo nižšie plugin vytvorí súbor XML môžete uložiť do "
|
179 |
+
"svojho počítača."
|
180 |
+
|
181 |
+
# @ addquicktag
|
182 |
+
#: inc/class-imexport.php:73
|
183 |
+
msgid "This format, a custom XML, will contain your options from quicktags."
|
184 |
+
msgstr "Tento formát, vlastné XML, bude obsahovať vaše možnosti z quicktags."
|
185 |
+
|
186 |
+
# @ addquicktag
|
187 |
+
#: inc/class-imexport.php:74
|
188 |
+
msgid ""
|
189 |
+
"Once you’ve saved the download file, you can use the Import function in "
|
190 |
+
"another WordPress installation to import this site."
|
191 |
+
msgstr ""
|
192 |
+
"Raz you†™ ve uložili prevzatý súbor, môžete použiť funkciu Importovať "
|
193 |
+
"ďalšie WordPress inštalácie import túto stránku."
|
194 |
+
|
195 |
+
# @ addquicktag
|
196 |
+
#: inc/class-imexport.php:78
|
197 |
+
msgid "Download Export File"
|
198 |
+
msgstr "Stiahnuť exportného súboru"
|
199 |
+
|
200 |
+
# @ addquicktag
|
201 |
+
#: inc/class-imexport.php:86
|
202 |
+
msgid "Import"
|
203 |
+
msgstr "Import"
|
204 |
+
|
205 |
+
# @ addquicktag
|
206 |
+
#: inc/class-imexport.php:88
|
207 |
+
msgid ""
|
208 |
+
"If you have quicktags from other installs, the plugin can import those into "
|
209 |
+
"this site. To get started, choose a file to import."
|
210 |
+
msgstr ""
|
211 |
+
"Ak máte quicktags z iných inštaluje, plugin môžete importovať do tejto "
|
212 |
+
"stránky. Ak chcete začať, vyberte súbor na import."
|
213 |
+
|
214 |
+
# @ addquicktag
|
215 |
+
#: inc/class-imexport.php:93
|
216 |
+
msgid "Upload file and import"
|
217 |
+
msgstr "Nahrať súbor a import"
|
218 |
+
|
219 |
+
# @ addquicktag
|
220 |
+
#: inc/class-imexport.php:184
|
221 |
+
msgid "Options not update - you don‘t have the privilidges to do this!"
|
222 |
+
msgstr "Možnosti aktualizovať - nemáte privilidges na to!"
|
223 |
+
|
224 |
+
# @ addquicktag
|
225 |
+
#: inc/class-settings.php:456
|
226 |
+
msgid "Options saved."
|
227 |
+
msgstr "Nastavenia uložené."
|
228 |
+
|
229 |
+
# @ addquicktag
|
230 |
+
#. translators: plugin header field 'Version'
|
231 |
+
#: addquicktag.php:0
|
232 |
+
msgid "2.2.0"
|
233 |
+
msgstr "2.2.0"
|
234 |
+
|
235 |
+
# @ addquicktag
|
236 |
+
#: inc/class-settings.php:385
|
237 |
+
msgid ""
|
238 |
+
"Please give me feedback, contribute and file technical bugs on this GitHub "
|
239 |
+
"Repo, use Issues."
|
240 |
+
msgstr ""
|
241 |
+
"Prosím daj mi spätnú väzbu, prispievať a súbor technickej chyby na tejto "
|
242 |
+
"GitHub Repo, použite otázky."
|
243 |
+
|
244 |
+
# @ addquicktag
|
245 |
+
#: inc/class-settings.php:385
|
246 |
+
msgid "Github Repo for Contribute, Issues & Bugs"
|
247 |
+
msgstr "Github Repo pre prispievanie, otázky & chyby"
|
readme.md
ADDED
Binary file
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== AddQuicktag ===
|
2 |
-
Contributors: Bueltge
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955
|
4 |
Tags: quicktag, editor, tinymce, add buttons, button, buttons, visual editor
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 2.2.
|
8 |
|
9 |
This plugin make it easy, Quicktags add to the html - and visual-editor.
|
10 |
|
@@ -52,12 +52,9 @@ If you need the functionality, that the Quicktags of this plugin works on the Qu
|
|
52 |
= Bugs, technical hints or contribute =
|
53 |
Please give me feedback, contribute and file technical bugs on [GitHub Repo](https://github.com/bueltge/AddQuicktag).
|
54 |
|
55 |
-
|
56 |
-
Please see also my [Premium Plugins](http://wpplugins.com/author/malo.conny/). Maybe you find an solution for your requirement.
|
57 |
-
|
58 |
-
= Interested in WordPress tips and tricks =
|
59 |
-
You may also be interested in WordPress tips and tricks at [WP Engineer](http://wpengineer.com/) or for german people [bueltge.de](http://bueltge.de/)
|
60 |
|
|
|
61 |
|
62 |
== Installation ==
|
63 |
= Requirements =
|
@@ -88,6 +85,7 @@ If you will use this plugin with an older version of WordPress, please use an ol
|
|
88 |
* German Translation by [myself](http://bueltge.de) ;)
|
89 |
* French translation by [Jean-Michel MEYER](http://www.li-an.fr/blog)
|
90 |
* Japanese translation by [Yuuichi](http://www.u-1.net/2011/12/29/2498/)
|
|
|
91 |
|
92 |
= Licence =
|
93 |
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 ;)
|
@@ -97,6 +95,10 @@ The plugin comes with various translations, please refer to the [WordPress Codex
|
|
97 |
|
98 |
|
99 |
== Changelog ==
|
|
|
|
|
|
|
|
|
100 |
= 2.2.0 =
|
101 |
* Add checkboxes for different post type, use also filter for custom post type
|
102 |
* Change script on HTML editor, only include buttons, there have an active checkbox on options for his post type
|
1 |
=== AddQuicktag ===
|
2 |
+
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: 3.6-Alpha
|
7 |
+
Stable tag: 2.2.1
|
8 |
|
9 |
This plugin make it easy, Quicktags add to the html - and visual-editor.
|
10 |
|
52 |
= Bugs, technical hints or contribute =
|
53 |
Please give me feedback, contribute and file technical bugs on [GitHub Repo](https://github.com/bueltge/AddQuicktag).
|
54 |
|
55 |
+
**Made by [Inpsyde](http://inpsyde.com) · We love WordPress**
|
|
|
|
|
|
|
|
|
56 |
|
57 |
+
Have a look at the premium plugins in our [market](http://marketpress.com).
|
58 |
|
59 |
== Installation ==
|
60 |
= Requirements =
|
85 |
* German Translation by [myself](http://bueltge.de) ;)
|
86 |
* French translation by [Jean-Michel MEYER](http://www.li-an.fr/blog)
|
87 |
* Japanese translation by [Yuuichi](http://www.u-1.net/2011/12/29/2498/)
|
88 |
+
* Slovak translation by [Branco](http://webhostinggeeks.com/user-reviews/)
|
89 |
|
90 |
= Licence =
|
91 |
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 ;)
|
95 |
|
96 |
|
97 |
== Changelog ==
|
98 |
+
= 2.2.1 =
|
99 |
+
* Fix for im/export
|
100 |
+
* Add toggle checkboxes for each type
|
101 |
+
|
102 |
= 2.2.0 =
|
103 |
* Add checkboxes for different post type, use also filter for custom post type
|
104 |
* Change script on HTML editor, only include buttons, there have an active checkbox on options for his post type
|