Version Description
- option to only load scripts if shortcode is in use
- script now loaded in footer
- loading js and css now hooked to wp_enqueue_scripts rather than init
- added Serbian language files courtesy of Borisa Djuraskovic from webhostinghub.com
Download this release
Release Info
Developer | baden03 |
Plugin | Collapse-O-Matic |
Version | 1.5.7 |
Comparing to | |
See all releases |
Code changes from version 1.5.6 to 1.5.7
- collapse-o-matic.php +26 -19
- js/collapse.js +2 -2
- languages/colomat-en_EN.mo +0 -0
- languages/colomat-en_EN.po +145 -0
- languages/colomat.pot +57 -56
- languages/colomat_sr.mo +0 -0
- languages/colomat_sr.po +158 -0
- light_style.css +0 -1
- readme.txt +13 -1
collapse-o-matic.php
CHANGED
@@ -5,7 +5,7 @@ Text Domain: colomat
|
|
5 |
Domain Path: /languages
|
6 |
Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
7 |
Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
|
8 |
-
Version: 1.5.
|
9 |
Author: twinpictures, baden03
|
10 |
Author URI: http://twinpictures.de/
|
11 |
License: GPL2
|
@@ -23,7 +23,7 @@ class WP_Collapse_O_Matic {
|
|
23 |
* Current version
|
24 |
* @var string
|
25 |
*/
|
26 |
-
var $version = '1.5.
|
27 |
|
28 |
/**
|
29 |
* Used as prefix for options entry
|
@@ -45,7 +45,8 @@ class WP_Collapse_O_Matic {
|
|
45 |
'tag' => 'span',
|
46 |
'duration' => 'fast',
|
47 |
'slideEffect' => 'slideFade',
|
48 |
-
'custom_css' => ''
|
|
|
49 |
);
|
50 |
|
51 |
/**
|
@@ -57,17 +58,15 @@ class WP_Collapse_O_Matic {
|
|
57 |
|
58 |
// load text domain for translations
|
59 |
load_plugin_textdomain( 'colomat', FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
60 |
-
|
61 |
-
//load the script and style if
|
62 |
-
|
63 |
-
add_action('init', array( $this, 'collapsTronicInit' ) );
|
64 |
-
}
|
65 |
|
66 |
// add actions
|
67 |
add_action( 'admin_menu', array( $this, 'admin_menu' ) );
|
68 |
add_action( 'plugin_action_links_' . plugin_basename(__FILE__), array( $this, 'plugin_actions' ) );
|
69 |
add_action( 'admin_init', array( $this, 'admin_init' ) );
|
70 |
-
add_action('
|
71 |
|
72 |
add_shortcode('expand', array($this, 'shortcode'));
|
73 |
|
@@ -96,17 +95,15 @@ class WP_Collapse_O_Matic {
|
|
96 |
/**
|
97 |
* Callback init
|
98 |
*/
|
99 |
-
function collapsTronicInit() {
|
100 |
-
//load up jQuery the Jedi way
|
101 |
-
wp_enqueue_script('jquery');
|
102 |
-
|
103 |
//collapse script
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
|
|
108 |
//css
|
109 |
-
wp_register_style( 'collapseomatic-css', plugins_url('/'.$this->options['style'].'_style.css', __FILE__) , array (), '1.5.
|
110 |
wp_enqueue_style( 'collapseomatic-css' );
|
111 |
}
|
112 |
|
@@ -132,8 +129,11 @@ class WP_Collapse_O_Matic {
|
|
132 |
* Callback shortcode
|
133 |
*/
|
134 |
function shortcode($atts, $content = null){
|
135 |
-
//find a random number, if no id is assigned
|
136 |
$options = $this->options;
|
|
|
|
|
|
|
|
|
137 |
$ran = rand(1, 10000);
|
138 |
extract(shortcode_atts(array(
|
139 |
'title' => '',
|
@@ -379,6 +379,13 @@ class WP_Collapse_O_Matic {
|
|
379 |
</td>
|
380 |
</tr>
|
381 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
<tr>
|
383 |
<th><strong><?php _e( 'Level Up!', 'colomat' ) ?></strong></th>
|
384 |
<td><?php printf(__( '%sCollapse-Pro-Matic%s is our preimum plugin that offers additional attributes and features for <i>ultimate</i> flexibility.', 'colomat' ), '<a href="http://plugins.twinpictures.de/premium-plugins/collapse-pro-matic/">', '</a>'); ?>
|
5 |
Domain Path: /languages
|
6 |
Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
7 |
Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
|
8 |
+
Version: 1.5.7
|
9 |
Author: twinpictures, baden03
|
10 |
Author URI: http://twinpictures.de/
|
11 |
License: GPL2
|
23 |
* Current version
|
24 |
* @var string
|
25 |
*/
|
26 |
+
var $version = '1.5.7';
|
27 |
|
28 |
/**
|
29 |
* Used as prefix for options entry
|
45 |
'tag' => 'span',
|
46 |
'duration' => 'fast',
|
47 |
'slideEffect' => 'slideFade',
|
48 |
+
'custom_css' => '',
|
49 |
+
'script_check' => 1
|
50 |
);
|
51 |
|
52 |
/**
|
58 |
|
59 |
// load text domain for translations
|
60 |
load_plugin_textdomain( 'colomat', FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
61 |
+
|
62 |
+
//load the script and style if viewing the front-end
|
63 |
+
add_action('wp_enqueue_scripts', array( $this, 'collapsTronicInit' ) );
|
|
|
|
|
64 |
|
65 |
// add actions
|
66 |
add_action( 'admin_menu', array( $this, 'admin_menu' ) );
|
67 |
add_action( 'plugin_action_links_' . plugin_basename(__FILE__), array( $this, 'plugin_actions' ) );
|
68 |
add_action( 'admin_init', array( $this, 'admin_init' ) );
|
69 |
+
add_action( 'wp_footer', array( $this, 'colomat_js_vars' ) );
|
70 |
|
71 |
add_shortcode('expand', array($this, 'shortcode'));
|
72 |
|
95 |
/**
|
96 |
* Callback init
|
97 |
*/
|
98 |
+
function collapsTronicInit() {
|
|
|
|
|
|
|
99 |
//collapse script
|
100 |
+
wp_register_script('collapseomatic-js', plugins_url('js/collapse.js', __FILE__), array('jquery'), '1.5.7', true);
|
101 |
+
if( empty($this->options['script_check']) ){
|
102 |
+
wp_enqueue_script('collapseomatic-js');
|
103 |
+
}
|
104 |
+
|
105 |
//css
|
106 |
+
wp_register_style( 'collapseomatic-css', plugins_url('/'.$this->options['style'].'_style.css', __FILE__) , array (), '1.5.7' );
|
107 |
wp_enqueue_style( 'collapseomatic-css' );
|
108 |
}
|
109 |
|
129 |
* Callback shortcode
|
130 |
*/
|
131 |
function shortcode($atts, $content = null){
|
|
|
132 |
$options = $this->options;
|
133 |
+
if( !empty($this->options['script_check']) ){
|
134 |
+
wp_enqueue_script('collapseomatic-js');
|
135 |
+
}
|
136 |
+
//find a random number, if no id is assigned
|
137 |
$ran = rand(1, 10000);
|
138 |
extract(shortcode_atts(array(
|
139 |
'title' => '',
|
379 |
</td>
|
380 |
</tr>
|
381 |
|
382 |
+
<tr>
|
383 |
+
<th><?php _e( 'Shortcode Loads Scripts', 'colomat' ) ?></th>
|
384 |
+
<td><label><input type="checkbox" id="<?php echo $this->options_name ?>[script_check]" name="<?php echo $this->options_name ?>[script_check]" value="1" <?php echo checked( $options['script_check'], 1 ); ?> /> <?php _e('Only load scripts with shortcode.', 'colomat'); ?>
|
385 |
+
<br /><span class="description"><?php _e('Only load Collapse-O-Matic scripts if [expand] shortcode is used.', 'colomat'); ?></span></label>
|
386 |
+
</td>
|
387 |
+
</tr>
|
388 |
+
|
389 |
<tr>
|
390 |
<th><strong><?php _e( 'Level Up!', 'colomat' ) ?></strong></th>
|
391 |
<td><?php printf(__( '%sCollapse-Pro-Matic%s is our preimum plugin that offers additional attributes and features for <i>ultimate</i> flexibility.', 'colomat' ), '<a href="http://plugins.twinpictures.de/premium-plugins/collapse-pro-matic/">', '</a>'); ?>
|
js/collapse.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Collapse-O-Matic v1.5.
|
3 |
* http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
4 |
*
|
5 |
* Copyright 2013, Twinpictures
|
@@ -315,7 +315,7 @@ jQuery(document).ready(function() {
|
|
315 |
//toggle parent highlight class
|
316 |
var parentID = 'parent-'+id;
|
317 |
jQuery('#' + parentID).toggleClass('colomat-parent-highlight');
|
318 |
-
|
319 |
//check for snap-shut
|
320 |
if(!jQuery(this).hasClass('colomat-close') && jQuery(this).hasClass('snap-shut')){
|
321 |
jQuery('#target-'+id).hide();
|
1 |
/*!
|
2 |
+
* Collapse-O-Matic v1.5.7
|
3 |
* http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
4 |
*
|
5 |
* Copyright 2013, Twinpictures
|
315 |
//toggle parent highlight class
|
316 |
var parentID = 'parent-'+id;
|
317 |
jQuery('#' + parentID).toggleClass('colomat-parent-highlight');
|
318 |
+
|
319 |
//check for snap-shut
|
320 |
if(!jQuery(this).hasClass('colomat-close') && jQuery(this).hasClass('snap-shut')){
|
321 |
jQuery('#target-'+id).hide();
|
languages/colomat-en_EN.mo
ADDED
Binary file
|
languages/colomat-en_EN.po
ADDED
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2014
|
2 |
+
# This file is distributed under the same license as the package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Collapse-O-Matic\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/colomat\n"
|
7 |
+
"POT-Creation-Date: 2014-01-16 10:31:43+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2014-01-16 11:40+0100\n"
|
12 |
+
"Last-Translator: Baden Coleman <baden@twinpictures.de>\n"
|
13 |
+
"Language-Team: Twinpictuers <info@twinpictures.de>\n"
|
14 |
+
"X-Generator: Poedit 1.5.7\n"
|
15 |
+
"Language: English\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
|
18 |
+
#: collapse-o-matic.php:277
|
19 |
+
msgid "Settings"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: collapse-o-matic.php:297 collapse-o-matic.php:409
|
23 |
+
msgid "Click to toggle"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: collapse-o-matic.php:298
|
27 |
+
msgid "Default Collapse-O-Matic Settings"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: collapse-o-matic.php:309
|
31 |
+
msgid "Style"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: collapse-o-matic.php:316
|
35 |
+
msgid "Light"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: collapse-o-matic.php:317
|
39 |
+
msgid "Dark"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: collapse-o-matic.php:328
|
43 |
+
msgid ""
|
44 |
+
"Select Light for sites with lighter backgrounds. Select Dark for sites with "
|
45 |
+
"darker backgrounds."
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: collapse-o-matic.php:333
|
49 |
+
msgid "Tag Attribute"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: collapse-o-matic.php:335
|
53 |
+
msgid ""
|
54 |
+
"HTML tag use to wrap the trigger text. See %sTag Attribute%s in the "
|
55 |
+
"documentation for more info."
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: collapse-o-matic.php:345
|
59 |
+
msgid "Collapse/Expand Duration"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: collapse-o-matic.php:347
|
63 |
+
msgid ""
|
64 |
+
"A string or number determining how long the animation will run. See "
|
65 |
+
"%sDuration%s in the documentation for more info."
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: collapse-o-matic.php:352
|
69 |
+
msgid "Animation Effect"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: collapse-o-matic.php:359
|
73 |
+
msgid "Slide Only"
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: collapse-o-matic.php:360
|
77 |
+
msgid "Slide & Fade"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: collapse-o-matic.php:371
|
81 |
+
msgid ""
|
82 |
+
"Animation effect to use while collapsing and expanding. See %sAnimation "
|
83 |
+
"Effect%s in the documentation for more info."
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: collapse-o-matic.php:376
|
87 |
+
msgid "Custom Style"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: collapse-o-matic.php:378
|
91 |
+
msgid "Custom CSS style for <em>ultimate flexibility</em>"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: collapse-o-matic.php:383
|
95 |
+
msgid "Shortcode Loads Scripts"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: collapse-o-matic.php:384
|
99 |
+
msgid "Only load scripts with shortcode."
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: collapse-o-matic.php:385
|
103 |
+
msgid "Only load Collapse-O-Matic scripts if [expand] shortcode is used."
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: collapse-o-matic.php:390
|
107 |
+
msgid "Level Up!"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: collapse-o-matic.php:391
|
111 |
+
msgid ""
|
112 |
+
"%sCollapse-Pro-Matic%s is our preimum plugin that offers additional "
|
113 |
+
"attributes and features for <i>ultimate</i> flexibility."
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: collapse-o-matic.php:398
|
117 |
+
msgid "Save Changes"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: collapse-o-matic.php:410
|
121 |
+
msgid "About"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: collapse-o-matic.php:413
|
125 |
+
msgid ""
|
126 |
+
"Remove clutter, save space. Display and hide additional content in a SEO "
|
127 |
+
"friendly way. Wrap any content—including other shortcodes—into a "
|
128 |
+
"lovely jQuery expanding and collapsing element."
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: collapse-o-matic.php:415
|
132 |
+
msgid ""
|
133 |
+
"%sDetailed documentation%s, complete with working demonstrations of all "
|
134 |
+
"shortcode attributes, is available for your instructional enjoyment."
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: collapse-o-matic.php:416
|
138 |
+
msgid "%sFree%s Opensource Support"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: collapse-o-matic.php:417
|
142 |
+
msgid ""
|
143 |
+
"If this plugin %s, please consider %sreviewing it at WordPress.org%s to help "
|
144 |
+
"others."
|
145 |
+
msgstr ""
|
languages/colomat.pot
CHANGED
@@ -1,141 +1,142 @@
|
|
1 |
-
# Copyright (C)
|
2 |
-
# This file is distributed under the same license as the
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version:
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/colomat\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#:
|
|
|
|
|
|
|
|
|
16 |
msgid "Click to toggle"
|
17 |
msgstr ""
|
18 |
|
19 |
-
#:
|
20 |
msgid "Default Collapse-O-Matic Settings"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#:
|
24 |
msgid "Style"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#:
|
28 |
msgid "Light"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#:
|
32 |
msgid "Dark"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#:
|
36 |
msgid ""
|
37 |
-
"Select Light for sites with lighter
|
38 |
"darker backgrounds."
|
39 |
msgstr ""
|
40 |
|
41 |
-
#:
|
42 |
msgid "Tag Attribute"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#:
|
46 |
msgid ""
|
47 |
"HTML tag use to wrap the trigger text. See %sTag Attribute%s in the "
|
48 |
"documentation for more info."
|
49 |
msgstr ""
|
50 |
|
51 |
-
#:
|
52 |
msgid "Collapse/Expand Duration"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#:
|
56 |
msgid ""
|
57 |
"A string or number determining how long the animation will run. See %"
|
58 |
"sDuration%s in the documentation for more info."
|
59 |
msgstr ""
|
60 |
|
61 |
-
#:
|
62 |
msgid "Animation Effect"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#:
|
66 |
msgid "Slide Only"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#:
|
70 |
msgid "Slide & Fade"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#:
|
74 |
msgid ""
|
75 |
"Animation effect to use while collapsing and expanding. See %sAnimation "
|
76 |
"Effect%s in the documentation for more info."
|
77 |
msgstr ""
|
78 |
|
79 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
msgid "Level Up!"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#:
|
84 |
msgid ""
|
85 |
-
"
|
86 |
-
"
|
87 |
-
"all attributes."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#:
|
91 |
msgid "Save Changes"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#:
|
95 |
msgid "About"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#:
|
99 |
msgid ""
|
100 |
"Remove clutter, save space. Display and hide additional content in a SEO "
|
101 |
"friendly way. Wrap any content—including other shortcodes—into a "
|
102 |
"lovely jQuery expanding and collapsing element."
|
103 |
msgstr ""
|
104 |
|
105 |
-
#:
|
106 |
msgid ""
|
107 |
"%sDetailed documentation%s, complete with working demonstrations of all "
|
108 |
"shortcode attributes, is available for your instructional enjoyment."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#:
|
112 |
-
msgid "%sFree%s
|
113 |
msgstr ""
|
114 |
|
115 |
-
#:
|
116 |
msgid ""
|
117 |
-
"If
|
118 |
-
"
|
119 |
-
msgstr ""
|
120 |
-
|
121 |
-
#. Plugin Name of the plugin/theme
|
122 |
-
msgid "jQuery Collapse-O-Matic"
|
123 |
-
msgstr ""
|
124 |
-
|
125 |
-
#. Plugin URI of the plugin/theme
|
126 |
-
msgid "http://plugins.twinpictures.de/plugins/collapse-o-matic/"
|
127 |
-
msgstr ""
|
128 |
-
|
129 |
-
#. Description of the plugin/theme
|
130 |
-
msgid ""
|
131 |
-
"Collapse-O-Matic adds an [expand] shortcode that wraps content into a "
|
132 |
-
"lovely, jQuery collapsible div."
|
133 |
-
msgstr ""
|
134 |
-
|
135 |
-
#. Author of the plugin/theme
|
136 |
-
msgid "twinpictures, baden03"
|
137 |
-
msgstr ""
|
138 |
-
|
139 |
-
#. Author URI of the plugin/theme
|
140 |
-
msgid "http://twinpictures.de/"
|
141 |
msgstr ""
|
1 |
+
# Copyright (C) 2014
|
2 |
+
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/colomat\n"
|
7 |
+
"POT-Creation-Date: 2014-01-16 10:31:43+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#: collapse-o-matic.php:277
|
16 |
+
msgid "Settings"
|
17 |
+
msgstr ""
|
18 |
+
|
19 |
+
#: collapse-o-matic.php:297 collapse-o-matic.php:409
|
20 |
msgid "Click to toggle"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: collapse-o-matic.php:298
|
24 |
msgid "Default Collapse-O-Matic Settings"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: collapse-o-matic.php:309
|
28 |
msgid "Style"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: collapse-o-matic.php:316
|
32 |
msgid "Light"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: collapse-o-matic.php:317
|
36 |
msgid "Dark"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: collapse-o-matic.php:328
|
40 |
msgid ""
|
41 |
+
"Select Light for sites with lighter backgrounds. Select Dark for sites with "
|
42 |
"darker backgrounds."
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: collapse-o-matic.php:333
|
46 |
msgid "Tag Attribute"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: collapse-o-matic.php:335
|
50 |
msgid ""
|
51 |
"HTML tag use to wrap the trigger text. See %sTag Attribute%s in the "
|
52 |
"documentation for more info."
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: collapse-o-matic.php:345
|
56 |
msgid "Collapse/Expand Duration"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: collapse-o-matic.php:347
|
60 |
msgid ""
|
61 |
"A string or number determining how long the animation will run. See %"
|
62 |
"sDuration%s in the documentation for more info."
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: collapse-o-matic.php:352
|
66 |
msgid "Animation Effect"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: collapse-o-matic.php:359
|
70 |
msgid "Slide Only"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: collapse-o-matic.php:360
|
74 |
msgid "Slide & Fade"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: collapse-o-matic.php:371
|
78 |
msgid ""
|
79 |
"Animation effect to use while collapsing and expanding. See %sAnimation "
|
80 |
"Effect%s in the documentation for more info."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: collapse-o-matic.php:376
|
84 |
+
msgid "Custom Style"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: collapse-o-matic.php:378
|
88 |
+
msgid "Custom CSS style for <em>ultimate flexibility</em>"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: collapse-o-matic.php:383
|
92 |
+
msgid "Shortcode Loads Scripts"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: collapse-o-matic.php:384
|
96 |
+
msgid "Only load scripts with shortcode."
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: collapse-o-matic.php:385
|
100 |
+
msgid "Only load Collapse-O-Matic scripts if [expand] shortcode is used."
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: collapse-o-matic.php:390
|
104 |
msgid "Level Up!"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: collapse-o-matic.php:391
|
108 |
msgid ""
|
109 |
+
"%sCollapse-Pro-Matic%s is our preimum plugin that offers additional "
|
110 |
+
"attributes and features for <i>ultimate</i> flexibility."
|
|
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: collapse-o-matic.php:398
|
114 |
msgid "Save Changes"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: collapse-o-matic.php:410
|
118 |
msgid "About"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: collapse-o-matic.php:413
|
122 |
msgid ""
|
123 |
"Remove clutter, save space. Display and hide additional content in a SEO "
|
124 |
"friendly way. Wrap any content—including other shortcodes—into a "
|
125 |
"lovely jQuery expanding and collapsing element."
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: collapse-o-matic.php:415
|
129 |
msgid ""
|
130 |
"%sDetailed documentation%s, complete with working demonstrations of all "
|
131 |
"shortcode attributes, is available for your instructional enjoyment."
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: collapse-o-matic.php:416
|
135 |
+
msgid "%sFree%s Opensource Support"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: collapse-o-matic.php:417
|
139 |
msgid ""
|
140 |
+
"If this plugin %s, please consider %sreviewing it at WordPress.org%s to help "
|
141 |
+
"others."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
msgstr ""
|
languages/colomat_sr.mo
ADDED
Binary file
|
languages/colomat_sr.po
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of Collapse-O-Matic in German
|
2 |
+
# This file is distributed under the same license as the Collapse-O-Matic package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"PO-Revision-Date: 2013-12-13 13:57+0100\n"
|
6 |
+
"MIME-Version: 1.0\n"
|
7 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
+
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
10 |
+
"X-Generator: Poedit 1.5.7\n"
|
11 |
+
"Project-Id-Version: Collapse-O-Matic\n"
|
12 |
+
"POT-Creation-Date: \n"
|
13 |
+
"Last-Translator: Baden Coleman <baden@twinpictures.de>\n"
|
14 |
+
"Language-Team: Twinpictures <info@twinpictures.de>\n"
|
15 |
+
"Language: Serbian\n"
|
16 |
+
|
17 |
+
#: colomat.php:287
|
18 |
+
msgid "Style"
|
19 |
+
msgstr "Stil"
|
20 |
+
|
21 |
+
#: colomat.php:294
|
22 |
+
msgid "Light"
|
23 |
+
msgstr "Svetlo"
|
24 |
+
|
25 |
+
#: colomat.php:295
|
26 |
+
msgid "Dark"
|
27 |
+
msgstr "Tamno"
|
28 |
+
|
29 |
+
#: colomat.php:306
|
30 |
+
msgid ""
|
31 |
+
"Select Light for sites with lighter backgroudns. Select Dark for sites with "
|
32 |
+
"darker backgrounds."
|
33 |
+
msgstr ""
|
34 |
+
"Selektujte svetlo za sajt sa svetlosnom pozadinom.Selektujte tamno za sajt "
|
35 |
+
"sa tamnom pozadinom."
|
36 |
+
|
37 |
+
#: colomat.php:275 colomat.php:373
|
38 |
+
msgid "Click to toggle"
|
39 |
+
msgstr "Klik za toggle"
|
40 |
+
|
41 |
+
#: colomat.php:276
|
42 |
+
msgid "Default Collapse-O-Matic Settings"
|
43 |
+
msgstr "Default Collapse-O-Matic Settings"
|
44 |
+
|
45 |
+
#: colomat.php:311
|
46 |
+
msgid "Tag Attribute"
|
47 |
+
msgstr "Tag atributa"
|
48 |
+
|
49 |
+
#: colomat.php:313
|
50 |
+
msgid ""
|
51 |
+
"HTML tag use to wrap the trigger text. See %sTag Attribute%s in the "
|
52 |
+
"documentation for more info."
|
53 |
+
msgstr ""
|
54 |
+
"HTML tagove upotrebiti za zamotavanje tekst okidača . Pogledajte % Stag "
|
55 |
+
"Atribut % s dokumentaciju za više informacija ."
|
56 |
+
|
57 |
+
#: colomat.php:323
|
58 |
+
msgid "Collapse/Expand Duration"
|
59 |
+
msgstr "Collapse/Expand Duration"
|
60 |
+
|
61 |
+
#: colomat.php:325
|
62 |
+
msgid ""
|
63 |
+
"A string or number determining how long the animation will run. See "
|
64 |
+
"%sDuration%s in the documentation for more info."
|
65 |
+
msgstr ""
|
66 |
+
"String ili broj određivanja koliko će dugo trajati animacija . Pogledajte % "
|
67 |
+
"sDuration % s dokumentaciju za više informacija ."
|
68 |
+
|
69 |
+
#: colomat.php:330
|
70 |
+
msgid "Animation Effect"
|
71 |
+
msgstr "Animation Effect"
|
72 |
+
|
73 |
+
#: colomat.php:337
|
74 |
+
msgid "Slide Only"
|
75 |
+
msgstr "Samo slajduj"
|
76 |
+
|
77 |
+
#: colomat.php:338
|
78 |
+
msgid "Slide & Fade"
|
79 |
+
msgstr "Slajduj & Ukloni"
|
80 |
+
|
81 |
+
#: colomat.php:349
|
82 |
+
msgid ""
|
83 |
+
"Animation effect to use while collapsing and expanding. See %sAnimation "
|
84 |
+
"Effect%s in the documentation for more info."
|
85 |
+
msgstr ""
|
86 |
+
"Efekat Animacija koristiti kod kolapsa i proširenje . Pogledajte % "
|
87 |
+
"sAnimation Effect % s dokumentaciju za više informacija ."
|
88 |
+
|
89 |
+
#: colomat.php:354
|
90 |
+
msgid "Level Up!"
|
91 |
+
msgstr "Podigni na veći nivo!"
|
92 |
+
|
93 |
+
#: colomat.php:355
|
94 |
+
msgid ""
|
95 |
+
"<em>Comming Soon: Collapse-Pro-Matic</em> our preimum plugin that offers "
|
96 |
+
"additional attributes and the ability to set default attribute settings for "
|
97 |
+
"all attributes."
|
98 |
+
msgstr ""
|
99 |
+
"<em>Dolazi uskoro: Collapse-Pro-Matic</em> naša preimum plugin koja nudi "
|
100 |
+
"dodatne atribute i mogućnosti za nameštanje default atributa postavki za sve "
|
101 |
+
"atribute."
|
102 |
+
|
103 |
+
#: colomat.php:362
|
104 |
+
msgid "Save Changes"
|
105 |
+
msgstr "Sačuvaj promene"
|
106 |
+
|
107 |
+
#: colomat.php:374
|
108 |
+
msgid "About"
|
109 |
+
msgstr "o"
|
110 |
+
|
111 |
+
#: colomat.php:377
|
112 |
+
msgid ""
|
113 |
+
"Remove clutter, save space. Display and hide additional content in a SEO "
|
114 |
+
"friendly way. Wrap any content—including other shortcodes—into a "
|
115 |
+
"lovely jQuery expanding and collapsing element."
|
116 |
+
msgstr ""
|
117 |
+
"Uklonite gužvu , uštede prostora . Prikazati i sakriti dodatnih sadržaja na "
|
118 |
+
"SEO prijateljski način . Umotajte svaki sadržashortcodes— kratke "
|
119 |
+
"brojeve - u divnom jQuery širenja i rušenja elemenata ."
|
120 |
+
|
121 |
+
#: colomat.php:379
|
122 |
+
msgid ""
|
123 |
+
"%sDetailed documentation%s, complete with working demonstrations of all "
|
124 |
+
"shortcode attributes, is available for your instructional enjoyment."
|
125 |
+
msgstr ""
|
126 |
+
" %sDetaljna dokumentacija , zajedno sa radnim demonstracijama svih shortcode "
|
127 |
+
"atributa , je dostupna za vaše nastavno uživanje ."
|
128 |
+
|
129 |
+
#: colomat.php:380
|
130 |
+
msgid "%sFree%s & %sPremimum%s Support"
|
131 |
+
msgstr "%sBesplatna%s & %sPremimum%s podrška"
|
132 |
+
|
133 |
+
#: colomat.php:381
|
134 |
+
msgid ""
|
135 |
+
"If you like this plugin, please consider %sreviewing it at WordPress.org%s "
|
136 |
+
"to help others."
|
137 |
+
msgstr ""
|
138 |
+
"Ako volite ovaj plugin , molimo vas da razmislite %sreviewing na WordPress."
|
139 |
+
"org % s da pomognu drugima ."
|
140 |
+
|
141 |
+
msgid "jQuery Collapse-O-Matic"
|
142 |
+
msgstr "jQuery Collapse-O-Matic"
|
143 |
+
|
144 |
+
msgid "http://plugins.twinpictures.de/plugins/collapse-o-matic/"
|
145 |
+
msgstr "http://plugins.twinpictures.de/plugins/collapse-o-matic/"
|
146 |
+
|
147 |
+
msgid ""
|
148 |
+
"Collapse-O-Matic adds an [expand] shortcode that wraps content into a "
|
149 |
+
"lovely, jQuery collapsible div."
|
150 |
+
msgstr ""
|
151 |
+
"Collapse-O-Matic adodaci na [prošireno] shortcode koji obavija sadržaj u "
|
152 |
+
"jQuery kolaps div."
|
153 |
+
|
154 |
+
msgid "twinpictures, baden03"
|
155 |
+
msgstr "twinpictures, baden03"
|
156 |
+
|
157 |
+
msgid "http://twinpictures.de/"
|
158 |
+
msgstr "http://twinpictures.de/"
|
light_style.css
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
background-image: url(images/arrow-down.png);
|
3 |
background-repeat: no-repeat;
|
4 |
padding: 0 0 10px 16px;
|
5 |
-
/*border: 1px dotted blue;*/
|
6 |
cursor: pointer;
|
7 |
}
|
8 |
.arrowright {
|
2 |
background-image: url(images/arrow-down.png);
|
3 |
background-repeat: no-repeat;
|
4 |
padding: 0 0 10px 16px;
|
|
|
5 |
cursor: pointer;
|
6 |
}
|
7 |
.arrowright {
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
|
5 |
Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more
|
6 |
Requires at least: 3.5
|
7 |
Tested up to: 3.8
|
8 |
-
Stable tag: 1.5.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -50,6 +50,12 @@ No. Not even close.
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
= 1.5.6 =
|
54 |
* fixed admin_init error
|
55 |
|
@@ -224,6 +230,12 @@ Fixed auto-expand of urls with id-anchors
|
|
224 |
|
225 |
== Upgrade Notice ==
|
226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
= 1.5.6 =
|
228 |
* admin_init error is fixed. oops!
|
229 |
|
5 |
Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more
|
6 |
Requires at least: 3.5
|
7 |
Tested up to: 3.8
|
8 |
+
Stable tag: 1.5.7
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
50 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 1.5.7 =
|
54 |
+
* option to only load scripts if shortcode is in use
|
55 |
+
* script now loaded in footer
|
56 |
+
* loading js and css now hooked to wp_enqueue_scripts rather than init
|
57 |
+
* added Serbian language files courtesy of Borisa Djuraskovic from webhostinghub.com
|
58 |
+
|
59 |
= 1.5.6 =
|
60 |
* fixed admin_init error
|
61 |
|
230 |
|
231 |
== Upgrade Notice ==
|
232 |
|
233 |
+
= 1.5.7 =
|
234 |
+
* option to only load scripts if shortcode is in use
|
235 |
+
* script loads in footer
|
236 |
+
* script and style are now hooked to wp_enqueue_scripts rather than init
|
237 |
+
* added Serbian language files courtesy of Borisa Djuraskovic from webhostinghub.com
|
238 |
+
|
239 |
= 1.5.6 =
|
240 |
* admin_init error is fixed. oops!
|
241 |
|