Black Studio TinyMCE Widget - Version 2.1.0

Version Description

(2014-10-13) = * Added option to automatically add paragraphs * Added admin pointer to help new users identify the widget * Added loading overlay when saving widget * Added check for multiple instances of the plugin * Fixed issue related to multiple line breaks not being saved * Fixed issues with RTL locales * Enhanced compatibility for widgets created with 1.x versions of the plugin * Updated documentation about widget customization

Download this release

Release Info

Developer marcochiesi
Plugin Icon 128x128 Black Studio TinyMCE Widget
Version 2.1.0
Comparing to
See all releases

Code changes from version 2.0.4 to 2.1.0

Files changed (62) hide show
  1. black-studio-tinymce-widget.php +64 -14
  2. css/black-studio-tinymce-widget-pre33.min.css +1 -1
  3. css/black-studio-tinymce-widget.css +26 -0
  4. css/black-studio-tinymce-widget.min.css +2 -2
  5. includes/class-admin-pointer.php +179 -0
  6. includes/class-admin.php +22 -7
  7. includes/class-compatibility-plugins.php +3 -3
  8. includes/class-compatibility-wordpress.php +3 -1
  9. includes/class-compatibility.php +1 -1
  10. includes/class-text-filters.php +25 -2
  11. includes/class-widget.php +10 -1
  12. js/black-studio-tinymce-widget-pointer.js +19 -0
  13. js/black-studio-tinymce-widget-pointer.min.js +2 -0
  14. js/black-studio-tinymce-widget-pre33.min.js +1 -1
  15. js/black-studio-tinymce-widget-pre39.min.js +1 -1
  16. js/black-studio-tinymce-widget.js +7 -3
  17. js/black-studio-tinymce-widget.min.js +2 -2
  18. js/wp-page-widget.min.js +1 -1
  19. languages/black-studio-tinymce-widget-ca.mo +0 -0
  20. languages/black-studio-tinymce-widget-ca.po +10 -2
  21. languages/black-studio-tinymce-widget-da_DK.mo +0 -0
  22. languages/black-studio-tinymce-widget-da_DK.po +17 -2
  23. languages/black-studio-tinymce-widget-de_DE.mo +0 -0
  24. languages/black-studio-tinymce-widget-de_DE.po +19 -3
  25. languages/black-studio-tinymce-widget-el.mo +0 -0
  26. languages/black-studio-tinymce-widget-el.po +17 -2
  27. languages/black-studio-tinymce-widget-en_GB.mo +0 -0
  28. languages/black-studio-tinymce-widget-en_GB.po +25 -10
  29. languages/black-studio-tinymce-widget-es_ES.mo +0 -0
  30. languages/black-studio-tinymce-widget-es_ES.po +17 -2
  31. languages/black-studio-tinymce-widget-fi.mo +0 -0
  32. languages/black-studio-tinymce-widget-fi.po +17 -2
  33. languages/black-studio-tinymce-widget-fr_FR.mo +0 -0
  34. languages/black-studio-tinymce-widget-fr_FR.po +17 -2
  35. languages/black-studio-tinymce-widget-it_IT.mo +0 -0
  36. languages/black-studio-tinymce-widget-it_IT.po +25 -10
  37. languages/black-studio-tinymce-widget-ja.mo +0 -0
  38. languages/black-studio-tinymce-widget-ja.po +10 -2
  39. languages/black-studio-tinymce-widget-ko_KR.mo +0 -0
  40. languages/black-studio-tinymce-widget-ko_KR.po +10 -2
  41. languages/black-studio-tinymce-widget-nl_NL.mo +0 -0
  42. languages/black-studio-tinymce-widget-nl_NL.po +17 -2
  43. languages/black-studio-tinymce-widget-pl_PL.mo +0 -0
  44. languages/black-studio-tinymce-widget-pl_PL.po +10 -2
  45. languages/black-studio-tinymce-widget-pt_BR.mo +0 -0
  46. languages/black-studio-tinymce-widget-pt_BR.po +17 -2
  47. languages/black-studio-tinymce-widget-ro_RO.mo +0 -0
  48. languages/black-studio-tinymce-widget-ro_RO.po +10 -2
  49. languages/black-studio-tinymce-widget-ru_RU.mo +0 -0
  50. languages/black-studio-tinymce-widget-ru_RU.po +10 -2
  51. languages/black-studio-tinymce-widget-sk_SK.mo +0 -0
  52. languages/black-studio-tinymce-widget-sk_SK.po +17 -2
  53. languages/black-studio-tinymce-widget-sv_SE.mo +0 -0
  54. languages/black-studio-tinymce-widget-sv_SE.po +17 -2
  55. languages/black-studio-tinymce-widget-tr_TR.mo +0 -0
  56. languages/black-studio-tinymce-widget-tr_TR.po +17 -2
  57. languages/black-studio-tinymce-widget-uk.mo +0 -0
  58. languages/black-studio-tinymce-widget-uk.po +17 -2
  59. languages/black-studio-tinymce-widget-zh_CN.mo +0 -0
  60. languages/black-studio-tinymce-widget-zh_CN.po +17 -2
  61. languages/black-studio-tinymce-widget.pot +98 -83
  62. readme.txt +61 -10
