WP Editor Widget - Version 0.3.1

Version Description

  • Updated the Swedish translation
  • Moved load_plugin_textdomain() for translation to the plugins_loaded action to make sure the widget is correctly translated.
Download this release

Release Info

Developer feedmeastraycat
Plugin Icon wp plugin WP Editor Widget
Version 0.3.1
Comparing to
See all releases

Code changes from version 0.3.0 to 0.3.1

langs/wpeditorwidget-sv_SE.mo CHANGED
Binary file
langs/wpeditorwidget-sv_SE.po CHANGED
@@ -1,11 +1,12 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WP Editor Widget 0.2.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-06-28 10:58+0100\n"
6
- "PO-Revision-Date: 2013-06-28 11:01+0100\n"
7
  "Last-Translator: DMR <david.martensson@gmail.com>\n"
8
  "Language-Team: Feed Me A Stray Cat <david.martensson@gmail.com>\n"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,37 +14,46 @@ msgstr ""
13
  "esc_html__;esc_html_e;_x;_ex;esc_attr_x;esc_html_x;_n;_nx;_n_noop;_nx_noop\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Generator: Poedit 1.5.5\n"
16
- "Language: sv_SE\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: wp-editor-widget.php:54
20
  msgid "Close"
21
  msgstr "Stäng"
22
 
23
- #: wp-editor-widget.php:63
24
  msgid "Save and close"
25
  msgstr "Spara och stäng"
26
 
27
- #: wp-editor-widget.php:95
28
- msgid "WP Editor Widget"
29
- msgstr "WP Editor Widget"
30
 
31
- #: wp-editor-widget.php:96
32
- msgid "Adds an WP Editor Widget for WYSIWYG content."
33
- msgstr "Skapar en ny WP Editor Widget för WYSIWYG-innehåll."
 
 
 
 
34
 
35
- #: wp-editor-widget.php:140
36
  msgid "New title"
37
  msgstr "Ny titel"
38
 
39
- #: wp-editor-widget.php:154
40
  msgid "Title"
41
- msgstr "Titel"
42
 
43
- #: wp-editor-widget.php:158
44
  msgid "Edit content"
45
  msgstr "Redigera innehåll"
46
 
47
- #: wp-editor-widget.php:162
48
  msgid "Output title"
49
  msgstr "Skriv ut titel"
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP Editor Widget 0.3.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-08-08 11:00+0100\n"
6
+ "PO-Revision-Date: 2013-08-08 11:01+0100\n"
7
  "Last-Translator: DMR <david.martensson@gmail.com>\n"
8
  "Language-Team: Feed Me A Stray Cat <david.martensson@gmail.com>\n"
9
+ "Language: sv_SE\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
14
  "esc_html__;esc_html_e;_x;_ex;esc_attr_x;esc_html_x;_n;_nx;_n_noop;_nx_noop\n"
15
  "X-Poedit-Basepath: .\n"
16
  "X-Generator: Poedit 1.5.5\n"
 
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: wp-editor-widget.php:72
20
  msgid "Close"
21
  msgstr "Stäng"
22
 
23
+ #: wp-editor-widget.php:81
24
  msgid "Save and close"
25
  msgstr "Spara och stäng"
26
 
27
+ #: wp-editor-widget.php:113
28
+ msgid "Rich text"
29
+ msgstr "Formaterad text"
30
 
31
+ #: wp-editor-widget.php:114
32
+ msgid ""
33
+ "Arbitrary text, HTML or rich text through the standard WordPress visual "
34
+ "editor."
35
+ msgstr ""
36
+ "Godtycklig text, HTML eller formaterad text via WordPress visuella "
37
+ "textredigerare."
38
 
39
+ #: wp-editor-widget.php:158
40
  msgid "New title"
41
  msgstr "Ny titel"
42
 
43
+ #: wp-editor-widget.php:172
44
  msgid "Title"
45
+ msgstr "Tite"
46
 
47
+ #: wp-editor-widget.php:176
48
  msgid "Edit content"
