Version Description
- Add Gulp task to generate POT file
- Fix a problem with duplicate positions in the redirect table, props to Jon Jensen
- Fix URL monitor not triggering
- Fix CSV export
Download this release
Release Info
Developer | johnny5 |
Plugin | Redirection |
Version | 2.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.4.2
- fileio/csv.php +8 -8
- images/add.png +0 -0
- images/delete.png +0 -0
- images/disable.png +0 -0
- images/down.gif +0 -0
- images/edit.png +0 -0
- images/enable.png +0 -0
- images/feed.png +0 -0
- images/loading.gif +0 -0
- images/progress.gif +0 -0
- images/sort.png +0 -0
- images/up.gif +0 -0
- images/view.png +0 -0
- locale/redirection-redirection.pot +0 -769
- locale/redirection.pot +566 -0
- models/group.php +3 -1
- models/monitor.php +8 -8
- models/redirect.php +15 -1
- readme.txt +13 -1
- redirection.php +1 -1
fileio/csv.php
CHANGED
@@ -15,14 +15,14 @@ class Red_Csv_File extends Red_FileIO {
|
|
15 |
|
16 |
foreach ( $items AS $line ) {
|
17 |
$csv = array(
|
18 |
-
$line->
|
19 |
-
$line->
|
20 |
-
$line->
|
21 |
-
$line->
|
22 |
-
$line->
|
23 |
-
$line->
|
24 |
-
$line->
|
25 |
-
$line->
|
26 |
);
|
27 |
|
28 |
fputcsv( $stdout, $csv );
|
15 |
|
16 |
foreach ( $items AS $line ) {
|
17 |
$csv = array(
|
18 |
+
$line->get_url(),
|
19 |
+
$line->get_action_data(),
|
20 |
+
$line->is_regex(),
|
21 |
+
$line->get_action_type(),
|
22 |
+
$line->get_action_code(),
|
23 |
+
$line->get_action_type(),
|
24 |
+
$line->get_hits(),
|
25 |
+
$line->get_title(),
|
26 |
);
|
27 |
|
28 |
fputcsv( $stdout, $csv );
|
images/add.png
DELETED
Binary file
|
images/delete.png
DELETED
Binary file
|
images/disable.png
DELETED
Binary file
|
images/down.gif
DELETED
Binary file
|
images/edit.png
DELETED
Binary file
|
images/enable.png
DELETED
Binary file
|
images/feed.png
DELETED
Binary file
|
images/loading.gif
DELETED
Binary file
|
images/progress.gif
DELETED
Binary file
|
images/sort.png
DELETED
Binary file
|
images/up.gif
DELETED
Binary file
|
images/view.png
DELETED
Binary file
|
locale/redirection-redirection.pot
DELETED
@@ -1,769 +0,0 @@
|
|
1 |
-
# Copyright (C) 2012 Redirection
|
2 |
-
# This file is distributed under the same license as the Redirection package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Redirection 2.2.13\n"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tag/redirection\n"
|
7 |
-
"POT-Creation-Date: 2015-02-25 16:15+0900\n"
|
8 |
-
"PO-Revision-Date: 2015-02-25 16:15+0900\n"
|
9 |
-
"Last-Translator: Naoko Takano <info@nao-net.com>\n"
|
10 |
-
"Language-Team: LANGUAGE <LL@li.org>\n"
|
11 |
-
"Language: en\n"
|
12 |
-
"MIME-Version: 1.0\n"
|
13 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
-
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
-
"X-Generator: Poedit 1.7.1\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;_x;esc_html_e;esc_html__;esc_attr_e;esc_attr__;"
|
18 |
-
"_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2;_n_noop:1,2;"
|
19 |
-
"__ngettext_noop:1,2;_c,_nc:4c,1,2\n"
|
20 |
-
"X-Poedit-Basepath: ../\n"
|
21 |
-
"X-Poedit-SearchPath-0: .\n"
|
22 |
-
|
23 |
-
#: fileio/rss.php:28
|
24 |
-
#, php-format
|
25 |
-
msgid "Referred by %s"
|
26 |
-
msgstr ""
|
27 |
-
|
28 |
-
#: matches/login.php:27
|
29 |
-
msgid "URL and login status"
|
30 |
-
msgstr ""
|
31 |
-
|
32 |
-
#: matches/login.php:36
|
33 |
-
msgid ""
|
34 |
-
"The target URL will be chosen from one of the following URLs, depending if "
|
35 |
-
"the user is logged in or out. Leaving a URL blank means that the user is "
|
36 |
-
"not redirected."
|
37 |
-
msgstr ""
|
38 |
-
|
39 |
-
#: matches/login.php:43 matches/login.php:45
|
40 |
-
msgid "Logged In"
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#: matches/login.php:55 matches/login.php:57
|
44 |
-
msgid "Logged Out"
|
45 |
-
msgstr ""
|
46 |
-
|
47 |
-
#: matches/referrer.php:28
|
48 |
-
msgid "URL and referrer"
|
49 |
-
msgstr ""
|
50 |
-
|
51 |
-
#: matches/referrer.php:40 models/pager.php:438 models/pager.php:569
|
52 |
-
msgid "Referrer"
|
53 |
-
msgstr ""
|
54 |
-
|
55 |
-
#: matches/referrer.php:43 view/admin/item_edit.php:7
|
56 |
-
msgid "Regex"
|
57 |
-
msgstr ""
|
58 |
-
|
59 |
-
#: matches/referrer.php:47 matches/referrer.php:57 matches/url.php:40
|
60 |
-
#: matches/user_agent.php:57
|
61 |
-
msgid "HTTP Code"
|
62 |
-
msgstr ""
|
63 |
-
|
64 |
-
#: matches/referrer.php:59
|
65 |
-
msgid ""
|
66 |
-
"The visitor will be redirected from the source URL if the referrer matches. "
|
67 |
-
"You can specify a <em>matched</em> target URL as the address to send "
|
68 |
-
"visitors if they do match, and <em>not matched</em> if they don't match. "
|
69 |
-
"Leaving a URL blank means that the visitor is not redirected."
|
70 |
-
msgstr ""
|
71 |
-
|
72 |
-
#: matches/referrer.php:65 matches/referrer.php:67 matches/user_agent.php:77
|
73 |
-
#: matches/user_agent.php:79
|
74 |
-
msgid "Matched"
|
75 |
-
msgstr ""
|
76 |
-
|
77 |
-
#: matches/referrer.php:75 matches/referrer.php:77 matches/user_agent.php:87
|
78 |
-
#: matches/user_agent.php:89
|
79 |
-
msgid "Not matched"
|
80 |
-
msgstr ""
|
81 |
-
|
82 |
-
#: matches/url.php:25
|
83 |
-
msgid "URL only"
|
84 |
-
msgstr ""
|
85 |
-
|
86 |
-
#: matches/url.php:32 view/admin/add.php:32
|
87 |
-
msgid "Target URL"
|
88 |
-
msgstr ""
|
89 |
-
|
90 |
-
#: matches/user_agent.php:27
|
91 |
-
msgid "URL and user agent"
|
92 |
-
msgstr ""
|
93 |
-
|
94 |
-
#: matches/user_agent.php:32
|
95 |
-
msgid "FeedBurner"
|
96 |
-
msgstr ""
|
97 |
-
|
98 |
-
#: matches/user_agent.php:33
|
99 |
-
msgid "Internet Explorer"
|
100 |
-
msgstr ""
|
101 |
-
|
102 |
-
#: matches/user_agent.php:34
|
103 |
-
msgid "FireFox"
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: matches/user_agent.php:35
|
107 |
-
msgid "Opera"
|
108 |
-
msgstr ""
|
109 |
-
|
110 |
-
#: matches/user_agent.php:36
|
111 |
-
msgid "Safari"
|
112 |
-
msgstr ""
|
113 |
-
|
114 |
-
#: matches/user_agent.php:37
|
115 |
-
msgid "iPhone"
|
116 |
-
msgstr ""
|
117 |
-
|
118 |
-
#: matches/user_agent.php:38
|
119 |
-
msgid "iPad"
|
120 |
-
msgstr ""
|
121 |
-
|
122 |
-
#: matches/user_agent.php:39
|
123 |
-
msgid "Android"
|
124 |
-
msgstr ""
|
125 |
-
|
126 |
-
#: matches/user_agent.php:40
|
127 |
-
msgid "Nintendo Wii"
|
128 |
-
msgstr ""
|
129 |
-
|
130 |
-
#: matches/user_agent.php:45
|
131 |
-
msgid "User Agent"
|
132 |
-
msgstr ""
|
133 |
-
|
134 |
-
#: matches/user_agent.php:70
|
135 |
-
msgid ""
|
136 |
-
"The visitor will be redirected from the source URL if the user agent "
|
137 |
-
"matches. You can specify a <em>matched</em> target URL as the address to "
|
138 |
-
"send visitors if they do match, and <em>not matched</em> if they don't "
|
139 |
-
"match. Leaving a URL blank means that the visitor is not redirected. "
|
140 |
-
"<strong>All matches are performed as regular expressions</strong>.\n"
|
141 |
-
msgstr ""
|
142 |
-
|
143 |
-
#: models/database.php:108 models/module.php:168 modules/wordpress.php:116
|
144 |
-
msgid "WordPress"
|
145 |
-
msgstr ""
|
146 |
-
|
147 |
-
#: models/database.php:109 models/module.php:167 modules/apache.php:188
|
148 |
-
msgid "Apache"
|
149 |
-
msgstr ""
|
150 |
-
|
151 |
-
#: models/database.php:114 view/admin/item_list.php:5
|
152 |
-
msgid "Redirections"
|
153 |
-
msgstr ""
|
154 |
-
|
155 |
-
#: models/database.php:115
|
156 |
-
msgid "Modified Posts"
|
157 |
-
msgstr ""
|
158 |
-
|
159 |
-
#: models/group.php:202
|
160 |
-
msgid "Yes"
|
161 |
-
msgstr ""
|
162 |
-
|
163 |
-
#: models/group.php:203
|
164 |
-
msgid "No"
|
165 |
-
msgstr ""
|
166 |
-
|
167 |
-
#: models/module.php:192
|
168 |
-
msgid "Strip WWW"
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: models/module.php:192
|
172 |
-
msgid "Force WWW"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#: models/module.php:197
|
176 |
-
msgid "Strip index.php"
|
177 |
-
msgstr ""
|
178 |
-
|
179 |
-
#: models/pager.php:25 models/pager.php:667
|
180 |
-
msgid "Type"
|
181 |
-
msgstr ""
|
182 |
-
|
183 |
-
#: models/pager.php:26
|
184 |
-
msgid "URL"
|
185 |
-
msgstr ""
|
186 |
-
|
187 |
-
#: models/pager.php:27 models/pager.php:670
|
188 |
-
msgid "Hits"
|
189 |
-
msgstr ""
|
190 |
-
|
191 |
-
#: models/pager.php:28
|
192 |
-
msgid "Last Access"
|
193 |
-
msgstr ""
|
194 |
-
|
195 |
-
#: models/pager.php:50 models/pager.php:245 models/pager.php:689
|
196 |
-
msgid "Edit"
|
197 |
-
msgstr ""
|
198 |
-
|
199 |
-
#: models/pager.php:51 models/pager.php:98 models/pager.php:246
|
200 |
-
#: models/pager.php:281 models/pager.php:456 models/pager.php:586
|
201 |
-
#: view/admin/options.php:108
|
202 |
-
msgid "Delete"
|
203 |
-
msgstr ""
|
204 |
-
|
205 |
-
#: models/pager.php:56 models/pager.php:100
|
206 |
-
msgid "Disable"
|
207 |
-
msgstr ""
|
208 |
-
|
209 |
-
#: models/pager.php:58 models/pager.php:99
|
210 |
-
msgid "Enable"
|
211 |
-
msgstr ""
|
212 |
-
|
213 |
-
#: models/pager.php:101
|
214 |
-
msgid "Reset Hits"
|
215 |
-
msgstr ""
|
216 |
-
|
217 |
-
#: models/pager.php:155 models/pager.php:322
|
218 |
-
msgid "Filter"
|
219 |
-
msgstr ""
|
220 |
-
|
221 |
-
#: models/pager.php:236 models/pager.php:668 view/admin/group_edit.php:4
|
222 |
-
#: view/admin/group_list.php:28 view/admin/module_edit.php:4
|
223 |
-
msgid "Name"
|
224 |
-
msgstr ""
|
225 |
-
|
226 |
-
#: models/pager.php:237 view/admin/submenu.php:6
|
227 |
-
msgid "Redirects"
|
228 |
-
msgstr ""
|
229 |
-
|
230 |
-
#: models/pager.php:247
|
231 |
-
msgid "View Redirects"
|
232 |
-
msgstr ""
|
233 |
-
|
234 |
-
#: models/pager.php:399 models/pager.php:533
|
235 |
-
msgid "Add redirect"
|
236 |
-
msgstr ""
|
237 |
-
|
238 |
-
#: models/pager.php:436 models/pager.php:567
|
239 |
-
msgid "Date"
|
240 |
-
msgstr ""
|
241 |
-
|
242 |
-
#: models/pager.php:437 models/pager.php:568 view/admin/add.php:13
|
243 |
-
#: view/admin/item_edit.php:4
|
244 |
-
msgid "Source URL"
|
245 |
-
msgstr ""
|
246 |
-
|
247 |
-
#: models/pager.php:439 models/pager.php:570
|
248 |
-
msgid "IP"
|
249 |
-
msgstr ""
|
250 |
-
|
251 |
-
#: models/pager.php:539
|
252 |
-
msgid "Show only this IP"
|
253 |
-
msgstr ""
|
254 |
-
|
255 |
-
#: models/pager.php:669 view/admin/group_list.php:5 view/admin/submenu.php:11
|
256 |
-
msgid "Groups"
|
257 |
-
msgstr ""
|
258 |
-
|
259 |
-
#: models/redirect.php:200
|
260 |
-
msgid "Source and target URL must be different"
|
261 |
-
msgstr ""
|
262 |
-
|
263 |
-
#: models/redirect.php:207
|
264 |
-
msgid "Invalid group when creating redirect"
|
265 |
-
msgstr ""
|
266 |
-
|
267 |
-
#: models/redirect.php:210
|
268 |
-
msgid "Invalid source URL when creating redirect for given match type"
|
269 |
-
msgstr ""
|
270 |
-
|
271 |
-
#: models/redirect.php:247
|
272 |
-
msgid ""
|
273 |
-
"Unable to add new redirect - delete Redirection from the options page and re-"
|
274 |
-
"install"
|
275 |
-
msgstr ""
|
276 |
-
|
277 |
-
#: models/redirect.php:427
|
278 |
-
msgid "Redirect to URL"
|
279 |
-
msgstr ""
|
280 |
-
|
281 |
-
#: models/redirect.php:428
|
282 |
-
msgid "Redirect to random post"
|
283 |
-
msgstr ""
|
284 |
-
|
285 |
-
#: models/redirect.php:429
|
286 |
-
msgid "Pass-through"
|
287 |
-
msgstr ""
|
288 |
-
|
289 |
-
#: models/redirect.php:430
|
290 |
-
msgid "Error (404)"
|
291 |
-
msgstr ""
|
292 |
-
|
293 |
-
#: models/redirect.php:431
|
294 |
-
msgid "Do nothing"
|
295 |
-
msgstr ""
|
296 |
-
|
297 |
-
#: modules/apache.php:76
|
298 |
-
msgid "Location"
|
299 |
-
msgstr ""
|
300 |
-
|
301 |
-
#: modules/apache.php:81
|
302 |
-
#, php-format
|
303 |
-
msgid "WordPress is installed in: <code>%s</code>"
|
304 |
-
msgstr ""
|
305 |
-
|
306 |
-
#: modules/apache.php:86
|
307 |
-
msgid "Canonical"
|
308 |
-
msgstr ""
|
309 |
-
|
310 |
-
#: modules/apache.php:89 modules/apache.php:95
|
311 |
-
msgid "Leave as is"
|
312 |
-
msgstr ""
|
313 |
-
|
314 |
-
#: modules/apache.php:89
|
315 |
-
#, php-format
|
316 |
-
msgid "Strip WWW (%s)"
|
317 |
-
msgstr ""
|
318 |
-
|
319 |
-
#: modules/apache.php:89
|
320 |
-
#, php-format
|
321 |
-
msgid "Force WWW (www.%s)"
|
322 |
-
msgstr ""
|
323 |
-
|
324 |
-
#: modules/apache.php:93
|
325 |
-
msgid "Strip Index"
|
326 |
-
msgstr ""
|
327 |
-
|
328 |
-
#: modules/apache.php:95
|
329 |
-
msgid "Strip index files (html,php)"
|
330 |
-
msgstr ""
|
331 |
-
|
332 |
-
#: modules/apache.php:100
|
333 |
-
msgid "Memory Limit"
|
334 |
-
msgstr ""
|
335 |
-
|
336 |
-
#: modules/apache.php:103 modules/apache.php:108
|
337 |
-
msgid "Server default"
|
338 |
-
msgstr ""
|
339 |
-
|
340 |
-
#: modules/apache.php:106
|
341 |
-
msgid "Error Level"
|
342 |
-
msgstr ""
|
343 |
-
|
344 |
-
#: modules/apache.php:108
|
345 |
-
msgid "No errors"
|
346 |
-
msgstr ""
|
347 |
-
|
348 |
-
#: modules/apache.php:108
|
349 |
-
msgid "Show errors"
|
350 |
-
msgstr ""
|
351 |
-
|
352 |
-
#: modules/apache.php:113
|
353 |
-
msgid "Ban IPs"
|
354 |
-
msgstr ""
|
355 |
-
|
356 |
-
#: modules/apache.php:119
|
357 |
-
msgid "Allow IPs"
|
358 |
-
msgstr ""
|
359 |
-
|
360 |
-
#: modules/apache.php:125
|
361 |
-
msgid "Raw .htaccess"
|
362 |
-
msgstr ""
|
363 |
-
|
364 |
-
#: modules/apache.php:131
|
365 |
-
msgid "Site URL"
|
366 |
-
msgstr ""
|
367 |
-
|
368 |
-
#: modules/apache.php:134
|
369 |
-
msgid "Advanced: For management of external sites"
|
370 |
-
msgstr ""
|
371 |
-
|
372 |
-
#: modules/apache.php:149
|
373 |
-
msgid "<strong>Location is invalid - check that path exists</strong>"
|
374 |
-
msgstr ""
|
375 |
-
|
376 |
-
#: modules/apache.php:155
|
377 |
-
msgid ""
|
378 |
-
"<strong>Could not write to configured <code>.htaccess</code> file - check "
|
379 |
-
"file permissions</strong>"
|
380 |
-
msgstr ""
|
381 |
-
|
382 |
-
#: modules/apache.php:162
|
383 |
-
msgid ""
|
384 |
-
"<strong>Disabled: enter the location of an <code>.htaccess</code> file for "
|
385 |
-
"this to be valid</strong>"
|
386 |
-
msgstr ""
|
387 |
-
|
388 |
-
#: modules/apache.php:167
|
389 |
-
msgid "strip WWW"
|
390 |
-
msgstr ""
|
391 |
-
|
392 |
-
#: modules/apache.php:167
|
393 |
-
msgid "force WWW"
|
394 |
-
msgstr ""
|
395 |
-
|
396 |
-
#: modules/apache.php:170
|
397 |
-
msgid "strip index"
|
398 |
-
msgstr ""
|
399 |
-
|
400 |
-
#: modules/apache.php:173
|
401 |
-
#, php-format
|
402 |
-
msgid "memory limit at %dMB"
|
403 |
-
msgstr ""
|
404 |
-
|
405 |
-
#: modules/apache.php:176
|
406 |
-
msgid "no errors"
|
407 |
-
msgstr ""
|
408 |
-
|
409 |
-
#: modules/apache.php:176
|
410 |
-
msgid "show errors"
|
411 |
-
msgstr ""
|
412 |
-
|
413 |
-
#: modules/apache.php:179
|
414 |
-
msgid "IPs are banned"
|
415 |
-
msgstr ""
|
416 |
-
|
417 |
-
#: modules/apache.php:182
|
418 |
-
msgid "IPs are allowed"
|
419 |
-
msgstr ""
|
420 |
-
|
421 |
-
#: modules/wordpress.php:112
|
422 |
-
msgid ""
|
423 |
-
"<strong>Disabled: You must enable <a href=\"options-permalink.php"
|
424 |
-
"\">permalinks</a> before using this</strong>"
|
425 |
-
msgstr ""
|
426 |
-
|
427 |
-
#: redirection-admin.php:130
|
428 |
-
msgid "Settings"
|
429 |
-
msgstr ""
|
430 |
-
|
431 |
-
#: redirection-admin.php:142
|
432 |
-
msgid "Log entries"
|
433 |
-
msgstr ""
|
434 |
-
|
435 |
-
#: redirection-admin.php:148
|
436 |
-
msgid "Sorry, unable to do that. Please try refreshing the page."
|
437 |
-
msgstr ""
|
438 |
-
|
439 |
-
#: redirection-admin.php:153
|
440 |
-
msgid "Redirection"
|
441 |
-
msgstr ""
|
442 |
-
|
443 |
-
#: redirection-admin.php:220 redirection-admin.php:236
|
444 |
-
msgid "Your options were updated"
|
445 |
-
msgstr ""
|
446 |
-
|
447 |
-
#: redirection-admin.php:245
|
448 |
-
msgid "Redirection data has been deleted and the plugin disabled"
|
449 |
-
msgstr ""
|
450 |
-
|
451 |
-
#: redirection-admin.php:252
|
452 |
-
#, php-format
|
453 |
-
msgid "%d redirection was successfully imported"
|
454 |
-
msgid_plural "%d redirections were successfully imported"
|
455 |
-
msgstr[0] ""
|
456 |
-
msgstr[1] ""
|
457 |
-
|
458 |
-
#: redirection-admin.php:254
|
459 |
-
msgid "No items were imported"
|
460 |
-
msgstr ""
|
461 |
-
|
462 |
-
#: redirection-admin.php:266 redirection-admin.php:286
|
463 |
-
msgid "Your logs have been deleted"
|
464 |
-
msgstr ""
|
465 |
-
|
466 |
-
#: redirection-admin.php:300
|
467 |
-
msgid "Your group was added successfully"
|
468 |
-
msgstr ""
|
469 |
-
|
470 |
-
#: redirection-admin.php:304
|
471 |
-
msgid "Please specify a group name"
|
472 |
-
msgstr ""
|
473 |
-
|
474 |
-
#: redirection-admin.php:317
|
475 |
-
msgid "Unknown module"
|
476 |
-
msgstr ""
|
477 |
-
|
478 |
-
#: redirection-admin.php:366 redirection-admin.php:378
|
479 |
-
#: redirection-admin.php:401 redirection-admin.php:415
|
480 |
-
#: redirection-admin.php:436 redirection-admin.php:448
|
481 |
-
#: redirection-admin.php:470
|
482 |
-
msgid "Unable to perform action"
|
483 |
-
msgstr ""
|
484 |
-
|
485 |
-
#: redirection-admin.php:490
|
486 |
-
msgid "Sorry, but your redirection was not created"
|
487 |
-
msgstr ""
|
488 |
-
|
489 |
-
#: view/admin/add.php:4
|
490 |
-
msgid "Add new redirection"
|
491 |
-
msgstr ""
|
492 |
-
|
493 |
-
#: view/admin/add.php:7
|
494 |
-
msgid "Your redirection has been added."
|
495 |
-
msgstr ""
|
496 |
-
|
497 |
-
#: view/admin/add.php:17
|
498 |
-
msgid "Match"
|
499 |
-
msgstr ""
|
500 |
-
|
501 |
-
#: view/admin/add.php:23
|
502 |
-
msgid "Action"
|
503 |
-
msgstr ""
|
504 |
-
|
505 |
-
#: view/admin/add.php:28
|
506 |
-
msgid "Regular expression"
|
507 |
-
msgstr ""
|
508 |
-
|
509 |
-
#: view/admin/add.php:37
|
510 |
-
msgid "Group"
|
511 |
-
msgstr ""
|
512 |
-
|
513 |
-
#: view/admin/add.php:44
|
514 |
-
msgid "Add Redirection"
|
515 |
-
msgstr ""
|
516 |
-
|
517 |
-
#: view/admin/group_edit.php:8
|
518 |
-
msgid "Tracked"
|
519 |
-
msgstr ""
|
520 |
-
|
521 |
-
#: view/admin/group_edit.php:9
|
522 |
-
msgid "Whether to track 'hits' to items"
|
523 |
-
msgstr ""
|
524 |
-
|
525 |
-
#: view/admin/group_edit.php:12
|
526 |
-
msgid "Enabled"
|
527 |
-
msgstr ""
|
528 |
-
|
529 |
-
#: view/admin/group_edit.php:13
|
530 |
-
msgid "Disabling a group will disable all items contained within it"
|
531 |
-
msgstr ""
|
532 |
-
|
533 |
-
#: view/admin/group_edit.php:19 view/admin/item_edit.php:26
|
534 |
-
#: view/admin/module_edit.php:14
|
535 |
-
msgid "Save"
|
536 |
-
msgstr ""
|
537 |
-
|
538 |
-
#: view/admin/group_edit.php:20 view/admin/item_edit.php:27
|
539 |
-
#: view/admin/module_edit.php:15
|
540 |
-
msgid "Cancel"
|
541 |
-
msgstr ""
|
542 |
-
|
543 |
-
#: view/admin/group_list.php:13 view/admin/item_list.php:12
|
544 |
-
#: view/admin/log.php:13
|
545 |
-
msgid "Search"
|
546 |
-
msgstr ""
|
547 |
-
|
548 |
-
#: view/admin/group_list.php:22
|
549 |
-
msgid "Add Group"
|
550 |
-
msgstr ""
|
551 |
-
|
552 |
-
#: view/admin/group_list.php:34
|
553 |
-
msgid "Add"
|
554 |
-
msgstr ""
|
555 |
-
|
556 |
-
#: view/admin/item_edit.php:13
|
557 |
-
msgid "Description"
|
558 |
-
msgstr ""
|
559 |
-
|
560 |
-
#: view/admin/item_edit.php:16
|
561 |
-
msgid "optional"
|
562 |
-
msgstr ""
|
563 |
-
|
564 |
-
#: view/admin/log.php:5
|
565 |
-
msgid "Redirection Log"
|
566 |
-
msgstr ""
|
567 |
-
|
568 |
-
#: view/admin/log.php:19
|
569 |
-
msgid "Log Management"
|
570 |
-
msgstr ""
|
571 |
-
|
572 |
-
#: view/admin/log.php:23
|
573 |
-
msgid "These apply to the current search term, if any, otherwise all logs."
|
574 |
-
msgstr ""
|
575 |
-
|
576 |
-
#: view/admin/log.php:25
|
577 |
-
msgid "Delete All"
|
578 |
-
msgstr ""
|
579 |
-
|
580 |
-
#: view/admin/log.php:28
|
581 |
-
msgid "Export To CSV"
|
582 |
-
msgstr ""
|
583 |
-
|
584 |
-
#: view/admin/module_list.php:5 view/admin/submenu.php:16
|
585 |
-
msgid "Modules"
|
586 |
-
msgstr ""
|
587 |
-
|
588 |
-
#: view/admin/options.php:6
|
589 |
-
msgid "No logs"
|
590 |
-
msgstr ""
|
591 |
-
|
592 |
-
#: view/admin/options.php:7
|
593 |
-
msgid "A day"
|
594 |
-
msgstr ""
|
595 |
-
|
596 |
-
#: view/admin/options.php:8
|
597 |
-
msgid "A week"
|
598 |
-
msgstr ""
|
599 |
-
|
600 |
-
#: view/admin/options.php:9
|
601 |
-
msgid "A month"
|
602 |
-
msgstr ""
|
603 |
-
|
604 |
-
#: view/admin/options.php:10
|
605 |
-
msgid "Two months"
|
606 |
-
msgstr ""
|
607 |
-
|
608 |
-
#: view/admin/options.php:11
|
609 |
-
msgid "Keep forever"
|
610 |
-
msgstr ""
|
611 |
-
|
612 |
-
#: view/admin/options.php:19 view/admin/submenu.php:42
|
613 |
-
msgid "Options"
|
614 |
-
msgstr ""
|
615 |
-
|
616 |
-
#: view/admin/options.php:27
|
617 |
-
msgid "Plugin Support"
|
618 |
-
msgstr ""
|
619 |
-
|
620 |
-
#: view/admin/options.php:30
|
621 |
-
msgid "I'm a nice person and I have helped support the author of this plugin"
|
622 |
-
msgstr ""
|
623 |
-
|
624 |
-
#: view/admin/options.php:34
|
625 |
-
msgid "Redirect Logs"
|
626 |
-
msgstr ""
|
627 |
-
|
628 |
-
#: view/admin/options.php:40 view/admin/options.php:50
|
629 |
-
msgid "(time to keep logs for)"
|
630 |
-
msgstr ""
|
631 |
-
|
632 |
-
#: view/admin/options.php:44
|
633 |
-
msgid "404 Logs"
|
634 |
-
msgstr ""
|
635 |
-
|
636 |
-
#: view/admin/options.php:54
|
637 |
-
msgid "Monitor changes to posts"
|
638 |
-
msgstr ""
|
639 |
-
|
640 |
-
#: view/admin/options.php:57
|
641 |
-
msgid "Don't monitor"
|
642 |
-
msgstr ""
|
643 |
-
|
644 |
-
#: view/admin/options.php:63
|
645 |
-
msgid "RSS Token"
|
646 |
-
msgstr ""
|
647 |
-
|
648 |
-
#: view/admin/options.php:66
|
649 |
-
msgid ""
|
650 |
-
"A unique token allowing feed readers access to Redirection log RSS (leave "
|
651 |
-
"blank to auto-generate)"
|
652 |
-
msgstr ""
|
653 |
-
|
654 |
-
#: view/admin/options.php:70
|
655 |
-
msgid "Auto-generate URL"
|
656 |
-
msgstr ""
|
657 |
-
|
658 |
-
#: view/admin/options.php:74
|
659 |
-
msgid ""
|
660 |
-
"This will be used to auto-generate a URL if no URL is given. You can use "
|
661 |
-
"the special tags $dec$ or $hex$ to have a unique ID inserted (either decimal "
|
662 |
-
"or hex)"
|
663 |
-
msgstr ""
|
664 |
-
|
665 |
-
#: view/admin/options.php:79
|
666 |
-
msgid "Update"
|
667 |
-
msgstr ""
|
668 |
-
|
669 |
-
#: view/admin/options.php:85
|
670 |
-
msgid "Import"
|
671 |
-
msgstr ""
|
672 |
-
|
673 |
-
#: view/admin/options.php:87
|
674 |
-
msgid ""
|
675 |
-
"Here you can import redirections from an existing .htaccess file, or a CSV "
|
676 |
-
"file."
|
677 |
-
msgstr ""
|
678 |
-
|
679 |
-
#: view/admin/options.php:94
|
680 |
-
msgid "Import into"
|
681 |
-
msgstr ""
|
682 |
-
|
683 |
-
#: view/admin/options.php:97
|
684 |
-
msgid "Upload"
|
685 |
-
msgstr ""
|
686 |
-
|
687 |
-
#: view/admin/options.php:102
|
688 |
-
msgid "Delete Redirection"
|
689 |
-
msgstr ""
|
690 |
-
|
691 |
-
#: view/admin/options.php:103
|
692 |
-
msgid ""
|
693 |
-
"Selecting this option will delete all redirections, all logs, and any "
|
694 |
-
"options associated with the Redirection plugin. Make sure this is what you "
|
695 |
-
"want to do."
|
696 |
-
msgstr ""
|
697 |
-
|
698 |
-
#: view/admin/submenu.php:23
|
699 |
-
msgid "Log"
|
700 |
-
msgstr ""
|
701 |
-
|
702 |
-
#: view/admin/submenu.php:32
|
703 |
-
#, php-format
|
704 |
-
msgid "404s from %s"
|
705 |
-
msgstr ""
|
706 |
-
|
707 |
-
#: view/admin/submenu.php:34
|
708 |
-
msgid "404s"
|
709 |
-
msgstr ""
|
710 |
-
|
711 |
-
#: view/admin/submenu.php:47
|
712 |
-
msgid "Support"
|
713 |
-
msgstr ""
|
714 |
-
|
715 |
-
#: view/admin/support.php:5
|
716 |
-
msgid "Redirection Support"
|
717 |
-
msgstr ""
|
718 |
-
|
719 |
-
#: view/admin/support.php:9
|
720 |
-
msgid ""
|
721 |
-
"Redirection is free to use - life is wonderful and lovely! However, it has "
|
722 |
-
"required a great deal of time and effort to develop and if it has been "
|
723 |
-
"useful you can help support this development by <strong>making a small "
|
724 |
-
"donation</strong>."
|
725 |
-
msgstr ""
|
726 |
-
|
727 |
-
#: view/admin/support.php:10
|
728 |
-
msgid ""
|
729 |
-
"This will act as an incentive for me to carry on developing. You get some "
|
730 |
-
"useful software and I get to carry on making it. Everybody wins."
|
731 |
-
msgstr ""
|
732 |
-
|
733 |
-
#: view/admin/support.php:13
|
734 |
-
msgid ""
|
735 |
-
"Please note that a donation is just a donation - it is not a payment for "
|
736 |
-
"support. I am not a business, this is not a product, and I'm afraid I cannot "
|
737 |
-
"provide paid support"
|
738 |
-
msgstr ""
|
739 |
-
|
740 |
-
#: view/admin/support.php:15
|
741 |
-
msgid ""
|
742 |
-
"If you are using this plugin in a commercial setup, or feel that it's been "
|
743 |
-
"particularly useful, then you may want to consider a <strong>commercial "
|
744 |
-
"donation</strong>."
|
745 |
-
msgstr ""
|
746 |
-
|
747 |
-
#: view/admin/support.php:38
|
748 |
-
msgid "Individual<br/>Donation"
|
749 |
-
msgstr ""
|
750 |
-
|
751 |
-
#: view/admin/support.php:58
|
752 |
-
msgid "Commercial<br/>Donation"
|
753 |
-
msgstr ""
|
754 |
-
|
755 |
-
#: view/admin/support.php:62
|
756 |
-
msgid "Translations"
|
757 |
-
msgstr ""
|
758 |
-
|
759 |
-
#: view/admin/support.php:64
|
760 |
-
msgid ""
|
761 |
-
"If you're multi-lingual then you may want to consider donating a translation:"
|
762 |
-
msgstr ""
|
763 |
-
|
764 |
-
#: view/admin/support.php:72
|
765 |
-
msgid ""
|
766 |
-
"Full details of producing a translation can be found in this <a href="
|
767 |
-
"\"http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/"
|
768 |
-
"\">guide to translating WordPress plugins</a>."
|
769 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 Redirection
|
2 |
+
# This file is distributed under the same license as the Redirection package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Redirection\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/plugins/redirection/\n"
|
7 |
+
"MIME-Version: 1.0\n"
|
8 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
+
"Content-Transfer-Encoding: 8bit\n"
|
10 |
+
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
|
11 |
+
"X-Poedit-Basepath: ..\n"
|
12 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
14 |
+
"X-Poedit-SearchPath-0: .\n"
|
15 |
+
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
16 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n\n"
|
17 |
+
|
18 |
+
#: matches/login.php:27
|
19 |
+
msgid "URL and login status"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: matches/login.php:36
|
23 |
+
msgid "The target URL will be chosen from one of the following URLs, depending if the user is logged in or out. Leaving a URL blank means that the user is not redirected."
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: matches/login.php:43, matches/login.php:45
|
27 |
+
msgid "Logged In"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: matches/login.php:55, matches/login.php:57
|
31 |
+
msgid "Logged Out"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: matches/referrer.php:28
|
35 |
+
msgid "URL and referrer"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: matches/referrer.php:40, models/pager.php:479, models/pager.php:610
|
39 |
+
msgid "Referrer"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: matches/referrer.php:43, view/item-edit.php:7
|
43 |
+
msgid "Regex"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: matches/referrer.php:47, matches/referrer.php:57, matches/url.php:40, matches/user-agent.php:57
|
47 |
+
msgid "HTTP Code"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: matches/referrer.php:65, matches/referrer.php:67, matches/user-agent.php:77, matches/user-agent.php:79
|
51 |
+
msgid "Matched"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: matches/referrer.php:75, matches/referrer.php:77, matches/user-agent.php:87, matches/user-agent.php:89
|
55 |
+
msgid "Not matched"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: matches/url.php:25
|
59 |
+
msgid "URL only"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: matches/url.php:32, view/add.php:32
|
63 |
+
msgid "Target URL"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: matches/user-agent.php:27
|
67 |
+
msgid "URL and user agent"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: matches/user-agent.php:32
|
71 |
+
msgid "FeedBurner"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: matches/user-agent.php:33
|
75 |
+
msgid "Internet Explorer"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: matches/user-agent.php:34
|
79 |
+
msgid "FireFox"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: matches/user-agent.php:35
|
83 |
+
msgid "Opera"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: matches/user-agent.php:36
|
87 |
+
msgid "Safari"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: matches/user-agent.php:37
|
91 |
+
msgid "iPhone"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: matches/user-agent.php:38
|
95 |
+
msgid "iPad"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: matches/user-agent.php:39
|
99 |
+
msgid "Android"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: matches/user-agent.php:40
|
103 |
+
msgid "Nintendo Wii"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: matches/user-agent.php:45
|
107 |
+
msgid "User Agent"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: models/pager.php:27
|
111 |
+
msgid "Type"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: models/pager.php:28
|
115 |
+
msgid "URL"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: models/pager.php:29
|
119 |
+
msgid "Hits"
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: models/pager.php:30
|
123 |
+
msgid "Last Access"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: models/pager.php:52, models/pager.php:252
|
127 |
+
msgid "Edit"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: models/pager.php:53, models/pager.php:100, models/pager.php:253, models/pager.php:299, models/pager.php:497, models/pager.php:627, view/options.php:108
|
131 |
+
msgid "Delete"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: models/pager.php:58, models/pager.php:102, models/pager.php:259, models/pager.php:301
|
135 |
+
msgid "Disable"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: models/pager.php:60, models/pager.php:101, models/pager.php:261, models/pager.php:300
|
139 |
+
msgid "Enable"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: models/pager.php:103
|
143 |
+
msgid "Reset Hits"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: models/pager.php:150
|
147 |
+
msgid "No group filter"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: models/pager.php:242, view/group-edit.php:4, view/group-list.php:30
|
151 |
+
msgid "Name"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: models/pager.php:243, models/pager.php:709, view/submenu.php:6
|
155 |
+
msgid "Redirects"
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: models/pager.php:244, models/pager.php:708, view/group-edit.php:8
|
159 |
+
msgid "Module"
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: models/pager.php:254
|
163 |
+
msgid "View Redirects"
|
164 |
+
msgstr ""
|
165 |
+
|
166 |
+
#: models/pager.php:278
|
167 |
+
msgid "Unknown"
|
168 |
+
msgstr ""
|
169 |
+
|
170 |
+
#: models/pager.php:355
|
171 |
+
msgid "All modules"
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#: models/pager.php:440, models/pager.php:574
|
175 |
+
msgid "Add redirect"
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: models/pager.php:477, models/pager.php:608
|
179 |
+
msgid "Date"
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: models/pager.php:478, models/pager.php:609, view/add.php:13, view/item-edit.php:4
|
183 |
+
msgid "Source URL"
|
184 |
+
msgstr ""
|
185 |
+
|
186 |
+
#: models/pager.php:480, models/pager.php:611
|
187 |
+
msgid "IP"
|
188 |
+
msgstr ""
|
189 |
+
|
190 |
+
#: models/pager.php:580
|
191 |
+
msgid "Show only this IP"
|
192 |
+
msgstr ""
|
193 |
+
|
194 |
+
#: models/pager.php:719
|
195 |
+
msgid "Configure"
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: models/redirect.php:139
|
199 |
+
msgid "Source and target URL must be different"
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
+
#: models/redirect.php:145
|
203 |
+
msgid "You can only redirect from a relative URL (<code>%s</code>) on this domain (<code>%s</code>)."
|
204 |
+
msgstr ""
|
205 |
+
|
206 |
+
#: models/redirect.php:153
|
207 |
+
msgid "Invalid group when creating redirect"
|
208 |
+
msgstr ""
|
209 |
+
|
210 |
+
#: models/redirect.php:156
|
211 |
+
msgid "Invalid source URL when creating redirect for given match type"
|
212 |
+
msgstr ""
|
213 |
+
|
214 |
+
#: models/redirect.php:362
|
215 |
+
msgid "Redirect to URL"
|
216 |
+
msgstr ""
|
217 |
+
|
218 |
+
#: models/redirect.php:363
|
219 |
+
msgid "Redirect to random post"
|
220 |
+
msgstr ""
|
221 |
+
|
222 |
+
#: models/redirect.php:364
|
223 |
+
msgid "Pass-through"
|
224 |
+
msgstr ""
|
225 |
+
|
226 |
+
#: models/redirect.php:365
|
227 |
+
msgid "Error (404)"
|
228 |
+
msgstr ""
|
229 |
+
|
230 |
+
#: models/redirect.php:366
|
231 |
+
msgid "Do nothing"
|
232 |
+
msgstr ""
|
233 |
+
|
234 |
+
#: modules/apache.php:63
|
235 |
+
msgid "Cannot write to chosen location - check path and permissions."
|
236 |
+
msgstr ""
|
237 |
+
|
238 |
+
#: modules/apache.php:76
|
239 |
+
msgid ".htaccess Location"
|
240 |
+
msgstr ""
|
241 |
+
|
242 |
+
#: modules/apache.php:80
|
243 |
+
msgid "If you want Redirection to automatically update your <code>.htaccess</code> file then enter the full path and filename here. You can also download the file and update it manually."
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#: modules/apache.php:81
|
247 |
+
msgid "WordPress is installed in: <code>%s</code>"
|
248 |
+
msgstr ""
|
249 |
+
|
250 |
+
#: modules/apache.php:85
|
251 |
+
msgid "Canonical URL"
|
252 |
+
msgstr ""
|
253 |
+
|
254 |
+
#: modules/apache.php:88
|
255 |
+
msgid "Default server"
|
256 |
+
msgstr ""
|
257 |
+
|
258 |
+
#: modules/apache.php:89
|
259 |
+
msgid "Remove WWW (%s)"
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#: modules/apache.php:90
|
263 |
+
msgid "Add WWW (www.%s)"
|
264 |
+
msgstr ""
|
265 |
+
|
266 |
+
#: modules/apache.php:93
|
267 |
+
msgid "Automatically remove or add www to your site."
|
268 |
+
msgstr ""
|
269 |
+
|
270 |
+
#: modules/apache.php:102
|
271 |
+
msgid "<code>.htaccess</code> saved to %s"
|
272 |
+
msgstr ""
|
273 |
+
|
274 |
+
#: modules/apache.php:108
|
275 |
+
msgid "Apache"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: modules/apache.php:112
|
279 |
+
msgid "Uses Apache <code>.htaccess</code> files. Requires further configuration. The redirect happens without loading WordPress. No tracking of hits."
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: modules/nginx.php:41
|
283 |
+
msgid "Nginx"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: modules/nginx.php:45
|
287 |
+
msgid "For use with Nginx server. Requires manual configuration. The redirect happens without loading WordPress. No tracking of hits. This is an experimental module."
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: modules/wordpress.php:127
|
291 |
+
msgid "WordPress"
|
292 |
+
msgstr ""
|
293 |
+
|
294 |
+
#: modules/wordpress.php:131
|
295 |
+
msgid "WordPress-powered redirects. This requires no further configuration, and you can track hits."
|
296 |
+
msgstr ""
|
297 |
+
|
298 |
+
#: redirection-admin.php:133
|
299 |
+
msgid "Settings"
|
300 |
+
msgstr ""
|
301 |
+
|
302 |
+
#: redirection-admin.php:145
|
303 |
+
msgid "Log entries"
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: redirection-admin.php:156, redirection-admin.php:156
|
307 |
+
msgid "Redirection"
|
308 |
+
msgstr ""
|
309 |
+
|
310 |
+
#: redirection-admin.php:223, redirection-admin.php:239
|
311 |
+
msgid "Your options were updated"
|
312 |
+
msgstr ""
|
313 |
+
|
314 |
+
#: redirection-admin.php:248
|
315 |
+
msgid "Redirection data has been deleted and the plugin disabled"
|
316 |
+
msgstr ""
|
317 |
+
|
318 |
+
#: redirection-admin.php:255
|
319 |
+
msgid "%d redirection was successfully imported"
|
320 |
+
msgid_plural "%d redirections were successfully imported"
|
321 |
+
msgstr[0] ""
|
322 |
+
msgstr[1] ""
|
323 |
+
|
324 |
+
#: redirection-admin.php:257
|
325 |
+
msgid "No items were imported"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#: redirection-admin.php:269, redirection-admin.php:289
|
329 |
+
msgid "Your logs have been deleted"
|
330 |
+
msgstr ""
|
331 |
+
|
332 |
+
#: redirection-admin.php:303
|
333 |
+
msgid "Your group was added successfully"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: redirection-admin.php:306
|
337 |
+
msgid "Please specify a group name"
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
+
#: redirection-admin.php:482
|
341 |
+
msgid "Sorry, but your redirection was not created"
|
342 |
+
msgstr ""
|
343 |
+
|
344 |
+
#: redirection-admin.php:488
|
345 |
+
msgid "Invalid module"
|
346 |
+
msgstr ""
|
347 |
+
|
348 |
+
#: redirection-admin.php:504
|
349 |
+
msgid "Download"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: redirection-admin.php:505, view/group-edit.php:22, view/item-edit.php:35, view/module-edit.php:13
|
353 |
+
msgid "Cancel"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: view/add.php:4
|
357 |
+
msgid "Add new redirection"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: view/add.php:7
|
361 |
+
msgid "Your redirection has been added."
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: view/add.php:17
|
365 |
+
msgid "Match"
|
366 |
+
msgstr ""
|
367 |
+
|
368 |
+
#: view/add.php:23
|
369 |
+
msgid "Action"
|
370 |
+
msgstr ""
|
371 |
+
|
372 |
+
#: view/add.php:28
|
373 |
+
msgid "Regular expression"
|
374 |
+
msgstr ""
|
375 |
+
|
376 |
+
#: view/add.php:36, view/item-edit.php:20
|
377 |
+
msgid "Group"
|
378 |
+
msgstr ""
|
379 |
+
|
380 |
+
#: view/add.php:46
|
381 |
+
msgid "Add Redirection"
|
382 |
+
msgstr ""
|
383 |
+
|
384 |
+
#: view/group-edit.php:21, view/item-edit.php:34, view/module-edit.php:12
|
385 |
+
msgid "Save"
|
386 |
+
msgstr ""
|
387 |
+
|
388 |
+
#: view/group-list.php:5, view/submenu.php:11
|
389 |
+
msgid "Groups"
|
390 |
+
msgstr ""
|
391 |
+
|
392 |
+
#: view/group-list.php:22
|
393 |
+
msgid "Add Group"
|
394 |
+
msgstr ""
|
395 |
+
|
396 |
+
#: view/group-list.php:24
|
397 |
+
msgid "Use groups to organise your redirects. Groups are assigned to a module, which affects how the redirects in that group work. If you are unsure then stick to the WordPress module."
|
398 |
+
msgstr ""
|
399 |
+
|
400 |
+
#: view/group-list.php:44
|
401 |
+
msgid "Add"
|
402 |
+
msgstr ""
|
403 |
+
|
404 |
+
#: view/item-edit.php:13
|
405 |
+
msgid "Description"
|
406 |
+
msgstr ""
|
407 |
+
|
408 |
+
#: view/item-edit.php:16
|
409 |
+
msgid "optional"
|
410 |
+
msgstr ""
|
411 |
+
|
412 |
+
#: view/item-list.php:5
|
413 |
+
msgid "Redirections"
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: view/log.php:5
|
417 |
+
msgid "Redirection Log"
|
418 |
+
msgstr ""
|
419 |
+
|
420 |
+
#: view/log.php:19
|
421 |
+
msgid "Log Management"
|
422 |
+
msgstr ""
|
423 |
+
|
424 |
+
#: view/log.php:23
|
425 |
+
msgid "These apply to the current search term, if any, otherwise all logs."
|
426 |
+
msgstr ""
|
427 |
+
|
428 |
+
#: view/module-list.php:5, view/submenu.php:16
|
429 |
+
msgid "Modules"
|
430 |
+
msgstr ""
|
431 |
+
|
432 |
+
#: view/options.php:6
|
433 |
+
msgid "No logs"
|
434 |
+
msgstr ""
|
435 |
+
|
436 |
+
#: view/options.php:7
|
437 |
+
msgid "A day"
|
438 |
+
msgstr ""
|
439 |
+
|
440 |
+
#: view/options.php:8
|
441 |
+
msgid "A week"
|
442 |
+
msgstr ""
|
443 |
+
|
444 |
+
#: view/options.php:9
|
445 |
+
msgid "A month"
|
446 |
+
msgstr ""
|
447 |
+
|
448 |
+
#: view/options.php:10
|
449 |
+
msgid "Two months"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: view/options.php:11
|
453 |
+
msgid "Keep forever"
|
454 |
+
msgstr ""
|
455 |
+
|
456 |
+
#: view/options.php:19, view/submenu.php:42
|
457 |
+
msgid "Options"
|
458 |
+
msgstr ""
|
459 |
+
|
460 |
+
#: view/options.php:27
|
461 |
+
msgid "Plugin Support"
|
462 |
+
msgstr ""
|
463 |
+
|
464 |
+
#: view/options.php:34
|
465 |
+
msgid "Redirect Logs"
|
466 |
+
msgstr ""
|
467 |
+
|
468 |
+
#: view/options.php:40, view/options.php:50
|
469 |
+
msgid "(time to keep logs for)"
|
470 |
+
msgstr ""
|
471 |
+
|
472 |
+
#: view/options.php:44
|
473 |
+
msgid "404 Logs"
|
474 |
+
msgstr ""
|
475 |
+
|
476 |
+
#: view/options.php:54
|
477 |
+
msgid "Monitor changes to posts"
|
478 |
+
msgstr ""
|
479 |
+
|
480 |
+
#: view/options.php:63
|
481 |
+
msgid "RSS Token"
|
482 |
+
msgstr ""
|
483 |
+
|
484 |
+
#: view/options.php:66
|
485 |
+
msgid "A unique token allowing feed readers access to Redirection log RSS (leave blank to auto-generate)"
|
486 |
+
msgstr ""
|
487 |
+
|
488 |
+
#: view/options.php:70
|
489 |
+
msgid "Auto-generate URL"
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: view/options.php:74
|
493 |
+
msgid "This will be used to auto-generate a URL if no URL is given. You can use the special tags <code>$dec$</code> or <code>$hex$</code> to have a unique ID inserted (either decimal or hex)"
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: view/options.php:79
|
497 |
+
msgid "Update"
|
498 |
+
msgstr ""
|
499 |
+
|
500 |
+
#: view/options.php:85
|
501 |
+
msgid "Import"
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
+
#: view/options.php:87
|
505 |
+
msgid "Here you can import redirections from an existing <code>.htaccess</code> file, or a CSV file."
|
506 |
+
msgstr ""
|
507 |
+
|
508 |
+
#: view/options.php:94
|
509 |
+
msgid "Import into"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: view/options.php:97
|
513 |
+
msgid "Upload"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: view/options.php:102
|
517 |
+
msgid "Delete Redirection"
|
518 |
+
msgstr ""
|
519 |
+
|
520 |
+
#: view/options.php:103
|
521 |
+
msgid "Selecting this option will delete all redirections, all logs, and any options associated with the Redirection plugin. Make sure this is what you want to do."
|
522 |
+
msgstr ""
|
523 |
+
|
524 |
+
#: view/submenu.php:23
|
525 |
+
msgid "Log"
|
526 |
+
msgstr ""
|
527 |
+
|
528 |
+
#: view/submenu.php:32
|
529 |
+
msgid "404s from %s"
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: view/submenu.php:34
|
533 |
+
msgid "404s"
|
534 |
+
msgstr ""
|
535 |
+
|
536 |
+
#: view/submenu.php:47
|
537 |
+
msgid "Support"
|
538 |
+
msgstr ""
|
539 |
+
|
540 |
+
#: view/support.php:5
|
541 |
+
msgid "Redirection Support"
|
542 |
+
msgstr ""
|
543 |
+
|
544 |
+
#: view/support.php:9
|
545 |
+
msgid "Redirection is free to use - life is wonderful and lovely! However, it has required a great deal of time and effort to develop and if it has been useful you can help support this development by <strong>making a small donation</strong>."
|
546 |
+
msgstr ""
|
547 |
+
|
548 |
+
#: view/support.php:10
|
549 |
+
msgid "This will act as an incentive for me to carry on developing. You get some useful software and I get to carry on making it. Everybody wins."
|
550 |
+
msgstr ""
|
551 |
+
|
552 |
+
#: view/support.php:38
|
553 |
+
msgid "Individual<br/>Donation"
|
554 |
+
msgstr ""
|
555 |
+
|
556 |
+
#: view/support.php:58
|
557 |
+
msgid "Commercial<br/>Donation"
|
558 |
+
msgstr ""
|
559 |
+
|
560 |
+
#: view/support.php:62
|
561 |
+
msgid "Translations"
|
562 |
+
msgstr ""
|
563 |
+
|
564 |
+
#: view/support.php:72
|
565 |
+
msgid "Full details of producing a translation can be found in this <a href="http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/">guide to translating WordPress plugins</a>."
|
566 |
+
msgstr ""
|
models/group.php
CHANGED
@@ -46,7 +46,9 @@ class Red_Group {
|
|
46 |
if ( $rows ) {
|
47 |
foreach ( $rows AS $row ) {
|
48 |
$module = Red_Module::get( $row->module_id );
|
49 |
-
$
|
|
|
|
|
50 |
}
|
51 |
}
|
52 |
|
46 |
if ( $rows ) {
|
47 |
foreach ( $rows AS $row ) {
|
48 |
$module = Red_Module::get( $row->module_id );
|
49 |
+
if ( $module ) {
|
50 |
+
$data[$module->get_name()][$row->id] = $row->name;
|
51 |
+
}
|
52 |
}
|
53 |
}
|
54 |
|
models/monitor.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
|
3 |
class Red_Monitor {
|
4 |
-
|
5 |
|
6 |
-
function
|
7 |
if ( $options['monitor_post'] > 0 ) {
|
8 |
-
$this->
|
9 |
|
10 |
// Only monitor if permalinks enabled
|
11 |
if ( get_option( 'permalink_structure' ) ) {
|
@@ -16,7 +16,7 @@ class Red_Monitor {
|
|
16 |
}
|
17 |
}
|
18 |
|
19 |
-
function insert_old_post() {
|
20 |
global $post;
|
21 |
|
22 |
$url = parse_url( get_permalink() );
|
@@ -26,8 +26,8 @@ class Red_Monitor {
|
|
26 |
<?php
|
27 |
}
|
28 |
|
29 |
-
function post_updated( $post_id, $post, $post_before ) {
|
30 |
-
if ( $post->post_status
|
31 |
return;
|
32 |
|
33 |
if ( isset( $_POST['redirection_slug'] ) ) {
|
@@ -36,13 +36,13 @@ class Red_Monitor {
|
|
36 |
$before = esc_url( $_POST['redirection_slug'] );
|
37 |
$site = parse_url( get_site_url() );
|
38 |
|
39 |
-
if ( in_array( $post->post_status, array( 'publish', 'static' ) ) && $before
|
40 |
Red_Item::create( array(
|
41 |
'source' => $before,
|
42 |
'target' => $after,
|
43 |
'match' => 'url',
|
44 |
'red_action' => 'url',
|
45 |
-
'
|
46 |
) );
|
47 |
}
|
48 |
}
|
1 |
<?php
|
2 |
|
3 |
class Red_Monitor {
|
4 |
+
private $monitor_group_id;
|
5 |
|
6 |
+
function __construct( $options ) {
|
7 |
if ( $options['monitor_post'] > 0 ) {
|
8 |
+
$this->monitor_group_id = intval( $options['monitor_post'] );
|
9 |
|
10 |
// Only monitor if permalinks enabled
|
11 |
if ( get_option( 'permalink_structure' ) ) {
|
16 |
}
|
17 |
}
|
18 |
|
19 |
+
public function insert_old_post() {
|
20 |
global $post;
|
21 |
|
22 |
$url = parse_url( get_permalink() );
|
26 |
<?php
|
27 |
}
|
28 |
|
29 |
+
public function post_updated( $post_id, $post, $post_before ) {
|
30 |
+
if ( $post->post_status !== 'publish' || is_post_type_hierarchical( $post->post_type ) )
|
31 |
return;
|
32 |
|
33 |
if ( isset( $_POST['redirection_slug'] ) ) {
|
36 |
$before = esc_url( $_POST['redirection_slug'] );
|
37 |
$site = parse_url( get_site_url() );
|
38 |
|
39 |
+
if ( in_array( $post->post_status, array( 'publish', 'static' ) ) && $before !== $after && $before !== '/' && ( !isset( $site['path'] ) || ( isset( $site['path'] ) && $before !== $site['path'].'/' ) ) ) {
|
40 |
Red_Item::create( array(
|
41 |
'source' => $before,
|
42 |
'target' => $after,
|
43 |
'match' => 'url',
|
44 |
'red_action' => 'url',
|
45 |
+
'group_id' => $this->monitor_group_id
|
46 |
) );
|
47 |
}
|
48 |
}
|
models/redirect.php
CHANGED
@@ -76,16 +76,30 @@ class Red_Item {
|
|
76 |
$items = array();
|
77 |
if ( count( $rows ) > 0 ) {
|
78 |
foreach ( $rows AS $row ) {
|
79 |
-
$items[$row->group_pos * 1000 + $row->position
|
80 |
}
|
81 |
}
|
82 |
|
|
|
|
|
|
|
83 |
// Sort it in PHP
|
84 |
ksort( $items );
|
85 |
$items = array_values( $items );
|
86 |
return $items;
|
87 |
}
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
static function get_by_module( $module ) {
|
90 |
global $wpdb;
|
91 |
|
76 |
$items = array();
|
77 |
if ( count( $rows ) > 0 ) {
|
78 |
foreach ( $rows AS $row ) {
|
79 |
+
$items[] = array( 'position' => ( $row->group_pos * 1000 ) + $row->position, 'item' => new Red_Item( $row ) );
|
80 |
}
|
81 |
}
|
82 |
|
83 |
+
usort( $items, array( 'Red_Item', 'sort_urls' ) );
|
84 |
+
$items = array_map( array( 'Red_Item', 'reduce_sorted_items' ), $items );
|
85 |
+
|
86 |
// Sort it in PHP
|
87 |
ksort( $items );
|
88 |
$items = array_values( $items );
|
89 |
return $items;
|
90 |
}
|
91 |
|
92 |
+
static function sort_urls( $first, $second ) {
|
93 |
+
if ( $first['position'] === $second['position'] )
|
94 |
+
return 0;
|
95 |
+
|
96 |
+
return $first['position'] < $second['position'];
|
97 |
+
}
|
98 |
+
|
99 |
+
static function reduce_sorted_items( $item ) {
|
100 |
+
return $item['item'];
|
101 |
+
}
|
102 |
+
|
103 |
static function get_by_module( $module ) {
|
104 |
global $wpdb;
|
105 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://urbangiraffe.com/about/
|
|
4 |
Tags: post, admin, seo, pages, manage, 301, 404, redirect, permalink
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 2.4
|
8 |
|
9 |
Redirection is a WordPress plugin to manage 301 redirections and keep track of 404 errors without requiring knowledge of Apache .htaccess files.
|
10 |
|
@@ -92,8 +92,20 @@ The plugin works in a similar manner to how WordPress handles permalinks and sho
|
|
92 |
= 2.3.3 =
|
93 |
* Full WordPress 3.5+ compatability! Note that this contains database changes so please backup your data.
|
94 |
|
|
|
|
|
|
|
95 |
== Changelog ==
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
= 2.4 =
|
98 |
* Reworked modules now no longer stored in database
|
99 |
* Nginx module (experimental)
|
4 |
Tags: post, admin, seo, pages, manage, 301, 404, redirect, permalink
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 2.4.2
|
8 |
|
9 |
Redirection is a WordPress plugin to manage 301 redirections and keep track of 404 errors without requiring knowledge of Apache .htaccess files.
|
10 |
|
92 |
= 2.3.3 =
|
93 |
* Full WordPress 3.5+ compatability! Note that this contains database changes so please backup your data.
|
94 |
|
95 |
+
= 2.4 =
|
96 |
+
* Another database change. Please backup your data
|
97 |
+
|
98 |
== Changelog ==
|
99 |
|
100 |
+
= 2.4.2 =
|
101 |
+
* Add Gulp task to generate POT file
|
102 |
+
* Fix a problem with duplicate positions in the redirect table, props to Jon Jensen
|
103 |
+
* Fix URL monitor not triggering
|
104 |
+
* Fix CSV export
|
105 |
+
|
106 |
+
= 2.4.1 =
|
107 |
+
* Fix error for people with an unknown module in a group
|
108 |
+
|
109 |
= 2.4 =
|
110 |
* Reworked modules now no longer stored in database
|
111 |
* Nginx module (experimental)
|
redirection.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Redirection
|
4 |
Plugin URI: http://urbangiraffe.com/plugins/redirection/
|
5 |
Description: Manage all your 301 redirects and monitor 404 errors
|
6 |
-
Version: 2.4
|
7 |
Author: John Godley
|
8 |
Author URI: http://urbangiraffe.com
|
9 |
============================================================================================================
|
3 |
Plugin Name: Redirection
|
4 |
Plugin URI: http://urbangiraffe.com/plugins/redirection/
|
5 |
Description: Manage all your 301 redirects and monitor 404 errors
|
6 |
+
Version: 2.4.2
|
7 |
Author: John Godley
|
8 |
Author URI: http://urbangiraffe.com
|
9 |
============================================================================================================
|