black-studio-tinymce-widget.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Black Studio TinyMCE Widget
4
Plugin URI: https://wordpress.org/plugins/black-studio-tinymce-widget/
5
Description: Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor.
6
- Version: 2.0.4
7
Author: Black Studio
8
Author URI: http://www.blackstudio.it
9
Requires at least: 3.1
@@ -35,7 +35,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) {
35
* @var string
36
* @since 2.0.0
37
*/
38
- public static $version = '2.0.4';
39
40
/**
41
* The single instance of the plugin class
@@ -53,6 +53,14 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) {
53
*/
54
protected static $admin = null;
55
56
/**
57
* Instance of compatibility class
58
*
@@ -92,6 +100,16 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) {
92
return self::$admin;
93
}
94
95
/**
96
* Return the instance of the compatibility class
97
*
@@ -153,6 +171,8 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) {
153
if ( is_admin() ) {
154
include_once( plugin_dir_path( __FILE__ ) . '/includes/class-admin.php' );
155
self::$admin = Black_Studio_TinyMCE_Admin::instance();
156
}
157
// Include and instantiate text filter class on frontend pages
158
else {
@@ -222,17 +242,47 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) {
222
223
} // END class Black_Studio_TinyMCE_Plugin
224
225
- } // class_exists check
226
227
- /**
228
- * Return the main instance to prevent the need to use globals
229
- *
230
- * @return object
231
- * @since 2.0.0
232
- */
233
- function bstw() {
234
- return Black_Studio_TinyMCE_Plugin::instance();
235
- }
236
237
- /* Create the main instance */
238
- bstw();
3
Plugin Name: Black Studio TinyMCE Widget
4
Plugin URI: https://wordpress.org/plugins/black-studio-tinymce-widget/
5
Description: Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor.
6
+ Version: 2.1.0
7
Author: Black Studio
8
Author URI: http://www.blackstudio.it
9
Requires at least: 3.1
35
* @var string
36
* @since 2.0.0
37
*/
38
+ public static $version = '2.1.0';
39
40
/**
41
* The single instance of the plugin class
53
*/
54
protected static $admin = null;
55
56
+ /**
57
+ * Instance of admin pointer class
58
+ *
59
+ * @var object
60
+ * @since 2.1.0
61
+ */
62
+ protected static $admin_pointer = null;
63
+
64
/**
65
* Instance of compatibility class
66
*
100
return self::$admin;
101
}
102
103
+ /**
104
+ * Return the instance of the admin pointer class
105
+ *
106
+ * @return object
107
+ * @since 2.1.0
108
+ */
109
+ public static function admin_pointer() {
110
+ return self::$admin_pointer;
111
+ }
112
+
113
/**
114
* Return the instance of the compatibility class
115
*
171
if ( is_admin() ) {
172
include_once( plugin_dir_path( __FILE__ ) . '/includes/class-admin.php' );
173
self::$admin = Black_Studio_TinyMCE_Admin::instance();
174
+ include_once( plugin_dir_path( __FILE__ ) . '/includes/class-admin-pointer.php' );
175
+ self::$admin_pointer = Black_Studio_TinyMCE_Admin_Pointer::instance();
176
}
177
// Include and instantiate text filter class on frontend pages
178
else {
242
243
} // END class Black_Studio_TinyMCE_Plugin
244
245
+ } // END class_exists check
246
247
248
+ if ( ! function_exists( 'bstw' ) ) {
249
+
250
+ /**
251
+ * Return the main instance to prevent the need to use globals
252
+ *
253
+ * @return object
254
+ * @since 2.0.0
255
+ */
256
+ function bstw() {
257
+ return Black_Studio_TinyMCE_Plugin::instance();
258
+ }
259
+
260
+ /* Create the main instance */
261
+ bstw();
262
+
263
+ } // END function_exists bstw check
264
+ else {
265
+
266
+ /* Check for multiple plugin instances */
267
+ if ( ! function_exists( 'bstw_multiple_notice' ) ) {
268
+
269
+ /**
270
+ * Show admin notice when multiple instances of the plugin are detected
271
+ *
272
+ * @return void
273
+ * @since 2.1.0
274
+ */
275
+ function bstw_multiple_notice() {
276
+ global $pagenow;
277
+ if ( 'widgets.php' == $pagenow ) {
278
+ echo '<div class="error">';
279
+ /* translators: error message shown when multiple instance of the plugin are detected */
280
+ echo '<p>' . esc_html( __( 'ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were detected. Please activate only one instance at a time.', 'black-studio-tinymce-widget' ) ) . '</p>';
281
+ echo '</div>';
282
+ }
283
+ }
284
+ add_action( 'admin_notices', 'bstw_multiple_notice' );
285
+
286
+ } // END function_exists bstw_multiple_notice check
287
+
288
+ } // END else function_exists bstw check
css/black-studio-tinymce-widget-pre33.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /* Black Studio TinyMCE Widget - v2.0.4 */
2
.bstw-links{font-size:11px;margin-top:-3px;text-align:right;position:absolute;right:18px}.bstw-links .icon-plugins{float:right;padding:3px 6px;margin:-8px -8px 0 -2px;background:url(../../../../wp-admin/images/menu.png) -180px -33px no-repeat;width:16px;height:16px}.bstw-links .bstw-links-list{display:none}.bstw-links a{text-decoration:none}#mce_fullscreen_container{background-color:#fff}#wp-black-studio-tinymce-widget-wrap{display:none}#TB_overlay,#TB_window{z-index:999999}.wp-editor-container{border-style:solid;border-width:1px;border-collapse:separate;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#ccc #ccc #dfdfdf;clear:both}.wp-switch-editor{height:18px;margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;background-color:#f1f1f1;border-color:#dfdfdf #dfdfdf #ccc;color:#999;position:relative;top:1px}.html-active .switch-html,.tmce-active .switch-tmce{border-color:#ccc #ccc #e9e9e9;background-color:#e9e9e9;color:#333}.wp-media-buttons{cursor:default;padding:8px 8px 0}.wp-media-buttons a{cursor:pointer;padding:0 0 5px 10px}.wp-media-buttons img{vertical-align:middle}.wp_themeSkin .mceStatusbar{border-color:#dfdfdf}
1
+ /* Black Studio TinyMCE Widget - v2.1.0 */
2
.bstw-links{font-size:11px;margin-top:-3px;text-align:right;position:absolute;right:18px}.bstw-links .icon-plugins{float:right;padding:3px 6px;margin:-8px -8px 0 -2px;background:url(../../../../wp-admin/images/menu.png) -180px -33px no-repeat;width:16px;height:16px}.bstw-links .bstw-links-list{display:none}.bstw-links a{text-decoration:none}#mce_fullscreen_container{background-color:#fff}#wp-black-studio-tinymce-widget-wrap{display:none}#TB_overlay,#TB_window{z-index:999999}.wp-editor-container{border-style:solid;border-width:1px;border-collapse:separate;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#ccc #ccc #dfdfdf;clear:both}.wp-switch-editor{height:18px;margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;background-color:#f1f1f1;border-color:#dfdfdf #dfdfdf #ccc;color:#999;position:relative;top:1px}.html-active .switch-html,.tmce-active .switch-tmce{border-color:#ccc #ccc #e9e9e9;background-color:#e9e9e9;color:#333}.wp-media-buttons{cursor:default;padding:8px 8px 0}.wp-media-buttons a{cursor:pointer;padding:0 0 5px 10px}.wp-media-buttons img{vertical-align:middle}.wp_themeSkin .mceStatusbar{border-color:#dfdfdf}
css/black-studio-tinymce-widget.css CHANGED
@@ -8,6 +8,12 @@
8
right: 18px;
9
}
10
11
.bstw-links .icon16:before {
12
padding: 0;
13
}
@@ -18,6 +24,11 @@
18
margin: -6px -8px 0 -2px;
19
}
20
21
.bstw-links .bstw-links-list {
22
display: none;
23
}
@@ -26,6 +37,21 @@
26
text-decoration: none;
27
}
28
29
#wp-black-studio-tinymce-widget-wrap {
30
display: none;
31
}
8
right: 18px;
9
}
10
11
+ .rtl .bstw-links {
12
+ text-align: left;
13
+ right: auto;
14
+ left: 18px;
15
+ }
16
+
17
.bstw-links .icon16:before {
18
padding: 0;
19
}
24
margin: -6px -8px 0 -2px;
25
}
26
27
+ .rtl .bstw-links .icon16 {
28
+ float: left;
29
+ margin: -6px -2px 0 -8px;
30
+ }
31
+
32
.bstw-links .bstw-links-list {
33
display: none;
34
}
37
text-decoration: none;
38
}
39
40
+ .bstw-loading {
41
+ position: absolute;
42
+ left: 0;
43
+ right: 0;
44
+ top: 0;
45
+ bottom:0;
46
+ background-color:white;
47
+ background-image: url(../../../../wp-admin/images/loading.gif);
48
+ background-position: center center;
49
+ background-repeat: no-repeat;
50
+ z-index: 100000;
51
+ display: none;
52
+ opacity: 0.5;
53
+ }
54
+
55
#wp-black-studio-tinymce-widget-wrap {
56
display: none;
57
}
css/black-studio-tinymce-widget.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /* Black Studio TinyMCE Widget - v2.0.4 */
2
- .bstw-links{font-size:11px;margin-top:-3px;text-align:right;position:absolute;right:18px}.bstw-links .icon16:before{padding:0}.bstw-links .icon16{float:right;padding:3px 6px;margin:-6px -8px 0 -2px}.bstw-links .bstw-links-list{display:none}.bstw-links a{text-decoration:none}#wp-black-studio-tinymce-widget-wrap{display:none}div[id*=black-studio-tinymce] .wp-editor-wrap{margin-bottom:1em}#available-widgets [class*=black-studio-tinymce] .widget-title:before{content:"\f116"}.wp-customizer .mce-floatpanel.mce-popover{z-index:500000!important}#TB_overlay,#TB_window{z-index:999999!important}body.wait,body.wait *{cursor:wait!important}#zedity_content_overlay{z-index:100000!important}
1
+ /* Black Studio TinyMCE Widget - v2.1.0 */
2
+ .bstw-links{font-size:11px;margin-top:-3px;text-align:right;position:absolute;right:18px}.rtl .bstw-links{text-align:left;right:auto;left:18px}.bstw-links .icon16:before{padding:0}.bstw-links .icon16{float:right;padding:3px 6px;margin:-6px -8px 0 -2px}.rtl .bstw-links .icon16{float:left;margin:-6px -2px 0 -8px}.bstw-links .bstw-links-list{display:none}.bstw-links a{text-decoration:none}.bstw-loading{position:absolute;left:0;right:0;top:0;bottom:0;background-color:#fff;background-image:url(../../../../wp-admin/images/loading.gif);background-position:center center;background-repeat:no-repeat;z-index:100000;display:none;opacity:.5}#wp-black-studio-tinymce-widget-wrap{display:none}div[id*=black-studio-tinymce] .wp-editor-wrap{margin-bottom:1em}#available-widgets [class*=black-studio-tinymce] .widget-title:before{content:"\f116"}.wp-customizer .mce-floatpanel.mce-popover{z-index:500000!important}#TB_overlay,#TB_window{z-index:999999!important}body.wait,body.wait *{cursor:wait!important}#zedity_content_overlay{z-index:100000!important}
includes/class-admin-pointer.php ADDED
@@ -0,0 +1,179 @@
1
+ <?php
2
+
3
+ // Exit if accessed directly
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit;
6
+ }
7
+
8
+ /**
9
+ * Class that provides admin pointer
10
+ *
11
+ * @package Black_Studio_TinyMCE_Widget
12
+ * @since 2.1.0
13
+ */
14
+
15
+ if ( ! class_exists( 'Black_Studio_TinyMCE_Admin_Pointer' ) ) {
16
+
17
+ final class Black_Studio_TinyMCE_Admin_Pointer {
18
+
19
+ /**
20
+ * The single instance of the class
21
+ *
22
+ * @var object
23
+ * @since 2.1.0
24
+ */
25
+ protected static $_instance = null;
26
+
27
+ /**
28
+ * Return the single class instance
29
+ *
30
+ * @return object
31
+ * @since 2.1.0
32
+ */
33
+ public static function instance() {
34
+ if ( is_null( self::$_instance ) ) {
35
+ self::$_instance = new self();
36
+ }
37
+ return self::$_instance;
38
+ }
39
+
40
+ /**
41
+ * Class constructor
42
+ *
43
+ * @uses add_action()
44
+ * @uses add_filter()
45
+ * @uses get_option()
46
+ * @uses get_bloginfo()
47
+ *
48
+ * @global object $wp_embed
49
+ * @return void
50
+ * @since 2.0.0
51
+ */
52
+ protected function __construct() {
53
+ // Register action and filter hooks
54
+ add_action( 'admin_init', array( $this, 'admin_init' ), 20 );
55
+ }
56
+
57
+ /**
58
+ * Prevent the class from being cloned
59
+ *
60
+ * @return void
61
+ * @since 2.1.0
62
+ */
63
+ protected function __clone() {
64
+ _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; uh?' ), '2.0' );
65
+ }
66
+
67
+ /**
68
+ * Add actions and filters (only in widgets admin page)
69
+ *
70
+ * @uses add_action()
71
+ * @uses add_filter()
72
+ *
73
+ * @return void
74
+ * @since 2.1.0
75
+ */
76
+ public function admin_init() {
77
+ global $pagenow;
78
+ if ( 'widgets.php' == $pagenow ) {
79
+ add_action( 'admin_print_scripts', array( $this, 'load' ) );
80
+ add_filter( 'black_studio_tinymce_admin_pointers-widgets', array( $this, 'register' ), 10 );
81
+ add_filter( 'black_studio_tinymce_admin_pointers-widgets', array( $this, 'filter_dismissed' ), 20 );
82
+ }
83
+ }
84
+
85
+ /**
86
+ * Helper function to enqueue script
87
+ *
88
+ * @uses wp_enqueue_style()
89
+ * @uses wp_enqueue_script()
90
+ * @uses plugins_url()
91
+ * @uses wp_localize_script()
92
+ * @uses SCRIPT_DEBUG
93
+ *
94
+ * @param mixed[] $pointers
95
+ * @return void
96
+ * @since 2.1.0
97
+ */
98
+ public function enqueue( $pointers ) {
99
+ $script = 'black-studio-tinymce-widget-pointer';
100
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
101
+ wp_enqueue_style( 'wp-pointer' );
102
+ wp_enqueue_script(
103
+ $script,
104
+ plugins_url( 'js/' . $script . $suffix . '.js', dirname( __FILE__ ) ),
105
+ array( 'wp-pointer' ),
106
+ bstw()->get_version(),
107
+ true
108
+ );
109
+ wp_localize_script( 'black-studio-tinymce-widget-pointer', 'bstw_pointers', $pointers );
110
+ }
111
+
112
+ /**
113
+ * Load admin pointer(s)
114
+ *
115
+ * @uses get_current_screen()
116
+ * @uses apply_filters()
117
+ *
118
+ * @return void
119
+ * @since 2.1.0
120
+ */
121
+ public function load() {
122
+ $screen = get_current_screen();
123
+ $pointers = apply_filters( 'black_studio_tinymce_admin_pointers-' . $screen->id, array() );
124
+ if ( ! empty( $pointers ) ) {
125
+ $this->enqueue( $pointers );
126
+ }
127
+ }
128
+
129
+ /**
130
+ * Remove dismissed pointer(s)
131
+ *
132
+ * @uses get_user_meta()
133
+ * @uses get_current_user_id()
134
+ *
135
+ * @param mixed[] $pointers
136
+ * @return mixed[]
137
+ * @since 2.1.0
138
+ */
139
+ public function filter_dismissed( $pointers ) {
140
+ $valid_pointers = array();
141
+ if ( is_array( $pointers ) ) {
142
+ $dismissed = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
143
+ foreach ( $pointers as $pointer_id => $pointer ) {
144
+ if ( ! in_array( $pointer_id, $dismissed ) ) {
145
+ $pointer['pointer_id'] = $pointer_id;
146
+ $valid_pointers['pointers'][] = $pointer;
147
+ }
148
+ }
149
+ }
150
+ return $valid_pointers;
151
+ }
152
+
153
+ /**
154
+ * Register admin pointer(s)
155
+ *
156
+ * @param mixed[] $pointers
157
+ * @return mixed[]
158
+ * @since 2.1.0
159
+ */
160
+ public function register( $pointers ) {
161
+ $pointers['black_studio_tinymce_widget'] = array(
162
+ 'target' => 'div[id$=black-studio-tinymce-__i__] .widget-top',
163
+ 'options' => array(
164
+ 'content' => sprintf( '<h3>%s</h3> <p>%s</p>',
165
+ /* translators: title for the dismissable admin pointer tooltip (same as plugin name) */
166
+ __( 'Black Studio TinyMCE Widget', 'black-studio-tinymce-widget' ),
167
+ /* translators: text for the dismissable admin pointer tooltip */
168
+ __( 'The Visual Editor widget allows you to insert rich text and media objects in your sidebars', 'black-studio-tinymce-widget' )
169
+ ),
170
+ 'position' => array( 'edge' => 'left', 'align' => 'middle' )
171
+ )
172
+ );
173
+ return $pointers;
174
+ }
175
+
176
+
177
+ } // END class Black_Studio_TinyMCE_Admin_Pointer
178
+
179
+ } // END class_exists check
includes/class-admin.php CHANGED
@@ -122,6 +122,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Admin' ) ) {
122
add_action( 'black_studio_tinymce_editor', array( $this, 'editor' ), 10, 3 );
123
add_action( 'black_studio_tinymce_before_editor', array( $this, 'display_links' ) ); // consider donating if you remove links
124
add_filter( 'wp_editor_settings', array( $this, 'editor_settings' ), 10, 2 );
125
do_action( 'black_studio_tinymce_load' );
126
}
127
}
@@ -155,7 +156,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Admin' ) ) {
155
*/
156
public function admin_print_styles() {
157
wp_enqueue_style( 'wp-jquery-ui-dialog' );
158
- wp_enqueue_style( 'editor-buttons' );
159
$this->enqueue_style();
160
}
161
@@ -185,8 +186,6 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Admin' ) ) {
185
* Enqueue header scripts
186
*
187
* @uses wp_enqueue_script()
188
- * @uses Black_Studio_TinyMCE_Plugin::enqueue_script()
189
- * @uses Black_Studio_TinyMCE_Plugin::localize_script()
190
* @uses do_action()
191
*
192
* @return void
@@ -250,8 +249,6 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Admin' ) ) {
250
/**
251
* Enqueue footer scripts
252
*
253
- * @uses wp_editor()
254
- *
255
* @return void
256
* @since 2.0.0
257
*/
@@ -285,7 +282,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Admin' ) ) {
285
public function editor_settings( $settings, $editor_id ) {
286
if ( strstr( $editor_id, 'black-studio-tinymce' ) ) {
287
$settings['default_editor'] = 'tmce';
288
- $settings['tinymce'] = array( 'wp_skip_init' => true );
289
$settings['editor_height'] = 350;
290
}
291
return $settings;
@@ -353,9 +350,13 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Admin' ) ) {
353
/**
354
* Show row meta on the plugin screen
355
*
356
* @param string[] $links
357
* @param string $file
358
* @return string[]
359
*/
360
public function plugin_row_meta( $links, $file ) {
361
if ( $file == bstw()->get_basename() ) {
@@ -366,6 +367,20 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Admin' ) ) {
366
return $links;
367
}
368
369
} // END class Black_Studio_TinyMCE_Admin
370
371
- } // class_exists check
122
add_action( 'black_studio_tinymce_editor', array( $this, 'editor' ), 10, 3 );
123
add_action( 'black_studio_tinymce_before_editor', array( $this, 'display_links' ) ); // consider donating if you remove links
124
add_filter( 'wp_editor_settings', array( $this, 'editor_settings' ), 10, 2 );
125
+ add_filter( 'tiny_mce_before_init', array( $this, 'tinymce_fix_rtl' ) );
126
do_action( 'black_studio_tinymce_load' );
127
}
128
}
156
*/
157
public function admin_print_styles() {
158
wp_enqueue_style( 'wp-jquery-ui-dialog' );
159
+ // wp_enqueue_style( 'editor-buttons' );
160
$this->enqueue_style();
161
}
162
186
* Enqueue header scripts
187
*
188
* @uses wp_enqueue_script()
189
* @uses do_action()
190
*
191
* @return void
249
/**
250
* Enqueue footer scripts
251
*
252
* @return void
253
* @since 2.0.0
254
*/
282
public function editor_settings( $settings, $editor_id ) {
283
if ( strstr( $editor_id, 'black-studio-tinymce' ) ) {
284
$settings['default_editor'] = 'tmce';
285
+ $settings['tinymce'] = array( 'wp_skip_init' => true, 'add_unload_trigger' => false );
286
$settings['editor_height'] = 350;
287
}
288
return $settings;
350
/**
351
* Show row meta on the plugin screen
352
*
353
+ * @uses esc_html()
354
+ * @uses esc_url()
355
+ *
356
* @param string[] $links
357
* @param string $file
358
* @return string[]
359
+ * @since 2.0.0
360
*/
361
public function plugin_row_meta( $links, $file ) {
362
if ( $file == bstw()->get_basename() ) {
367
return $links;
368
}
369
370
+ /**
371
+ * Fix for rtl languages
372
+ *
373
+ * @param mixed[] $settings
374
+ * @return mixed[]
375
+ * @since 2.1.0
376
+ */
377
+ public function tinymce_fix_rtl( $settings ) {
378
+ if ( is_rtl() && isset( $settings['plugins'] ) && ',directionality' == $settings['plugins'] ) {
379
+ unset( $settings['plugins'] );
380
+ }
381
+ return $settings;
382
+ }
383
+
384
} // END class Black_Studio_TinyMCE_Admin
385
386
+ } // END class_exists check
includes/class-compatibility-plugins.php CHANGED
@@ -73,7 +73,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility_Plugins' ) ) {
73
*/
74
public function wpml() {
75
add_filter( 'black_studio_tinymce_widget_update', array( $this, 'wpml_widget_update' ), 10, 2 );
76
- add_filter( 'widget_text', array( $this, 'wpml_widget_text' ), 5, 3 );
77
}
78
79
/**
@@ -99,7 +99,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility_Plugins' ) ) {
99
* @uses icl_t() Part of WPML
100
*
101
* @param string $text
102
- * @param mixed[] $instance
103
* @param object|null $widget
104
* @return string
105
* @since 2.0.0
@@ -357,4 +357,4 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility_Plugins' ) ) {
357
358
} // END class Black_Studio_TinyMCE_Compatibility_Plugins
359
360
- } // class_exists check
73
*/
74
public function wpml() {
75
add_filter( 'black_studio_tinymce_widget_update', array( $this, 'wpml_widget_update' ), 10, 2 );
76
+ add_filter( 'widget_text', array( $this, 'wpml_widget_text' ), 2, 3 );
77
}
78
79
/**
99
* @uses icl_t() Part of WPML
100
*
101
* @param string $text
102
+ * @param mixed[]|null $instance
103
* @param object|null $widget
104
* @return string
105
* @since 2.0.0
357
358
} // END class Black_Studio_TinyMCE_Compatibility_Plugins
359
360
+ } // END class_exists check
includes/class-compatibility-wordpress.php CHANGED
@@ -126,6 +126,8 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility_Wordpress' ) ) {
126
remove_action( 'admin_print_footer_scripts', array( $this, 'wp_pre_32_admin_print_footer_scripts' ) );
127
}
128
add_action( 'admin_print_footer_scripts', array( $this, 'wp_pre_33_admin_print_footer_scripts' ) );
129
}
130
}
131
@@ -346,4 +348,4 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility_Wordpress' ) ) {
346
347
} // END class Black_Studio_TinyMCE_Compatibility_Wordpress
348
349
- } // class_exists check
126
remove_action( 'admin_print_footer_scripts', array( $this, 'wp_pre_32_admin_print_footer_scripts' ) );
127
}
128
add_action( 'admin_print_footer_scripts', array( $this, 'wp_pre_33_admin_print_footer_scripts' ) );
129
+ remove_action( 'admin_print_scripts', array( bstw()->admin(), 'pointer_load' ) );
130
+ remove_filter( 'black_studio_tinymce_admin_pointers-widgets', array( bstw()->admin(), 'pointer_register' ) );
131
}
132
}
133
348
349
} // END class Black_Studio_TinyMCE_Compatibility_Wordpress
350
351
+ } // END class_exists check
includes/class-compatibility.php CHANGED
@@ -147,4 +147,4 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility' ) ) {
147
148
} // END class Black_Studio_TinyMCE_Compatibility
149
150
- } // class_exists check
147
148
} // END class Black_Studio_TinyMCE_Compatibility
149
150
+ } // END class_exists check
includes/class-text-filters.php CHANGED
@@ -122,18 +122,41 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Text_Filters' ) ) {
122
return $text;
123
}
124
125
/**
126
* Apply automatic paragraphs in widget text
127
*
128
* @uses wpautop()
129
*
130
* @param string $text
131
* @return string
132
* @since 2.0.0
133
*/
134
public function wpautop( $text, $instance = null, $widget = null ) {
135
if ( bstw()->check_widget( $widget ) && ! empty( $instance ) ) {
136
- $text = wpautop( $text );
137
}
138
return $text;
139
}
@@ -156,4 +179,4 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Text_Filters' ) ) {
156
157
} // END class Black_Studio_TinyMCE_Text_Filters
158
159
- } // class_exists check
122
return $text;
123
}
124
125
+ /**
126
+ * Check if automatic addition of paragraphs in widget text is needed
127
+ *
128
+ * @uses apply_filters()
129
+ *
130
+ * @param mixed[] $instance
131
+ * @return boolean
132
+ * @since 2.1.0
133
+ */
134
+ public function need_wpautop( $instance ) {
135
+ // Widgets created with previous plugin versions do not have the filter parameter set so we base the choice on the type parameter
136
+ $need_wpautop = $instance['type'] == 'visual';
137
+ if ( isset( $instance['filter'] ) ) {
138
+ $need_wpautop = $instance['filter'] == 1;
139
+ }
140
+ $need_wpautop = apply_filters( 'black_studio_tinymce_need_wpautop', $need_wpautop, $instance );
141
+ return $need_wpautop;
142
+ }
143
+
144
/**
145
* Apply automatic paragraphs in widget text
146
*
147
* @uses wpautop()
148
*
149
* @param string $text
150
+ * @param mixed[]|null $instance
151
+ * @param object|null $widget
152
* @return string
153
* @since 2.0.0
154
*/
155
public function wpautop( $text, $instance = null, $widget = null ) {
156
if ( bstw()->check_widget( $widget ) && ! empty( $instance ) ) {
157
+ if ( $this->need_wpautop( $instance ) ) {
158
+ $text = wpautop( $text );
159
+ }
160
}
161
return $text;
162
}
179
180
} // END class Black_Studio_TinyMCE_Text_Filters
181
182
+ } // END class_exists check
includes/class-widget.php CHANGED
@@ -84,6 +84,7 @@ if ( ! class_exists( 'WP_Widget_Black_Studio_TinyMCE' ) ) {
84
$instance['text'] = stripslashes( wp_filter_post_kses( addslashes( $new_instance['text'] ) ) ); // wp_filter_post_kses() expects slashed
85
}
86
$instance['type'] = strip_tags( $new_instance['type'] );
87
$instance = apply_filters( 'black_studio_tinymce_widget_update', $instance, $this );
88
return $instance;
89
}
@@ -107,6 +108,10 @@ if ( ! class_exists( 'WP_Widget_Black_Studio_TinyMCE' ) ) {
107
*/
108
public function form( $instance ) {
109
$instance = wp_parse_args( (array) $instance, array( 'title' => '', 'text' => '', 'type' => 'visual' ) );
110
$title = strip_tags( $instance['title'] );
111
do_action( 'black_studio_tinymce_before_editor' );
112
?>
@@ -116,8 +121,12 @@ if ( ! class_exists( 'WP_Widget_Black_Studio_TinyMCE' ) ) {
116
<?php
117
do_action( 'black_studio_tinymce_editor', $instance['text'], $this->get_field_id( 'text' ), $this->get_field_name( 'text' ), $instance['type'] );
118
do_action( 'black_studio_tinymce_after_editor' );
119
}
120
121
} // END class WP_Widget_Black_Studio_TinyMCE
122
123
- } // class_exists check
84
$instance['text'] = stripslashes( wp_filter_post_kses( addslashes( $new_instance['text'] ) ) ); // wp_filter_post_kses() expects slashed
85
}
86
$instance['type'] = strip_tags( $new_instance['type'] );
87
+ $instance['filter'] = strip_tags( $new_instance['filter'] );
88
$instance = apply_filters( 'black_studio_tinymce_widget_update', $instance, $this );
89
return $instance;
90
}
108
*/
109
public function form( $instance ) {
110
$instance = wp_parse_args( (array) $instance, array( 'title' => '', 'text' => '', 'type' => 'visual' ) );
111
+ // Guess (wpautop) filter value for widgets created with previous version
112
+ if ( ! isset( $instance['filter'] ) ) {
113
+ $instance['filter'] = $instance['type'] == 'visual'? 1 : 0;
114
+ }
115
$title = strip_tags( $instance['title'] );
116
do_action( 'black_studio_tinymce_before_editor' );
117
?>
121
<?php
122
do_action( 'black_studio_tinymce_editor', $instance['text'], $this->get_field_id( 'text' ), $this->get_field_name( 'text' ), $instance['type'] );
123
do_action( 'black_studio_tinymce_after_editor' );
124
+ ?>
125
+ <input id="<?php echo $this->get_field_id( 'filter' ); ?>-hidden" name="<?php echo $this->get_field_name( 'filter' ); ?>" type="hidden" value="0" />
126
+ <p><input id="<?php echo $this->get_field_id( 'filter' ); ?>" name="<?php echo $this->get_field_name( 'filter' ); ?>" type="checkbox" value="1" <?php checked( $instance['filter'] ); ?> />&nbsp;<label for="<?php echo $this->get_field_id( 'filter' ); ?>"><?php _e( 'Automatically add paragraphs' ); ?></label></p>
127
+ <?php
128
}
129
130
} // END class WP_Widget_Black_Studio_TinyMCE
131
132
+ } // END class_exists check
js/black-studio-tinymce-widget-pointer.js ADDED
@@ -0,0 +1,19 @@
1
+ /* Black Studio TinyMCE Widget - JS - Admin pointer */
2
+
3
+ /* global bstw_pointers, ajaxurl */
4
+
5
+ jQuery( document ).ready( function( $ ) {
6
+ bstw_open_pointers( 0 );
7
+ function bstw_open_pointers( i ) {
8
+ var pointer = bstw_pointers.pointers[i],
9
+ options = $.extend( pointer.options, {
10
+ close: function() {
11
+ $.post( ajaxurl, {
12
+ pointer: pointer.pointer_id,
13
+ action: 'dismiss-wp-pointer'
14
+ });
15
+ }
16
+ });
17
+ $( pointer.target ).pointer( options ).pointer( 'open' );
18
+ }
19
+ });
js/black-studio-tinymce-widget-pointer.min.js ADDED
@@ -0,0 +1,2 @@
1
+ /* Black Studio TinyMCE Widget - v2.1.0 */
2
+ jQuery(document).ready(function(a){function b(b){var c=bstw_pointers.pointers[b],d=a.extend(c.options,{close:function(){a.post(ajaxurl,{pointer:c.pointer_id,action:"dismiss-wp-pointer"})}});a(c.target).pointer(d).pointer("open")}b(0)});
js/black-studio-tinymce-widget-pre33.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /* Black Studio TinyMCE Widget - v2.0.4 */
2
!function(a){function b(c){var d=null;return"string"==typeof c?d=c:"object"==typeof c&&c instanceof jQuery&&(d=a("textarea[id^=widget-black-studio-tinymce]",c.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(a("#"+d).addClass("mceEditor"),"object"==typeof tinymce&&"function"==typeof tinymce.execCommand){this.deactivate();try{tinymce.execCommand("mceAddControl",!1,d)}catch(b){window.alert(b)}}return this},deactivate:function(){if("object"==typeof tinymce&&"function"==typeof tinymce.execCommand&&this.is_tinymce_active()){var b=tinymce.get(d).getContent();tinymce.get(d).remove(),a("#"+d).val(b)}return this},activate_after_open:function(){return"visual"===this.get_mode()&&(0===a("div.widget:has(#"+d+") :animated").size()&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_tinymce_active()?this.set_mode("visual"):setTimeout(function(){b(d).activate_after_open()},100)),this},activate_after_ajax:function(){return"visual"===this.get_mode()&&(0===a.active&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_widget_inside_visible()&&!this.is_tinymce_active()&&setTimeout(function(){b(d).activate_after_ajax()},100)),this},get_widget:function(){return a("#"+d).closest("div.widget")},get_widget_inside:function(){return a("#"+d).closest("div.widget-inside")},get_editor_wrap:function(){return a("#"+d).closest("div.wp-editor-wrap")},get_textarea:function(){return a("#"+d)},get_id:function(){return d},get_tinymce:function(){return tinymce.get(d)},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val()},set_mode:function(b){return"visual"===b&&(this.get_editor_wrap().removeClass("html-active").addClass("tmce-active"),this.activate()),"html"===b&&(this.get_editor_wrap().removeClass("tmce-active").addClass("html-active"),this.deactivate()),a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val(b),this},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(d)&&null!==tinymce.get(d)},is_textearea_visible:function(){return a("#"+d).is(":visible")},is_widget_inside_visible:function(){return a(" div.widget-inside:has(#"+d+")").is(":visible")},check_duplicates:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this},fix_css:function(){return this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},set_media_target:function(){return a(".insert-media",this.get_widget()).data("editor",d),this}}}a(document).ready(function(){a("div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] a.widget-action").live("click",function(){b(a(this)).check_duplicates().fix_css().set_media_target().activate_after_open(),a("input[name=savewidget]",b(a(this)).get_widget()).click(function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})})}),a("div.widget[id*=black-studio-tinymce] input[name=savewidget]").live("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),a("a[id^=widget-black-studio-tinymce][id$=tmce]").live("click",function(){b(a(this)).set_mode("visual")}),a("a[id^=widget-black-studio-tinymce][id$=html]").live("click",function(){b(a(this)).set_mode("html")}),a(".wp-media-buttons a").live("click",function(){edCanvas=b(a(this)).get_textarea().get(),wpActiveEditor=b(a(this)).get_id()}),a("body.widgets_access").size()>0&&b(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate_after_open(),a(".bstw-links-icon").live("click",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
1
+ /* Black Studio TinyMCE Widget - v2.1.0 */
2
!function(a){function b(c){var d=null;return"string"==typeof c?d=c:"object"==typeof c&&c instanceof jQuery&&(d=a("textarea[id^=widget-black-studio-tinymce]",c.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(a("#"+d).addClass("mceEditor"),"object"==typeof tinymce&&"function"==typeof tinymce.execCommand){this.deactivate();try{tinymce.execCommand("mceAddControl",!1,d)}catch(b){window.alert(b)}}return this},deactivate:function(){if("object"==typeof tinymce&&"function"==typeof tinymce.execCommand&&this.is_tinymce_active()){var b=tinymce.get(d).getContent();tinymce.get(d).remove(),a("#"+d).val(b)}return this},activate_after_open:function(){return"visual"===this.get_mode()&&(0===a("div.widget:has(#"+d+") :animated").size()&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_tinymce_active()?this.set_mode("visual"):setTimeout(function(){b(d).activate_after_open()},100)),this},activate_after_ajax:function(){return"visual"===this.get_mode()&&(0===a.active&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_widget_inside_visible()&&!this.is_tinymce_active()&&setTimeout(function(){b(d).activate_after_ajax()},100)),this},get_widget:function(){return a("#"+d).closest("div.widget")},get_widget_inside:function(){return a("#"+d).closest("div.widget-inside")},get_editor_wrap:function(){return a("#"+d).closest("div.wp-editor-wrap")},get_textarea:function(){return a("#"+d)},get_id:function(){return d},get_tinymce:function(){return tinymce.get(d)},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val()},set_mode:function(b){return"visual"===b&&(this.get_editor_wrap().removeClass("html-active").addClass("tmce-active"),this.activate()),"html"===b&&(this.get_editor_wrap().removeClass("tmce-active").addClass("html-active"),this.deactivate()),a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val(b),this},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(d)&&null!==tinymce.get(d)},is_textearea_visible:function(){return a("#"+d).is(":visible")},is_widget_inside_visible:function(){return a(" div.widget-inside:has(#"+d+")").is(":visible")},check_duplicates:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this},fix_css:function(){return this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},set_media_target:function(){return a(".insert-media",this.get_widget()).data("editor",d),this}}}a(document).ready(function(){a("div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] a.widget-action").live("click",function(){b(a(this)).check_duplicates().fix_css().set_media_target().activate_after_open(),a("input[name=savewidget]",b(a(this)).get_widget()).click(function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})})}),a("div.widget[id*=black-studio-tinymce] input[name=savewidget]").live("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),a("a[id^=widget-black-studio-tinymce][id$=tmce]").live("click",function(){b(a(this)).set_mode("visual")}),a("a[id^=widget-black-studio-tinymce][id$=html]").live("click",function(){b(a(this)).set_mode("html")}),a(".wp-media-buttons a").live("click",function(){edCanvas=b(a(this)).get_textarea().get(),wpActiveEditor=b(a(this)).get_id()}),a("body.widgets_access").size()>0&&b(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate_after_open(),a(".bstw-links-icon").live("click",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
js/black-studio-tinymce-widget-pre39.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /* Black Studio TinyMCE Widget - v2.0.4 */
2
!function(a){function b(c){var d=null;return"string"==typeof c?d=c:"object"==typeof c&&c instanceof jQuery&&(d=a("textarea[id^=widget-black-studio-tinymce]",c.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(a("#"+d).addClass("mceEditor"),"object"==typeof tinymce&&"function"==typeof tinymce.execCommand){this.deactivate(),tinyMCEPreInit.mceInit[d]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[d].selector="#"+d;try{tinymce.init(tinymce.extend({},tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[d])),tinymce.execCommand("mceAddControl",!1,d)}catch(b){window.alert(b)}this.is_tinymce_active()&&"function"==typeof tinymce.get(d).on&&tinymce.get(d).on("keyup change",function(){var b=tinymce.get(d).getContent();a("#"+d).val(b).change()})}return this},deactivate:function(){if("object"==typeof tinymce&&"function"==typeof tinymce.execCommand&&this.is_tinymce_active()){var b=tinymce.get(d).getContent();tinymce.get(d).remove(),a("#"+d).val(b)}return this},activate_after_open:function(){return"visual"===this.get_mode()&&(0===a("div.widget:has(#"+d+") :animated").size()&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_tinymce_active()?this.set_mode("visual"):setTimeout(function(){b(d).activate_after_open()},100)),this},activate_after_ajax:function(){return"visual"===this.get_mode()&&(0===a.active&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_widget_inside_visible()&&!this.is_tinymce_active()&&setTimeout(function(){b(d).activate_after_ajax()},100)),this},get_widget:function(){return a("#"+d).closest("div.widget")},get_widget_inside:function(){return a("#"+d).closest("div.widget-inside")},get_editor_wrap:function(){return a("#"+d).closest("div.wp-editor-wrap")},get_textarea:function(){return a("#"+d)},get_id:function(){return d},get_tinymce:function(){return tinymce.get(d)},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val()},set_mode:function(b){return"visual"===b&&(this.get_editor_wrap().removeClass("html-active").addClass("tmce-active"),this.activate()),"html"===b&&(this.get_editor_wrap().removeClass("tmce-active").addClass("html-active"),this.deactivate()),a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val(b),this},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(d)&&null!==tinymce.get(d)},is_textearea_visible:function(){return a("#"+d).is(":visible")},is_widget_inside_visible:function(){return a(" div.widget-inside:has(#"+d+")").is(":visible")},check_duplicates:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this},fix_css:function(){return this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},set_media_target:function(){return a(".insert-media",this.get_widget()).data("editor",d),this}}}a(document).ready(function(){a(document).on("click","div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] a.widget-action",function(){if(b(a(this)).check_duplicates().fix_css().set_media_target().activate_after_open(),a("input[name=savewidget]",b(a(this)).get_widget()).on("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),!a(this).parents("#available-widgets").length){var c,d=parseInt(a("input[name=widget-width]",b(a(this)).get_widget()).val(),10),e=a(window).width(),f=b(a(this)).get_widget().parent().width(),g=parseInt(a("#wpcontent").css("margin-left"),10),h=!("undefined"==typeof isRtl||!isRtl);d+g+30>e&&(c=b(a(this)).get_widget().closest("div.widget-liquid-right").length?h?"margin-right":"margin-left":h?"margin-left":"margin-right",a(b(a(this)).get_widget()).css(c,f-(e-30-g)+"px"))}}),a("div.widget[id*=black-studio-tinymce] input[name=savewidget]").on("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=tmce]",function(){b(a(this)).set_mode("visual")}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=html]",function(){b(a(this)).set_mode("html")}),a(document).on("widget-added",function(a,c){c.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),b(c).activate_after_open())}),a(document).on("click",".wp-media-buttons a",function(){window.wpActiveEditor=b(a(this)).get_id()}),a("body.widgets_access").size()>0&&b(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate_after_open(),a(document).on("click",".bstw-links-icon",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
1
+ /* Black Studio TinyMCE Widget - v2.1.0 */
2
!function(a){function b(c){var d=null;return"string"==typeof c?d=c:"object"==typeof c&&c instanceof jQuery&&(d=a("textarea[id^=widget-black-studio-tinymce]",c.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(a("#"+d).addClass("mceEditor"),"object"==typeof tinymce&&"function"==typeof tinymce.execCommand){this.deactivate(),tinyMCEPreInit.mceInit[d]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[d].selector="#"+d;try{tinymce.init(tinymce.extend({},tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[d])),tinymce.execCommand("mceAddControl",!1,d)}catch(b){window.alert(b)}this.is_tinymce_active()&&"function"==typeof tinymce.get(d).on&&tinymce.get(d).on("keyup change",function(){var b=tinymce.get(d).getContent();a("#"+d).val(b).change()})}return this},deactivate:function(){if("object"==typeof tinymce&&"function"==typeof tinymce.execCommand&&this.is_tinymce_active()){var b=tinymce.get(d).getContent();tinymce.get(d).remove(),a("#"+d).val(b)}return this},activate_after_open:function(){return"visual"===this.get_mode()&&(0===a("div.widget:has(#"+d+") :animated").size()&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_tinymce_active()?this.set_mode("visual"):setTimeout(function(){b(d).activate_after_open()},100)),this},activate_after_ajax:function(){return"visual"===this.get_mode()&&(0===a.active&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_widget_inside_visible()&&!this.is_tinymce_active()&&setTimeout(function(){b(d).activate_after_ajax()},100)),this},get_widget:function(){return a("#"+d).closest("div.widget")},get_widget_inside:function(){return a("#"+d).closest("div.widget-inside")},get_editor_wrap:function(){return a("#"+d).closest("div.wp-editor-wrap")},get_textarea:function(){return a("#"+d)},get_id:function(){return d},get_tinymce:function(){return tinymce.get(d)},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val()},set_mode:function(b){return"visual"===b&&(this.get_editor_wrap().removeClass("html-active").addClass("tmce-active"),this.activate()),"html"===b&&(this.get_editor_wrap().removeClass("tmce-active").addClass("html-active"),this.deactivate()),a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val(b),this},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(d)&&null!==tinymce.get(d)},is_textearea_visible:function(){return a("#"+d).is(":visible")},is_widget_inside_visible:function(){return a(" div.widget-inside:has(#"+d+")").is(":visible")},check_duplicates:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this},fix_css:function(){return this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},set_media_target:function(){return a(".insert-media",this.get_widget()).data("editor",d),this}}}a(document).ready(function(){a(document).on("click","div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] a.widget-action",function(){if(b(a(this)).check_duplicates().fix_css().set_media_target().activate_after_open(),a("input[name=savewidget]",b(a(this)).get_widget()).on("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),!a(this).parents("#available-widgets").length){var c,d=parseInt(a("input[name=widget-width]",b(a(this)).get_widget()).val(),10),e=a(window).width(),f=b(a(this)).get_widget().parent().width(),g=parseInt(a("#wpcontent").css("margin-left"),10),h=!("undefined"==typeof isRtl||!isRtl);d+g+30>e&&(c=b(a(this)).get_widget().closest("div.widget-liquid-right").length?h?"margin-right":"margin-left":h?"margin-left":"margin-right",a(b(a(this)).get_widget()).css(c,f-(e-30-g)+"px"))}}),a("div.widget[id*=black-studio-tinymce] input[name=savewidget]").on("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=tmce]",function(){b(a(this)).set_mode("visual")}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=html]",function(){b(a(this)).set_mode("html")}),a(document).on("widget-added",function(a,c){c.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),b(c).activate_after_open())}),a(document).on("click",".wp-media-buttons a",function(){window.wpActiveEditor=b(a(this)).get_id()}),a("body.widgets_access").size()>0&&b(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate_after_open(),a(document).on("click",".bstw-links-icon",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
js/black-studio-tinymce-widget.js CHANGED
@@ -17,7 +17,7 @@ var bstw;
17
}
18
// jQuery object initialization
19
else if ( typeof arg === 'object' && arg instanceof jQuery ) {
20
- id = $( 'textarea[id^=widget-black-studio-tinymce]', arg.closest( bstw_data.container_selectors ) ).attr( 'id' );
21
}
22
23
// Create and return instance
@@ -50,7 +50,7 @@ var bstw;
50
tinyMCEPreInit.mceInit[id].setup = function( ed ) {
51
// Real time preview (Theme customizer)
52
ed.on( 'keyup change', function() {
53
- var content = window.switchEditors.pre_wpautop( ed.getContent() );
54
$( '#' + id ).val( content ).change();
55
});
56
$( '#' + id ).addClass( 'active' ).removeClass( 'activating' );
@@ -89,7 +89,7 @@ var bstw;
89
// Update textarea content when in visual mode
90
update_content: function() {
91
if ( this.get_mode() === 'visual' ) {
92
- this.get_textarea().val( window.switchEditors.pre_wpautop( tinymce.get( id ).getContent() ) );
93
} else {
94
tinymce.get( id ).setContent( window.switchEditors.wpautop( this.get_textarea().val() ) );
95
}
@@ -136,6 +136,7 @@ var bstw;
136
return $( '#' + id );
137
},
138
139
is_tinymce_active: function() {
140
return 'object' === typeof tinymce && 'object' === typeof tinymce.get( id ) && null !== tinymce.get( id );
141
},
@@ -203,6 +204,9 @@ var bstw;
203
// Note: the save event handler is intentionally attached to the save button instead of document
204
// to let the the textarea content be updated before the ajax request starts
205
$( 'input[name=savewidget]', bstw( $( this ) ).get_widget() ).on( 'click', function() {
206
bstw( $( this ) ).update_content();
207
});
208
}
17
}
18
// jQuery object initialization
19
else if ( typeof arg === 'object' && arg instanceof jQuery ) {
20
+ id = $( 'textarea[id^=widget-black-studio-tinymce][id$=text]', arg.closest( bstw_data.container_selectors ) ).attr( 'id' );
21
}
22
23
// Create and return instance
50
tinyMCEPreInit.mceInit[id].setup = function( ed ) {
51
// Real time preview (Theme customizer)
52
ed.on( 'keyup change', function() {
53
+ var content = window.switchEditors.pre_wpautop( ed.save() );
54
$( '#' + id ).val( content ).change();
55
});
56
$( '#' + id ).addClass( 'active' ).removeClass( 'activating' );
89
// Update textarea content when in visual mode
90
update_content: function() {
91
if ( this.get_mode() === 'visual' ) {
92
+ this.get_textarea().val( window.switchEditors.pre_wpautop( tinymce.get( id ).save() ) );
93
} else {
94
tinymce.get( id ).setContent( window.switchEditors.wpautop( this.get_textarea().val() ) );
95
}
136
return $( '#' + id );
137
},
138
139
+ // Check if the tinymce instance is active
140
is_tinymce_active: function() {
141
return 'object' === typeof tinymce && 'object' === typeof tinymce.get( id ) && null !== tinymce.get( id );
142
},
204
// Note: the save event handler is intentionally attached to the save button instead of document
205
// to let the the textarea content be updated before the ajax request starts
206
$( 'input[name=savewidget]', bstw( $( this ) ).get_widget() ).on( 'click', function() {
207
+ var height = $( this ).closest( '.widget' ).find( '.wp-editor-wrap' ).height();
208
+ $( this ).closest( '.widget' ).find( '.wp-editor-wrap' ).height( height ).append( '<div class="bstw-loading"></div>' );
209
+ $( this ).closest( '.widget' ).find( '.bstw-loading' ).height( height ).show();
210
bstw( $( this ) ).update_content();
211
});
212
}
js/black-studio-tinymce-widget.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /* Black Studio TinyMCE Widget - v2.0.4 */
2
- var bstw;!function(a){bstw=function(b){var c=null;return"string"==typeof b?c=b:"object"==typeof b&&b instanceof jQuery&&(c=a("textarea[id^=widget-black-studio-tinymce]",b.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(!a("#"+c).hasClass("active")&&!a("#"+c).hasClass("activating")){if(a("#"+c).addClass("activating"),this.is_quicktags_configured()||(tinyMCEPreInit.qtInit[c]=tinyMCEPreInit.qtInit["black-studio-tinymce-widget"],tinyMCEPreInit.qtInit[c].id=c),!this.is_quicktags_active()){var b,d;b=QTags.instances,QTags.instances=[],quicktags(tinyMCEPreInit.qtInit[c]),QTags._buttonsInit(),d=QTags.instances[c],QTags.instances=b,QTags.instances[c]=d}this.is_tinymce_configured()||(tinyMCEPreInit.mceInit[c]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[c].selector="#"+c),this.is_tinymce_active()?a("#"+c).addClass("active").removeClass("activating"):(tinyMCEPreInit.mceInit[c].wpautop=!0,tinyMCEPreInit.mceInit[c].setup=function(b){b.on("keyup change",function(){var d=window.switchEditors.pre_wpautop(b.getContent());a("#"+c).val(d).change()}),a("#"+c).addClass("active").removeClass("activating")},this.go())}return this},deactivate:function(){return a("#"+c).hasClass("activating")||(this.is_tinymce_active()&&(this.update_content(),tinymce.get(c).remove()),this.is_tinymce_configured()&&delete tinyMCEPreInit.mceInit[c],this.is_quicktags_active()&&(a(".quicktags-toolbar",this.get_widget_inside()).remove(),delete QTags.instances[c]),this.is_quicktags_configured()&&delete tinyMCEPreInit.qtInit[c],a("#"+c).removeClass("active")),this},update_content:function(){return"visual"===this.get_mode()?this.get_textarea().val(window.switchEditors.pre_wpautop(tinymce.get(c).getContent())):tinymce.get(c).setContent(window.switchEditors.wpautop(this.get_textarea().val())),this},go:function(a){return"undefined"==typeof a&&(a=this.get_mode()),window.switchEditors.go(c,"visual"===a?"tmce":"html"),this},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val()},set_mode:function(b){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val(b),this},get_container:function(){return a("#"+c).closest(bstw_data.container_selectors)},get_widget:function(){return a("#"+c).closest("div.widget")},get_widget_inside:function(){return a("#"+c).closest("div.widget-inside")},get_textarea:function(){return a("#"+c)},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(c)&&null!==tinymce.get(c)},is_tinymce_configured:function(){return"undefined"!=typeof tinyMCEPreInit.mceInit[c]},is_quicktags_active:function(){return"object"==typeof QTags.instances[c]},is_quicktags_configured:function(){return"object"==typeof tinyMCEPreInit.qtInit[c]},prepare:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},responsive:function(){if(this.get_widget_inside().is(":visible")){var b,c=parseInt(a("input[name=widget-width]",this.get_widget()).val(),10),d=a(window).width(),e=this.get_widget().parent().width(),f=parseInt(a("#wpcontent").css("margin-left"),10),g=!("undefined"==typeof isRtl||!isRtl);c+f+30>d&&(b=this.get_widget().closest("div.widget-liquid-right").length?g?"margin-right":"margin-left":g?"margin-left":"margin-right",this.get_widget().css(b,e-(d-30-f)+"px"))}return this}}},a(document).ready(function(){a(document).on("click","div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] .widget-action",function(){a(this).parents("#available-widgets").length||(bstw(a(this)).prepare().responsive().activate(),a("input[name=savewidget]",bstw(a(this)).get_widget()).on("click",function(){bstw(a(this)).update_content()}))}),a(document).on("widget-added",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).activate())}),a(document).on("widget-updated",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).deactivate().activate())}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=tmce]",function(){bstw(a(this)).set_mode("visual")}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=html]",function(){bstw(a(this)).set_mode("html")}),a(document).on("click.wp-editor",".wp-editor-wrap",function(){this.id&&(window.wpActiveEditor=this.id.slice(3,-5))}),a(document).on("sortstart",function(b,c){var d=["body.wp-customizer .expanded > div[id*=black-studio-tinymce].widget",".widget-liquid-right div[id*=black-studio-tinymce].widget"];a(d.join(", ")).filter(":has(.widget-inside:visible)").each(function(){a(".widget-title",this).trigger("click"),bstw(a(this)).deactivate()}),c.item.is("[id*=black-studio-tinymce]")&&bstw(c.item.find("textarea[id^=widget-black-studio-tinymce]")).deactivate()}),a(document).on("sortstop",function(a,b){b.item.is("[id*=black-studio-tinymce]")&&bstw(b.item.find("textarea[id^=widget-black-studio-tinymce]")).activate()}),a(document).on("sortupdate",function(b,c){null!==b&&a(c.item).is(".ui-draggable")||(a("body").addClass("wait"),setTimeout(function(){a("textarea[id^=widget-black-studio-tinymce].active").each(function(){bstw(a(this)).deactivate()}),a("body").removeClass("wait")},500))}),"object"==typeof bstw_data.activate_events&&bstw_data.activate_events.length>0&&a(document).on(bstw_data.activate_events.join(" "),function(b){bstw(a(b.target)).activate()}),"object"==typeof bstw_data.deactivate_events&&bstw_data.deactivate_events.length>0&&a(document).on(bstw_data.deactivate_events.join(" "),function(b){bstw(a(b.target)).deactivate()}),a(window).resize(function(){a("textarea[id^=widget-black-studio-tinymce]").each(function(){bstw(a(this)).responsive()})}),a("body.widgets_access").size()>0&&bstw(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate(),bstw("widget-black-studio-tinymce-__i__-text").deactivate(),a(document).on("click",".bstw-links-icon",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
1
+ /* Black Studio TinyMCE Widget - v2.1.0 */
2
+ var bstw;!function(a){bstw=function(b){var c=null;return"string"==typeof b?c=b:"object"==typeof b&&b instanceof jQuery&&(c=a("textarea[id^=widget-black-studio-tinymce][id$=text]",b.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(!a("#"+c).hasClass("active")&&!a("#"+c).hasClass("activating")){if(a("#"+c).addClass("activating"),this.is_quicktags_configured()||(tinyMCEPreInit.qtInit[c]=tinyMCEPreInit.qtInit["black-studio-tinymce-widget"],tinyMCEPreInit.qtInit[c].id=c),!this.is_quicktags_active()){var b,d;b=QTags.instances,QTags.instances=[],quicktags(tinyMCEPreInit.qtInit[c]),QTags._buttonsInit(),d=QTags.instances[c],QTags.instances=b,QTags.instances[c]=d}this.is_tinymce_configured()||(tinyMCEPreInit.mceInit[c]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[c].selector="#"+c),this.is_tinymce_active()?a("#"+c).addClass("active").removeClass("activating"):(tinyMCEPreInit.mceInit[c].wpautop=!0,tinyMCEPreInit.mceInit[c].setup=function(b){b.on("keyup change",function(){var d=window.switchEditors.pre_wpautop(b.save());a("#"+c).val(d).change()}),a("#"+c).addClass("active").removeClass("activating")},this.go())}return this},deactivate:function(){return a("#"+c).hasClass("activating")||(this.is_tinymce_active()&&(this.update_content(),tinymce.get(c).remove()),this.is_tinymce_configured()&&delete tinyMCEPreInit.mceInit[c],this.is_quicktags_active()&&(a(".quicktags-toolbar",this.get_widget_inside()).remove(),delete QTags.instances[c]),this.is_quicktags_configured()&&delete tinyMCEPreInit.qtInit[c],a("#"+c).removeClass("active")),this},update_content:function(){return"visual"===this.get_mode()?this.get_textarea().val(window.switchEditors.pre_wpautop(tinymce.get(c).save())):tinymce.get(c).setContent(window.switchEditors.wpautop(this.get_textarea().val())),this},go:function(a){return"undefined"==typeof a&&(a=this.get_mode()),window.switchEditors.go(c,"visual"===a?"tmce":"html"),this},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val()},set_mode:function(b){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val(b),this},get_container:function(){return a("#"+c).closest(bstw_data.container_selectors)},get_widget:function(){return a("#"+c).closest("div.widget")},get_widget_inside:function(){return a("#"+c).closest("div.widget-inside")},get_textarea:function(){return a("#"+c)},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(c)&&null!==tinymce.get(c)},is_tinymce_configured:function(){return"undefined"!=typeof tinyMCEPreInit.mceInit[c]},is_quicktags_active:function(){return"object"==typeof QTags.instances[c]},is_quicktags_configured:function(){return"object"==typeof tinyMCEPreInit.qtInit[c]},prepare:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},responsive:function(){if(this.get_widget_inside().is(":visible")){var b,c=parseInt(a("input[name=widget-width]",this.get_widget()).val(),10),d=a(window).width(),e=this.get_widget().parent().width(),f=parseInt(a("#wpcontent").css("margin-left"),10),g=!("undefined"==typeof isRtl||!isRtl);c+f+30>d&&(b=this.get_widget().closest("div.widget-liquid-right").length?g?"margin-right":"margin-left":g?"margin-left":"margin-right",this.get_widget().css(b,e-(d-30-f)+"px"))}return this}}},a(document).ready(function(){a(document).on("click","div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] .widget-action",function(){a(this).parents("#available-widgets").length||(bstw(a(this)).prepare().responsive().activate(),a("input[name=savewidget]",bstw(a(this)).get_widget()).on("click",function(){var b=a(this).closest(".widget").find(".wp-editor-wrap").height();a(this).closest(".widget").find(".wp-editor-wrap").height(b).append('<div class="bstw-loading"></div>'),a(this).closest(".widget").find(".bstw-loading").height(b).show(),bstw(a(this)).update_content()}))}),a(document).on("widget-added",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).activate())}),a(document).on("widget-updated",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).deactivate().activate())}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=tmce]",function(){bstw(a(this)).set_mode("visual")}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=html]",function(){bstw(a(this)).set_mode("html")}),a(document).on("click.wp-editor",".wp-editor-wrap",function(){this.id&&(window.wpActiveEditor=this.id.slice(3,-5))}),a(document).on("sortstart",function(b,c){var d=["body.wp-customizer .expanded > div[id*=black-studio-tinymce].widget",".widget-liquid-right div[id*=black-studio-tinymce].widget"];a(d.join(", ")).filter(":has(.widget-inside:visible)").each(function(){a(".widget-title",this).trigger("click"),bstw(a(this)).deactivate()}),c.item.is("[id*=black-studio-tinymce]")&&bstw(c.item.find("textarea[id^=widget-black-studio-tinymce]")).deactivate()}),a(document).on("sortstop",function(a,b){b.item.is("[id*=black-studio-tinymce]")&&bstw(b.item.find("textarea[id^=widget-black-studio-tinymce]")).activate()}),a(document).on("sortupdate",function(b,c){null!==b&&a(c.item).is(".ui-draggable")||(a("body").addClass("wait"),setTimeout(function(){a("textarea[id^=widget-black-studio-tinymce].active").each(function(){bstw(a(this)).deactivate()}),a("body").removeClass("wait")},500))}),"object"==typeof bstw_data.activate_events&&bstw_data.activate_events.length>0&&a(document).on(bstw_data.activate_events.join(" "),function(b){bstw(a(b.target)).activate()}),"object"==typeof bstw_data.deactivate_events&&bstw_data.deactivate_events.length>0&&a(document).on(bstw_data.deactivate_events.join(" "),function(b){bstw(a(b.target)).deactivate()}),a(window).resize(function(){a("textarea[id^=widget-black-studio-tinymce]").each(function(){bstw(a(this)).responsive()})}),a("body.widgets_access").size()>0&&bstw(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate(),bstw("widget-black-studio-tinymce-__i__-text").deactivate(),a(document).on("click",".bstw-links-icon",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
js/wp-page-widget.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /* Black Studio TinyMCE Widget - v2.0.4 */
2
!function(a){a(document).ready(function(){a(document).on("click","#pw-sidebars-customize div[id*=black-studio-tinymce].widget input.widget-control-save",function(){a(this).unbind("ajaxSuccess").ajaxSuccess(function(){a(this).trigger("widget-updated",[bstw(a(this)).get_widget()]).unbind("ajaxSuccess")})}),a(document).on("click","#pw-sidebars-customize div[id*=black-studio-tinymce].widget .widget-title",function(){var b=bstw(a(this)).get_textarea();b.hasClass("active")&&(bstw(a(this)).deactivate(),a(this).trigger("widget-added",[bstw(a(this)).get_widget()]))})})}(jQuery);
1
+ /* Black Studio TinyMCE Widget - v2.1.0 */
2
!function(a){a(document).ready(function(){a(document).on("click","#pw-sidebars-customize div[id*=black-studio-tinymce].widget input.widget-control-save",function(){a(this).unbind("ajaxSuccess").ajaxSuccess(function(){a(this).trigger("widget-updated",[bstw(a(this)).get_widget()]).unbind("ajaxSuccess")})}),a(document).on("click","#pw-sidebars-customize div[id*=black-studio-tinymce].widget .widget-title",function(){var b=bstw(a(this)).get_textarea();b.hasClass("active")&&(bstw(a(this)).deactivate(),a(this).trigger("widget-added",[bstw(a(this)).get_widget()]))})})}(jQuery);
languages/black-studio-tinymce-widget-ca.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-ca.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Catalan (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ca/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 22:25:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 22:24+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Catalan (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ca/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
languages/black-studio-tinymce-widget-da_DK.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-da_DK.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Danish (Denmark) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/da_DK/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
@@ -67,6 +75,13 @@ msgstr "Doner"
67
msgid "About Black Studio TinyMCE Widget plugin"
68
msgstr ""
69
70
#. translators: title of the widget
71
#: includes/class-widget.php:28
72
msgid "Visual Editor"
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Danish (Denmark) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/da_DK/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
75
msgid "About Black Studio TinyMCE Widget plugin"
76
msgstr ""
77
78
+ #. translators: text for the dismissable admin pointer tooltip
79
+ #: includes/class-admin.php:428
80
+ msgid ""
81
+ "The Visual Editor widget allows you to insert rich text and media objects in"
82
+ " your sidebars"
83
+ msgstr ""
84
+
85
#. translators: title of the widget
86
#: includes/class-widget.php:28
87
msgid "Visual Editor"
languages/black-studio-tinymce-widget-de_DE.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-de_DE.po CHANGED
@@ -1,13 +1,14 @@
1
# Copyright (C) 2014 Black Studio
2
# This file is distributed under the GPLv3.
3
# Translators:
4
# marcochiesi <marco@blackstudio.it>, 2014
5
msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: German (Germany) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/de_DE/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +26,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
@@ -67,6 +76,13 @@ msgstr "Spende"
67
msgid "About Black Studio TinyMCE Widget plugin"
68
msgstr ""
69
70
#. translators: title of the widget
71
#: includes/class-widget.php:28
72
msgid "Visual Editor"
@@ -81,4 +97,4 @@ msgstr "Normaler Text oder HTML mit Editor"
81
msgid ""
82
"Adds a new \"Visual Editor\" widget type based on the native WordPress "
83
"TinyMCE editor."
84
- msgstr ""
1
# Copyright (C) 2014 Black Studio
2
# This file is distributed under the GPLv3.
3
# Translators:
4
+ # Christian Foellmann <foellmann@foe-services.de>, 2014
5
# marcochiesi <marco@blackstudio.it>, 2014
6
msgid ""
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
11
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: German (Germany) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/de_DE/)\n"
14
"MIME-Version: 1.0\n"
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
+ #. translators: error message shown when multiple instance of the plugin are
30
+ #. detected
31
+ #: black-studio-tinymce-widget.php:260
32
+ msgid ""
33
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
34
+ "detected. Please activate only one instance at a time."
35
+ msgstr ""
36
+
37
#. translators: error message shown when a duplicated widget ID is detected
38
#: includes/class-admin.php:245
39
msgid ""
76
msgid "About Black Studio TinyMCE Widget plugin"
77
msgstr ""
78
79
+ #. translators: text for the dismissable admin pointer tooltip
80
+ #: includes/class-admin.php:428
81
+ msgid ""
82
+ "The Visual Editor widget allows you to insert rich text and media objects in"
83
+ " your sidebars"
84
+ msgstr ""
85
+
86
#. translators: title of the widget
87
#: includes/class-widget.php:28
88
msgid "Visual Editor"
97
msgid ""
98
"Adds a new \"Visual Editor\" widget type based on the native WordPress "
99
"TinyMCE editor."
100
+ msgstr "Ein \"Visual Editor\" Widget basierend auf dem nativen WordPress TinyMCE editor"
languages/black-studio-tinymce-widget-el.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-el.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Greek (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/el/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
@@ -67,6 +75,13 @@ msgstr "Δωρεά"
67
msgid "About Black Studio TinyMCE Widget plugin"
68
msgstr ""
69
70
#. translators: title of the widget
71
#: includes/class-widget.php:28
72
msgid "Visual Editor"
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Greek (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/el/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
75
msgid "About Black Studio TinyMCE Widget plugin"
76
msgstr ""
77
78
+ #. translators: text for the dismissable admin pointer tooltip
79
+ #: includes/class-admin.php:428
80
+ msgid ""
81
+ "The Visual Editor widget allows you to insert rich text and media objects in"
82
+ " your sidebars"
83
+ msgstr ""
84
+
85
#. translators: title of the widget
86
#: includes/class-widget.php:28
87
msgid "Visual Editor"
languages/black-studio-tinymce-widget-en_GB.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-en_GB.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-06 00:00+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/en_GB/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,45 +25,60 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
- #: includes/class-admin.php:245
30
msgid ""
31
"ERROR: Duplicate widget ID detected. To avoid content loss, please create a "
32
"new widget with the same content and then delete this one."
33
msgstr "ERROR: Duplicate widget ID detected. To avoid content loss, please create a new widget with the same content and then delete this one."
34
35
#. translators: text used for plugin home link
36
- #: includes/class-admin.php:319
37
msgid "Home"
38
msgstr "Home"
39
40
#. translators: text used for support faq link
41
- #: includes/class-admin.php:321
42
msgid "FAQ"
43
msgstr "FAQ"
44
45
#. translators: text used for support forum link
46
- #: includes/class-admin.php:323
47
msgid "Support"
48
msgstr "Support"
49
50
#. translators: text used for reviews link
51
- #: includes/class-admin.php:325
52
msgid "Rate"
53
msgstr "Rate"
54
55
#. translators: text used for follow on twitter link
56
- #: includes/class-admin.php:327
57
msgid "Follow"
58
msgstr "Follow"
59
60
#. translators: text used for donation link
61
- #: includes/class-admin.php:329
62
msgid "Donate"
63
msgstr "Donate"
64
65
#. translators: text used for the icon that shows the plugin links
66
- #: includes/class-admin.php:349
67
msgid "About Black Studio TinyMCE Widget plugin"
68
msgstr "About Black Studio TinyMCE Widget plugin"
69
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-13 01:02:36+00:00\n"
10
+ "PO-Revision-Date: 2014-10-13 00:01+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/en_GB/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:280
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were detected. Please activate only one instance at a time."
35
+
36
+ #. translators: text for the dismissable admin pointer tooltip
37
+ #: includes/class-admin-pointer.php:167
38
+ msgid ""
39
+ "The Visual Editor widget allows you to insert rich text and media objects in"
40
+ " your sidebars"
41
+ msgstr "The Visual Editor widget allows you to insert rich text and media objects in your sidebars"
42
+
43
#. translators: error message shown when a duplicated widget ID is detected
44
+ #: includes/class-admin.php:243
45
msgid ""
46
"ERROR: Duplicate widget ID detected. To avoid content loss, please create a "
47
"new widget with the same content and then delete this one."
48
msgstr "ERROR: Duplicate widget ID detected. To avoid content loss, please create a new widget with the same content and then delete this one."
49
50
#. translators: text used for plugin home link
51
+ #: includes/class-admin.php:315
52
msgid "Home"
53
msgstr "Home"
54
55
#. translators: text used for support faq link
56
+ #: includes/class-admin.php:317
57
msgid "FAQ"
58
msgstr "FAQ"
59
60
#. translators: text used for support forum link
61
+ #: includes/class-admin.php:319
62
msgid "Support"
63
msgstr "Support"
64
65
#. translators: text used for reviews link
66
+ #: includes/class-admin.php:321
67
msgid "Rate"
68
msgstr "Rate"
69
70
#. translators: text used for follow on twitter link
71
+ #: includes/class-admin.php:323
72
msgid "Follow"
73
msgstr "Follow"
74
75
#. translators: text used for donation link
76
+ #: includes/class-admin.php:325
77
msgid "Donate"
78
msgstr "Donate"
79
80
#. translators: text used for the icon that shows the plugin links
81
+ #: includes/class-admin.php:345
82
msgid "About Black Studio TinyMCE Widget plugin"
83
msgstr "About Black Studio TinyMCE Widget plugin"
84
languages/black-studio-tinymce-widget-es_ES.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-es_ES.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
11
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Spanish (Spain) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/es_ES/)\n"
14
"MIME-Version: 1.0\n"
@@ -26,6 +26,14 @@ msgstr ""
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
#. translators: error message shown when a duplicated widget ID is detected
30
#: includes/class-admin.php:245
31
msgid ""
@@ -68,6 +76,13 @@ msgstr "Donación"
68
msgid "About Black Studio TinyMCE Widget plugin"
69
msgstr ""
70
71
#. translators: title of the widget
72
#: includes/class-widget.php:28
73
msgid "Visual Editor"
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
11
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Spanish (Spain) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/es_ES/)\n"
14
"MIME-Version: 1.0\n"
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
+ #. translators: error message shown when multiple instance of the plugin are
30
+ #. detected
31
+ #: black-studio-tinymce-widget.php:260
32
+ msgid ""
33
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
34
+ "detected. Please activate only one instance at a time."
35
+ msgstr ""
36
+
37
#. translators: error message shown when a duplicated widget ID is detected
38
#: includes/class-admin.php:245
39
msgid ""
76
msgid "About Black Studio TinyMCE Widget plugin"
77
msgstr ""
78
79
+ #. translators: text for the dismissable admin pointer tooltip
80
+ #: includes/class-admin.php:428
81
+ msgid ""
82
+ "The Visual Editor widget allows you to insert rich text and media objects in"
83
+ " your sidebars"
84
+ msgstr ""
85
+
86
#. translators: title of the widget
87
#: includes/class-widget.php:28
88
msgid "Visual Editor"
languages/black-studio-tinymce-widget-fi.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-fi.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
11
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Finnish (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/fi/)\n"
14
"MIME-Version: 1.0\n"
@@ -26,6 +26,14 @@ msgstr ""
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
#. translators: error message shown when a duplicated widget ID is detected
30
#: includes/class-admin.php:245
31
msgid ""
@@ -68,6 +76,13 @@ msgstr "Lahjoita"
68
msgid "About Black Studio TinyMCE Widget plugin"
69
msgstr ""
70
71
#. translators: title of the widget
72
#: includes/class-widget.php:28
73
msgid "Visual Editor"
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
11
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Finnish (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/fi/)\n"
14
"MIME-Version: 1.0\n"
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
+ #. translators: error message shown when multiple instance of the plugin are
30
+ #. detected
31
+ #: black-studio-tinymce-widget.php:260
32
+ msgid ""
33
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
34
+ "detected. Please activate only one instance at a time."
35
+ msgstr ""
36
+
37
#. translators: error message shown when a duplicated widget ID is detected
38
#: includes/class-admin.php:245
39
msgid ""
76
msgid "About Black Studio TinyMCE Widget plugin"
77
msgstr ""
78
79
+ #. translators: text for the dismissable admin pointer tooltip
80
+ #: includes/class-admin.php:428
81
+ msgid ""
82
+ "The Visual Editor widget allows you to insert rich text and media objects in"
83
+ " your sidebars"
84
+ msgstr ""
85
+
86
#. translators: title of the widget
87
#: includes/class-widget.php:28
88
msgid "Visual Editor"
languages/black-studio-tinymce-widget-fr_FR.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-fr_FR.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
11
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: French (France) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/fr_FR/)\n"
14
"MIME-Version: 1.0\n"
@@ -26,6 +26,14 @@ msgstr ""
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
#. translators: error message shown when a duplicated widget ID is detected
30
#: includes/class-admin.php:245
31
msgid ""
@@ -68,6 +76,13 @@ msgstr "Don"
68
msgid "About Black Studio TinyMCE Widget plugin"
69
msgstr "À propos de l'extension Black Studio TinyMCE Widget"
70
71
#. translators: title of the widget
72
#: includes/class-widget.php:28
73
msgid "Visual Editor"
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
11
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: French (France) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/fr_FR/)\n"
14
"MIME-Version: 1.0\n"
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
+ #. translators: error message shown when multiple instance of the plugin are
30
+ #. detected
31
+ #: black-studio-tinymce-widget.php:260
32
+ msgid ""
33
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
34
+ "detected. Please activate only one instance at a time."
35
+ msgstr ""
36
+
37
#. translators: error message shown when a duplicated widget ID is detected
38
#: includes/class-admin.php:245
39
msgid ""
76
msgid "About Black Studio TinyMCE Widget plugin"
77
msgstr "À propos de l'extension Black Studio TinyMCE Widget"
78
79
+ #. translators: text for the dismissable admin pointer tooltip
80
+ #: includes/class-admin.php:428
81
+ msgid ""
82
+ "The Visual Editor widget allows you to insert rich text and media objects in"
83
+ " your sidebars"
84
+ msgstr ""
85
+
86
#. translators: title of the widget
87
#: includes/class-widget.php:28
88
msgid "Visual Editor"
languages/black-studio-tinymce-widget-it_IT.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-it_IT.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-06 00:00+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Italian (Italy) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/it_IT/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,45 +25,60 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
- #: includes/class-admin.php:245
30
msgid ""
31
"ERROR: Duplicate widget ID detected. To avoid content loss, please create a "
32
"new widget with the same content and then delete this one."
33
msgstr "ERRORE: Rilevato un widget con ID duplicato. Per evitare perdite di dati, si consiglia di creare un nuovo widget con il medesimo contenuto e successivamente cancellare questo."
34
35
#. translators: text used for plugin home link
36
- #: includes/class-admin.php:319
37
msgid "Home"
38
msgstr "Home"
39
40
#. translators: text used for support faq link
41
- #: includes/class-admin.php:321
42
msgid "FAQ"
43
msgstr "FAQ"
44
45
#. translators: text used for support forum link
46
- #: includes/class-admin.php:323
47
msgid "Support"
48
msgstr "Supporto"
49
50
#. translators: text used for reviews link
51
- #: includes/class-admin.php:325
52
msgid "Rate"
53
msgstr "Vota"
54
55
#. translators: text used for follow on twitter link
56
- #: includes/class-admin.php:327
57
msgid "Follow"
58
msgstr "Seguici"
59
60
#. translators: text used for donation link
61
- #: includes/class-admin.php:329
62
msgid "Donate"
63
msgstr "Donazione"
64
65
#. translators: text used for the icon that shows the plugin links
66
- #: includes/class-admin.php:349
67
msgid "About Black Studio TinyMCE Widget plugin"
68
msgstr "Info sul plugin Black Studio TinyMCE Widget"
69
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-13 01:02:36+00:00\n"
10
+ "PO-Revision-Date: 2014-10-13 00:01+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Italian (Italy) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/it_IT/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:280
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr "ERRORE: Rilevate istanze multiple del plugin Black Studio TinyMCE Widget. Si raccomanda di attivare una sola istanza del plugin per volta."
35
+
36
+ #. translators: text for the dismissable admin pointer tooltip
37
+ #: includes/class-admin-pointer.php:167
38
+ msgid ""
39
+ "The Visual Editor widget allows you to insert rich text and media objects in"
40
+ " your sidebars"
41
+ msgstr "Il widget Editor Visuale vi permette di inserire testo formattato e oggetti multimediali nelle vostre sidebar"
42
+
43
#. translators: error message shown when a duplicated widget ID is detected
44
+ #: includes/class-admin.php:243
45
msgid ""
46
"ERROR: Duplicate widget ID detected. To avoid content loss, please create a "
47
"new widget with the same content and then delete this one."
48
msgstr "ERRORE: Rilevato un widget con ID duplicato. Per evitare perdite di dati, si consiglia di creare un nuovo widget con il medesimo contenuto e successivamente cancellare questo."
49
50
#. translators: text used for plugin home link
51
+ #: includes/class-admin.php:315
52
msgid "Home"
53
msgstr "Home"
54
55
#. translators: text used for support faq link
56
+ #: includes/class-admin.php:317
57
msgid "FAQ"
58
msgstr "FAQ"
59
60
#. translators: text used for support forum link
61
+ #: includes/class-admin.php:319
62
msgid "Support"
63
msgstr "Supporto"
64
65
#. translators: text used for reviews link
66
+ #: includes/class-admin.php:321
67
msgid "Rate"
68
msgstr "Vota"
69
70
#. translators: text used for follow on twitter link
71
+ #: includes/class-admin.php:323
72
msgid "Follow"
73
msgstr "Seguici"
74
75
#. translators: text used for donation link
76
+ #: includes/class-admin.php:325
77
msgid "Donate"
78
msgstr "Donazione"
79
80
#. translators: text used for the icon that shows the plugin links
81
+ #: includes/class-admin.php:345
82
msgid "About Black Studio TinyMCE Widget plugin"
83
msgstr "Info sul plugin Black Studio TinyMCE Widget"
84
languages/black-studio-tinymce-widget-ja.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-ja.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Japanese (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ja/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 22:25:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 22:24+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Japanese (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ja/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
languages/black-studio-tinymce-widget-ko_KR.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-ko_KR.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Korean (Korea) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ko_KR/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 22:25:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 22:24+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Korean (Korea) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ko_KR/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
languages/black-studio-tinymce-widget-nl_NL.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-nl_NL.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
11
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/nl_NL/)\n"
14
"MIME-Version: 1.0\n"
@@ -26,6 +26,14 @@ msgstr ""
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
#. translators: error message shown when a duplicated widget ID is detected
30
#: includes/class-admin.php:245
31
msgid ""
@@ -68,6 +76,13 @@ msgstr "Doneren"
68
msgid "About Black Studio TinyMCE Widget plugin"
69
msgstr ""
70
71
#. translators: title of the widget
72
#: includes/class-widget.php:28
73
msgid "Visual Editor"
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
11
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/nl_NL/)\n"
14
"MIME-Version: 1.0\n"
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
+ #. translators: error message shown when multiple instance of the plugin are
30
+ #. detected
31
+ #: black-studio-tinymce-widget.php:260
32
+ msgid ""
33
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
34
+ "detected. Please activate only one instance at a time."
35
+ msgstr ""
36
+
37
#. translators: error message shown when a duplicated widget ID is detected
38
#: includes/class-admin.php:245
39
msgid ""
76
msgid "About Black Studio TinyMCE Widget plugin"
77
msgstr ""
78
79
+ #. translators: text for the dismissable admin pointer tooltip
80
+ #: includes/class-admin.php:428
81
+ msgid ""
82
+ "The Visual Editor widget allows you to insert rich text and media objects in"
83
+ " your sidebars"
84
+ msgstr ""
85
+
86
#. translators: title of the widget
87
#: includes/class-widget.php:28
88
msgid "Visual Editor"
languages/black-studio-tinymce-widget-pl_PL.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-pl_PL.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Polish (Poland) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/pl_PL/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 22:25:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 22:24+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Polish (Poland) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/pl_PL/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
languages/black-studio-tinymce-widget-pt_BR.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-pt_BR.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/pt_BR/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
@@ -67,6 +75,13 @@ msgstr "Doar"
67
msgid "About Black Studio TinyMCE Widget plugin"
68
msgstr ""
69
70
#. translators: title of the widget
71
#: includes/class-widget.php:28
72
msgid "Visual Editor"
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/pt_BR/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
75
msgid "About Black Studio TinyMCE Widget plugin"
76
msgstr ""
77
78
+ #. translators: text for the dismissable admin pointer tooltip
79
+ #: includes/class-admin.php:428
80
+ msgid ""
81
+ "The Visual Editor widget allows you to insert rich text and media objects in"
82
+ " your sidebars"
83
+ msgstr ""
84
+
85
#. translators: title of the widget
86
#: includes/class-widget.php:28
87
msgid "Visual Editor"
languages/black-studio-tinymce-widget-ro_RO.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-ro_RO.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Romanian (Romania) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ro_RO/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 22:25:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 22:24+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Romanian (Romania) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ro_RO/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
languages/black-studio-tinymce-widget-ru_RU.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-ru_RU.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-06 03:10+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Russian (Russia) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ru_RU/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 22:25:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 22:24+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Russian (Russia) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/ru_RU/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
languages/black-studio-tinymce-widget-sk_SK.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-sk_SK.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
11
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Slovak (Slovakia) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/sk_SK/)\n"
14
"MIME-Version: 1.0\n"
@@ -26,6 +26,14 @@ msgstr ""
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
#. translators: error message shown when a duplicated widget ID is detected
30
#: includes/class-admin.php:245
31
msgid ""
@@ -68,6 +76,13 @@ msgstr "Darovať"
68
msgid "About Black Studio TinyMCE Widget plugin"
69
msgstr ""
70
71
#. translators: title of the widget
72
#: includes/class-widget.php:28
73
msgid "Visual Editor"
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
11
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Slovak (Slovakia) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/sk_SK/)\n"
14
"MIME-Version: 1.0\n"
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
+ #. translators: error message shown when multiple instance of the plugin are
30
+ #. detected
31
+ #: black-studio-tinymce-widget.php:260
32
+ msgid ""
33
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
34
+ "detected. Please activate only one instance at a time."
35
+ msgstr ""
36
+
37
#. translators: error message shown when a duplicated widget ID is detected
38
#: includes/class-admin.php:245
39
msgid ""
76
msgid "About Black Studio TinyMCE Widget plugin"
77
msgstr ""
78
79
+ #. translators: text for the dismissable admin pointer tooltip
80
+ #: includes/class-admin.php:428
81
+ msgid ""
82
+ "The Visual Editor widget allows you to insert rich text and media objects in"
83
+ " your sidebars"
84
+ msgstr ""
85
+
86
#. translators: title of the widget
87
#: includes/class-widget.php:28
88
msgid "Visual Editor"
languages/black-studio-tinymce-widget-sv_SE.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-sv_SE.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Swedish (Sweden) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/sv_SE/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
@@ -67,6 +75,13 @@ msgstr "Donation"
67
msgid "About Black Studio TinyMCE Widget plugin"
68
msgstr ""
69
70
#. translators: title of the widget
71
#: includes/class-widget.php:28
72
msgid "Visual Editor"
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Swedish (Sweden) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/sv_SE/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
75
msgid "About Black Studio TinyMCE Widget plugin"
76
msgstr ""
77
78
+ #. translators: text for the dismissable admin pointer tooltip
79
+ #: includes/class-admin.php:428
80
+ msgid ""
81
+ "The Visual Editor widget allows you to insert rich text and media objects in"
82
+ " your sidebars"
83
+ msgstr ""
84
+
85
#. translators: title of the widget
86
#: includes/class-widget.php:28
87
msgid "Visual Editor"
languages/black-studio-tinymce-widget-tr_TR.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-tr_TR.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Turkish (Turkey) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/tr_TR/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
@@ -67,6 +75,13 @@ msgstr "Bağışta Bulunun"
67
msgid "About Black Studio TinyMCE Widget plugin"
68
msgstr ""
69
70
#. translators: title of the widget
71
#: includes/class-widget.php:28
72
msgid "Visual Editor"
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Turkish (Turkey) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/tr_TR/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
75
msgid "About Black Studio TinyMCE Widget plugin"
76
msgstr ""
77
78
+ #. translators: text for the dismissable admin pointer tooltip
79
+ #: includes/class-admin.php:428
80
+ msgid ""
81
+ "The Visual Editor widget allows you to insert rich text and media objects in"
82
+ " your sidebars"
83
+ msgstr ""
84
+
85
#. translators: title of the widget
86
#: includes/class-widget.php:28
87
msgid "Visual Editor"
languages/black-studio-tinymce-widget-uk.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-uk.po CHANGED
@@ -6,8 +6,8 @@ msgid ""
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
10
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Ukrainian (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/uk/)\n"
13
"MIME-Version: 1.0\n"
@@ -25,6 +25,14 @@ msgstr ""
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
#. translators: error message shown when a duplicated widget ID is detected
29
#: includes/class-admin.php:245
30
msgid ""
@@ -67,6 +75,13 @@ msgstr "Жертвувати"
67
msgid "About Black Studio TinyMCE Widget plugin"
68
msgstr ""
69
70
#. translators: title of the widget
71
#: includes/class-widget.php:28
72
msgid "Visual Editor"
6
msgstr ""
7
"Project-Id-Version: Black Studio TinyMCE Widget\n"
8
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
9
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
10
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
11
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
12
"Language-Team: Ukrainian (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/uk/)\n"
13
"MIME-Version: 1.0\n"
25
"X-Poedit-SourceCharset: utf-8\n"
26
"X-Textdomain-Support: yes\n"
27
28
+ #. translators: error message shown when multiple instance of the plugin are
29
+ #. detected
30
+ #: black-studio-tinymce-widget.php:260
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
#. translators: error message shown when a duplicated widget ID is detected
37
#: includes/class-admin.php:245
38
msgid ""
75
msgid "About Black Studio TinyMCE Widget plugin"
76
msgstr ""
77
78
+ #. translators: text for the dismissable admin pointer tooltip
79
+ #: includes/class-admin.php:428
80
+ msgid ""
81
+ "The Visual Editor widget allows you to insert rich text and media objects in"
82
+ " your sidebars"
83
+ msgstr ""
84
+
85
#. translators: title of the widget
86
#: includes/class-widget.php:28
87
msgid "Visual Editor"
languages/black-studio-tinymce-widget-zh_CN.mo CHANGED
Binary file
languages/black-studio-tinymce-widget-zh_CN.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
11
- "PO-Revision-Date: 2014-10-05 23:57+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Chinese (China) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/zh_CN/)\n"
14
"MIME-Version: 1.0\n"
@@ -26,6 +26,14 @@ msgstr ""
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
#. translators: error message shown when a duplicated widget ID is detected
30
#: includes/class-admin.php:245
31
msgid ""
@@ -68,6 +76,13 @@ msgstr "捐助"
68
msgid "About Black Studio TinyMCE Widget plugin"
69
msgstr ""
70
71
#. translators: title of the widget
72
#: includes/class-widget.php:28
73
msgid "Visual Editor"
7
msgstr ""
8
"Project-Id-Version: Black Studio TinyMCE Widget\n"
9
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
10
+ "POT-Creation-Date: 2014-10-12 23:55:50+00:00\n"
11
+ "PO-Revision-Date: 2014-10-12 23:53+0000\n"
12
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
13
"Language-Team: Chinese (China) (http://www.transifex.com/projects/p/black-studio-tinymce-widget/language/zh_CN/)\n"
14
"MIME-Version: 1.0\n"
26
"X-Poedit-SourceCharset: utf-8\n"
27
"X-Textdomain-Support: yes\n"
28
29
+ #. translators: error message shown when multiple instance of the plugin are
30
+ #. detected
31
+ #: black-studio-tinymce-widget.php:260
32
+ msgid ""
33
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
34
+ "detected. Please activate only one instance at a time."
35
+ msgstr ""
36
+
37
#. translators: error message shown when a duplicated widget ID is detected
38
#: includes/class-admin.php:245
39
msgid ""
76
msgid "About Black Studio TinyMCE Widget plugin"
77
msgstr ""
78
79
+ #. translators: text for the dismissable admin pointer tooltip
80
+ #: includes/class-admin.php:428
81
+ msgid ""
82
+ "The Visual Editor widget allows you to insert rich text and media objects in"
83
+ " your sidebars"
84
+ msgstr ""
85
+
86
#. translators: title of the widget
87
#: includes/class-widget.php:28
88
msgid "Visual Editor"
languages/black-studio-tinymce-widget.pot CHANGED
@@ -1,84 +1,99 @@
1
- # Copyright (C) 2014 Black Studio
2
- # This file is distributed under the GPLv3.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: Black Studio TinyMCE Widget 2.0.0\n"
6
- "Report-Msgid-Bugs-To: "
7
- "https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
8
- "POT-Creation-Date: 2014-10-06 09:32:27+00:00\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=utf-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: Black Studio <info@blackstudio.it>\n"
14
- "Language-Team: Black Studio <info@blackstudio.it>\n"
15
- "X-Generator: grunt-wp-i18n 0.4.8\n"
16
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
- "X-Poedit-Basepath: .\n"
18
- "X-Poedit-Language: English\n"
19
- "X-Poedit-Country: United States\n"
20
- "X-Poedit-SourceCharset: utf-8\n"
21
- "X-Poedit-KeywordsList: "
22
- "__;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_"
23
- "x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
24
- "X-Poedit-Bookmarks: \n"
25
- "X-Poedit-SearchPath-0: .\n"
26
- "X-Textdomain-Support: yes\n"
27
-
28
- #: includes/class-admin.php:245
29
- #. translators: error message shown when a duplicated widget ID is detected
30
- msgid ""
31
- "ERROR: Duplicate widget ID detected. To avoid content loss, please create a "
32
- "new widget with the same content and then delete this one."
33
- msgstr ""
34
-
35
- #: includes/class-admin.php:319
36
- #. translators: text used for plugin home link
37
- msgid "Home"
38
- msgstr ""
39
-
40
- #: includes/class-admin.php:321
41
- #. translators: text used for support faq link
42
- msgid "FAQ"
43
- msgstr ""
44
-
45
- #: includes/class-admin.php:323
46
- #. translators: text used for support forum link
47
- msgid "Support"
48
- msgstr ""
49
-
50
- #: includes/class-admin.php:325
51
- #. translators: text used for reviews link
52
- msgid "Rate"
53
- msgstr ""
54
-
55
- #: includes/class-admin.php:327
56
- #. translators: text used for follow on twitter link
57
- msgid "Follow"
58
- msgstr ""
59
-
60
- #: includes/class-admin.php:329
61
- #. translators: text used for donation link
62
- msgid "Donate"
63
- msgstr ""
64
-
65
- #: includes/class-admin.php:349
66
- #. translators: text used for the icon that shows the plugin links
67
- msgid "About Black Studio TinyMCE Widget plugin"
68
- msgstr ""
69
-
70
- #: includes/class-widget.php:28
71
- #. translators: title of the widget
72
- msgid "Visual Editor"
73
- msgstr ""
74
-
75
- #: includes/class-widget.php:30
76
- #. translators: description of the widget, shown in available widgets
77
- msgid "Arbitrary text or HTML with visual editor"
78
- msgstr ""
79
-
80
- #. Description of the plugin/theme
81
- msgid ""
82
- "Adds a new \"Visual Editor\" widget type based on the native WordPress "
83
- "TinyMCE editor."
84
msgstr ""
1
+ # Copyright (C) 2014 Black Studio
2
+ # This file is distributed under the GPLv3.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Black Studio TinyMCE Widget 2.1.0\n"
6
+ "Report-Msgid-Bugs-To: "
7
+ "https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
8
+ "POT-Creation-Date: 2014-10-13 01:05:52+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=utf-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: Black Studio <info@blackstudio.it>\n"
14
+ "Language-Team: Black Studio <info@blackstudio.it>\n"
15
+ "X-Generator: grunt-wp-i18n 0.4.8\n"
16
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
+ "X-Poedit-Basepath: .\n"
18
+ "X-Poedit-Language: English\n"
19
+ "X-Poedit-Country: United States\n"
20
+ "X-Poedit-SourceCharset: utf-8\n"
21
+ "X-Poedit-KeywordsList: "
22
+ "__;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_"
23
+ "x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
24
+ "X-Poedit-Bookmarks: \n"
25
+ "X-Poedit-SearchPath-0: .\n"
26
+ "X-Textdomain-Support: yes\n"
27
+
28
+ #: black-studio-tinymce-widget.php:280
29
+ #. translators: error message shown when multiple instance of the plugin are
30
+ #. detected
31
+ msgid ""
32
+ "ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
33
+ "detected. Please activate only one instance at a time."
34
+ msgstr ""
35
+
36
+ #: includes/class-admin-pointer.php:167
37
+ #. translators: text for the dismissable admin pointer tooltip
38
+ msgid ""
39
+ "The Visual Editor widget allows you to insert rich text and media objects "
40
+ "in your sidebars"
41
+ msgstr ""
42
+
43
+ #: includes/class-admin.php:243
44
+ #. translators: error message shown when a duplicated widget ID is detected
45
+ msgid ""
46
+ "ERROR: Duplicate widget ID detected. To avoid content loss, please create a "
47
+ "new widget with the same content and then delete this one."
48
+ msgstr ""
49
+
50
+ #: includes/class-admin.php:315
51
+ #. translators: text used for plugin home link
52
+ msgid "Home"
53
+ msgstr ""
54
+
55
+ #: includes/class-admin.php:317
56