Version Description
Download this release
Release Info
Developer | Bueltge |
Plugin | Search & Replace |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.71 to 1.8.1
searchandreplace/searchandreplace-en_US.mo
CHANGED
Binary file
|
searchandreplace/searchandreplace-en_US.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Search and Replace\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
|
7 |
"Language-Team: Frank Bueltge <frank@bueltge.de>\n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -12,125 +12,197 @@ msgstr ""
|
|
12 |
"X-Poedit-Basepath: D:\\xampp\\htdocs\\wpbeta\\wp-content\\plugins\\searchandreplace\\\n"
|
13 |
"X-Poedit-SearchPath-0: .\n"
|
14 |
|
15 |
-
#: searchandreplace.php:23
|
16 |
#: searchandreplace.php:24
|
17 |
-
#: searchandreplace.php:
|
|
|
18 |
msgid "Suchen & Ersetzen"
|
19 |
msgstr "Search & Replace"
|
20 |
|
21 |
-
#: searchandreplace.php:
|
22 |
-
msgid "Keine Aktion (Checkbox) gewählt um zu ersetzen
|
23 |
-
msgstr "Nothing (Checkbox) selected to modify
|
24 |
|
25 |
-
#: searchandreplace.php:
|
26 |
msgid "Suche nach Beiträgen"
|
27 |
msgstr "Looking @ modifying post content"
|
28 |
|
29 |
-
#: searchandreplace.php:
|
30 |
msgid "Suche nach Titeln"
|
31 |
msgstr "Looking @ post titles"
|
32 |
|
33 |
-
#: searchandreplace.php:
|
34 |
msgid "Suche nach Auszügen"
|
35 |
msgstr "Looking @ post excerpts"
|
36 |
|
37 |
-
#: searchandreplace.php:
|
38 |
msgid "Suche nach Kommentarbeträgen"
|
39 |
msgstr "Looking @ modifying comments text"
|
40 |
|
41 |
-
#: searchandreplace.php:
|
42 |
msgid "Suche nach Kommentarautor"
|
43 |
msgstr "Looking @ modifying comments author"
|
44 |
|
45 |
-
#: searchandreplace.php:
|
46 |
msgid "Suche nach Kommentarautoren-E-Mails"
|
47 |
msgstr "Looking @ modifying comments author e-mail"
|
48 |
|
49 |
-
#: searchandreplace.php:
|
50 |
msgid "Suche nach Kommentarautor-URLs"
|
51 |
msgstr "Looking @ modifying comments author URLs"
|
52 |
|
53 |
-
#: searchandreplace.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
msgid "» Du musst Text spezifizieren, um Text zu ersetzen!"
|
55 |
msgstr "» You must specify some text to replace!"
|
56 |
|
57 |
-
#: searchandreplace.php:
|
58 |
msgid "» Versuche die Suche duchzuführen und zu ersetzen ..."
|
59 |
msgstr "» Attempting to perform search and replace ..."
|
60 |
|
61 |
-
#: searchandreplace.php:
|
62 |
msgid "Suche nach"
|
63 |
msgstr "Search"
|
64 |
|
65 |
-
#: searchandreplace.php:
|
|
|
|
|
|
|
|
|
66 |
msgid "Es gab eine Störung!"
|
67 |
msgstr "There was an error!"
|
68 |
|
69 |
-
#: searchandreplace.php:
|
70 |
msgid "Erfolgreich durchgeführt!"
|
71 |
msgstr "Completed successfully!"
|
72 |
|
73 |
-
#: searchandreplace.php:
|
74 |
-
msgid "
|
75 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
-
#: searchandreplace.php:
|
78 |
-
msgid "Die Textsuche ist sensitiv und besitzt keine passende Abstimmungsbefähigung.<br />Du kannst folgende Einträge bearbeiten: Beitrag (content), Titel (titles), Auszug (excerpt), Kommentarbeiträge (comment_content), Kommentarautor (comment_author)
|
79 |
-
msgstr "Text search is case sensitive and has no pattern matching capabilites.<br />You can chose to modify post excerpts, comment authors and post and comment content and
|
80 |
|
81 |
-
#: searchandreplace.php:
|
82 |
msgid "Suche in"
|
83 |
msgstr "search in"
|
84 |
|
85 |
-
#: searchandreplace.php:
|
86 |
msgid "Beiträgen"
|
87 |
msgstr "Content"
|
88 |
|
89 |
-
#: searchandreplace.php:
|
90 |
msgid "Titeln"
|
91 |
msgstr "Titles"
|
92 |
|
93 |
-
#: searchandreplace.php:
|
94 |
msgid "Auszügen"
|
95 |
msgstr "Excerpts"
|
96 |
|
97 |
-
#: searchandreplace.php:
|
98 |
msgid "Kommentarbeiträgen"
|
99 |
msgstr "Comments content"
|
100 |
|
101 |
-
#: searchandreplace.php:
|
102 |
msgid "Kommentarautoren"
|
103 |
msgstr "Comments author"
|
104 |
|
105 |
-
#: searchandreplace.php:
|
106 |
msgid "Kommentarautoren-E-Mail"
|
107 |
msgstr "Comments author e-mail"
|
108 |
|
109 |
-
#: searchandreplace.php:
|
110 |
msgid "Kommentarautoren-URLs"
|
111 |
msgstr "Comments author URLs"
|
112 |
|
113 |
-
#: searchandreplace.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
msgid "Ersetze"
|
115 |
msgstr "Replace"
|
116 |
|
117 |
-
#: searchandreplace.php:
|
118 |
msgid "mit"
|
119 |
msgstr "with"
|
120 |
|
121 |
-
#: searchandreplace.php:
|
122 |
msgid "Ausführen"
|
123 |
msgstr "Go"
|
124 |
|
125 |
-
#: searchandreplace.php:
|
|
|
|
|
|
|
|
|
126 |
msgid ""Search and Replace" Originalplugin (en) ist von <a href='http://thedeadone.net/'>Mark Cunningham</a> und wurde erweitert (Kommentarbeiträge, Kommentarautor) durch <a href='http://www.gonahkar.com'>Gonahkar</a>.<br />"Suchen & Ersetzen" wurde erweitert und gepflegt in der aktuellen Version durch <a href='http://bueltge.de'>Frank Bueltge</a>."
|
127 |
msgstr ""Search and Replace" originalplugin (en) created by <a href='http://thedeadone.net/'>Mark Cunningham</a> and provided (comments) by durch <a href='http://www.gonahkar.com'>Gonahkar</a>.<br />"Search & Replace", current version provided by <a href='http://bueltge.de'>Frank Bueltge</a>."
|
128 |
|
129 |
-
#: searchandreplace.php:
|
130 |
msgid "Weitere Informationen: Besuche die <a href='http://bueltge.de/wp-suchen-und-ersetzen-de-plugin/114'>plugin homepage</a> für weitere Informationen oder nutze die letzte Version des Plugins."
|
131 |
msgstr "Further information: Visit the <a href='http://bueltge.de/wp-suchen-und-ersetzen-de-plugin/114'>plugin homepage</a> for further information or to grab the latest version of this plugin."
|
132 |
|
133 |
-
#: searchandreplace.php:
|
134 |
msgid "Du willst Danke sagen? Besuche meine <a href='http://bueltge.de/wunschliste'>Wunschliste</a>."
|
135 |
msgstr "You want to thank me? Visit my <a href='http://bueltge.de/wunschliste'>wishlist</a>."
|
136 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Search and Replace\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
+
"PO-Revision-Date: 2008-01-31 10:23+0100\n"
|
6 |
"Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
|
7 |
"Language-Team: Frank Bueltge <frank@bueltge.de>\n"
|
8 |
"MIME-Version: 1.0\n"
|
12 |
"X-Poedit-Basepath: D:\\xampp\\htdocs\\wpbeta\\wp-content\\plugins\\searchandreplace\\\n"
|
13 |
"X-Poedit-SearchPath-0: .\n"
|
14 |
|
|
|
15 |
#: searchandreplace.php:24
|
16 |
+
#: searchandreplace.php:25
|
17 |
+
#: searchandreplace.php:153
|
18 |
msgid "Suchen & Ersetzen"
|
19 |
msgstr "Search & Replace"
|
20 |
|
21 |
+
#: searchandreplace.php:56
|
22 |
+
msgid "<p><strong>Keine Aktion (Checkbox) gewählt um zu ersetzen!</strong></p>"
|
23 |
+
msgstr "<p><strong>Nothing (Checkbox) selected to modify!</strong></p>"
|
24 |
|
25 |
+
#: searchandreplace.php:63
|
26 |
msgid "Suche nach Beiträgen"
|
27 |
msgstr "Looking @ modifying post content"
|
28 |
|
29 |
+
#: searchandreplace.php:72
|
30 |
msgid "Suche nach Titeln"
|
31 |
msgstr "Looking @ post titles"
|
32 |
|
33 |
+
#: searchandreplace.php:81
|
34 |
msgid "Suche nach Auszügen"
|
35 |
msgstr "Looking @ post excerpts"
|
36 |
|
37 |
+
#: searchandreplace.php:90
|
38 |
msgid "Suche nach Kommentarbeträgen"
|
39 |
msgstr "Looking @ modifying comments text"
|
40 |
|
41 |
+
#: searchandreplace.php:99
|
42 |
msgid "Suche nach Kommentarautor"
|
43 |
msgstr "Looking @ modifying comments author"
|
44 |
|
45 |
+
#: searchandreplace.php:108
|
46 |
msgid "Suche nach Kommentarautoren-E-Mails"
|
47 |
msgstr "Looking @ modifying comments author e-mail"
|
48 |
|
49 |
+
#: searchandreplace.php:117
|
50 |
msgid "Suche nach Kommentarautor-URLs"
|
51 |
msgstr "Looking @ modifying comments author URLs"
|
52 |
|
53 |
+
#: searchandreplace.php:126
|
54 |
+
msgid "Suche nach Kategorie-Beschreibungen"
|
55 |
+
msgstr "Looking @ category description"
|
56 |
+
|
57 |
+
#: searchandreplace.php:135
|
58 |
+
msgid "Suche nach Tags"
|
59 |
+
msgstr "Search @ tags"
|
60 |
+
|
61 |
+
#: searchandreplace.php:170
|
62 |
+
msgid "open"
|
63 |
+
msgstr "open"
|
64 |
+
|
65 |
+
#: searchandreplace.php:171
|
66 |
+
msgid "close"
|
67 |
+
msgstr "close"
|
68 |
+
|
69 |
+
#: searchandreplace.php:172
|
70 |
+
msgid "click-down and drag to move this box"
|
71 |
+
msgstr "click-down and drag to move this box"
|
72 |
+
|
73 |
+
#: searchandreplace.php:173
|
74 |
+
msgid "click to %toggle% this box"
|
75 |
+
msgstr "click to %toggle% this box"
|
76 |
+
|
77 |
+
#: searchandreplace.php:174
|
78 |
+
msgid "use the arrow keys to move this box"
|
79 |
+
msgstr "use the arrow keys to move this box"
|
80 |
+
|
81 |
+
#: searchandreplace.php:175
|
82 |
+
msgid ", or press the enter key to %toggle% it"
|
83 |
+
msgstr ", or press the enter key to %toggle% it"
|
84 |
+
|
85 |
+
#: searchandreplace.php:201
|
86 |
msgid "» Du musst Text spezifizieren, um Text zu ersetzen!"
|
87 |
msgstr "» You must specify some text to replace!"
|
88 |
|
89 |
+
#: searchandreplace.php:204
|
90 |
msgid "» Versuche die Suche duchzuführen und zu ersetzen ..."
|
91 |
msgstr "» Attempting to perform search and replace ..."
|
92 |
|
93 |
+
#: searchandreplace.php:205
|
94 |
msgid "Suche nach"
|
95 |
msgstr "Search"
|
96 |
|
97 |
+
#: searchandreplace.php:205
|
98 |
+
msgid "und ersetze mit"
|
99 |
+
msgstr "and replace with"
|
100 |
+
|
101 |
+
#: searchandreplace.php:222
|
102 |
msgid "Es gab eine Störung!"
|
103 |
msgstr "There was an error!"
|
104 |
|
105 |
+
#: searchandreplace.php:225
|
106 |
msgid "Erfolgreich durchgeführt!"
|
107 |
msgstr "Completed successfully!"
|
108 |
|
109 |
+
#: searchandreplace.php:232
|
110 |
+
msgid "Hinweise Suchen & Ersetzen"
|
111 |
+
msgstr "Information Search & Replace"
|
112 |
+
|
113 |
+
#: searchandreplace.php:236
|
114 |
+
msgid "Dieses Plugin arbeitet mit einer Standard SQL Abfrage und verändert deine Datenbank direkt!<br /><strong>Achtung: </strong>Du <strong>kannst nichts</strong> rückgängig machen mit diesem Plugin. Wenn du dir nicht sicher bist, fertige eine Sicherung deiner Datenbank im Vorfeld an."
|
115 |
+
msgstr "This plugin uses an standard SQL query so it modifies your database directly!<br /><strong>Attention: </strong>You <strong>cannot</strong> undo any changes made by this plugin. It is therefore advisable to backup your database before running this plugin."
|
116 |
+
|
117 |
+
#: searchandreplace.php:237
|
118 |
+
msgid "<strong>Aktiviere</strong> das Plugin <strong>nur</strong>, wenn es benötigt wird!"
|
119 |
+
msgstr "<strong>Aktivate</strong> the plugin <strong>only</strong>, if you want to use it!"
|
120 |
|
121 |
+
#: searchandreplace.php:238
|
122 |
+
msgid "Die Textsuche ist sensitiv und besitzt keine passende Abstimmungsbefähigung.<br />Du kannst folgende Einträge bearbeiten: Beitrag (content), Titel (titles), Auszug (excerpt), Kommentarbeiträge (comment_content), Kommentarautor (comment_author), Kommentar-URL (comment_author_url), Kategorie-Beschreibung (description) und Tags/ Kategorie-Namen (name und slug).<br />Die Funktion arbeitet stringbasierend und kann somit auch HTML-Tags ersetzen."
|
123 |
+
msgstr "Text search is case sensitive and has no pattern matching capabilites.<br />You can chose to modify post excerpts, comment authors and post and comment content, titles tags/categories and categrory-description.<br /> This replace function matchs raw text so it can be used to replace HTML tags too."
|
124 |
|
125 |
+
#: searchandreplace.php:245
|
126 |
msgid "Suche in"
|
127 |
msgstr "search in"
|
128 |
|
129 |
+
#: searchandreplace.php:253
|
130 |
msgid "Beiträgen"
|
131 |
msgstr "Content"
|
132 |
|
133 |
+
#: searchandreplace.php:257
|
134 |
msgid "Titeln"
|
135 |
msgstr "Titles"
|
136 |
|
137 |
+
#: searchandreplace.php:261
|
138 |
msgid "Auszügen"
|
139 |
msgstr "Excerpts"
|
140 |
|
141 |
+
#: searchandreplace.php:265
|
142 |
msgid "Kommentarbeiträgen"
|
143 |
msgstr "Comments content"
|
144 |
|
145 |
+
#: searchandreplace.php:269
|
146 |
msgid "Kommentarautoren"
|
147 |
msgstr "Comments author"
|
148 |
|
149 |
+
#: searchandreplace.php:273
|
150 |
msgid "Kommentarautoren-E-Mail"
|
151 |
msgstr "Comments author e-mail"
|
152 |
|
153 |
+
#: searchandreplace.php:277
|
154 |
msgid "Kommentarautoren-URLs"
|
155 |
msgstr "Comments author URLs"
|
156 |
|
157 |
+
#: searchandreplace.php:281
|
158 |
+
msgid "Kategorie-Beschreibung"
|
159 |
+
msgstr "Category description"
|
160 |
+
|
161 |
+
#: searchandreplace.php:285
|
162 |
+
msgid "Tags & Kategorien"
|
163 |
+
msgstr "Tags & Categories"
|
164 |
+
|
165 |
+
#: searchandreplace.php:288
|
166 |
+
msgid "Checkboxen markieren"
|
167 |
+
msgstr "Checkboxes to assign"
|
168 |
+
|
169 |
+
#: searchandreplace.php:288
|
170 |
+
msgid "alle"
|
171 |
+
msgstr "all"
|
172 |
+
|
173 |
+
#: searchandreplace.php:288
|
174 |
+
msgid "Checkboxen demarkieren"
|
175 |
+
msgstr "Checkboxes to unmask"
|
176 |
+
|
177 |
+
#: searchandreplace.php:288
|
178 |
+
msgid "keine"
|
179 |
+
msgstr "none"
|
180 |
+
|
181 |
+
#: searchandreplace.php:295
|
182 |
msgid "Ersetze"
|
183 |
msgstr "Replace"
|
184 |
|
185 |
+
#: searchandreplace.php:299
|
186 |
msgid "mit"
|
187 |
msgstr "with"
|
188 |
|
189 |
+
#: searchandreplace.php:303
|
190 |
msgid "Ausführen"
|
191 |
msgstr "Go"
|
192 |
|
193 |
+
#: searchandreplace.php:313
|
194 |
+
msgid "Hinweise zum Plugin"
|
195 |
+
msgstr "Information on the plugin"
|
196 |
+
|
197 |
+
#: searchandreplace.php:317
|
198 |
msgid ""Search and Replace" Originalplugin (en) ist von <a href='http://thedeadone.net/'>Mark Cunningham</a> und wurde erweitert (Kommentarbeiträge, Kommentarautor) durch <a href='http://www.gonahkar.com'>Gonahkar</a>.<br />"Suchen & Ersetzen" wurde erweitert und gepflegt in der aktuellen Version durch <a href='http://bueltge.de'>Frank Bueltge</a>."
|
199 |
msgstr ""Search and Replace" originalplugin (en) created by <a href='http://thedeadone.net/'>Mark Cunningham</a> and provided (comments) by durch <a href='http://www.gonahkar.com'>Gonahkar</a>.<br />"Search & Replace", current version provided by <a href='http://bueltge.de'>Frank Bueltge</a>."
|
200 |
|
201 |
+
#: searchandreplace.php:318
|
202 |
msgid "Weitere Informationen: Besuche die <a href='http://bueltge.de/wp-suchen-und-ersetzen-de-plugin/114'>plugin homepage</a> für weitere Informationen oder nutze die letzte Version des Plugins."
|
203 |
msgstr "Further information: Visit the <a href='http://bueltge.de/wp-suchen-und-ersetzen-de-plugin/114'>plugin homepage</a> for further information or to grab the latest version of this plugin."
|
204 |
|
205 |
+
#: searchandreplace.php:318
|
206 |
msgid "Du willst Danke sagen? Besuche meine <a href='http://bueltge.de/wunschliste'>Wunschliste</a>."
|
207 |
msgstr "You want to thank me? Visit my <a href='http://bueltge.de/wunschliste'>wishlist</a>."
|
208 |
|
searchandreplace/searchandreplace.php
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name: Search
|
4 |
Plugin URI: http://bueltge.de/wp-suchen-und-ersetzen-de-plugin/114
|
5 |
-
Description: A simple search for find strings in your database and replace the string. Use in <a href="admin.php?page=searchandreplace/searchandreplace.php">Manage -> Search/Replace</a
|
6 |
-
|
|
|
7 |
*/
|
8 |
|
9 |
-
/*
|
10 |
Um dieses Plugin zu nutzen, musst du das File in den
|
11 |
Plugin-Ordner deines WP kopieren und aktivieren.
|
12 |
Es fuegt einen neuen Tab im Bereich "Verwalten" hinzu.
|
@@ -14,9 +15,9 @@ Dort koennen Strings dann gesucht und ersetzt werden.
|
|
14 |
*/
|
15 |
|
16 |
if(function_exists('load_plugin_textdomain'))
|
17 |
-
load_plugin_textdomain('searchandreplace','wp-content/plugins/searchandreplace');
|
18 |
|
19 |
-
if (!is_plugin_page()) {
|
20 |
|
21 |
function tdo_searchandreplace_hook(){
|
22 |
if (function_exists('add_management_page')) {
|
@@ -29,165 +30,330 @@ if (!is_plugin_page()) {
|
|
29 |
}
|
30 |
|
31 |
add_action('admin_head', 'tdo_searchandreplace_hook');
|
|
|
32 |
} else {
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
/* this does the important stuff! */
|
35 |
function tdo_do_searchandreplace($search_text,
|
36 |
$replace_text,
|
37 |
-
$content
|
38 |
-
$title
|
39 |
-
$excerpt
|
40 |
-
$comment_content
|
41 |
-
$comment_author
|
42 |
$comment_author_email = TRUE,
|
43 |
-
$comment_author_url
|
44 |
-
|
|
|
|
|
45 |
global $wpdb;
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
49 |
}
|
50 |
-
|
|
|
|
|
|
|
51 |
if ($content) {
|
52 |
-
echo '<
|
53 |
$query = "UPDATE $wpdb->posts ";
|
54 |
$query .= "SET post_content = ";
|
55 |
$query .= "REPLACE(post_content, \"$search_text\", \"$replace_text\") ";
|
56 |
$wpdb->get_results($query);
|
57 |
}
|
58 |
-
|
|
|
59 |
if ($title) {
|
60 |
-
echo '<
|
61 |
$query = "UPDATE $wpdb->posts ";
|
62 |
$query .= "SET post_title = ";
|
63 |
$query .= "REPLACE(post_title, \"$search_text\", \"$replace_text\") ";
|
64 |
$wpdb->get_results($query);
|
65 |
}
|
66 |
-
|
|
|
67 |
if ($excerpt) {
|
68 |
-
echo '<
|
69 |
$query = "UPDATE $wpdb->posts ";
|
70 |
$query .= "SET post_excerpt = ";
|
71 |
$query .= "REPLACE(post_excerpt, \"$search_text\", \"$replace_text\") ";
|
72 |
$wpdb->get_results($query);
|
73 |
}
|
74 |
-
|
|
|
75 |
if ($comment_content) {
|
76 |
-
echo '<
|
77 |
$query = "UPDATE $wpdb->comments ";
|
78 |
$query .= "SET comment_content = ";
|
79 |
$query .= "REPLACE(comment_content, \"$search_text\", \"$replace_text\") ";
|
80 |
$wpdb->get_results($query);
|
81 |
}
|
82 |
-
|
|
|
83 |
if ($comment_author) {
|
84 |
-
echo '<
|
85 |
$query = "UPDATE $wpdb->comments ";
|
86 |
$query .= "SET comment_author = ";
|
87 |
$query .= "REPLACE(comment_author, \"$search_text\", \"$replace_text\") ";
|
88 |
$wpdb->get_results($query);
|
89 |
}
|
90 |
-
|
|
|
91 |
if ($comment_author_email) {
|
92 |
-
echo '<
|
93 |
$query = "UPDATE $wpdb->comments ";
|
94 |
$query .= "SET comment_author_email = ";
|
95 |
$query .= "REPLACE(comment_author_email, \"$search_text\", \"$replace_text\") ";
|
96 |
$wpdb->get_results($query);
|
97 |
}
|
98 |
-
|
|
|
99 |
if ($comment_author_url) {
|
100 |
-
echo '<
|
101 |
$query = "UPDATE $wpdb->comments ";
|
102 |
$query .= "SET comment_author_url = ";
|
103 |
$query .= "REPLACE(comment_author_url, \"$search_text\", \"$replace_text\") ";
|
104 |
$wpdb->get_results($query);
|
105 |
}
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
return '';
|
108 |
}
|
109 |
-
|
110 |
?>
|
111 |
|
112 |
-
<div class="wrap">
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
}
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
</div>
|
192 |
|
193 |
-
<?php } ?>
|
1 |
<?php
|
2 |
/*
|
3 |
+
Plugin Name: Search & Replace
|
4 |
Plugin URI: http://bueltge.de/wp-suchen-und-ersetzen-de-plugin/114
|
5 |
+
Description: A simple search for find strings in your database and replace the string. Use in <a href="admin.php?page=searchandreplace/searchandreplace.php">Manage -> Search/Replace</a>.
|
6 |
+
Author: <a href='http://thedeadone.net/'>Mark Cunningham</a> and <a href="http://bueltge.de" >Frank Bueltge</a>
|
7 |
+
Version: 1.8.1
|
8 |
*/
|
9 |
|
10 |
+
/*
|
11 |
Um dieses Plugin zu nutzen, musst du das File in den
|
12 |
Plugin-Ordner deines WP kopieren und aktivieren.
|
13 |
Es fuegt einen neuen Tab im Bereich "Verwalten" hinzu.
|
15 |
*/
|
16 |
|
17 |
if(function_exists('load_plugin_textdomain'))
|
18 |
+
load_plugin_textdomain('searchandreplace', 'wp-content/plugins/searchandreplace');
|
19 |
|
20 |
+
if ( !is_plugin_page() ) {
|
21 |
|
22 |
function tdo_searchandreplace_hook(){
|
23 |
if (function_exists('add_management_page')) {
|
30 |
}
|
31 |
|
32 |
add_action('admin_head', 'tdo_searchandreplace_hook');
|
33 |
+
|
34 |
} else {
|
35 |
|
36 |
+
// some basic security with nonce
|
37 |
+
if ( !function_exists('wp_nonce_field') ) {
|
38 |
+
function searchandreplace_nonce_field($action = -1) {
|
39 |
+
return;
|
40 |
+
}
|
41 |
+
$searchandreplace_nonce = -1;
|
42 |
+
} else {
|
43 |
+
function searchandreplace_nonce_field($action = -1) {
|
44 |
+
wp_nonce_field($action);
|
45 |
+
}
|
46 |
+
$searchandreplace_nonce = 'searchandreplace_nonce_field';
|
47 |
+
}
|
48 |
+
|
49 |
+
|
50 |
+
// random key to act an extra signature
|
51 |
+
$searchandreplace_key = get_option('searchandreplace_key');
|
52 |
+
|
53 |
+
if ($searchandreplace_key == '') {
|
54 |
+
$searchandreplace_key = add_option('searchandreplace_key', rand(0, 9999));
|
55 |
+
}
|
56 |
+
|
57 |
/* this does the important stuff! */
|
58 |
function tdo_do_searchandreplace($search_text,
|
59 |
$replace_text,
|
60 |
+
$content = TRUE,
|
61 |
+
$title = TRUE,
|
62 |
+
$excerpt = TRUE,
|
63 |
+
$comment_content = TRUE,
|
64 |
+
$comment_author = TRUE,
|
65 |
$comment_author_email = TRUE,
|
66 |
+
$comment_author_url = TRUE,
|
67 |
+
$cat_description = TRUE,
|
68 |
+
$tag = TRUE
|
69 |
+
) {
|
70 |
global $wpdb;
|
71 |
+
|
72 |
+
// slug string
|
73 |
+
$search_slug = strtolower($search_text);
|
74 |
+
$replace_slug = strtolower($replace_text);
|
75 |
+
|
76 |
+
if (!$content && !$title && !$excerpt && !$comment_content && !$comment_author && !$comment_author_email && !$comment_author_url && !$cat_description && !$tag) {
|
77 |
+
return __('<p><strong>Keine Aktion (Checkbox) gewählt um zu ersetzen!</strong></p>', 'searchandreplace');
|
78 |
}
|
79 |
+
|
80 |
+
echo '<div class="updated">' . "\n" . '<ul>';
|
81 |
+
|
82 |
+
// post content
|
83 |
if ($content) {
|
84 |
+
echo '<li>' . __('Suche nach Beiträgen', 'searchandreplace') . ' ...</li>';
|
85 |
$query = "UPDATE $wpdb->posts ";
|
86 |
$query .= "SET post_content = ";
|
87 |
$query .= "REPLACE(post_content, \"$search_text\", \"$replace_text\") ";
|
88 |
$wpdb->get_results($query);
|
89 |
}
|
90 |
+
|
91 |
+
// post title
|
92 |
if ($title) {
|
93 |
+
echo '<li>' . __('Suche nach Titeln', 'searchandreplace') . ' ...</li>';
|
94 |
$query = "UPDATE $wpdb->posts ";
|
95 |
$query .= "SET post_title = ";
|
96 |
$query .= "REPLACE(post_title, \"$search_text\", \"$replace_text\") ";
|
97 |
$wpdb->get_results($query);
|
98 |
}
|
99 |
+
|
100 |
+
// post excerpt
|
101 |
if ($excerpt) {
|
102 |
+
echo '<li>' . __('Suche nach Auszügen', 'searchandreplace') . ' ...</li>';
|
103 |
$query = "UPDATE $wpdb->posts ";
|
104 |
$query .= "SET post_excerpt = ";
|
105 |
$query .= "REPLACE(post_excerpt, \"$search_text\", \"$replace_text\") ";
|
106 |
$wpdb->get_results($query);
|
107 |
}
|
108 |
+
|
109 |
+
// comment content
|
110 |
if ($comment_content) {
|
111 |
+
echo '<li>' . __('Suche nach Kommentarbeträgen', 'searchandreplace') . ' ...</li>';
|
112 |
$query = "UPDATE $wpdb->comments ";
|
113 |
$query .= "SET comment_content = ";
|
114 |
$query .= "REPLACE(comment_content, \"$search_text\", \"$replace_text\") ";
|
115 |
$wpdb->get_results($query);
|
116 |
}
|
117 |
+
|
118 |
+
// comment_author
|
119 |
if ($comment_author) {
|
120 |
+
echo '<li>' . __('Suche nach Kommentarautor', 'searchandreplace') . ' ...</li>';
|
121 |
$query = "UPDATE $wpdb->comments ";
|
122 |
$query .= "SET comment_author = ";
|
123 |
$query .= "REPLACE(comment_author, \"$search_text\", \"$replace_text\") ";
|
124 |
$wpdb->get_results($query);
|
125 |
}
|
126 |
+
|
127 |
+
// comment_author_email
|
128 |
if ($comment_author_email) {
|
129 |
+
echo '<li>' . __('Suche nach Kommentarautoren-E-Mails', 'searchandreplace') . ' ...</li>';
|
130 |
$query = "UPDATE $wpdb->comments ";
|
131 |
$query .= "SET comment_author_email = ";
|
132 |
$query .= "REPLACE(comment_author_email, \"$search_text\", \"$replace_text\") ";
|
133 |
$wpdb->get_results($query);
|
134 |
}
|
135 |
+
|
136 |
+
// comment_author_url
|
137 |
if ($comment_author_url) {
|
138 |
+
echo '<li>' . __('Suche nach Kommentarautor-URLs', 'searchandreplace') . ' ...</li>';
|
139 |
$query = "UPDATE $wpdb->comments ";
|
140 |
$query .= "SET comment_author_url = ";
|
141 |
$query .= "REPLACE(comment_author_url, \"$search_text\", \"$replace_text\") ";
|
142 |
$wpdb->get_results($query);
|
143 |
}
|
144 |
+
|
145 |
+
// category description
|
146 |
+
if ($cat_description) {
|
147 |
+
echo '<li>' . __('Suche nach Kategorie-Beschreibungen', 'searchandreplace') . ' ...</li>';
|
148 |
+
$query = "UPDATE $wpdb->term_taxonomy ";
|
149 |
+
$query .= "SET description = ";
|
150 |
+
$query .= "REPLACE(description, \"$search_text\", \"$replace_text\") ";
|
151 |
+
$wpdb->get_results($query);
|
152 |
+
}
|
153 |
+
|
154 |
+
// tags and category
|
155 |
+
if ($tag) {
|
156 |
+
echo '<li>' . __('Suche nach Tags', 'searchandreplace') . ' ...</li>';
|
157 |
+
$query = "UPDATE $wpdb->terms ";
|
158 |
+
$query .= "SET name = ";
|
159 |
+
$query .= "REPLACE(name, \"$search_text\", \"$replace_text\") ";
|
160 |
+
$wpdb->get_results($query);
|
161 |
+
|
162 |
+
$query = "UPDATE $wpdb->terms ";
|
163 |
+
$query .= "SET slug = ";
|
164 |
+
$query .= "REPLACE(slug, \"$search_slug\", \"$replace_slug\") ";
|
165 |
+
$wpdb->get_results($query);
|
166 |
+
}
|
167 |
+
|
168 |
+
echo "\n" . '</ul>';
|
169 |
return '';
|
170 |
}
|
|
|
171 |
?>
|
172 |
|
173 |
+
<div class="wrap" id="top">
|
174 |
+
<h2><?php _e('Suchen & Ersetzen', 'searchandreplace'); ?></h2>
|
175 |
+
<script type="text/javascript" src="../wp-includes/js/tw-sack.js"></script>
|
176 |
+
<!--<script type="text/javascript" src="list-manipulation.js"></script>-->
|
177 |
+
<script type="text/javascript" src="../wp-includes/js/dbx.js"></script>
|
178 |
+
<script type="text/javascript">
|
179 |
+
//<![CDATA[
|
180 |
+
addLoadEvent( function() {
|
181 |
+
var manager = new dbxManager('searchandreplace_meta');
|
182 |
|
183 |
+
var advanced = new dbxGroup(
|
184 |
+
'advancedstuff', // container ID [/-_a-zA-Z0-9/]
|
185 |
+
'vertical', // orientation ['vertical'|'horizontal']
|
186 |
+
'10', // drag threshold ['n' pixels]
|
187 |
+
'yes', // restrict drag movement to container axis ['yes'|'no']
|
188 |
+
'10', // animate re-ordering [frames per transition, or '0' for no effect]
|
189 |
+
'yes', // include open/close toggle buttons ['yes'|'no']
|
190 |
+
'open', // default state ['open'|'closed']
|
191 |
+
<?php echo "'" . js_escape(__('open')); ?>', // word for "open", as in "open this box"
|
192 |
+
<?php echo "'" . js_escape(__('close')); ?>', // word for "close", as in "close this box"
|
193 |
+
<?php echo "'" . js_escape(__('click-down and drag to move this box')); ?>', // sentence for "move this box" by mouse
|
194 |
+
<?php echo "'" . js_escape(__('click to %toggle% this box')); ?>', // pattern-match sentence for "(open|close) this box" by mouse
|
195 |
+
<?php echo "'" . js_escape(__('use the arrow keys to move this box')); ?>', // sentence for "move this box" by keyboard
|
196 |
+
<?php echo "'" . js_escape(__(', or press the enter key to %toggle% it')); ?>', // pattern-match sentence-fragment for "(open|close) this box" by keyboard
|
197 |
+
'%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts
|
198 |
+
);
|
199 |
+
});
|
200 |
+
//]]>
|
201 |
+
</script>
|
202 |
+
<script type="text/javascript" language="JavaScript">
|
203 |
+
//<![CDATA[
|
204 |
+
function selectcb(thisobj,var1){
|
205 |
+
var o = document.forms[thisobj].elements;
|
206 |
+
if(o){
|
207 |
+
for (i=0; i<o.length; i++){
|
208 |
+
if (o[i].type == 'checkbox'){
|
209 |
+
o[i].checked = var1;
|
210 |
+
}
|
211 |
+
}
|
212 |
+
}
|
213 |
}
|
214 |
+
//]]>
|
215 |
+
</script>
|
216 |
+
|
217 |
+
<div id="advancedstuff" class="dbx-group" >
|
218 |
+
<div class="dbx-b-ox-wrapper">
|
219 |
+
|
220 |
+
<?php if (isset($_POST['submitted'])) {
|
221 |
+
if (function_exists('current_user_can') && current_user_can('edit_plugins') && $_POST['searchandreplace_key'] == $searchandreplace_key) {
|
222 |
+
check_admin_referer('$searchandreplace_nonce', $searchandreplace_nonce);
|
223 |
+
|
224 |
+
if (empty($_POST['search_text'])) { ?>
|
225 |
+
<div class="error"><p><strong><?php _e('» Du musst Text spezifizieren, um Text zu ersetzen!', 'searchandreplace'); ?></strong></p></div>
|
226 |
+
<?php } else { ?>
|
227 |
+
<div class="updated">
|
228 |
+
<p><strong><?php _e('» Versuche die Suche duchzuführen und zu ersetzen ...', 'searchandreplace'); ?></strong></p>
|
229 |
+
<p>» <?php _e('Suche nach', 'searchandreplace'); ?> <code><?php echo $_POST['search_text']; ?></code> ... <?php _e('und ersetze mit', 'searchandreplace'); ?> <code><?php echo $_POST['replace_text']; ?></code></p>
|
230 |
+
</div>
|
231 |
|
232 |
+
<?php $error = tdo_do_searchandreplace(
|
233 |
+
$_POST['search_text'],
|
234 |
+
$_POST['replace_text'],
|
235 |
+
isset($_POST['content']),
|
236 |
+
isset($_POST['title']),
|
237 |
+
isset($_POST['excerpt']),
|
238 |
+
isset($_POST['comment_content']),
|
239 |
+
isset($_POST['comment_author']),
|
240 |
+
isset($_POST['comment_author_email']),
|
241 |
+
isset($_POST['comment_author_url']),
|
242 |
+
isset($_POST['cat_description']),
|
243 |
+
isset($_POST['tag'])
|
244 |
+
);
|
245 |
+
|
246 |
+
if ($error != '') { ?>
|
247 |
+
<div class="error"><p><?php _e('Es gab eine Störung!', 'searchandreplace'); ?></p>
|
248 |
+
<p><code><?php echo $error; ?></code></p></div>
|
249 |
+
<?php } else { ?>
|
250 |
+
<p><?php _e('Erfolgreich durchgeführt!', 'searchandreplace'); ?></p></div>
|
251 |
+
<?php }
|
252 |
+
}
|
253 |
+
}
|
254 |
+
} ?>
|
255 |
+
|
256 |
+
<fieldset id="hint_to_search" class="dbx-box">
|
257 |
+
<div class="dbx-h-andle-wrapper">
|
258 |
+
<h3 class="dbx-handle"><?php _e('Hinweise Suchen & Ersetzen', 'searchandreplace') ?></h3>
|
259 |
+
</div>
|
260 |
+
<div class="dbx-c-ontent-wrapper">
|
261 |
+
<div class="dbx-content">
|
262 |
+
<p><?php _e('Dieses Plugin arbeitet mit einer Standard SQL Abfrage und verändert deine Datenbank direkt!<br /><strong>Achtung: </strong>Du <strong>kannst nichts</strong> rückgängig machen mit diesem Plugin. Wenn du dir nicht sicher bist, fertige eine Sicherung deiner Datenbank im Vorfeld an.', 'searchandreplace'); ?></p>
|
263 |
+
<p><?php _e('<strong>Aktiviere</strong> das Plugin <strong>nur</strong>, wenn es benötigt wird!', 'searchandreplace'); ?></p>
|
264 |
+
<p><?php _e('Die Textsuche ist sensitiv und besitzt keine passende Abstimmungsbefähigung.<br />Du kannst folgende Einträge bearbeiten: Beitrag (content), Titel (titles), Auszug (excerpt), Kommentarbeiträge (comment_content), Kommentarautor (comment_author), Kommentar-URL (comment_author_url), Kategorie-Beschreibung (description) und Tags/ Kategorie-Namen (name und slug).<br />Die Funktion arbeitet stringbasierend und kann somit auch HTML-Tags ersetzen.', 'searchandreplace'); ?></p>
|
265 |
+
</div>
|
266 |
+
</div>
|
267 |
+
</fieldset>
|
268 |
+
|
269 |
+
<fieldset id="config" class="dbx-box">
|
270 |
+
<div class="dbx-h-andle-wrapper">
|
271 |
+
<h3 class="dbx-handle"><?php _e('Suche in', 'searchandreplace') ?></h3>
|
272 |
+
</div>
|
273 |
+
<div class="dbx-c-ontent-wrapper">
|
274 |
+
<div class="dbx-content">
|
275 |
+
<form name="replace" action="" method="post">
|
276 |
+
<table summary="config">
|
277 |
+
<tr>
|
278 |
+
<td colspan="2" style="text-align: center;"><input type='checkbox' name='content' id='content_label' /></td>
|
279 |
+
<td><label for="content_label"><?php _e('Beiträgen', 'searchandreplace'); ?></label></td>
|
280 |
+
</tr>
|
281 |
+
<tr>
|
282 |
+
<td colspan="2" style="text-align: center;"><input type='checkbox' name='title' id='title_label' /></td>
|
283 |
+
<td><label for="title_label"><?php _e('Titeln', 'searchandreplace'); ?></label></td>
|
284 |
+
</tr>
|
285 |
+
<tr>
|
286 |
+
<td colspan="2" style="text-align: center;"><input type='checkbox' name='excerpt' id='excerpt_label' /></td>
|
287 |
+
<td><label for="excerpt_label"><?php _e('Auszügen', 'searchandreplace'); ?></label></td>
|
288 |
+
</tr>
|
289 |
+
<tr>
|
290 |
+
<td colspan="2" style="text-align: center;"><input type='checkbox' name='comment_content' id='comment_content_label' /></td>
|
291 |
+
<td><label for="comment_content_label"><?php _e('Kommentarbeiträgen', 'searchandreplace'); ?></label></td>
|
292 |
+
</tr>
|
293 |
+
<tr>
|
294 |
+
<td colspan="2" style="text-align: center;"><input type='checkbox' name='comment_author' id='comment_author_label' /></td>
|
295 |
+
<td><label for="comment_author_label"><?php _e('Kommentarautoren', 'searchandreplace'); ?></label></td>
|
296 |
+
</tr>
|
297 |
+
<tr>
|
298 |
+
<td colspan="2" style="text-align: center;"><input type='checkbox' name='comment_author_email' id='comment_author_email_label' /></td>
|
299 |
+
<td><label for="comment_author_email_label"><?php _e('Kommentarautoren-E-Mail', 'searchandreplace'); ?></label></td>
|
300 |
+
</tr>
|
301 |
+
<tr>
|
302 |
+
<td colspan="2" style="text-align: center;"><input type='checkbox' name='comment_author_url' id='comment_author_url_label' /></td>
|
303 |
+
<td><label for="comment_author_url_label"><?php _e('Kommentarautoren-URLs', 'searchandreplace'); ?></label></td>
|
304 |
+
</tr>
|
305 |
+
<?php if(mysql_num_rows(mysql_query("SHOW TABLES LIKE '".$wpdb->prefix . 'terms'."'") ) == 1) { ?>
|
306 |
+
<tr>
|
307 |
+
<td colspan="2" style="text-align: center;"><input type='checkbox' name='cat_description' id='cat_description_label' /></td>
|
308 |
+
<td><label for="cat_description_label"><?php _e('Kategorie-Beschreibung', 'searchandreplace'); ?></label></td>
|
309 |
+
</tr>
|
310 |
+
<tr>
|
311 |
+
<td colspan="2" style="text-align: center;"><input type='checkbox' name='tag' id='tag_label' /></td>
|
312 |
+
<td><label for="tag_label"><?php _e('Tags & Kategorien', 'searchandreplace'); ?></label></td>
|
313 |
+
</tr>
|
314 |
+
<?php } ?>
|
315 |
+
<tr>
|
316 |
+
<td colspan="2" style="text-align: center;"> <a href="javascript:selectcb('replace', true);" title="<?php _e('Checkboxen markieren', 'searchandreplace'); ?>"><?php _e('alle', 'searchandreplace'); ?></a> | <a href="javascript:selectcb('replace', false);" title="<?php _e('Checkboxen demarkieren', 'searchandreplace'); ?>"><?php _e('keine', 'searchandreplace'); ?></a></td>
|
317 |
+
<td> </td>
|
318 |
+
</tr>
|
319 |
+
</table>
|
320 |
+
<br/>
|
321 |
+
<table summary="submit">
|
322 |
+
<tr>
|
323 |
+
<td><?php _e('Ersetze', 'searchandreplace'); ?></td>
|
324 |
+
<td><input class="code" type="text" name="search_text" value="" size="80" /></td>
|
325 |
+
</tr>
|
326 |
+
<tr>
|
327 |
+
<td><?php _e('mit', 'searchandreplace'); ?></td>
|
328 |
+
<td><input class="code" type="text" name="replace_text" value="" size="80" /></td>
|
329 |
+
</tr>
|
330 |
+
</table>
|
331 |
+
<?php searchandreplace_nonce_field('$searchandreplace_nonce', $searchandreplace_nonce); ?>
|
332 |
+
<input type="hidden" name="searchandreplace_key" value="<?php echo $searchandreplace_key ?>" />
|
333 |
+
<div class="tablenav">
|
334 |
+
<input class="button" type="submit" value="<?php _e('Ausführen', 'searchandreplace'); ?> »" />
|
335 |
+
</div>
|
336 |
+
<input type="hidden" name="submitted" />
|
337 |
+
</form>
|
338 |
+
|
339 |
+
</div>
|
340 |
+
</div>
|
341 |
+
</fieldset>
|
342 |
+
|
343 |
+
<fieldset id="hint_to_plugin" class="dbx-box">
|
344 |
+
<div class="dbx-h-andle-wrapper">
|
345 |
+
<h3 class="dbx-handle"><?php _e('Hinweise zum Plugin', 'searchandreplace') ?></h3>
|
346 |
+
</div>
|
347 |
+
<div class="dbx-c-ontent-wrapper">
|
348 |
+
<div class="dbx-content">
|
349 |
+
<p><small><?php _e('"Search and Replace" Originalplugin (en) ist von <a href=\'http://thedeadone.net/\'>Mark Cunningham</a> und wurde erweitert (Kommentarbeiträge, Kommentarautor) durch <a href=\'http://www.gonahkar.com\'>Gonahkar</a>.<br />"Suchen & Ersetzen" wurde erweitert und gepflegt in der aktuellen Version durch <a href=\'http://bueltge.de\'>Frank Bueltge</a>.', 'searchandreplace'); ?></small></p>
|
350 |
+
<p><small><?php _e('Weitere Informationen: Besuche die <a href=\'http://bueltge.de/wp-suchen-und-ersetzen-de-plugin/114\'>plugin homepage</a> für weitere Informationen oder nutze die letzte Version des Plugins.', 'searchandreplace'); ?><br />© Copyright 2008 <a href="http://bueltge.de">Frank Bültge</a> | <?php _e('Du willst Danke sagen? Besuche meine <a href=\'http://bueltge.de/wunschliste\'>Wunschliste</a>.', 'searchandreplace'); ?></small></p>
|
351 |
+
</div>
|
352 |
+
</div>
|
353 |
+
</fieldset>
|
354 |
+
|
355 |
+
</div>
|
356 |
+
</div>
|
357 |
</div>
|
358 |
|
359 |
+
<?php } ?>
|
searchandreplace/searchandreplace.pot
ADDED
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Search and Replace\n"
|
4 |
+
"POT-Creation-Date: \n"
|
5 |
+
"PO-Revision-Date: 2008-01-31 10:23+0100\n"
|
6 |
+
"Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
|
7 |
+
"Language-Team: Frank Bueltge <frank@bueltge.de>\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
12 |
+
"X-Poedit-Basepath: D:\\xampp\\htdocs\\wpbeta\\wp-content\\plugins\\searchandreplace\\\n"
|
13 |
+
"X-Poedit-SearchPath-0: .\n"
|
14 |
+
|
15 |
+
#: searchandreplace.php:24
|
16 |
+
#: searchandreplace.php:25
|
17 |
+
#: searchandreplace.php:153
|
18 |
+
msgid "Suchen & Ersetzen"
|
19 |
+
msgstr "Search & Replace"
|
20 |
+
|
21 |
+
#: searchandreplace.php:56
|
22 |
+
msgid "<p><strong>Keine Aktion (Checkbox) gewählt um zu ersetzen!</strong></p>"
|
23 |
+
msgstr "<p><strong>Nothing (Checkbox) selected to modify!</strong></p>"
|
24 |
+
|
25 |
+
#: searchandreplace.php:63
|
26 |
+
msgid "Suche nach Beiträgen"
|
27 |
+
msgstr "Looking @ modifying post content"
|
28 |
+
|
29 |
+
#: searchandreplace.php:72
|
30 |
+
msgid "Suche nach Titeln"
|
31 |
+
msgstr "Looking @ post titles"
|
32 |
+
|
33 |
+
#: searchandreplace.php:81
|
34 |
+
msgid "Suche nach Auszügen"
|
35 |
+
msgstr "Looking @ post excerpts"
|
36 |
+
|
37 |
+
#: searchandreplace.php:90
|
38 |
+
msgid "Suche nach Kommentarbeträgen"
|
39 |
+
msgstr "Looking @ modifying comments text"
|
40 |
+
|
41 |
+
#: searchandreplace.php:99
|
42 |
+
msgid "Suche nach Kommentarautor"
|
43 |
+
msgstr "Looking @ modifying comments author"
|
44 |
+
|
45 |
+
#: searchandreplace.php:108
|
46 |
+
msgid "Suche nach Kommentarautoren-E-Mails"
|
47 |
+
msgstr "Looking @ modifying comments author e-mail"
|
48 |
+
|
49 |
+
#: searchandreplace.php:117
|
50 |
+
msgid "Suche nach Kommentarautor-URLs"
|
51 |
+
msgstr "Looking @ modifying comments author URLs"
|
52 |
+
|
53 |
+
#: searchandreplace.php:126
|
54 |
+
msgid "Suche nach Kategorie-Beschreibungen"
|
55 |
+
msgstr "Looking @ category description"
|
56 |
+
|
57 |
+
#: searchandreplace.php:135
|
58 |
+
msgid "Suche nach Tags"
|
59 |
+
msgstr "Search @ tags"
|
60 |
+
|
61 |
+
#: searchandreplace.php:170
|
62 |
+
msgid "open"
|
63 |
+
msgstr "open"
|
64 |
+
|
65 |
+
#: searchandreplace.php:171
|
66 |
+
msgid "close"
|
67 |
+
msgstr "close"
|
68 |
+
|
69 |
+
#: searchandreplace.php:172
|
70 |
+
msgid "click-down and drag to move this box"
|
71 |
+
msgstr "click-down and drag to move this box"
|
72 |
+
|
73 |
+
#: searchandreplace.php:173
|
74 |
+
msgid "click to %toggle% this box"
|
75 |
+
msgstr "click to %toggle% this box"
|
76 |
+
|
77 |
+
#: searchandreplace.php:174
|
78 |
+
msgid "use the arrow keys to move this box"
|
79 |
+
msgstr "use the arrow keys to move this box"
|
80 |
+
|
81 |
+
#: searchandreplace.php:175
|
82 |
+
msgid ", or press the enter key to %toggle% it"
|
83 |
+
msgstr ", or press the enter key to %toggle% it"
|
84 |
+
|
85 |
+
#: searchandreplace.php:201
|
86 |
+
msgid "» Du musst Text spezifizieren, um Text zu ersetzen!"
|
87 |
+
msgstr "» You must specify some text to replace!"
|
88 |
+
|
89 |
+
#: searchandreplace.php:204
|
90 |
+
msgid "» Versuche die Suche duchzuführen und zu ersetzen ..."
|
91 |
+
msgstr "» Attempting to perform search and replace ..."
|
92 |
+
|
93 |
+
#: searchandreplace.php:205
|
94 |
+
msgid "Suche nach"
|
95 |
+
msgstr "Search"
|
96 |
+
|
97 |
+
#: searchandreplace.php:205
|
98 |
+
msgid "und ersetze mit"
|
99 |
+
msgstr "and replace with"
|
100 |
+
|
101 |
+
#: searchandreplace.php:222
|
102 |
+
msgid "Es gab eine Störung!"
|
103 |
+
msgstr "There was an error!"
|
104 |
+
|
105 |
+
#: searchandreplace.php:225
|
106 |
+
msgid "Erfolgreich durchgeführt!"
|
107 |
+
msgstr "Completed successfully!"
|
108 |
+
|
109 |
+
#: searchandreplace.php:232
|
110 |
+
msgid "Hinweise Suchen & Ersetzen"
|
111 |
+
msgstr "Information Search & Replace"
|
112 |
+
|
113 |
+
#: searchandreplace.php:236
|
114 |
+
msgid "Dieses Plugin arbeitet mit einer Standard SQL Abfrage und verändert deine Datenbank direkt!<br /><strong>Achtung: </strong>Du <strong>kannst nichts</strong> rückgängig machen mit diesem Plugin. Wenn du dir nicht sicher bist, fertige eine Sicherung deiner Datenbank im Vorfeld an."
|
115 |
+
msgstr "This plugin uses an standard SQL query so it modifies your database directly!<br /><strong>Attention: </strong>You <strong>cannot</strong> undo any changes made by this plugin. It is therefore advisable to backup your database before running this plugin."
|
116 |
+
|
117 |
+
#: searchandreplace.php:237
|
118 |
+
msgid "<strong>Aktiviere</strong> das Plugin <strong>nur</strong>, wenn es benötigt wird!"
|
119 |
+
msgstr "<strong>Aktivate</strong> the plugin <strong>only</strong>, if you want to use it!"
|
120 |
+
|
121 |
+
#: searchandreplace.php:238
|
122 |
+
msgid "Die Textsuche ist sensitiv und besitzt keine passende Abstimmungsbefähigung.<br />Du kannst folgende Einträge bearbeiten: Beitrag (content), Titel (titles), Auszug (excerpt), Kommentarbeiträge (comment_content), Kommentarautor (comment_author), Kommentar-URL (comment_author_url), Kategorie-Beschreibung (description) und Tags/ Kategorie-Namen (name und slug).<br />Die Funktion arbeitet stringbasierend und kann somit auch HTML-Tags ersetzen."
|
123 |
+
msgstr "Text search is case sensitive and has no pattern matching capabilites.<br />You can chose to modify post excerpts, comment authors and post and comment content, titles tags/categories and categrory-description.<br /> This replace function matchs raw text so it can be used to replace HTML tags too."
|
124 |
+
|
125 |
+
#: searchandreplace.php:245
|
126 |
+
msgid "Suche in"
|
127 |
+
msgstr "search in"
|
128 |
+
|
129 |
+
#: searchandreplace.php:253
|
130 |
+
msgid "Beiträgen"
|
131 |
+
msgstr "Content"
|
132 |
+
|
133 |
+
#: searchandreplace.php:257
|
134 |
+
msgid "Titeln"
|
135 |
+
msgstr "Titles"
|
136 |
+
|
137 |
+
#: searchandreplace.php:261
|
138 |
+
msgid "Auszügen"
|
139 |
+
msgstr "Excerpts"
|
140 |
+
|
141 |
+
#: searchandreplace.php:265
|
142 |
+
msgid "Kommentarbeiträgen"
|
143 |
+
msgstr "Comments content"
|
144 |
+
|
145 |
+
#: searchandreplace.php:269
|
146 |
+
msgid "Kommentarautoren"
|
147 |
+
msgstr "Comments author"
|
148 |
+
|
149 |
+
#: searchandreplace.php:273
|
150 |
+
msgid "Kommentarautoren-E-Mail"
|
151 |
+
msgstr "Comments author e-mail"
|
152 |
+
|
153 |
+
#: searchandreplace.php:277
|
154 |
+
msgid "Kommentarautoren-URLs"
|
155 |
+
msgstr "Comments author URLs"
|
156 |
+
|
157 |
+
#: searchandreplace.php:281
|
158 |
+
msgid "Kategorie-Beschreibung"
|
159 |
+
msgstr "Category description"
|
160 |
+
|
161 |
+
#: searchandreplace.php:285
|
162 |
+
msgid "Tags & Kategorien"
|
163 |
+
msgstr "Tags & Categories"
|
164 |
+
|
165 |
+
#: searchandreplace.php:288
|
166 |
+
msgid "Checkboxen markieren"
|
167 |
+
msgstr "Checkboxes to assign"
|
168 |
+
|
169 |
+
#: searchandreplace.php:288
|
170 |
+
msgid "alle"
|
171 |
+
msgstr "all"
|
172 |
+
|
173 |
+
#: searchandreplace.php:288
|
174 |
+
msgid "Checkboxen demarkieren"
|
175 |
+
msgstr "Checkboxes to unmask"
|
176 |
+
|
177 |
+
#: searchandreplace.php:288
|
178 |
+
msgid "keine"
|
179 |
+
msgstr "none"
|
180 |
+
|
181 |
+
#: searchandreplace.php:295
|
182 |
+
msgid "Ersetze"
|
183 |
+
msgstr "Replace"
|
184 |
+
|
185 |
+
#: searchandreplace.php:299
|
186 |
+
msgid "mit"
|
187 |
+
msgstr "with"
|
188 |
+
|
189 |
+
#: searchandreplace.php:303
|
190 |
+
msgid "Ausführen"
|
191 |
+
msgstr "Go"
|
192 |
+
|
193 |
+
#: searchandreplace.php:313
|
194 |
+
msgid "Hinweise zum Plugin"
|
195 |
+
msgstr "Information on the plugin"
|
196 |
+
|
197 |
+
#: searchandreplace.php:317
|
198 |
+
msgid ""Search and Replace" Originalplugin (en) ist von <a href='http://thedeadone.net/'>Mark Cunningham</a> und wurde erweitert (Kommentarbeiträge, Kommentarautor) durch <a href='http://www.gonahkar.com'>Gonahkar</a>.<br />"Suchen & Ersetzen" wurde erweitert und gepflegt in der aktuellen Version durch <a href='http://bueltge.de'>Frank Bueltge</a>."
|
199 |
+
msgstr ""Search and Replace" originalplugin (en) created by <a href='http://thedeadone.net/'>Mark Cunningham</a> and provided (comments) by durch <a href='http://www.gonahkar.com'>Gonahkar</a>.<br />"Search & Replace", current version provided by <a href='http://bueltge.de'>Frank Bueltge</a>."
|
200 |
+
|
201 |
+
#: searchandreplace.php:318
|
202 |
+
msgid "Weitere Informationen: Besuche die <a href='http://bueltge.de/wp-suchen-und-ersetzen-de-plugin/114'>plugin homepage</a> für weitere Informationen oder nutze die letzte Version des Plugins."
|
203 |
+
msgstr "Further information: Visit the <a href='http://bueltge.de/wp-suchen-und-ersetzen-de-plugin/114'>plugin homepage</a> for further information or to grab the latest version of this plugin."
|
204 |
+
|
205 |
+
#: searchandreplace.php:318
|
206 |
+
msgid "Du willst Danke sagen? Besuche meine <a href='http://bueltge.de/wunschliste'>Wunschliste</a>."
|
207 |
+
msgstr "You want to thank me? Visit my <a href='http://bueltge.de/wunschliste'>wishlist</a>."
|
208 |
+
|