49
  msgstr "Redigera innehåll"
50
 
51
+ #: wp-editor-widget.php:180
52
  msgid "Output title"
53
  msgstr "Skriv ut titel"
54
+
55
+ #~ msgid "WP Editor Widget"
56
+ #~ msgstr "WP Editor Widget"
57
+
58
+ #~ msgid "Adds an WP Editor Widget for WYSIWYG content."
59
+ #~ msgstr "Skapar en ny WP Editor Widget för WYSIWYG-innehåll."
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: feedmeastraycat
3
  Tags: widget, wysiwyg, editor, rich text
4
  Requires at least: 3.5.1
5
  Tested up to: 3.6
6
- Stable tag: 0.3.0
7
  License: MIT
8
 
9
  WP Editor Widget adds a rich text widget where the content is edited using the standard WordPress visual editor.
@@ -30,6 +30,10 @@ It uses the WP core function wp_editor() without adding a custom post type post
30
 
31
  == Changelog ==
32
 
 
 
 
 
33
  = 0.3.0 =
34
  * Changed the name of the widget to "Rich text" and the description to a less "techy" text (thanks /u/actionscripted on Reddit http://tinyurl.com/lnm99yj) for a UI more similar to the core widgets
35
  * Tested in WP 3.6
3
  Tags: widget, wysiwyg, editor, rich text
4
  Requires at least: 3.5.1
5
  Tested up to: 3.6
6
+ Stable tag: 0.3.1
7
  License: MIT
8
 
9
  WP Editor Widget adds a rich text widget where the content is edited using the standard WordPress visual editor.
30
 
31
  == Changelog ==
32
 
33
+ = 0.3.1 =
34
+ * Updated the Swedish translation
35
+ * Moved load_plugin_textdomain() for translation to the plugins_loaded action to make sure the widget is correctly translated.
36
+
37
  = 0.3.0 =
38
  * Changed the name of the widget to "Rich text" and the description to a less "techy" text (thanks /u/actionscripted on Reddit http://tinyurl.com/lnm99yj) for a UI more similar to the core widgets
39
  * Tested in WP 3.6
wp-editor-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Editor Widget
4
  Plugin URI: http://oddalice.com/
5
  Description: WP Editor Widget adds a WYSIWYG widget using the wp_editor().
6
  Author: David M&aring;rtensson, Odd Alice
7
- Version: 0.3.0
8
  Author URI: http://www.feedmeastraycat.net/
9
  */
10
 
@@ -13,6 +13,7 @@ Author URI: http://www.feedmeastraycat.net/
13
  // Setup actions
14
  add_action('init', array('WPEditorWidget', 'init'));
15
  add_action('admin_init', array('WPEditorWidget', 'admin_init'));
 
16
  add_action('widgets_admin_page', array('WPEditorWidget', 'widgets_admin_page'), 100);
17
  add_action('widgets_init', array('WPEditorWidget', 'widgets_init'));
18
 
@@ -27,7 +28,7 @@ class WPEditorWidget
27
  /**
28
  * @var string
29
  */
30
- const VERSION = "0.3.0";
31
 
32
  /**
33
  * @var string
@@ -39,8 +40,6 @@ class WPEditorWidget
39
  */
40
  public static function init()
41
  {
42
- // Load translations
43
- load_plugin_textdomain(self::TEXTDOMAIN, false, dirname(plugin_basename(__FILE__)).'/langs/');
44
  }
45
 
46
  /**
@@ -55,6 +54,15 @@ class WPEditorWidget
55
  wp_enqueue_style('wp-editor-widget-css');
56
  }
57
 
 
 
 
 
 
 
 
 
 
58
  /**
59
  * Action: widgets_admin_page
60
  */
4
  Plugin URI: http://oddalice.com/
5
  Description: WP Editor Widget adds a WYSIWYG widget using the wp_editor().
6
  Author: David M&aring;rtensson, Odd Alice
7
+ Version: 0.3.1
8
  Author URI: http://www.feedmeastraycat.net/
9
  */
10
 
13
  // Setup actions
14
  add_action('init', array('WPEditorWidget', 'init'));
15
  add_action('admin_init', array('WPEditorWidget', 'admin_init'));
16
+ add_action('plugins_loaded', array('WPEditorWidget', 'plugins_loaded'));
17
  add_action('widgets_admin_page', array('WPEditorWidget', 'widgets_admin_page'), 100);
18
  add_action('widgets_init', array('WPEditorWidget', 'widgets_init'));
19
 
28
  /**
29
  * @var string
30
  */
31
+ const VERSION = "0.3.1";
32
 
33
  /**
34
  * @var string
40
  */
41
  public static function init()
42
  {
 
 
43
  }
44
 
45
  /**
54
  wp_enqueue_style('wp-editor-widget-css');
55
  }
56
 
57
+ /**
58
+ * Action: plugins_loaded
59
+ */
60
+ public static function plugins_loaded()
61
+ {
62
+ // Load translations
63
+ load_plugin_textdomain(self::TEXTDOMAIN, false, dirname(plugin_basename(__FILE__)).'/langs/');
64
+ }
65
+
66
  /**
67
  * Action: widgets_admin_page
68
  */
wp-editor-widget.pot CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WP Editor Widget 0.2.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-06-28 10:58+0100\n"
6
- "PO-Revision-Date: 2013-06-28 10:58+0100\n"
7
  "Last-Translator: DMR <david.martensson@gmail.com>\n"
8
  "Language-Team: Feed Me A Stray Cat <david.martensson@gmail.com>\n"
9
  "Language: en\n"
@@ -16,34 +16,36 @@ msgstr ""
16
  "X-Generator: Poedit 1.5.5\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: wp-editor-widget.php:54
20
  msgid "Close"
21
  msgstr ""
22
 
23
- #: wp-editor-widget.php:63
24
  msgid "Save and close"
25
  msgstr ""
26
 
27
- #: wp-editor-widget.php:95
28
- msgid "WP Editor Widget"
29
  msgstr ""
30
 
31
- #: wp-editor-widget.php:96
32
- msgid "Adds an WP Editor Widget for WYSIWYG content."
 
 
33
  msgstr ""
34
 
35
- #: wp-editor-widget.php:140
36
  msgid "New title"
37
  msgstr ""
38
 
39
- #: wp-editor-widget.php:154
40
  msgid "Title"
41
  msgstr ""
42
 
43
- #: wp-editor-widget.php:158
44
  msgid "Edit content"
45
  msgstr ""
46
 
47
- #: wp-editor-widget.php:162
48
  msgid "Output title"
49
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP Editor Widget 0.3.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-08-08 11:00+0100\n"
6
+ "PO-Revision-Date: 2013-08-08 11:00+0100\n"
7
  "Last-Translator: DMR <david.martensson@gmail.com>\n"
8
  "Language-Team: Feed Me A Stray Cat <david.martensson@gmail.com>\n"
9
  "Language: en\n"
16
  "X-Generator: Poedit 1.5.5\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: wp-editor-widget.php:72
20
  msgid "Close"
21
  msgstr ""
22
 
23
+ #: wp-editor-widget.php:81
24
  msgid "Save and close"
25
  msgstr ""
26
 
27
+ #: wp-editor-widget.php:113
28
+ msgid "Rich text"
29
  msgstr ""
30
 
31
+ #: wp-editor-widget.php:114
32
+ msgid ""
33
+ "Arbitrary text, HTML or rich text through the standard WordPress visual "
34
+ "editor."
35
  msgstr ""
36
 
37
+ #: wp-editor-widget.php:158
38
  msgid "New title"
39
  msgstr ""
40
 
41
+ #: wp-editor-widget.php:172
42
  msgid "Title"
43
  msgstr ""
44
 
45
+ #: wp-editor-widget.php:176
46
  msgid "Edit content"
47
  msgstr ""
48
 
49
+ #: wp-editor-widget.php:180
50
  msgid "Output title"
51
  msgstr ""