Rich Text Excerpts - Version 1.3

Version Description

  • made register_plugin_options() static (bugfix)
  • added option to use a metabox instead of placing the excerpt statically using edit_form_advanced or edit_page_form.
Download this release

Release Info

Developer bjorsq
Plugin Icon 128x128 Rich Text Excerpts
Version 1.3
Comparing to
See all releases

Code changes from version 1.2.1 to 1.3

languages/rich-text-excerpts-be.mo ADDED
Binary file
languages/rich-text-excerpts-be.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "откъс"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Богати Извадки Текст"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Богати Извадки Текст Опции"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Запазване на промените"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Избери, които командироват видове ще имат богат текстов редактор за извадки"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Редактор Опции"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Изберете редактора, който се използва за извадки"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Редактор Настройки"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Мнение видове, които не са избрани тук ще използва редовно обикновен текстов редактор за извадки. Ако постът вида, който искате, не е споменат тук, не в момента подкрепят откъси - да добави поддръжка за откъси пост тип, вижте Wordpress Codex"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Използвайте минимална конфигурация редактор, използвани в PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Използвайте пълната версия на редактора"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Изберете дали да използвате пълната редактор TinyMCE, или &ldquo;teeny&rdquo; версия на редактора (препоръчително). Персонализиране на редактор TinyMCE се извърши най-добре с помощта на плъгин като TinyMCE Advanced. Ако решите да използвате &ldquo;teeny&rdquo; версия на редактора, можете да персонализирате контрол, ще имат тук"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Спрете отстраняване на <p> и <br> етикети при спасяването и да им покажем в HTML редактор Това ще направи възможно използването на по-напредналите кодиране в HTML редактор, без в края на обратно филтриране, засягащи много. Въпреки това може да се държи неочаквано в редки случаи, така че тества щателно, преди да му позволява постоянно"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Активирайте качите медиите бутона"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Брой редове да се използва в текстов редактор (минимум 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Бутоните и плъгини"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "За списък на бутоните и плъгини в TinyMCE, вижте уики TinyMCE"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Има също така някои документация по изпълнението на TinyMCE в Wordpress Wordpress Codex"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Бътън и плъгин имена трябва да бъдат разделени чрез запетаи"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Плъгини за добавяне - уверете се, за да добавите плъгин специфични бутони на редактора по-долу"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Бутоните - използвайте думата &lsquo;separator&rsquo; на отделни групи бутони"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Конфигуриране на бутони за напреднали редактор TinyMCE Advanced плъгин"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Ако искате да конфигурирате бутоните за напреднали редактор, да инсталирате и да активирате TinyMCE Advanced плъгин"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Добавя богата възможност за редактиране на текст за извадки, използващи wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-da_DK.mo ADDED
Binary file
languages/rich-text-excerpts-da_DK.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Uddrag"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Rich Text Uddrag"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Rich Text Uddrag Options"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Gem ændringer"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Vælge hvilke typer vil have rig teksteditor for uddrag"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Redigeringsindstillinger"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Vælg hvilken Editor bruges til uddrag"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Editor-indstillinger"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Send typer, der ikke er valgt her, vil bruge den almindelige klartekst editor til uddrag. Hvis stillingen, du ønsker, ikke står opført her, betyder det ikke understøtter i øjeblikket uddrag - for at tilføje understøttelse af uddrag til en post type, se Wordpress Codex"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Anvende den minimale editor konfiguration, der anvendes i PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Brug den fulde version af editoren"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Vælg om du vil bruge den fulde TinyMCE editor, eller &ldquo;teeny&rdquo; version af editoren (anbefales). Tilpasning af fuld TinyMCE editor udføres bedst ved hjælp af et plugin som TinyMCE Advanced. Hvis du vælger at bruge &ldquo;teeny&rdquo; version af editoren, kan du tilpasse den kontrol, det vil skulle her"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Stop fjerne &lt;p&gt; og &lt;br&gt; tags når du gemmer og viser dem i HTML-editoren Det vil gøre det muligt at anvende mere avancerede kodning i HTML-editoren uden back-end-filtrering, der påvirker det meget. Men det kan opføre sig uventet i sjældne tilfælde, så teste det grundigt, før du aktiverer den permanent"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Aktiver upload medier knap"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Antal rækker til brug i teksteditoren (minimum er 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Toolbar Buttons og Plugins"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "For en liste over knapper og plugins i TinyMCE, se TinyMCE wiki"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Der er også noget dokumentation om gennemførelsen af ​​TinyMCE i Wordpress på Wordpress Codex"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Knap og plugin navne bør være adskilt med kommaer"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugins at tilføje - sørg for at tilføje plugin bestemte knapper til redaktøren nedenfor"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Værktøjslinjeknapper - bruge ordet &lsquo;separator&rsquo; at adskille grupper af knapper"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Konfigurere knapperne for den avancerede editor ved hjælp af TinyMCE Advanced plugin"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Hvis du ønsker at konfigurere knapperne for den avancerede editor, installere og aktivere den TinyMCE Advanced plugin"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Tilføjer rig tekstredigering kapacitet til uddrag anvender wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-de_DE.mo ADDED
Binary file
languages/rich-text-excerpts-de_DE.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Auszug"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Rich Text Auszüge"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Rich Text Auszüge Optionen"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Änderungen speichern"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Wählen Sie die Post-Typen werden Rich-Text-Editor für Auszüge haben"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Editor-Optionen"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Wählen Sie die Editor für Auszüge verwendet"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Editor-Einstellungen"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Beitrag Typen nicht ausgewählt wird hier die regelmäßige Texteditor für Auszüge verwenden. Wenn der Post-Typ Sie wollen hier nicht aufgeführt ist, ist es derzeit nicht unterstützt auszugsweise - Unterstützung für Auszüge an einem Pfosten Typ hinzuzufügen, finden Sie auf der Wordpress Codex"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Verwenden Sie die minimal-Editor Konfiguration in PressThis verwendet"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Nutzen Sie die volle Version des Editors"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Wählen Sie, ob die volle TinyMCE-Editor oder den &ldquo;teeny&rdquo; Version des Editors (empfohlen). Anpassen der volle TinyMCE-Editor wird am besten mit einem Plugin wie TinyMCE Erweiterte durchgeführt. Wenn Sie die &ldquo;teeny&rdquo; Version des Editors verwenden möchten, können Sie die Bedienelemente hier haben werden"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Stoppen Entfernen der &lt;p&gt; und &lt;br&gt; Tags beim Speichern und zeigt sie in der HTML-Editor Damit wird es möglich, erweiterte Codierung im HTML-Editor ohne die Back-End-Filterung, die sie betreffen viel. Es kann jedoch unerwartet verhalten in seltenen Fällen, so testen Sie es gründlich, bevor Sie die dauerhaft"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Aktivieren Medien hochladen Button"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Anzahl der Zeilen, die in den Text-Editor zu verwenden (Minimum 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Schaltflächen und Plugins"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "Für eine Liste der Schaltflächen und Plugins in TinyMCE finden Sie in der TinyMCE Wiki"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Es gibt auch einige Dokumentationen über die Umsetzung des TinyMCE in Wordpress auf der Wordpress Codex"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Button und Plugin-Namen sollten getrennt mit Kommas"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugins hinzufügen - stellen Sie sicher, fügen Sie alle plugin bestimmte Tasten an die Redaktion unter"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Schaltflächen der Symbolleiste - das Wort &lsquo;separator&rsquo;, getrennten Gruppen von Schaltflächen"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Konfigurieren Sie die Tasten für die erweiterten Editor mit dem TinyMCE Erweiterte plugin"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Wenn Sie die Tasten für die erweiterten Editor konfigurieren möchten, installieren und aktivieren Sie den TinyMCE Erweiterte plugin"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Fügt Rich-Text-Editing Funktion für Auszüge mit wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-es_ES.mo ADDED
Binary file
languages/rich-text-excerpts-es_ES.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Extracto"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Fragmentos de texto enriquecido"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Rich Extractos Opciones de texto"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Guardar cambios"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Elija los tipos de correos tendrá editor de texto enriquecido para citas"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Opciones del editor"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Elija el Editor se utiliza para citas"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Configuración del Editor"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Tipos de correos no seleccionados aquí se utiliza el editor de texto sin formato habitual para extractos. Si el tipo de mensaje que desea no aparece en esta lista, no es compatible actualmente con parcial - para añadir soporte para los extractos a un tipo de mensaje, consulte el Codex de Wordpress"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Utilice el editor de configuración mínima utilizada en PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Utilice la versión completa del editor"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Seleccione si desea utilizar el editor TinyMCE completo, o el &ldquo;teeny&rdquo;, versión del editor (recomendado). Personalizar el editor TinyMCE completo se lleva a cabo mejor utilizando un plugin como TinyMCE avanzada. Si opta por utilizar el &ldquo;teeny&rdquo; versión del editor, puede personalizar los controles que se tienen aquí"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Detener la eliminación de los &lt;p&gt; y &lt;br&gt; al guardar y mostrar en el editor HTML Esto hará posible el uso de codificación más avanzadas en el editor HTML sin el filtrado de back-end que le afectan mucho. Sin embargo, puede comportarse de forma inesperada en casos raros, por lo que probar a fondo antes de habilitar de forma permanente"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Habilitar botón cargar los medios de comunicación"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Número de filas para utilizar en el editor de texto (mínimo es de 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Botones de la barra de herramientas y plugins"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "Para obtener una lista de botones y plugins en TinyMCE, consulte la wiki TinyMCE"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "También hay algo de documentación sobre la aplicación de TinyMCE en Wordpress en el Codex de Wordpress"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Nombres de los botones y el plugin deben separarse con comas"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugins para agregar - asegúrese de agregar los botones específicos de plugin para el editor de abajo"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Botones de la barra de herramientas - utilizar &lsquo;separator&rsquo; de la palabra para separar grupos de botones"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Configuración de los botones para el editor avanzado usando el plugin TinyMCE avanzada"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Si desea configurar los botones para el editor avanzado, instalar y activar el plugin TinyMCE avanzada"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Agrega la capacidad de edición de texto rico en extractos utilizando wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-fr_FR.mo ADDED
Binary file
languages/rich-text-excerpts-fr_FR.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "extrait"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Extraits Rich Text"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Riches extraits de textes options"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Enregistrer les modifications"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Choisissez les types de poste auront éditeur de texte enrichi d&rsquo;extraits"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "options de l&rsquo;éditeur"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Choisissez ce qui Editor est utilisé pour les extraits"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Paramètres de l&rsquo;éditeur"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Types de poste non retenus ici utiliser l&rsquo;éditeur de texte normal plaine des extraits. Si le type de message que vous souhaitez ne figure pas ici, il ne prend pas en charge extraits - d&rsquo;ajouter le support pour les extraits d&rsquo;un type de message, consultez le Codex Wordpress"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Utilisez l&rsquo;éditeur de configuration minimale servant à PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Utilisez la version complète de l&rsquo;éditeur"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Choisissez si vous voulez utiliser l&rsquo;éditeur TinyMCE complet, ou une &ldquo;teeny&rdquo; version de l&rsquo;éditeur (recommandé). Personnalisation de l&rsquo;éditeur TinyMCE complet est mieux réalisée à l&rsquo;aide d&rsquo;un plugin comme TinyMCE Advanced. Si vous choisissez d&rsquo;utiliser une &ldquo;teeny&rdquo; version de l&rsquo;éditeur, vous pouvez personnaliser les commandes qu&rsquo;il aura ici"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Cesser de retirer les &lt;p&gt; et &lt;br&gt; lors de l&rsquo;enregistrement et les affiche dans l&rsquo;éditeur HTML Ainsi, il sera possible d&rsquo;utiliser un codage plus avancés dans l&rsquo;éditeur HTML sans le filtrage back-end qui l&rsquo;affectent beaucoup. Cependant, il peut se comporter de façon inattendue dans de rares cas, si le tester à fond avant de l&rsquo;activer de façon permanente"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Permettre le transfert bouton médias"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Nombre de lignes à utiliser dans l&rsquo;éditeur de texte (minimum 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Boutons de barre d&rsquo;outils et plugins"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "Pour une liste de boutons et plugins dans TinyMCE, voir le wiki TinyMCE"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Il ya aussi de la documentation sur la mise en œuvre de TinyMCE dans Wordpress sur le Codex Wordpress"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Les noms des touches et le plugin doivent être séparés par des virgules"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugins pour ajouter - assurez-vous d&rsquo;ajouter des boutons de plugins spécifiques à l&rsquo;éditeur ci-dessous"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Boutons de la barre d&rsquo;outils - utiliser &lsquo;separator&rsquo; le mot pour séparer des groupes de boutons"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Configurer les boutons de l&rsquo;éditeur avancé en utilisant le plugin TinyMCE avancée"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Si vous souhaitez configurer les boutons de l&rsquo;éditeur avancé, installer et activer le plugin TinyMCE avancée"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Ajoute la capacité d&rsquo;édition de texte riche d&rsquo;extraits à l&rsquo;aide wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-hu_HU.mo ADDED
Binary file
languages/rich-text-excerpts-hu_HU.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Szemelvény"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Rich Text Részletek"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Rich Text Kivonatok az Opciók"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "változtatások mentése"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Válassza ki, melyik poszt típusok gazdag szövegszerkesztő részletekben"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Szerkesztő beállításai"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Válassza ki, melyik szerkesztő használt részletekben"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Szerkesztő beállításai"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Hozzászólás termék nincs kiválasztva itt fogja használni a szokásos egyszerű szövegszerkesztő részletekben. Ha a postai kívánt típust nem szerepel itt, akkor jelenleg nem támogatja a részletekben - hogy adjunk támogatást részletekben egy poszt típus, lásd a Wordpress Codex"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "A minimális konfiguráció szerkesztő használt PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Használja a teljes verzió a szerkesztő"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Válassza ki, hogy használja a teljes TinyMCE szerkesztő, vagy a &ldquo;teeny&rdquo; verziója a szerkesztő (ajánlott). Egyéni teljes TinyMCE szerkesztő legjobban elvégezni egy plugin, mint a TinyMCE Advanced. Ha úgy dönt, hogy a &ldquo;teeny&rdquo; változata a szerkesztő, testre szabhatja az ellenőrzések akkor van itt"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Állítsa eltávolítása &lt;p&gt; és &lt;br&gt; címkék mentéskor, és mutassa meg nekik a HTML-szerkesztő Ez lehetővé teszi, hogy több fejlett kódolás a HTML-szerkesztő nélkül a back-end szűrés érintő sokkal. Ugyanakkor várttól eltérő módon viselkedhetnek ritka esetekben, így tesztelni alaposan engedélyezése előtt véglegesen"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Engedélyezze a feltöltés média gomb"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Sorok számát, hogy használja a szövegszerkesztő (minimum 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Toolbar Buttons és Plugins"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "A listát a gombok és plugins TinyMCE, lásd a TinyMCE wiki"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Van még néhány dokumentumot történő végrehajtásáról szóló TinyMCE a Wordpress a Wordpress Codex"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Button és bővítmény neveket kell választani vesszővel"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugins hozzá - győződjön meg róla, hogy hozzá semmilyen plugin, speciális gombokat a szerkesztő az alábbi"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Eszköztár gombjai - használja a &lsquo;separator&rsquo; a különálló csoport gombok"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Állítsa be a gombokat a fejlett szerkesztő segítségével a TinyMCE Advanced bővítményt"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Ha szeretné beállítani a gombokat a fejlett szerkesztő, telepítse és aktiválja a TinyMCE Advanced bővítményt"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Hozzáteszi rich text szerkesztési képesség részletekben használó wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-it_IT.mo ADDED
Binary file
languages/rich-text-excerpts-it_IT.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Estratto"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Estratti RTF"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Rich Text Estratti Opzioni"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Salva modifiche"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Scegliere i tipi di messaggio dovrà editor di testo RTF per estratti"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Opzioni editor"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Scegliere Editor che viene utilizzato per estratti"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Impostazioni dell&rsquo;editor"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Tipi di messaggio non selezionati qui utilizzerà il normale editor di testo per estratti. Se il tipo di messaggio che si desidera non è elencato qui, al momento non supporta estratti - per aggiungere il supporto per estratti a un tipo di posto, vedere il Codex Wordpress"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Utilizzare la configurazione minima editor utilizzato in PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Utilizzare la versione completa dell&rsquo;editor"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Scegliere se utilizzare l&rsquo;editor TinyMCE completo, o la versione &ldquo;teeny&rdquo; dell&rsquo;editor (consigliato). Personalizzare l&rsquo;editor TinyMCE completo è meglio effettuato con un plugin come TinyMCE avanzata. Se si sceglie di utilizzare la versione &ldquo;teeny&rdquo; dell&rsquo;editor, è possibile personalizzare i controlli che avrà qui"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Arresto di rimuovere i tag &lt;p&gt; e &lt;br&gt; durante il salvataggio e mostrare loro nell&rsquo;editor HTML In questo modo sarà possibile utilizzare la codifica più avanzate nell&rsquo;editor HTML senza back-end di filtraggio che interessano molto. Tuttavia, può avere comportamenti imprevisti in rari casi, in modo da testare a fondo prima di attivare in modo permanente"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Abilita pulsante Upload dei media"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Numero di righe da utilizzare per l&rsquo;editor di testo (minimo 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Pulsanti della barra degli strumenti e Plugins"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "Per un elenco di pulsanti e plugin di TinyMCE, vedere il wiki di TinyMCE"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "C&rsquo;è anche un po &rsquo;di documentazione sulla realizzazione di TinyMCE in Wordpress sul Codex Wordpress"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Nomi dei pulsanti e plugin dovrebbe essere separati da virgole"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugin per aggiungere - Assicurarsi di avere tutti i pulsanti del plugin specifici per l&rsquo;editor di seguito"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Pulsanti della barra degli strumenti - utilizzare &lsquo;separator&rsquo; la parola per separare gruppi di bottoni"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Configurare i pulsanti per l&rsquo;editor avanzato utilizzando il plugin TinyMCE avanzata"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Se si desidera configurare i pulsanti per l&rsquo;editor avanzato, installare e attivare il plugin TinyMCE avanzata"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Aggiunge ricca capacità di editing di testo per estratti utilizzando wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-nn_NO.mo ADDED
Binary file
languages/rich-text-excerpts-nn_NO.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Utdrag"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Rik tekst Utdrag"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Rik tekst Utdrag Alternativer"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Lagre endringer"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Velg hvilke innlegg typer vil ha rik tekst editor for utdrag"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "alternativer for redigeringsprogram"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Velg hvilke Editor brukes for utdrag"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "redaktør Innstillinger"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Post typer som ikke er valgt her vil bruke vanlig ren tekst editor for utdrag. Hvis innlegget typen du ønsker ikke er oppført her, er det ikke støtter foreløpig utdrag - å legge til støtte for utdrag til en post type, se Wordpress Codex"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Bruk minimal redaktør konfigurasjonen som brukes i PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Bruk den fullstendige versjonen av redaktøren"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Velg om du vil bruke hele TinyMCE editor, eller &ldquo;teeny&rdquo; versjon av editor (anbefales). Tilpasse hele TinyMCE editor er best gjennomføres ved hjelp av en plugin som TinyMCE Advanced. Hvis du velger å bruke &ldquo;teeny&rdquo; versjon av redaktøren, kan du tilpasse kontrollene det vil ha her"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Stopp fjerne &lt;p&gt; og NTNU koder når du lagrer og viser dem i HTML editoren Dette vil gjøre det mulig å bruke mer avanserte koding i HTML editoren uten back-end filtrering påvirker det mye. Men det kan oppføre seg uventet i sjeldne tilfeller, så teste det grundig før du aktiverer den permanent"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Aktiver opp medieknappen"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Antall rader som skal brukes i teksteditoren (minimum er 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Verktøylinjeknapper og Plugins"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "For en liste over knapper og plugins i TinyMCE, se TinyMCE wiki"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Det er også noen dokumentasjon på gjennomføring av TinyMCE i Wordpress på Wordpress Codex"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Button og plugin navn bør skilles med komma"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugins for å legge til - sørg for at du legger noen plugin spesifikke knapper til redaktøren under"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Verktøylinjeknapper - bruke ordet &lsquo;separator&rsquo; til separate grupper av knapper"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Konfigurere knappene for avansert editor bruker TinyMCE Advanced plugin"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Hvis du ønsker å konfigurere knappene for avansert editor, installere og aktivere TinyMCE Advanced plugin"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Legger rik tekstredigering evne for utdrag bruker wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-pl_PL.mo ADDED
Binary file
languages/rich-text-excerpts-pl_PL.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Fragment"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Bogate Fragmenty tekstowe"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Bogate opcje fragmentów tekstu"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Zapisz zmiany"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Wybrać, które typy wiadomość będzie edytor tekstu dla fragmentów"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Opcje edytora"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Wybierz które Editor służy do fragmentów"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Ustawienia edytora"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Rodzaje post niewybranych tutaj będzie regularny edytora zwykłego tekstu na części. Jeśli typ wiadomość nie ma na liście, to nie obsługuje obecnie fragmenty - aby dodać wsparcie dla fragmentów do postu typu, zobacz Wordpress Codex"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Użyj minimalnej konfiguracji edytora używanego w PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Używać pełnej wersji edytora"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Wybierz, czy chcesz korzystać z pełnej edytor TinyMCE albo &ldquo;teeny&rdquo; wersja edytora (zalecane). Dostosowywanie edytora TinyMCE pełną najlepiej przeprowadzić przy użyciu wtyczki jak TinyMCE Advanced. Jeśli zdecydujesz się skorzystać z &ldquo;teeny&rdquo; wersja edytora można dostosować kontroli będzie musiał tutaj"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Zatrzymaj usunięcie &lt;p&gt; Katowice tagi podczas zapisywania i pokazać je w edytorze HTML Pozwoli to możliwe korzystać z bardziej zaawansowanych kodowania w edytorze HTML bez back-end filtrowania wpływających go dużo. Jednakże może zachowywać się niestabilnie, w rzadkich przypadkach, aby przetestować go dokładnie przed włączeniem go na stałe"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Włącz przesyłanie przycisk multimedialny"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Liczba wierszy do wykorzystania w edytorze tekstu (minimum 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Przyciski paska narzędzi i Wtyczki"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "Na liście przycisków i wtyczek w TinyMCE, patrz wiki TinyMCE"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Istnieje także dokumentacja z realizacji TinyMCE w Wordpress na Wordpress Codex"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Button i wtyczki nazwy powinny być oddzielone przecinkami"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Wtyczki, aby dodać - upewnij się dodawać żadnych wtyczek określone przyciski do edytora poniżej"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Przyciski paska narzędzi - używać słowa &lsquo;separator&rsquo; do poszczególnych grup przycisków"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Konfigurowanie przycisków za pomocą zaawansowanego edytora TinyMCE zaawansowany plugin"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Jeśli chcesz skonfigurować przyciski do zaawansowanego edytora, zainstalować i aktywować plugin TinyMCE Zaawansowane"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Dodaje bogate możliwości edycji tekstu dla fragmentów wykorzystujących wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-pt_PT.mo ADDED
Binary file
languages/rich-text-excerpts-pt_PT.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Excerto"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Ricos Trechos do texto"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Trechos Opções Rich Text"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Salvar alterações"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Escolher quais tipos de mensagem terá editor de texto rico para trechos"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Opções do Editor"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Escolha do Editor que é usado para trechos"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "editor Definições"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Tipos post não selecionados aqui vai utilizar o editor de texto normal simples para trechos. Se o tipo de mensagem que você deseja não estiver listado aqui, ele não suporta atualmente trechos - para adicionar suporte para trechos de um tipo de post, ver o Codex Wordpress"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Utilizar a configuração mínima editor usado em PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Use a versão completa do editor"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Escolha se deseja usar o editor TinyMCE cheia, ou a versão &ldquo;teeny&rdquo; do editor (recomendado). Personalizar o editor TinyMCE completo é melhor realizada através de um plugin como TinyMCE Advanced. Se você optar por usar a versão &ldquo;teeny&rdquo; do editor, você pode personalizar os controles que terá aqui"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Pare remover os &lt;p&gt; e &lt;br&gt; ao salvar e mostrá-los no editor de HTML Isto irá tornar possível a utilização de codificação mais avançados do editor de HTML, sem a filtragem de back-end que afetam muito. No entanto, podem se comportar de forma inesperada, em casos raros, então testá-lo completamente antes de ativar-lo permanentemente"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Ativar botão de upload de mídia"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Número de linhas para usar no editor de texto (o mínimo é 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Botões da barra de ferramentas e Plugins"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "Para obter uma lista de botões e plugins em TinyMCE, veja o wiki TinyMCE"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Há também alguma documentação sobre a implementação da TinyMCE no Wordpress no Codex Wordpress"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Os nomes de botões e plugin devem ser separados usando vírgulas"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugins para adicionar - certifique-se de adicionar os botões de plugins específicos para o editor abaixo"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Botões da barra de ferramentas - usar &lsquo;separator&rsquo; a palavra para separar grupos de botões"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Configurar os botões para o editor avançado usando o plugin TinyMCE avançada"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Se você quiser configurar os botões para o editor avançado, instalar e ativar o plugin TinyMCE avançada"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Adiciona capacidade de edição de texto rico para trechos usando wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-ru_RU.mo ADDED
Binary file
languages/rich-text-excerpts-ru_RU.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Oтрывок"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Богатые Отрывки текста"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Rich Text Выдержки параметры"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Сохранить изменения"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Выберите, какой пост типов будет иметь текстовый редактор для выдержки"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Параметры редактора"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Выберите, какой редактор используется для выдержки"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Параметры редактора"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Сообщение типа не выбраны здесь будет использовать обычный текстовый редактор для выдержки. Если сообщение типа вы хотите, не перечисленные здесь, он в настоящее время не поддерживает выдержки - добавить поддержку для выдержки на должность типа, см. Wordpress Codex"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Используйте минимальной конфигурации, используемые в редакторе PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Используйте полную версию редактора"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Выберите, следует ли использовать полный редактор TinyMCE, или &ldquo;teeny&rdquo; версия редактора (рекомендуется). Настройка полный редактор TinyMCE лучше всего осуществляется с помощью плагинов, как TinyMCE Advanced. Если вы решили использовать &ldquo;teeny&rdquo; версия редактора, вы можете настроить элементы управления он будет иметь здесь"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Остановить удаление &lt;p&gt; и &lt;br&gt; теги при сохранении и показывать их в HTML редактор Это сделает возможным использование более продвинутых кодирования в HTML редактор без фоновых фильтрации, влияющих на нее много. Однако он может вести себя непредсказуемым образом, в редких случаях, так что проверить это тщательно, прежде чем включать его постоянно"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Включить загружать мультимедийные кнопки"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Количество строк для использования в текстовом редакторе (минимум 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Кнопки панели инструментов и плагинов"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "Список кнопок и плагинов в TinyMCE, см. TinyMCE вики"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Существует также некоторая документация на осуществление TinyMCE в Wordpress на Wordpress Codex"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Баттон и плагин имена должны быть разделены запятыми"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Плагины добавить - убедитесь, что вы добавить любой плагин определенных кнопок редактора ниже"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Кнопки на панели инструментов - использовать &lsquo;separator&rsquo; слово в отдельные группы кнопок"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Настройка кнопки для расширенного редактора помощью TinyMCE Advanced плагин"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Если вы хотите настроить кнопки для продвинутых редактор, установить и активировать плагин TinyMCE Advanced"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Добавляет богатыми возможностями редактирования текста для выдержки использованием wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-sq.mo ADDED
Binary file
languages/rich-text-excerpts-sq.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Fragment"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Fragmente Rich Text"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Fragmente Rich Text Options"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Ruaj ndryshimet"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Zgjidhni lloje të cilat pas do të ketë editor pasur tekst për fragmente"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Opsionet e Redaktorit"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Zgjidhni cilat Editor është përdorur për fragmente"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Cilësimet Editor"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Llojet Post nuk përzgjedhura këtu do të përdorni editor rregullt plain text per fragmente. Nëse lloji mesazhin që ju doni nuk është i listuar këtu, kjo nuk ka aktualisht mbështetje fragmente - për të shtuar mbështetjen për fragmente të një lloj postimi, shiko WordPress Codex"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Përdorni konfigurimin minimal redaktor të përdorura në PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Përdorni versionin e plotë e redaktorit"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Zgjidhni nëse do të përdorni redaktor të plotë TinyMCE, ose &ldquo;teeny&rdquo; versionin e redaktorit (rekomandohet). Customising redaktor të plotë TinyMCE është kryer mirë duke përdorur një plugin si TinyMCE avancuar. Nëse ju vendosni të përdorni &ldquo;teeny&rdquo; versionin e redaktorit, ju mund ta rregulloje kontrollet do të kemi këtu"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Stop hequr tags &lt;p&gt; dhe &lt;br&gt; kur shpëtimin dhe të tregojnë ato në editor HTML Kjo do të bëjë të mundur për të përdorur kodim më të përparuara në editor HTML pa prapa-fund filtrim prekin atë shumë. Megjithatë kjo mund të sillen papritur në raste të rralla, kështu provuar atë tërësisht para se të bërë të mundur atë përgjithmonë"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Aktivizo ngarkoni butonin media"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Numri i rreshtave për të përdorur në editor teksti (minimumi është 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Toolbar Buttons dhe Shtojca"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "Për një listë e butonave dhe plugins në TinyMCE, shihni wiki TinyMCE"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Ka edhe disa dokumente për zbatimin e TinyMCE në Wordpress në Codex Wordpress"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Button dhe plugin emrat duhet të ndahen duke përdorur presje"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugins për të shtuar - sigurohuni që keni të shtoni ndonjë buttons plugin të veçanta për redaktorit poshtë"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Toolbar Buttons - përdorni &lsquo;separator&rsquo; fjalën për grupe të veçanta të butonave"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Konfiguroni butonat për redaktor të avancuar duke përdorur plugin TinyMCE avancuar"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Nëse ju doni të konfiguroni butonat për redaktor të avancuar, instaloni dhe aktivizoni plugin TinyMCE avancuar"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Shton pasur redaktimi tekst aftësinë për fragmente përdorur wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-sv_SE.mo ADDED
Binary file
languages/rich-text-excerpts-sv_SE.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "utdrag"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Rich Text Utdrag"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Rich Text Utdrag Alternativ"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Spara ändringar"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Välj vilken post typer har rika textredigerare för utdrag"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Redigeringsalternativ"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Välj vilken Redaktör används för utdrag"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Editor Inställningar"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Post typer som inte valts här kommer att använda den vanliga textredigerare för utdrag. Om inlägget som du vill inte finns med här, inte stöder för närvarande utdrag - att lägga till stöd för utdrag till ett inlägg typ, se Wordpress Codex"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "Använd den minsta editorn konfigurationen i PressThis"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Använd den fullständiga versionen av editorn"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Välj om du vill använda hela TinyMCE editor, eller &ldquo;teeny&rdquo; version av editorn (rekommenderas). Anpassa hela TinyMCE editor utförs bäst med hjälp av en plugin som TinyMCE Advanced. Om du väljer att använda &ldquo;teeny&rdquo; version av editorn kan du anpassa kontrollerna det kommer att få här"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Sluta ta bort &lt;p&gt; och &lt;br&gt; taggar när du sparar och visa dem i HTML-editorn Detta gör det möjligt att använda mer avancerade kodning i HTML-editorn utan back-end-filtrering påverkar det mycket. Men det kan uppträda oväntat i sällsynta fall, så testa den ordentligt innan du aktiverar den permanent"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Aktivera knappen Skicka media"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Antal rader som ska användas i textredigeraren (minimum är 3)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Verktygsfältsknappar och plugins"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "För en lista över knappar och plugins i TinyMCE, se TinyMCE wiki"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Det finns också en viss dokumentation om genomförandet av TinyMCE i Wordpress på Wordpress Codex"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Knapp och plugin namn bör separeras med kommatecken"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Plugins att lägga - se till att du lägger till några plugin specifika knappar till redaktören under"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Verktygsknappar - använda ordet &lsquo;separator&rsquo; till separata grupper av knappar"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "Konfigurera knappar för avancerade redaktör med TinyMCE Advanced plugin"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Om du vill konfigurera knapparna för avancerad redaktör, installera och aktivera TinyMCE Advanced plugin"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Lägger rik förmåga textredigering för utdrag med wp_editor()"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
languages/rich-text-excerpts-tr_TR.mo ADDED
Binary file
languages/rich-text-excerpts-tr_TR.po ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rich Text Excerpts
2
+ # This file is distributed under the same license as the Rich Text Excerpts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rich Text Excerpts 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/extend/plugins/rich-text-excerpts\n"
7
+ "POT-Creation-Date: 2012-09-23 20:16:00+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: Peter Edwards <pete@bjorsq.net>\n"
13
+
14
+ #: rich-text-excerpts.php:98
15
+ msgid "Excerpt"
16
+ msgstr "Alıntı"
17
+
18
+ #. #-#-#-#-# plugin.pot (Rich Text Excerpts 1.2) #-#-#-#-#
19
+ #. Plugin Name of the plugin/theme
20
+ #: rich-text-excerpts.php:149
21
+ msgid "Rich Text Excerpts"
22
+ msgstr "Zengin Metin alıntılar"
23
+
24
+ #: rich-text-excerpts.php:169
25
+ msgid "Rich Text Excerpts Options"
26
+ msgstr "Zengin Metin alıntılar Seçenekleri"
27
+
28
+ #: rich-text-excerpts.php:174
29
+ msgid "Save Changes"
30
+ msgstr "Değişiklikleri Kaydet"
31
+
32
+ #: rich-text-excerpts.php:194
33
+ msgid "Choose which post types will have rich text editor for excerpts"
34
+ msgstr "Mesaj türleri alıntılar için zengin metin düzenleyicisi hangi seç"
35
+
36
+ #: rich-text-excerpts.php:203
37
+ msgid "Editor Options"
38
+ msgstr "Düzenleyici Seçenekleri"
39
+
40
+ #: rich-text-excerpts.php:209
41
+ msgid "Choose which Editor is used for excerpts"
42
+ msgstr "Alıntılar için hangi Editör seç"
43
+
44
+ #: rich-text-excerpts.php:217
45
+ msgid "Editor Settings"
46
+ msgstr "Editör Ayarları"
47
+
48
+ #: rich-text-excerpts.php:271
49
+ msgid ""
50
+ "Post types not selected here will use the regular plain text editor for "
51
+ "excerpts. If the post type you want is not listed here, it does not "
52
+ "currently support excerpts - to add support for excerpts to a post type, see "
53
+ "the Wordpress Codex"
54
+ msgstr "Burada seçili değil Mesaj türleri alıntılar için normal düz metin editörü kullanacağım. İstediğiniz mesaja sini buraya listede yoksa, şu anda alıntılar desteklemiyor - bir yazı tipi alıntılar için destek eklemek için, Wordpress Kodeksi bakın"
55
+
56
+ #: rich-text-excerpts.php:281
57
+ msgid "Use the minimal editor configuration used in PressThis"
58
+ msgstr "PressThis kullanılan Minimal editörün yapılandırmayı kullanın"
59
+
60
+ #: rich-text-excerpts.php:283
61
+ msgid "Use the full version of the editor"
62
+ msgstr "Editörü tam sürümünü kullanın"
63
+
64
+ #: rich-text-excerpts.php:284
65
+ msgid ""
66
+ "Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; "
67
+ "version of the editor (recommended). Customising the full TinyMCE editor is "
68
+ "best carried out using a plugin like TinyMCE Advanced. If you choose to use "
69
+ "the &ldquo;teeny&rdquo; version of the editor, you can customise the "
70
+ "controls it will have here"
71
+ msgstr "Tam TinyMCE editör veya editör &ldquo;teeny&rdquo; sürüm (tavsiye) kullanılıp kullanılmayacağını seçin.Tam TinyMCE editör kişiselleştirilmesi en TinyMCE Advanced gibi bir eklenti kullanılarak gerçekleştirilir. Eğer editörü &ldquo;teeny&rdquo; sürümünü kullanmayı tercih ederseniz, burada olacak denetimleri özelleştirebilirsiniz"
72
+
73
+ #: rich-text-excerpts.php:294
74
+ msgid ""
75
+ "Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in "
76
+ "the HTML editor This will make it possible to use more advanced coding in "
77
+ "the HTML editor without the back-end filtering affecting it much. However it "
78
+ "may behave unexpectedly in rare cases, so test it thoroughly before enabling "
79
+ "it permanently"
80
+ msgstr "Kaydederken &lt;p&gt; ve &lt;br&gt; etiketleri kaldırarak durdurun ve bu mümkün kadar çok etkileyen arka uç filtreleme olmadan HTML editörü daha gelişmiş kullanmak için kodlama yapacak HTML editörü onlara göstermek. Ancak o kadar kalıcı etkinleştirmeden önce iyice test, nadir durumlarda beklenmedik şekilde davranabilir"
81
+
82
+ #: rich-text-excerpts.php:296
83
+ msgid "Enable upload media button"
84
+ msgstr "Ortam düğmesine yüklemeyi etkinleştir"
85
+
86
+ #: rich-text-excerpts.php:297
87
+ msgid "Number of rows to use in the text editor (minimum is 3)"
88
+ msgstr "Metin editörü kullanmak için satır sayısı (en az 3 olmalı)"
89
+
90
+ #: rich-text-excerpts.php:298
91
+ msgid "Toolbar Buttons and Plugins"
92
+ msgstr "Araç Çubuğu Düğmeleri ve Eklentiler"
93
+
94
+ #: rich-text-excerpts.php:303
95
+ msgid "For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki"
96
+ msgstr "TinyMCE düğmeleri ve eklentileri listesi için TinyMCE wiki bakın"
97
+
98
+ #: rich-text-excerpts.php:303
99
+ msgid ""
100
+ "There is also some documentation on the implementation of TinyMCE in "
101
+ "Wordpress on the Wordpress Codex"
102
+ msgstr "Wordpress Kodeksi Wordpress TinyMCE uygulanmasına ilişkin bazı belgeleri de vardır"
103
+
104
+ #: rich-text-excerpts.php:303
105
+ msgid "Button and plugin names should be separated using commas"
106
+ msgstr "Düğme ve eklenti adları virgül kullanılarak ayrılmalıdır"
107
+
108
+ #: rich-text-excerpts.php:304
109
+ msgid ""
110
+ "Plugins to add - make sure you add any plugin specific buttons to the editor "
111
+ "below"
112
+ msgstr "Aşağıdaki editöre herhangi bir eklenti özel düğmeler eklemek emin olun - eklemek için Eklentiler"
113
+
114
+ #: rich-text-excerpts.php:305
115
+ msgid ""
116
+ "Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of "
117
+ "buttons"
118
+ msgstr "Araç çubuğu düğmeleri - düğme ayrı gruplar için kelime &lsquo;separator&rsquo; kullanın"
119
+
120
+ #: rich-text-excerpts.php:312
121
+ msgid ""
122
+ "Configure the buttons for the advanced editor using the TinyMCE Advanced "
123
+ "plugin"
124
+ msgstr "TinyMCE Advanced eklentisi kullanarak gelişmiş editörü için Düğmeleri yapılandır"
125
+
126
+ #: rich-text-excerpts.php:314
127
+ msgid ""
128
+ "If you want to configure the buttons for the advanced editor, install and "
129
+ "activate the TinyMCE Advanced plugin"
130
+ msgstr "Eğer gelişmiş editörü için düğmelerini yapılandırmak istiyorsanız, yükleme ve TinyMCE Advanced eklentiyi etkinleştirin"
131
+
132
+ #. Plugin URI of the plugin/theme
133
+ msgid "http://wordpress.org/extend/plugins/rich-text-excerpts"
134
+ msgstr "http://wordpress.org/extend/plugins/rich-text-excerpts"
135
+
136
+ #. Description of the plugin/theme
137
+ msgid "Adds rich text editing capability for excerpts using wp_editor()"
138
+ msgstr "Wp_editor () kullanarak alıntılar için zengin metin düzenleme yeteneği ekler"
139
+
140
+ #. Author of the plugin/theme
141
+ msgid "Peter Edwards"
142
+ msgstr "Peter Edwards"
143
+
144
+ #. Author URI of the plugin/theme
145
+ msgid "http://bjorsq.net"
146
+ msgstr "http://bjorsq.net"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: bjorsq
3
  Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QAQ2WC8UHFMEQ
4
  Tags: excerpt, editor, TinyMCE, formatting
5
  Requires at least: 3.3
6
- Tested up to: 3.6
7
- Stable tag: 1.2.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
@@ -16,10 +16,10 @@ The Plugin uses the [wp_editor](http://codex.wordpress.org/Function_Reference/wp
16
 
17
  The plugin utilises three action hooks:
18
 
19
- * [add_meta_boxes](http://adambrown.info/p/wp_hooks/hook/add_meta_boxes) is used to remove the excerpt meta box generated by Wordpress
20
- * [edit_form_advanced](http://adambrown.info/p/wp_hooks/hook/edit_form_advanced) and [edit_page_form](http://adambrown.info/p/wp_hooks/hook/edit_page_form) are used to add the excerpt editor to posts and pages - see the [Notes section on the Codex page for wp_editor](http://codex.wordpress.org/Function_Reference/wp_editor).
21
 
22
- **Note:** the new editing box cannot be placed in a sortable, movable meta box because of an issue with using TinyMCE in sortables documented here:
23
 
24
  http://core.trac.wordpress.org/ticket/19173
25
 
@@ -38,12 +38,16 @@ If you want to use excerpts in pages, add this to your theme's `functions.php` f
38
  `add_post_type_support('pages', 'excerpt');`
39
 
40
  See [add_post_type_support](add_post_type_support) in the Codex for details.
41
-
42
  If you want to use excerpts in Custom Post Types, do it when you create them using the `supports` array in the arguments for [register_post_type](http://codex.wordpress.org/Function_Reference/register_post_type).
43
 
44
 
45
  == Changelog ==
46
 
 
 
 
 
47
  = 1.2.1 =
48
  * removed a debugging setting from the plugin which set the `textarea_rows` to 20. Setting `textarea_rows` in `wp_editor()` doesn't appear to have any effect anyway
49
  * tidied up javascript and added error checking for selection of post types
@@ -61,7 +65,7 @@ If you want to use excerpts in Custom Post Types, do it when you create them usi
61
  * Fixed minor bug relating to editor display which was triggered in some circumstances
62
 
63
  = 1.0 =
64
- * Wordpress submission after [initial development on bitbucket](https://bitbucket.org/bjorsq/rich-text-excerpts).
65
 
66
  == Screenshots ==
67
 
@@ -69,6 +73,10 @@ If you want to use excerpts in Custom Post Types, do it when you create them usi
69
 
70
  == Contribute ==
71
 
72
- At the moment, the plugin uses [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php) to decode encoded entities in the excerpt content prior to displaying it in the editor. It would be nice to find a more robust way of accessing the excerpt field data using a Wordpress filter.
 
 
 
 
73
 
74
  If you can translate this plugin, please get in touch - there is a POT file with the plugin for translators to use. I've made translations using Google translate, but not sure if these are any good.
3
  Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QAQ2WC8UHFMEQ
4
  Tags: excerpt, editor, TinyMCE, formatting
5
  Requires at least: 3.3
6
+ Tested up to: 3.7
7
+ Stable tag: 1.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
16
 
17
  The plugin utilises three action hooks:
18
 
19
+ * [add_meta_boxes](http://adambrown.info/p/wp_hooks/hook/add_meta_boxes) is used to remove the excerpt meta box generated by Wordpress, and add the new excerpt editor metabox.
20
+ * [edit_form_advanced](http://adambrsown.info/p/wp_hooks/hook/edit_form_advanced) and [edit_page_form](http://adambrown.info/p/wp_hooks/hook/edit_page_form) are used to add the excerpt editor to posts and pages when a metabox is not used.
21
 
22
+ **Note:** the new editing box can either be placed in a sortable, draggable box or in a static position on the editing screen. By default, the former is used, but if you experience problems, try switching to the static approach. The issue with using TinyMCE in sortables is documented here:
23
 
24
  http://core.trac.wordpress.org/ticket/19173
25
 
38
  `add_post_type_support('pages', 'excerpt');`
39
 
40
  See [add_post_type_support](add_post_type_support) in the Codex for details.
41
+
42
  If you want to use excerpts in Custom Post Types, do it when you create them using the `supports` array in the arguments for [register_post_type](http://codex.wordpress.org/Function_Reference/register_post_type).
43
 
44
 
45
  == Changelog ==
46
 
47
+ = 1.3 =
48
+ * made register_plugin_options() static (bugfix)
49
+ * added option to use a metabox instead of placing the excerpt statically using edit_form_advanced or edit_page_form.
50
+
51
  = 1.2.1 =
52
  * removed a debugging setting from the plugin which set the `textarea_rows` to 20. Setting `textarea_rows` in `wp_editor()` doesn't appear to have any effect anyway
53
  * tidied up javascript and added error checking for selection of post types
65
  * Fixed minor bug relating to editor display which was triggered in some circumstances
66
 
67
  = 1.0 =
68
+ * Wordpress submission after initial development on bitbucket.
69
 
70
  == Screenshots ==
71
 
73
 
74
  == Contribute ==
75
 
76
+ Please contribute to the development of this plugin by using it and reporting issues via the Wordpress plugins forum. If you are using it successfully, please post a review and rate the plugin.
77
+
78
+ I've switched to using git for source code maintenance, so fi you want to contribute by fixing anything, suggesting enancements, or even coding them yourself, please fork the project at github and get stuck in:
79
+
80
+ https://github.com/bjorsq/rich-text-excerpts
81
 
82
  If you can translate this plugin, please get in touch - there is a POT file with the plugin for translators to use. I've made translations using Google translate, but not sure if these are any good.
rich-text-excerpts.css CHANGED
@@ -3,8 +3,8 @@ Plugin Name: Rich Text Excerpts
3
  Plugin URI: http://wordpress.org/extend/plugins/rich-text-excerpts/
4
  Description: Adds rich text editing capability for excerpts using wp_editor()
5
  Author: Peter Edwards
6
- Author URI: http://bjorsq.net
7
- Version: 1.2.1
8
  License: GPLv3
9
 
10
  This program is free software; you can redistribute it and/or modify
@@ -21,13 +21,11 @@ You should have received a copy of the GNU General Public License
21
  along with this program; if not, write to the Free Software
22
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
  */
24
- .js .rich-text-excerpt h3 {
 
25
  cursor: default;
26
  }
27
- .rich-text-excerpt h3 label {
28
- cursor: default;
29
- }
30
- .rich-text-excerpt div.rte-wrap {
31
  padding:10px;
32
  }
33
  .rte-post-types-error {
3
  Plugin URI: http://wordpress.org/extend/plugins/rich-text-excerpts/
4
  Description: Adds rich text editing capability for excerpts using wp_editor()
5
  Author: Peter Edwards
6
+ Author URI: https://github.com/bjorsq/rich-text-excerpts
7
+ Version: 1.3
8
  License: GPLv3
9
 
10
  This program is free software; you can redistribute it and/or modify
21
  along with this program; if not, write to the Free Software
22
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
  */
24
+ .js .rich-text-excerpt-static h3,
25
+ .js .rich-text-excerpt-static h3 label {
26
  cursor: default;
27
  }
28
+ .rte-wrap {
 
 
 
29
  padding:10px;
30
  }
31
  .rte-post-types-error {
rich-text-excerpts.js CHANGED
@@ -3,8 +3,8 @@ Plugin Name: Rich Text Excerpts
3
  Plugin URI: http://wordpress.org/extend/plugins/rich-text-excerpts/
4
  Description: Adds rich text editing capability for excerpts using wp_editor()
5
  Author: Peter Edwards
6
- Author URI: http://bjorsq.net
7
- Version: 1.2.1
8
  License: GPLv3
9
 
10
  This program is free software; you can redistribute it and/or modify
@@ -22,47 +22,29 @@ along with this program; if not, write to the Free Software
22
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
  */
24
  jQuery(document).ready(function($){
25
- /* this block hides and shows the options for the teeny version of the editor */
26
- if ($('.rte-options-editor-type').length) {
27
- /* add a handler to the radio buttons used for editor type selection */
28
- $('.rte-options-editor-type').click(function(){
29
- check_editor_options();
30
- });
31
- /* initial check on page load */
32
- check_editor_options();
33
- }
34
- /* this block prevents the de-selection of all post types on the settings page */
35
- if ($('.rte-post-types').length) {
36
- /* keep track of the last checkbox checked */
37
- var lastchecked = false;
38
- /* add a handler to the checkboxes for post type support */
39
- $('.rte-post-types').click(function(e){
40
- lastchecked = $(this);
41
- check_post_type_options(e);
42
- });
43
- /* initial check on page load */
44
- check_post_type_options();
45
- }
46
  /**
47
  * function to check the editor type selected for the plugin and show/hide the options
48
  * for the appropriate type
49
  */
50
- function check_editor_options()
51
  {
52
- if ($('.rte-options-editor-type').length) {
53
- if ($('#rich_text_excerpts_options-editor_type-teeny').is(':checked')) {
54
- $('#editor_type_teeny_options').show();
55
- $('#editor_type_tiny_options').hide();
56
- } else {
57
- $('#editor_type_teeny_options').hide();
58
- $('#editor_type_tiny_options').show();
59
- }
60
  }
61
- }
 
62
  /**
63
  * function to check the post-types checkboxes and ensure that one is checked
64
  */
65
- function check_post_type_options(evt)
66
  {
67
  if ($('.rte-post-types').length) {
68
  if (!$('.rte-post-types:checked').length) {
@@ -76,15 +58,99 @@ jQuery(document).ready(function($){
76
  $('.rte-post-types-error').hide();
77
  }
78
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  }
 
80
  /**
81
  * this removes the click.postboxes handler added by wordpress to the .postbox h3
82
- * for the rich text excerpt editor. This is because the editor is placed in a
83
- * static metabox (the postbox class is used for formatting only) - it cannot be
84
- * expanded, hidden or moved
85
  */
86
- if ($('.rich-text-excerpt h3').length) {
87
  /* turn off javascript on postbox heading - leave a little time for it to be added first */
88
- window.setTimeout(function(){jQuery('.rich-text-excerpt h3').unbind('click.postboxes');},500);
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  }
90
- });
3
  Plugin URI: http://wordpress.org/extend/plugins/rich-text-excerpts/
4
  Description: Adds rich text editing capability for excerpts using wp_editor()
5
  Author: Peter Edwards
6
+ Author URI: https://github.com/bjorsq/rich-text-excerpts
7
+ Version: 1.3
8
  License: GPLv3
9
 
10
  This program is free software; you can redistribute it and/or modify
22
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
  */
24
  jQuery(document).ready(function($){
25
+ /* variable and function assignment */
26
+
27
+ /* keep track of the last checkbox checked */
28
+ var lastchecked = false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  /**
30
  * function to check the editor type selected for the plugin and show/hide the options
31
  * for the appropriate type
32
  */
33
+ check_editor_options = function()
34
  {
35
+ if ($('#rich_text_excerpts_options-editor_type-teeny').prop('checked')) {
36
+ $('#editor_type_teeny_options').show();
37
+ $('#editor_type_tiny_options').hide();
38
+ } else {
39
+ $('#editor_type_teeny_options').hide();
40
+ $('#editor_type_tiny_options').show();
 
 
41
  }
42
+ },
43
+
44
  /**
45
  * function to check the post-types checkboxes and ensure that one is checked
46
  */
47
+ check_post_type_options = function()
48
  {
49
  if ($('.rte-post-types').length) {
50
  if (!$('.rte-post-types:checked').length) {
58
  $('.rte-post-types-error').hide();
59
  }
60
  }
61
+ },
62
+
63
+ /**
64
+ * function to show the meta box settings field if this is the method chosen to
65
+ * add the excerpt editor.
66
+ */
67
+ check_metabox_settings = function()
68
+ {
69
+ if ($('#rte-use-metabox').prop("checked")) {
70
+ $('#rte-metabox-settings').show();
71
+ } else {
72
+ $('#rte-metabox-settings').hide();
73
+ }
74
+ },
75
+
76
+ /**
77
+ * TinyMCE doesn't handle being moved in the DOM. Destroy the
78
+ * editor instances at the start of a sort and recreate
79
+ * them afterwards.
80
+ * From a comment by devesine on the TRAC ticket:
81
+ * http://core.trac.wordpress.org/ticket/19173
82
+ */
83
+ _triggerAllEditors = function(event, creatingEditor) {
84
+ var postbox, textarea;
85
+
86
+ postbox = $(event.target);
87
+ textarea = postbox.find('textarea.wp-editor-area');
88
+
89
+ textarea.each(function(index, element) {
90
+ var editor, is_active;
91
+
92
+ editor = tinyMCE.EditorManager.get(element.id);
93
+ is_active = $(this).parents('.tmce-active').length;
94
+
95
+ if (creatingEditor) {
96
+ if (!editor && is_active) {
97
+ tinyMCE.execCommand('mceAddControl', true, element.id);
98
+ }
99
+ }
100
+ else {
101
+ if (editor && is_active) {
102
+ editor.save();
103
+ tinyMCE.execCommand('mceRemoveControl', true, element.id);
104
+ }
105
+ }
106
+ });
107
+ };
108
+ /* add event handlers and setup the form */
109
+ if ($('#rich_text_excerpts_options_form').length) {
110
+
111
+ /* add a handler to the radio buttons used for editor type selection */
112
+ $('.rte-options-editor-type').on('click', function(){
113
+ check_editor_options();
114
+ });
115
+
116
+ /* add a handler to the checkbox used for the editor metabox display option */
117
+ $('#rte-use-metabox').on('click', function(){
118
+ check_metabox_settings();
119
+ });
120
+
121
+ /* add a handler to the checkboxes for post type support */
122
+ $('.rte-post-types').on('click', function(){
123
+ lastchecked = $(this);
124
+ check_post_type_options();
125
+ });
126
+
127
+ /* initial checks on page load */
128
+ check_editor_options();
129
+ check_metabox_settings();
130
+ check_post_type_options();
131
  }
132
+
133
  /**
134
  * this removes the click.postboxes handler added by wordpress to the .postbox h3
135
+ * for the rich text excerpt editor when it is placed in a static metabox (the
136
+ * postbox class is used for formatting only). Only invoked if the editor is added
137
+ * using edit_page_form and edit_form_advanced hooks to make the editor static.
138
  */
139
+ if ($('.rich-text-excerpt-static').length) {
140
  /* turn off javascript on postbox heading - leave a little time for it to be added first */
141
+ window.setTimeout(function(){jQuery('.rich-text-excerpt-static h3').unbind('click.postboxes');},500);
142
+ }
143
+
144
+ /**
145
+ * these functions will be invoked if the editor is placed inside a draggable metabox
146
+ * From a comment by devesine on the TRAC ticket:
147
+ * http://core.trac.wordpress.org/ticket/19173
148
+ */
149
+ if ($('.rte-wrap-metabox').length) {
150
+ $('#poststuff').on('sortstart', function(event) {
151
+ _triggerAllEditors(event, false);
152
+ }).on('sortstop', function(event) {
153
+ _triggerAllEditors(event, true);
154
+ });
155
  }
156
+ });
rich-text-excerpts.php CHANGED
@@ -4,8 +4,8 @@ Plugin Name: Rich Text Excerpts
4
  Plugin URI: http://wordpress.org/extend/plugins/rich-text-excerpts/
5
  Description: Adds rich text editing capability for excerpts using wp_editor()
6
  Author: Peter Edwards
7
- Author URI: http://bjorsq.net
8
- Version: 1.2.1
9
  Text Domain: rich-text-excerpts
10
  License: GPLv3
11
 
@@ -31,477 +31,586 @@ if ( ! class_exists('RichTextExcerpts') ) :
31
  class RichTextExcerpts {
32
 
33
  public static function register()
34
- {
35
- /**
36
- * adds an action to remove the default meta box
37
- * just after it is added to the page
38
- */
39
- add_action( 'add_meta_boxes', array( __CLASS__, 'remove_excerpt_meta_box' ), 1, 1 );
40
- /**
41
- * adds an action to add the new meta box using wp_editor()
42
- * @see http://codex.wordpress.org/Function_Reference/wp_editor
43
- */
44
- add_action( 'edit_page_form', array( __CLASS__, 'add_richtext_excerpt_editor' ) );
45
- add_action( 'edit_form_advanced', array( __CLASS__, 'add_richtext_excerpt_editor' ) );
46
- /**
47
- * filters to customise the teeny mce editor
48
- */
49
- add_filter( 'teeny_mce_plugins', array( __CLASS__, 'teeny_mce_plugins' ), 10, 2 );
50
- add_filter( 'teeny_mce_buttons', array( __CLASS__, 'teeny_mce_buttons' ), 10, 2 );
51
- /**
52
- * register plugin admin options
53
- */
54
- add_action( 'admin_menu', array( __CLASS__, 'add_plugin_admin_menu' ) );
55
- add_action( 'admin_init', array( __CLASS__, 'register_plugin_options' ) );
56
- /**
57
- * add a link to the settings page from the plugins page
58
- */
59
- add_filter( 'plugin_action_links', array( __CLASS__, 'add_settings_page_link'), 10, 2 );
60
- /**
61
- * register text domain
62
- */
63
- add_action( 'plugins_loaded', array( __CLASS__, 'load_text_domain' ) );
64
- /**
65
- * activat/deactivate
66
- */
67
- register_activation_hook( __FILE__, array( __CLASS__, 'on_activation' ) );
68
- register_deactivation_hook( __FILE__, array( __CLASS__, 'on_deactivation' ) );
69
- }
70
-
71
- /**
72
- * i18n
73
- */
74
- public static function load_text_domain()
75
- {
76
- load_plugin_textdomain( 'rich-text-excerpts', false, dirname(plugin_basename(__FILE__)) . '/languages/');
77
- }
78
-
79
- /**
80
- * store default options for plugin on activation
81
- */
82
- public static function on_activation()
83
- {
84
- if ( ! current_user_can( 'activate_plugins' ) ) {
85
- return;
86
- }
87
- update_option('rich_text_excerpts_options', self::get_default_plugin_options());
88
- }
89
-
90
- /**
91
- * remove plugin options on deactivation
92
- */
93
- public static function on_deactivation()
94
- {
95
- if ( ! current_user_can( 'activate_plugins' ) ) {
96
- return;
97
- }
98
- delete_option('rich_text_excerpts_options');
99
- }
100
-
101
- /**
102
- * determines whether the post type has support for excerpts,
103
- * and whether the plugin is configured to be used for that post type
104
- */
105
- public static function post_type_supported($post_type)
106
- {
107
- $plugin_options = self::get_plugin_options();
108
- return (post_type_supports($post_type, 'excerpt') && in_array($post_type, $plugin_options['supported_post_types']));
109
- }
110
-
111
- /**
112
- * removes the excerpt meta box normally used to edit excerpts
113
- */
114
- public static function remove_excerpt_meta_box($post_type)
115
- {
116
- if ( self::post_type_supported($post_type) ) {
117
- remove_meta_box( 'postexcerpt', $post_type, 'normal' );
118
- }
119
- }
120
-
121
- /**
122
- * adds a rich text editor to edit excerpts
123
- * includes a sanity check to see if the post type supports them first
124
- */
125
- public static function add_richtext_excerpt_editor()
126
- {
127
- global $post;
128
- if ( self::post_type_supported($post->post_type) ) {
129
- self::post_excerpt_editor();
130
- }
131
- }
132
-
133
- /**
134
- * Prints the post excerpt form field (using wp_editor()).
135
- */
136
- public static function post_excerpt_editor()
137
- {
138
- global $post;
139
- $plugin_options = self::get_plugin_options();
140
- printf('<div class="postbox rich-text-excerpt"><h3><label for="excerpt">%s</label></h3><div class="rte-wrap">', __('Excerpt', 'rich-text-excerpts'));
141
- /* options for editor */
142
- $options = array(
143
- "wpautop" => $plugin_options['editor_settings']['wpautop'],
144
- "media_buttons" => $plugin_options['editor_settings']['media_buttons'],
145
- "textarea_name" => 'excerpt',
146
- "textarea_rows" => $plugin_options['editor_settings']['textarea_rows'],
147
- "teeny" => ($plugin_options['editor_type'] === "teeny")? true: false
148
- );
149
- /* "echo" the editor */
150
- wp_editor(html_entity_decode($post->post_excerpt), 'excerpt', $options );
151
- print('</div></div>');
152
- }
153
-
154
- /**
155
- * filter to add plugins for the "teeny" editor
156
- */
157
- public static function teeny_mce_plugins($plugins, $editor_id)
158
- {
159
- $plugin_options = self::get_plugin_options();
160
- if (count($plugin_options['editor_settings']['plugins'])) {
161
- foreach ($plugin_options['editor_settings']['plugins'] as $plugin_name) {
162
- if (!isset($plugins[$plugin_name])) {
163
- array_push($plugins, $plugin_name);
164
- }
165
- }
166
- }
167
- return $plugins;
168
- }
169
-
170
- /**
171
- * filter to add buttons to the "teeny" editor
172
- * this completely disregards the buttons array passed to it and returns a new array
173
- */
174
- public static function teeny_mce_buttons($buttons, $editor_id)
175
- {
176
- $plugin_options = self::get_plugin_options();
177
- return $plugin_options['editor_settings']['buttons'];
178
- }
179
-
180
-
181
- /************************************************************
182
- * PLUGIN OPTIONS ADMINISTRATION *
183
- ************************************************************/
184
-
185
- /**
186
- * adds a link to the settings page from the plugins listing page
187
- * called using the plugin_action_links filter
188
- */
189
- public static function add_settings_page_link($links, $file)
190
- {
191
- if ($file == plugin_basename(__FILE__)) {
192
- $settings_page_link = sprintf('<a href="%s">%s</a>', admin_url('options-general.php?page=rich_text_excerpts_options'), __('Settings', 'rich-text-excerpts'));
193
- $links[] = $settings_page_link;
194
- }
195
- return $links;
196
- }
197
-
198
- /**
199
- * add an admin page under settings to configure the plugin
200
- */
201
- public static function add_plugin_admin_menu()
202
- {
203
- /* Plugin Options page */
204
- $options_page = add_submenu_page("options-general.php", __('Rich Text Excerpts', 'rich-text-excerpts'), __('Rich Text Excerpts', 'rich-text-excerpts'), "manage_options", "rich_text_excerpts_options", array( __CLASS__, "plugin_options_page" ) );
205
- /**
206
- * Use the admin_print_scripts action to add scripts.
207
- * Script is needed on both the theme options page and post/page editor
208
- */
209
- add_action( 'admin_print_scripts', array( __CLASS__, 'plugin_admin_scripts' ) );
210
- /**
211
- * Use the admin_print_styles action to add CSS.
212
- * CSS is needed for the post/page editor only
213
- */
214
- add_action( 'admin_print_styles', array( __CLASS__, 'plugin_admin_styles' ) );
215
- }
216
-
217
- /**
218
- * add script to admin for plugin options
219
- */
220
- public static function plugin_admin_scripts()
221
- {
222
- wp_enqueue_script('RichTextExcerptsAdminScript', plugins_url('rich-text-excerpts.js', __FILE__), array('jquery'));
223
- }
224
-
225
- /**
226
- * add css to admin for editor formatting
227
- */
228
- public static function plugin_admin_styles()
229
- {
230
- wp_enqueue_style('RichTextExcerptsAdminCSS', plugins_url('rich-text-excerpts.css', __FILE__));
231
- }
232
-
233
- /**
234
- * creates the options page
235
- */
236
- public static function plugin_options_page()
237
- {
238
- printf('<div class="wrap"><div class="icon32" id="icon-options-general"><br /></div><h2>%s</h2>', __('Rich Text Excerpts Options', 'rich-text-excerpts'));
239
- settings_errors('rich_text_excerpts_options');
240
- print('<form method="post" action="options.php">');
241
- settings_fields('rich_text_excerpts_options');
242
- do_settings_sections('rte');
243
- printf('<p class="submit"><input type="submit" class="button-primary" name="Submit" value="%s" /></p>', __('Save Changes', 'rich-text-excerpts'));
244
- print('</form></div>');
245
- }
246
-
247
- /**
248
- * registers settings and sections
249
- */
250
- function register_plugin_options()
251
- {
252
- register_setting( 'rich_text_excerpts_options', 'rich_text_excerpts_options', array( __CLASS__, 'validate_rich_text_excerpts_options' ) );
253
-
254
- /* post type options */
255
- add_settings_section(
256
- 'post-type-options',
257
- 'Post Types',
258
- array( __CLASS__, 'options_section_text' ),
259
- 'rte'
260
- );
261
- add_settings_field(
262
- 'supported_post_types',
263
- __('Choose which post types will use a rich text editor for excerpts', 'rich-text-excerpts'),
264
- array( __CLASS__, 'options_setting_post_types' ),
265
- 'rte',
266
- 'post-type-options'
267
- );
268
-
269
- /* editor options */
270
- add_settings_section(
271
- 'editor-options',
272
- __('Editor Options', 'rich-text-excerpts'),
273
- array( __CLASS__, 'options_section_text' ),
274
- 'rte'
275
- );
276
- add_settings_field(
277
- 'editor_type',
278
- __('Choose which Editor is used for excerpts', 'rich-text-excerpts'),
279
- array( __CLASS__, 'options_setting_editor_type' ),
280
- 'rte',
281
- 'editor-options'
282
- );
283
- /* settings for editor */
284
- add_settings_field(
285
- 'editor_settings',
286
- __('Editor Settings', 'rich-text-excerpts'),
287
- array( __CLASS__, 'options_editor_settings' ),
288
- 'rte',
289
- 'editor-options'
290
- );
291
- }
292
-
293
- /**
294
- * gets plugin options - merges saved options with defaults
295
- * @return array
296
- */
297
- public static function get_plugin_options()
298
- {
299
- $saved = get_option('rich_text_excerpts_options');
300
- return self::validate_rich_text_excerpts_options($saved);
301
- }
302
-
303
- /**
304
- * gets default plugin options
305
- */
306
- public static function get_default_plugin_options()
307
- {
308
- return array(
309
- "supported_post_types" => array('post'),
310
- "editor_type" => "teeny",
311
- "editor_settings" => array(
312
- "wpautop" => true,
313
- "media_buttons" => false,
314
- "textarea_rows" => 3,
315
- "buttons" => array('bold', 'italic', 'underline', 'separator','pastetext', 'pasteword', 'removeformat', 'separator', 'charmap', 'blockquote', 'separator', 'bullist', 'numlist', 'separator', 'justifyleft', 'justifycenter', 'justifyright', 'separator', 'undo', 'redo', 'separator', 'link', 'unlink'),
316
- "plugins" => array('charmap', 'paste')
317
- )
318
- );
319
- }
320
-
321
- /**
322
- * settings section text
323
- */
324
- public static function options_section_text()
325
- {
326
- echo "";
327
- }
328
-
329
- /**
330
- * post type support settings
331
- */
332
- public static function options_setting_post_types()
333
- {
334
- $options = self::get_plugin_options();
335
- $post_types = get_post_types(array("public" => true),'names');
336
- foreach ($post_types as $post_type ) {
337
- if ( post_type_supports($post_type, 'excerpt') ) {
338
- $chckd = (in_array($post_type, $options["supported_post_types"]))? ' checked="checked"': '';
339
- printf('<p class="rte-post-types-inputs"><input class="rte-post-types" type="checkbox" name="rich_text_excerpts_options[supported_post_types][]" id="supported_post_types-%s" value="%s"%s /> <label for="supported_post_types-%s">%s</label></p>', $post_type, $post_type, $chckd, $post_type, $post_type);
340
- }
341
- }
342
- printf('<div class="rte-post-types-error"></p>%s</p></div>', __('If you want to disable support for all post types, please disable the plugin', 'rich-text-excerpts'));
343
- printf('<p>%s<br /><a href="http://codex.wordpress.org/Function_Reference/add_post_type_support">add_post_type_support()</a></p>', __('Post types not selected here will use the regular plain text editor for excerpts. If the post type you want is not listed here, it does not currently support excerpts - to add support for excerpts to a post type, see the Wordpress Codex', 'rich-text-excerpts'));
344
- }
345
-
346
- /**
347
- * editor type radios
348
- */
349
- public static function options_setting_editor_type()
350
- {
351
- $options = self::get_plugin_options();
352
- $chckd = ($options["editor_type"] === "teeny")? ' checked="checked"': '';
353
- printf('<p><input type="radio" name="rich_text_excerpts_options[editor_type]" id="rich_text_excerpts_options-editor_type-teeny" class="rte-options-editor-type" value="teeny"%s /> <label for="rich_text_excerpts_options-editor_type-teeny">%s</label></p>', $chckd, __('Use the minimal editor configuration used in PressThis', 'rich-text-excerpts'));
354
- $chckd = ($options["editor_type"] === "teeny")? '': ' checked="checked"';
355
- printf('<p><input type="radio" name="rich_text_excerpts_options[editor_type]" id="rich_text_excerpts_options-editor_type-tiny" class="rte-options-editor-type" value="tiny"%s /> <label for="rich_text_excerpts_options-editor_type-tiny">%s</label></p>', $chckd, __('Use the full version of the editor', 'rich-text-excerpts'));
356
- printf('<p>%s.</p>', __('Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; version of the editor (recommended). Customising the full TinyMCE editor is best carried out using a plugin like TinyMCE Advanced. If you choose to use the &ldquo;teeny&rdquo; version of the editor, you can customise the controls it will have here', 'rich-text-excerpts'));
357
- }
358
-
359
- /**
360
- * Settings for text editor
361
- * Follows the Wordpress wp_editor function. Arguments not implemented are:
362
- * - tabindex - may be a way to find out what this should be for a metabox and pass to wp_editor automatically?
363
- * - editor_css - Additional CSS styling applied for both visual and HTML editors buttons, needs to include <style> tags, can use "scoped" (hard to validate)
364
- * - editor_class - Any extra CSS Classes to append to the Editor textarea (could be useful?)
365
- * - dfw - Whether to replace the default fullscreen editor with DFW (needs specific DOM elements and css)
366
- * - tinymce - Load TinyMCE, can be used to pass settings directly to TinyMCE using an array() - direct people to TinyMCE Advanced rther than implement this
367
- * - quicktags - Load Quicktags, can be used to pass settings directly to Quicktags using an array() (could be useful? does TA handle quicktags?)
368
- * @see http://codex.wordpress.org/Function_Reference/wp_editor
369
- */
370
- public static function options_editor_settings()
371
- {
372
- $options = self::get_plugin_options();
373
- $chckd = $options['editor_settings']['wpautop']? '': ' checked="checked"';
374
- printf('<p><input type="checkbox" name="rich_text_excerpts_options[editor_settings][wpautop]" id="rich_text_excerpts_options-editor_settings-wpautop" value="0"%s /> <label for="rich_text_excerpts_options-editor_settings-wpautop">%s.</label></p>', $chckd, __('Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in the HTML editor This will make it possible to use more advanced coding in the HTML editor without the back-end filtering affecting it much. However it may behave unexpectedly in rare cases, so test it thoroughly before enabling it permanently', 'rich-text-excerpts'));
375
- $chckd = $options['editor_settings']['media_buttons']? 'checked="checked"': '';
376
- printf('<p><input type="checkbox" name="rich_text_excerpts_options[editor_settings][media_buttons]" id="rich_text_excerpts_options-editor_settings-media_buttons"%s /> <label for="rich_text_excerpts_options-editor_settings-media_buttons">%s</label></p>', $chckd, __('Enable upload media button', 'rich-text-excerpts'));
377
- printf('<p><input type="text" length="2" name="rich_text_excerpts_options[editor_settings][textarea_rows]" id="rich_text_excerpts_options-editor_settings-textarea_rows" value="%d" /> <label for="rich_text_excerpts_options-editor_settings-textarea_rows">%s</label></p>', intVal($options['editor_settings']['textarea_rows']), __('Number of rows to use in the text editor (minimum is 3)', 'rich-text-excerpts'));
378
- printf('<p><strong>%s</strong></p>', __('Toolbar Buttons and Plugins', 'rich-text-excerpts'));
379
- /**
380
- * settings for teeny text editor
381
- */
382
- print('<div id="editor_type_teeny_options">');
383
- printf('<p>%s.<br /><a href="http://www.tinymce.com/wiki.php/Buttons/controls">http://www.tinymce.com/wiki.php/Buttons/controls</a><br />%s<br /><a href="http://codex.wordpress.org/TinyMCE">http://codex.wordpress.org/TinyMCE</a><br />%s.</p>', __('For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki', 'rich-text-excerpts'), __('There is also some documentation on the implementation of TinyMCE in Wordpress on the Wordpress Codex', 'rich-text-excerpts'), __('Button and plugin names should be separated using commas', 'rich-text-excerpts'));
384
- printf('<p><label for="rich_text_excerpts_options-editor_settings-plugins">%s.</label><br /><input type="text" length="50" name="rich_text_excerpts_options[editor_settings][plugins]" id="rich_text_excerpts_options-editor_settings-plugins" value="%s" /></p>', __('Plugins to add - make sure you add any plugin specific buttons to the editor below', 'rich-text-excerpts'), implode(',', $options['editor_settings']['plugins']));
385
- printf('<p><label for="rich_text_excerpts_options-editor_settings-buttons">%s</label><br /><textarea name="rich_text_excerpts_options[editor_settings][buttons]" id="rich_text_excerpts_options-editor_settings-buttons" cols="100" rows="3">%s</textarea></p>', __('Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of buttons', 'rich-text-excerpts'), implode(',', $options['editor_settings']['buttons']));
386
- print('</div>');
387
- /**
388
- * settings for tiny text editor (none to show here, but show links to TinyMCE advanced)
389
- */
390
- print('<div id="editor_type_tiny_options">');
391
- if (is_plugin_active('tinymce-advanced/tinymce-advanced.php')) {
392
- printf('<p><a href="%s">%s</a>.</p>', admin_url('options-general.php?page=tinymce-advanced'), __('Configure the buttons for the advanced editor using the TinyMCE Advanced plugin', 'rich-text-excerpts'));
393
- } else {
394
- printf('<p><a href="%s">%s</a>.</p>', admin_url('plugins.php'), __('If you want to configure the buttons for the advanced editor, install and activate the TinyMCE Advanced plugin', 'rich-text-excerpts'));
395
- }
396
- print('</div>');
397
- }
398
-
399
- /**
400
- * takes a string of comma-separated arguments and splits it into an array
401
- */
402
- public static function get_mce_array($inputStr = '')
403
- {
404
- if (trim($inputStr) === "") {
405
- return array();
406
- } else {
407
- return self::cleanup_array(explode(',', $inputStr));
408
- }
409
- }
410
-
411
- /**
412
- * removes empty elements from an array
413
- * Always returns an array, no matter what is passed to it
414
- */
415
- public static function cleanup_array($arr = array())
416
- {
417
- $output = array();
418
- if (is_array($arr) && count($arr)) {
419
- $arr = array_map('trim', $arr);
420
- foreach ($arr as $str) {
421
- if (!empty($str)) {
422
- $output[] = $str;
423
- }
424
- }
425
- }
426
- return $output;
427
- }
428
-
429
- /**
430
- * input validation callback
431
- * also used to sanitise options in get_plugin_options()
432
- */
433
- public static function validate_rich_text_excerpts_options($plugin_options)
434
- {
435
- /* get defaults as a fallabck for missing values */
436
- $defaults = self::get_default_plugin_options();
437
- /* make sure supported post types is an array */
438
- if (!isset($plugin_options['supported_post_types']) || !is_array($plugin_options['supported_post_types'])) {
439
- $plugin_options['supported_post_types'] = $defaults['supported_post_types'];
440
- }
441
- /* make sure editor type is one of the allowed types */
442
- if (!isset($plugin_options['editor_type']) || !in_array($plugin_options['editor_type'], array('teeny','tiny'))) {
443
- $plugin_options['editor_type'] = $defaults['editor_type'];
444
- }
445
- /* make sure there are some editor settings */
446
- if (!isset($plugin_options['editor_settings'])) {
447
- $plugin_options['editor_settings'] = $defaults['editor_settings'];
448
- } else {
449
- /* make sure wpautop is set, and a boolean value */
450
- if (!isset($plugin_options['editor_settings']['wpautop'])) {
451
- $plugin_options['editor_settings']['wpautop'] = $defaults['editor_settings']['wpautop'];
452
- } else {
453
- $plugin_options['editor_settings']['wpautop'] = (bool) $plugin_options['editor_settings']['wpautop'];
454
- }
455
- /* make sure media_buttons is set, and a boolean value */
456
- if (!isset($plugin_options['editor_settings']['media_buttons'])) {
457
- $plugin_options['editor_settings']['media_buttons'] = $defaults['editor_settings']['media_buttons'];
458
- } else {
459
- $plugin_options['editor_settings']['media_buttons'] = (bool) $plugin_options['editor_settings']['media_buttons'];
460
- }
461
- /* make sure textarea_rows is set, and is an integer greater than 3 */
462
- $plugin_options['editor_settings']['textarea_rows'] = isset($plugin_options['editor_settings']['textarea_rows'])? intval($plugin_options['editor_settings']['textarea_rows']): $defaults['editor_settings']['textarea_rows'];
463
- if ($plugin_options['editor_settings']['textarea_rows'] < 3) {
464
- $plugin_options['editor_settings']['textarea_rows'] = 3;
465
- }
466
- /* make sure plugins and buttons are set, and are arrays */
467
- if (!isset($plugin_options['editor_settings']['plugins'])) {
468
- $plugin_options['editor_settings']['plugins'] = $defaults['editor_settings']['plugins'];
469
- } else {
470
- /* if this is a string, we are coming from the settings form */
471
- if (!is_array($plugin_options['editor_settings']['plugins'])) {
472
- /* tidy up the string and make sure we end up with an array */
473
- if (trim($plugin_options['editor_settings']['plugins']) === "") {
474
- $plugin_options['editor_settings']['plugins'] = array();
475
- } else {
476
- $plugin_options['editor_settings']['plugins'] = self::get_mce_array($plugin_options['editor_settings']['plugins']);
477
- }
478
- } else {
479
- $plugin_options['editor_settings']['plugins'] = self::cleanup_array($plugin_options['editor_settings']['plugins']);
480
- }
481
- }
482
- if (!isset($plugin_options['editor_settings']['buttons'])) {
483
- $plugin_options['editor_settings']['buttons'] = $defaults['editor_settings']['buttons'];
484
- } else {
485
- /* if this is a string, we are coming from the settings form */
486
- if (!is_array($plugin_options['editor_settings']['buttons'])) {
487
- /* tidy up the string and make sure we end up with an array */
488
- if (trim($plugin_options['editor_settings']['buttons']) === "") {
489
- $plugin_options['editor_settings']['buttons'] = array();
490
- } else {
491
- $plugin_options['editor_settings']['buttons'] = self::get_mce_array($plugin_options['editor_settings']['buttons']);
492
- }
493
- } else {
494
- $plugin_options['editor_settings']['buttons'] = self::cleanup_array($plugin_options['editor_settings']['buttons']);
495
- }
496
- }
497
- /* if the buttons array is empty, reset both buttons and plugins to the default value */
498
- if (!count($plugin_options['editor_settings']['buttons'])) {
499
- $plugin_options['editor_settings']['buttons'] = $defaults['editor_settings']['buttons'];
500
- $plugin_options['editor_settings']['plugins'] = $defaults['editor_settings']['plugins'];
501
- }
502
- }
503
- return $plugin_options;
504
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
505
 
506
  }
507
  /* end class definition */
4
  Plugin URI: http://wordpress.org/extend/plugins/rich-text-excerpts/
5
  Description: Adds rich text editing capability for excerpts using wp_editor()
6
  Author: Peter Edwards
7
+ Author URI: https://github.com/bjorsq/rich-text-excerpts
8
+ Version: 1.3
9
  Text Domain: rich-text-excerpts
10
  License: GPLv3
11
 
31
  class RichTextExcerpts {
32
 
33
  public static function register()
34
+ {
35
+ /**
36
+ * adds an action to remove the default meta box
37
+ * just after it is added to the page
38
+ */
39
+ add_action( 'add_meta_boxes', array( __CLASS__, 'remove_excerpt_meta_box' ), 1, 1 );
40
+ /**
41
+ * get the plugin options
42
+ */
43
+ $plugin_options = self::get_plugin_options();
44
+ /**
45
+ * adding a richtext editor to a sortable postbox has only been tested in 3.5
46
+ * so only add using add_meta_box() for 3.5 and above
47
+ */
48
+ if ($plugin_options['metabox']['use']) {
49
+ /**
50
+ * adds an action to add the editor in a new meta box
51
+ */
52
+ add_action( 'add_meta_boxes', array(__CLASS__, 'add_richtext_excerpt_editor_metabox'));
53
+ } else {
54
+ /**
55
+ * adds an action to add the editor using edit_page_form and edit_form_advanced
56
+ */
57
+ add_action( 'edit_page_form', array( __CLASS__, 'add_richtext_excerpt_editor' ) );
58
+ add_action( 'edit_form_advanced', array( __CLASS__, 'add_richtext_excerpt_editor' ) );
59
+ }
60
+ /**
61
+ * filters to customise the teeny mce editor
62
+ */
63
+ add_filter( 'teeny_mce_plugins', array( __CLASS__, 'teeny_mce_plugins' ), 10, 2 );
64
+ add_filter( 'teeny_mce_buttons', array( __CLASS__, 'teeny_mce_buttons' ), 10, 2 );
65
+ /**
66
+ * register plugin admin options
67
+ */
68
+ add_action( 'admin_menu', array( __CLASS__, 'add_plugin_admin_menu' ) );
69
+ add_action( 'admin_init', array( __CLASS__, 'register_plugin_options' ) );
70
+ /**
71
+ * add a link to the settings page from the plugins page
72
+ */
73
+ add_filter( 'plugin_action_links', array( __CLASS__, 'add_settings_page_link'), 10, 2 );
74
+ /**
75
+ * register text domain
76
+ */
77
+ add_action( 'plugins_loaded', array( __CLASS__, 'load_text_domain' ) );
78
+ /**
79
+ * activat/deactivate
80
+ */
81
+ register_activation_hook( __FILE__, array( __CLASS__, 'on_activation' ) );
82
+ register_deactivation_hook( __FILE__, array( __CLASS__, 'on_deactivation' ) );
83
+ }
84
+
85
+ /**
86
+ * i18n
87
+ */
88
+ public static function load_text_domain()
89
+ {
90
+ load_plugin_textdomain( 'rich-text-excerpts', false, dirname(plugin_basename(__FILE__)) . '/languages/');
91
+ }
92
+
93
+ /**
94
+ * store default options for plugin on activation
95
+ */
96
+ public static function on_activation()
97
+ {
98
+ if ( ! current_user_can( 'activate_plugins' ) ) {
99
+ return;
100
+ }
101
+ update_option('rich_text_excerpts_options', self::get_default_plugin_options());
102
+ }
103
+
104
+ /**
105
+ * remove plugin options on deactivation
106
+ */
107
+ public static function on_deactivation()
108
+ {
109
+ if ( ! current_user_can( 'activate_plugins' ) ) {
110
+ return;
111
+ }
112
+ delete_option('rich_text_excerpts_options');
113
+ }
114
+
115
+ /**
116
+ * determines whether the post type has support for excerpts,
117
+ * and whether the plugin is configured to be used for that post type
118
+ */
119
+ public static function post_type_supported($post_type)
120
+ {
121
+ $plugin_options = self::get_plugin_options();
122
+ return (post_type_supports($post_type, 'excerpt') && in_array($post_type, $plugin_options['supported_post_types']));
123
+ }
124
+
125
+ /**
126
+ * removes the excerpt meta box normally used to edit excerpts
127
+ */
128
+ public static function remove_excerpt_meta_box($post_type)
129
+ {
130
+ if ( self::post_type_supported($post_type) ) {
131
+ remove_meta_box( 'postexcerpt', $post_type, 'normal' );
132
+ }
133
+ }
134
+
135
+ /**
136
+ * adds a rich text editor to edit excerpts
137
+ * includes a sanity check to see if the post type supports them first
138
+ */
139
+ public static function add_richtext_excerpt_editor()
140
+ {
141
+ global $post;
142
+ if ( self::post_type_supported($post->post_type) ) {
143
+ self::post_excerpt_editor();
144
+ }
145
+ }
146
+
147
+ /**
148
+ * adds a rich text editor in a metabox
149
+ */
150
+ public static function add_richtext_excerpt_editor_metabox()
151
+ {
152
+ $plugin_options = self::get_plugin_options();
153
+ foreach ($plugin_options["supported_post_types"] as $post_type) {
154
+ add_meta_box(
155
+ 'richtext_excerpt_editor_metabox'
156
+ ,__('Excerpt', 'rich-text-excerpts')
157
+ ,array( __CLASS__, 'post_excerpt_editor' )
158
+ ,$post_type
159
+ ,$plugin_options["metabox"]["context"]
160
+ ,$plugin_options["metabox"]["priority"]
161
+ );
162
+ }
163
+ }
164
+
165
+ /**
166
+ * Prints the post excerpt form field (using wp_editor()).
167
+ */
168
+ public static function post_excerpt_editor()
169
+ {
170
+ global $post;
171
+ if ($post && $post->post_excerpt) {
172
+ $excerpt = $post->post_excerpt;
173
+ } else {
174
+ $excerpt = '';
175
+ }
176
+ $plugin_options = self::get_plugin_options();
177
+ if (!$plugin_options['metabox']['use']) {
178
+ /* wrap in a postbox to make it look pretty */
179
+ printf('<div class="postbox rich-text-excerpt-static"><h3><label for="excerpt">%s</label></h3><div class="rte-wrap">', __('Excerpt', 'rich-text-excerpts'));
180
+ } else {
181
+ /* wrap to identify presence of metabox to scripts so they can disable the editor when sorting takes place */
182
+ print('<div class="rte-wrap-metabox">');
183
+ }
184
+ /* options for editor */
185
+ $options = array(
186
+ "wpautop" => $plugin_options['editor_settings']['wpautop'],
187
+ "media_buttons" => $plugin_options['editor_settings']['media_buttons'],
188
+ "textarea_name" => 'excerpt',
189
+ "textarea_rows" => $plugin_options['editor_settings']['textarea_rows'],
190
+ "teeny" => ($plugin_options['editor_type'] === "teeny")? true: false
191
+ );
192
+ /* "echo" the editor */
193
+ wp_editor(html_entity_decode($excerpt), 'excerpt', $options );
194
+ if (!$plugin_options['metabox']['use']) {
195
+ /* finish wrapping */
196
+ print('</div></div>');
197
+ } else {
198
+ print('</div>');
199
+ }
200
+ }
201
+
202
+ /**
203
+ * filter to add plugins for the "teeny" editor
204
+ */
205
+ public static function teeny_mce_plugins($plugins, $editor_id)
206
+ {
207
+ $plugin_options = self::get_plugin_options();
208
+ if (count($plugin_options['editor_settings']['plugins'])) {
209
+ foreach ($plugin_options['editor_settings']['plugins'] as $plugin_name) {
210
+ if (!isset($plugins[$plugin_name])) {
211
+ array_push($plugins, $plugin_name);
212
+ }
213
+ }
214
+ }
215
+ return $plugins;
216
+ }
217
+
218
+ /**
219
+ * filter to add buttons to the "teeny" editor
220
+ * this completely disregards the buttons array passed to it and returns a new array
221
+ */
222
+ public static function teeny_mce_buttons($buttons, $editor_id)
223
+ {
224
+ $plugin_options = self::get_plugin_options();
225
+ return $plugin_options['editor_settings']['buttons'];
226
+ }
227
+
228
+
229
+ /************************************************************
230
+ * PLUGIN OPTIONS ADMINISTRATION *
231
+ ************************************************************/
232
+
233
+ /**
234
+ * adds a link to the settings page from the plugins listing page
235
+ * called using the plugin_action_links filter
236
+ */
237
+ public static function add_settings_page_link($links, $file)
238
+ {
239
+ if ($file == plugin_basename(__FILE__)) {
240
+ $settings_page_link = sprintf('<a href="%s">%s</a>', admin_url('options-general.php?page=rich_text_excerpts_options'), __('Settings', 'rich-text-excerpts'));
241
+ $links[] = $settings_page_link;
242
+ }
243
+ return $links;
244
+ }
245
+
246
+ /**
247
+ * add an admin page under settings to configure the plugin
248
+ */
249
+ public static function add_plugin_admin_menu()
250
+ {
251
+ /* Plugin Options page */
252
+ $options_page = add_submenu_page("options-general.php", __('Rich Text Excerpts', 'rich-text-excerpts'), __('Rich Text Excerpts', 'rich-text-excerpts'), "manage_options", "rich_text_excerpts_options", array( __CLASS__, "plugin_options_page" ) );
253
+ /**
254
+ * Use the admin_print_scripts action to add scripts.
255
+ * Script is needed on both the theme options page and post/page editor
256
+ */
257
+ add_action( 'admin_print_scripts', array( __CLASS__, 'plugin_admin_scripts' ) );
258
+ /**
259
+ * Use the admin_print_styles action to add CSS.
260
+ * CSS is needed for the post/page editor only
261
+ */
262
+ add_action( 'admin_print_styles', array( __CLASS__, 'plugin_admin_styles' ) );
263
+ }
264
+
265
+ /**
266
+ * add script to admin for plugin options
267
+ */
268
+ public static function plugin_admin_scripts()
269
+ {
270
+ wp_enqueue_script('RichTextExcerptsAdminScript', plugins_url('rich-text-excerpts.js', __FILE__), array('jquery'));
271
+ }
272
+
273
+ /**
274
+ * add css to admin for editor formatting
275
+ */
276
+ public static function plugin_admin_styles()
277
+ {
278
+ wp_enqueue_style('RichTextExcerptsAdminCSS', plugins_url('rich-text-excerpts.css', __FILE__));
279
+ }
280
+
281
+ /**
282
+ * creates the options page
283
+ */
284
+ public static function plugin_options_page()
285
+ {
286
+ printf('<div class="wrap"><div class="icon32" id="icon-options-general"><br /></div><h2>%s</h2>', __('Rich Text Excerpts Options', 'rich-text-excerpts'));
287
+ settings_errors('rich_text_excerpts_options');
288
+ print('<form method="post" action="options.php" id="rich_text_excerpts_options_form">');
289
+ settings_fields('rich_text_excerpts_options');
290
+ do_settings_sections('rte');
291
+ printf('<p class="submit"><input type="submit" class="button-primary" name="Submit" value="%s" /></p>', __('Save Changes', 'rich-text-excerpts'));
292
+ print('</form></div>');
293
+ }
294
+
295
+ /**
296
+ * registers settings and sections
297
+ */
298
+ public static function register_plugin_options()
299
+ {
300
+ register_setting( 'rich_text_excerpts_options', 'rich_text_excerpts_options', array( __CLASS__, 'validate_rich_text_excerpts_options' ) );
301
+
302
+ /* post type and metabox options */
303
+ add_settings_section(
304
+ 'post-type-options',
305
+ 'Post Types',
306
+ array( __CLASS__, 'options_section_text' ),
307
+ 'rte'
308
+ );
309
+
310
+ add_settings_field(
311
+ 'supported_post_types',
312
+ __('Choose which post types will use a rich text editor for excerpts', 'rich-text-excerpts'),
313
+ array( __CLASS__, 'options_setting_post_types' ),
314
+ 'rte',
315
+ 'post-type-options'
316
+ );
317
+
318
+ /* editor options */
319
+ add_settings_section(
320
+ 'editor-options',
321
+ __('Editor Options', 'rich-text-excerpts'),
322
+ array( __CLASS__, 'options_section_text' ),
323
+ 'rte'
324
+ );
325
+
326
+ add_settings_field(
327
+ 'metabox',
328
+ __('Use a meta box', 'rich-text-excerpts'),
329
+ array( __CLASS__, 'options_setting_metabox' ),
330
+ 'rte',
331
+ 'editor-options'
332
+ );
333
+
334
+ add_settings_field(
335
+ 'editor_type',
336
+ __('Choose which Editor is used for excerpts', 'rich-text-excerpts'),
337
+ array( __CLASS__, 'options_setting_editor_type' ),
338
+ 'rte',
339
+ 'editor-options'
340
+ );
341
+ /* settings for editor */
342
+ add_settings_field(
343
+ 'editor_settings',
344
+ __('Editor Settings', 'rich-text-excerpts'),
345
+ array( __CLASS__, 'options_editor_settings' ),
346
+ 'rte',
347
+ 'editor-options'
348
+ );
349
+ }
350
+
351
+ /**
352
+ * gets plugin options - merges saved options with defaults
353
+ * @return array
354
+ */
355
+ public static function get_plugin_options()
356
+ {
357
+ $saved = get_option('rich_text_excerpts_options');
358
+ return self::validate_rich_text_excerpts_options($saved);
359
+ }
360
+
361
+ /**
362
+ * gets default plugin options
363
+ */
364
+ public static function get_default_plugin_options()
365
+ {
366
+ return array(
367
+ "supported_post_types" => array('post'),
368
+ "editor_type" => "teeny",
369
+ "metabox" => array(
370
+ "use" => true,
371
+ "context" => 'advanced',
372
+ "priority" => 'high'
373
+ ),
374
+ "editor_settings" => array(
375
+ "wpautop" => true,
376
+ "media_buttons" => false,
377
+ "textarea_rows" => 3,
378
+ "buttons" => array('bold', 'italic', 'underline', 'separator','pastetext', 'pasteword', 'removeformat', 'separator', 'charmap', 'blockquote', 'separator', 'bullist', 'numlist', 'separator', 'justifyleft', 'justifycenter', 'justifyright', 'separator', 'undo', 'redo', 'separator', 'link', 'unlink'),
379
+ "plugins" => array('charmap', 'paste')
380
+ )
381
+ );
382
+ }
383
+
384
+ /**
385
+ * settings section text
386
+ */
387
+ public static function options_section_text()
388
+ {
389
+ echo "";
390
+ }
391
+
392
+ /**
393
+ * post type support settings
394
+ */
395
+ public static function options_setting_post_types()
396
+ {
397
+ $options = self::get_plugin_options();
398
+ $post_types = get_post_types(array("public" => true),'names');
399
+ foreach ($post_types as $post_type ) {
400
+ if ( post_type_supports($post_type, 'excerpt') ) {
401
+ $chckd = (in_array($post_type, $options["supported_post_types"]))? ' checked="checked"': '';
402
+ printf('<p class="rte-post-types-inputs"><input class="rte-post-types" type="checkbox" name="rich_text_excerpts_options[supported_post_types][]" id="supported_post_types-%s" value="%s"%s /> <label for="supported_post_types-%s">%s</label></p>', $post_type, $post_type, $chckd, $post_type, $post_type);
403
+ }
404
+ }
405
+ printf('<div class="rte-post-types-error"></p>%s</p></div>', __('If you want to disable support for all post types, please disable the plugin', 'rich-text-excerpts'));
406
+ printf('<p>%s<br /><a href="http://codex.wordpress.org/Function_Reference/add_post_type_support">add_post_type_support()</a></p>', __('Post types not selected here will use the regular plain text editor for excerpts. If the post type you want is not listed here, it does not currently support excerpts - to add support for excerpts to a post type, see the Wordpress Codex', 'rich-text-excerpts'));
407
+ }
408
+
409
+ /**
410
+ * Meta box support settings
411
+ */
412
+ public static function options_setting_metabox()
413
+ {
414
+ $options = self::get_plugin_options();
415
+ /* whether or not to use a metabox for excerpts */
416
+ $chckd = $options["metabox"]["use"]? ' checked="checked"': '';
417
+ printf('<p class="rte-use-metabox-input"><input class="rte-metabox" type="checkbox" name="rich_text_excerpts_options[metabox][use]" id="rte-use-metabox" value="1"%s /> <label for="rte-use-metabox">%s</label></p>', $chckd, __('Check this box to put the excerpt in a draggable meta box', 'rich-text-excerpts'));
418
+ print('<div id="rte-metabox-settings">');
419
+ /* metabox context settings */
420
+ print('<p><label for="rte-metabox-context"><select name="rich_text_excerpts_options[metabox][context]">');
421
+ foreach (array('normal', 'advanced', 'side') as $context) {
422
+ $sel = ($options['metabox']['context'] == $context)? ' selected="selected"': '';
423
+ printf('<option value="%s"%s>%s</option>', $context, $sel, $context);
424
+ }
425
+ printf('</select> %s</p>', __('Set the part of the page where the excerpt editor should be shown', 'rich-text-excerpts'));
426
+ /* metabox priority settings */
427
+ print('<p><label for="rte-metabox-priority"><select name="rich_text_excerpts_options[metabox][priority]">');
428
+ foreach (array('high', 'core', 'default', 'low') as $priority) {
429
+ $sel = ($options['metabox']['priority'] == $priority)? ' selected="selected"': '';
430
+ printf('<option value="%s"%s>%s</option>', $priority, $sel, $priority);
431
+ }
432
+ printf('</select> %s</p>', __('Set the priority of the excerpt editor', 'rich-text-excerpts'));
433
+ print('</div>');
434
+ }
435
+
436
+ /**
437
+ * editor type radios
438
+ */
439
+ public static function options_setting_editor_type()
440
+ {
441
+ $options = self::get_plugin_options();
442
+ $chckd = ($options["editor_type"] === "teeny")? ' checked="checked"': '';
443
+ printf('<p><label for="rich_text_excerpts_options-editor_type-teeny"><input type="radio" name="rich_text_excerpts_options[editor_type]" id="rich_text_excerpts_options-editor_type-teeny" class="rte-options-editor-type" value="teeny"%s /> %s</label></p>', $chckd, __('Use the minimal editor configuration used in PressThis', 'rich-text-excerpts'));
444
+ $chckd = ($options["editor_type"] === "teeny")? '': ' checked="checked"';
445
+ printf('<p><label for="rich_text_excerpts_options-editor_type-tiny"><input type="radio" name="rich_text_excerpts_options[editor_type]" id="rich_text_excerpts_options-editor_type-tiny" class="rte-options-editor-type" value="tiny"%s /> %s</label></p>', $chckd, __('Use the full version of the editor', 'rich-text-excerpts'));
446
+ printf('<p>%s.</p>', __('Choose whether to use the full TinyMCE editor, or the &ldquo;teeny&rdquo; version of the editor.', 'rich-text-excerpts'));
447
+ }
448
+
449
+ /**
450
+ * Settings for text editor
451
+ * Follows the Wordpress wp_editor function. Arguments not implemented are:
452
+ * - tabindex - may be a way to find out what this should be for a metabox and pass to wp_editor automatically?
453
+ * - editor_css - Additional CSS styling applied for both visual and HTML editors buttons, needs to include <style> tags, can use "scoped" (hard to validate)
454
+ * - editor_class - Any extra CSS Classes to append to the Editor textarea (could be useful?)
455
+ * - dfw - Whether to replace the default fullscreen editor with DFW (needs specific DOM elements and css)
456
+ * - tinymce - Load TinyMCE, can be used to pass settings directly to TinyMCE using an array() - direct people to TinyMCE Advanced rther than implement this
457
+ * - quicktags - Load Quicktags, can be used to pass settings directly to Quicktags using an array() (could be useful? does TA handle quicktags?)
458
+ * @see http://codex.wordpress.org/Function_Reference/wp_editor
459
+ */
460
+ public static function options_editor_settings()
461
+ {
462
+ $options = self::get_plugin_options();
463
+ $chckd = $options['editor_settings']['wpautop']? '': ' checked="checked"';
464
+ printf('<p><input type="checkbox" name="rich_text_excerpts_options[editor_settings][wpautop]" id="rich_text_excerpts_options-editor_settings-wpautop" value="0"%s /> <label for="rich_text_excerpts_options-editor_settings-wpautop">%s.</label></p>', $chckd, __('Stop removing the &lt;p&gt; and &lt;br&gt; tags when saving and show them in the HTML editor This will make it possible to use more advanced coding in the HTML editor without the back-end filtering affecting it much. However it may behave unexpectedly in rare cases, so test it thoroughly before enabling it permanently', 'rich-text-excerpts'));
465
+ $chckd = $options['editor_settings']['media_buttons']? 'checked="checked"': '';
466
+ printf('<p><input type="checkbox" name="rich_text_excerpts_options[editor_settings][media_buttons]" id="rich_text_excerpts_options-editor_settings-media_buttons"%s /> <label for="rich_text_excerpts_options-editor_settings-media_buttons">%s</label></p>', $chckd, __('Enable upload media button', 'rich-text-excerpts'));
467
+ printf('<p><input type="text" length="2" name="rich_text_excerpts_options[editor_settings][textarea_rows]" id="rich_text_excerpts_options-editor_settings-textarea_rows" value="%d" /> <label for="rich_text_excerpts_options-editor_settings-textarea_rows">%s</label></p>', intVal($options['editor_settings']['textarea_rows']), __('Number of rows to use in the text editor (minimum is 3)', 'rich-text-excerpts'));
468
+ printf('<p><strong>%s</strong></p>', __('Toolbar Buttons and Plugins', 'rich-text-excerpts'));
469
+ /**
470
+ * settings for teeny text editor
471
+ */
472
+ print('<div id="editor_type_teeny_options">');
473
+ printf('<p>%s.<br /><a href="http://www.tinymce.com/wiki.php/Buttons/controls">http://www.tinymce.com/wiki.php/Buttons/controls</a><br />%s<br /><a href="http://codex.wordpress.org/TinyMCE">http://codex.wordpress.org/TinyMCE</a><br />%s.</p>', __('For a list of buttons and plugins in TinyMCE, see the TinyMCE wiki', 'rich-text-excerpts'), __('There is also some documentation on the implementation of TinyMCE in Wordpress on the Wordpress Codex', 'rich-text-excerpts'), __('Button and plugin names should be separated using commas', 'rich-text-excerpts'));
474
+ printf('<p><label for="rich_text_excerpts_options-editor_settings-plugins">%s.</label><br /><input type="text" length="50" name="rich_text_excerpts_options[editor_settings][plugins]" id="rich_text_excerpts_options-editor_settings-plugins" value="%s" /></p>', __('Plugins to add - make sure you add any plugin specific buttons to the editor below', 'rich-text-excerpts'), implode(',', $options['editor_settings']['plugins']));
475
+ printf('<p><label for="rich_text_excerpts_options-editor_settings-buttons">%s</label><br /><textarea name="rich_text_excerpts_options[editor_settings][buttons]" id="rich_text_excerpts_options-editor_settings-buttons" cols="100" rows="3">%s</textarea></p>', __('Toolbar buttons - use the word &lsquo;separator&rsquo; to separate groups of buttons', 'rich-text-excerpts'), implode(',', $options['editor_settings']['buttons']));
476
+ print('</div>');
477
+ /**
478
+ * settings for tiny text editor (none to show here, but show links to TinyMCE advanced)
479
+ */
480
+ print('<div id="editor_type_tiny_options">');
481
+ if (is_plugin_active('tinymce-advanced/tinymce-advanced.php')) {
482
+ printf('<p><a href="%s">%s</a>.</p>', admin_url('options-general.php?page=tinymce-advanced'), __('Configure the buttons for the advanced editor using the TinyMCE Advanced plugin', 'rich-text-excerpts'));
483
+ } else {
484
+ printf('<p><a href="%s">%s</a>.</p>', admin_url('plugins.php'), __('If you want to configure the buttons for the advanced editor, install and activate the TinyMCE Advanced plugin', 'rich-text-excerpts'));
485
+ }
486
+ print('</div>');
487
+ }
488
+
489
+ /**
490
+ * takes a string of comma-separated arguments and splits it into an array
491
+ */
492
+ public static function get_mce_array($inputStr = '')
493
+ {
494
+ if (trim($inputStr) === "") {
495
+ return array();
496
+ } else {
497
+ return self::cleanup_array(explode(',', $inputStr));
498
+ }
499
+ }
500
+
501
+ /**
502
+ * removes empty elements from an array
503
+ * Always returns an array, no matter what is passed to it
504
+ */
505
+ public static function cleanup_array($arr = array())
506
+ {
507
+ $output = array();
508
+ if (is_array($arr) && count($arr)) {
509
+ $arr = array_map('trim', $arr);
510
+ foreach ($arr as $str) {
511
+ if (!empty($str)) {
512
+ $output[] = $str;
513
+ }
514
+ }
515
+ }
516
+ return $output;
517
+ }
518
+
519
+ /**
520
+ * input validation callback
521
+ * also used to sanitise options in get_plugin_options()
522
+ */
523
+ public static function validate_rich_text_excerpts_options($plugin_options)
524
+ {
525
+ //print_r($plugin_options);exit;
526
+ /* get defaults as a fallabck for missing values */
527
+ $defaults = self::get_default_plugin_options();
528
+ /* make sure supported post types is an array */
529
+ if (!isset($plugin_options['supported_post_types']) || !is_array($plugin_options['supported_post_types'])) {
530
+ $plugin_options['supported_post_types'] = $defaults['supported_post_types'];
531
+ }
532
+ /* see if the editor is being embedded in a metabox */
533
+ $plugin_options['metabox']['use'] = (isset($plugin_options['metabox']['use']) && $plugin_options['metabox']['use'] == "1")? true: false;
534
+ /* check context is an allowed value */
535
+ if (!isset($plugin_options['metabox']['context'])) {
536
+ $plugin_options['metabox']['context'] = $defaults['metabox']['context'];
537
+ } else {
538
+ if (!in_array($plugin_options['metabox']['context'], array('normal', 'advanced', 'side'))) {
539
+ $plugin_options['metabox']['context'] = $defaults['metabox']['context'];
540
+ }
541
+ }
542
+ /* check priority is an allowed value */
543
+ if (!isset($plugin_options['metabox']['priority'])) {
544
+ $plugin_options['metabox']['priority'] = $defaults['metabox']['priority'];
545
+ } else {
546
+ if (!in_array($plugin_options['metabox']['priority'], array('high', 'core', 'default', 'low'))) {
547
+ $plugin_options['metabox']['priority'] = $defaults['metabox']['priority'];
548
+ }
549
+ }
550
+ /* make sure editor type is one of the allowed types */
551
+ if (!isset($plugin_options['editor_type']) || !in_array($plugin_options['editor_type'], array('teeny','tiny'))) {
552
+ $plugin_options['editor_type'] = $defaults['editor_type'];
553
+ }
554
+ /* make sure there are some editor settings */
555
+ if (!isset($plugin_options['editor_settings'])) {
556
+ $plugin_options['editor_settings'] = $defaults['editor_settings'];
557
+ } else {
558
+ /* make sure wpautop is set, and a boolean value */
559
+ if (!isset($plugin_options['editor_settings']['wpautop'])) {
560
+ $plugin_options['editor_settings']['wpautop'] = $defaults['editor_settings']['wpautop'];
561
+ } else {
562
+ $plugin_options['editor_settings']['wpautop'] = (bool) $plugin_options['editor_settings']['wpautop'];
563
+ }
564
+ /* make sure media_buttons is set, and a boolean value */
565
+ if (!isset($plugin_options['editor_settings']['media_buttons'])) {
566
+ $plugin_options['editor_settings']['media_buttons'] = $defaults['editor_settings']['media_buttons'];
567
+ } else {
568
+ $plugin_options['editor_settings']['media_buttons'] = (bool) $plugin_options['editor_settings']['media_buttons'];
569
+ }
570
+ /* make sure textarea_rows is set, and is an integer greater than 3 */
571
+ $plugin_options['editor_settings']['textarea_rows'] = isset($plugin_options['editor_settings']['textarea_rows'])? intval($plugin_options['editor_settings']['textarea_rows']): $defaults['editor_settings']['textarea_rows'];
572
+ if ($plugin_options['editor_settings']['textarea_rows'] < 3) {
573
+ $plugin_options['editor_settings']['textarea_rows'] = 3;
574
+ }
575
+ /* make sure plugins and buttons are set, and are arrays */
576
+ if (!isset($plugin_options['editor_settings']['plugins'])) {
577
+ $plugin_options['editor_settings']['plugins'] = $defaults['editor_settings']['plugins'];
578
+ } else {
579
+ /* if this is a string, we are coming from the settings form */
580
+ if (!is_array($plugin_options['editor_settings']['plugins'])) {
581
+ /* tidy up the string and make sure we end up with an array */
582
+ if (trim($plugin_options['editor_settings']['plugins']) === "") {
583
+ $plugin_options['editor_settings']['plugins'] = array();
584
+ } else {
585
+ $plugin_options['editor_settings']['plugins'] = self::get_mce_array($plugin_options['editor_settings']['plugins']);
586
+ }
587
+ } else {
588
+ $plugin_options['editor_settings']['plugins'] = self::cleanup_array($plugin_options['editor_settings']['plugins']);
589
+ }
590
+ }
591
+ if (!isset($plugin_options['editor_settings']['buttons'])) {
592
+ $plugin_options['editor_settings']['buttons'] = $defaults['editor_settings']['buttons'];
593
+ } else {
594
+ /* if this is a string, we are coming from the settings form */
595
+ if (!is_array($plugin_options['editor_settings']['buttons'])) {
596
+ /* tidy up the string and make sure we end up with an array */
597
+ if (trim($plugin_options['editor_settings']['buttons']) === "") {
598
+ $plugin_options['editor_settings']['buttons'] = array();
599
+ } else {
600
+ $plugin_options['editor_settings']['buttons'] = self::get_mce_array($plugin_options['editor_settings']['buttons']);
601
+ }
602
+ } else {
603
+ $plugin_options['editor_settings']['buttons'] = self::cleanup_array($plugin_options['editor_settings']['buttons']);
604
+ }
605
+ }
606
+ /* if the buttons array is empty, reset both buttons and plugins to the default value */
607
+ if (!count($plugin_options['editor_settings']['buttons'])) {
608
+ $plugin_options['editor_settings']['buttons'] = $defaults['editor_settings']['buttons'];
609
+ $plugin_options['editor_settings']['plugins'] = $defaults['editor_settings']['plugins'];
610
+ }
611
+ }
612
+ return $plugin_options;
613
+ }
614
 
615
  }
616
  /* end class definition */