Version Description
- Bugfix: Check if MaxMind databases actually exist.
- New: Unzip MaxMind database(s) if gzip file is found.
- New: Block post types
- New: Added option to select if you want to block your search page.
- New: When (re)activating the plugin it now adds the IP address of the person activating the plugin to the backend whitelist if the whitelist is currently empty.
Download this release
Release Info
Developer | iqpascal |
Plugin | iQ Block Country |
Version | 1.1.19 |
Comparing to | |
See all releases |
Code changes from version 1.1.18 to 1.1.19
- iq-block-country.php +25 -14
- lang/en_EN.mo +0 -0
- lang/en_EN.po +173 -161
- lang/iqblockcountry-nl_NL.mo +0 -0
- lang/iqblockcountry-nl_NL.po +189 -176
- libs/blockcountry-checks.php +23 -29
- libs/blockcountry-retrieve-geodb.php +0 -92
- libs/blockcountry-settings.php +63 -29
- libs/blockcountry-validation.php +46 -0
- readme.txt +12 -4
iq-block-country.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: iQ Block Country
|
4 |
Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
|
5 |
-
Version: 1.1.
|
6 |
Author: Pascal
|
7 |
Author URI: http://www.redeo.nl/
|
8 |
Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
|
@@ -108,36 +108,44 @@ function iqblockcountry_get_countries()
|
|
108 |
return $countylist;
|
109 |
}
|
110 |
|
111 |
-
/*
|
112 |
* Retrieves the IP address from the HTTP Headers
|
113 |
*/
|
114 |
function iqblockcountry_get_ipaddress() {
|
115 |
global $ip_address;
|
116 |
|
117 |
-
$
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
}
|
123 |
return $ip_address;
|
124 |
}
|
125 |
|
|
|
126 |
function iqblockcountry_upgrade()
|
127 |
{
|
128 |
/* Check if update is necessary */
|
129 |
$dbversion = get_option( 'blockcountry_version' );
|
130 |
update_option('blockcountry_version',VERSION);
|
131 |
-
|
|
|
|
|
|
|
|
|
132 |
if ($dbversion != "" && version_compare($dbversion, "1.1.17", '<') )
|
133 |
{
|
134 |
delete_option('blockcountry_automaticupdate');
|
135 |
delete_option('blockcountry_lastupdate');
|
136 |
}
|
137 |
-
if ($dbversion != "" && version_compare($dbversion, "1.1.14", '<') )
|
138 |
-
{
|
139 |
-
update_option('blockcountry_automaticupdate', 'on');
|
140 |
-
}
|
141 |
elseif ($dbversion != "" && version_compare($dbversion, "1.1.11", '<') )
|
142 |
{
|
143 |
update_option('blockcountry_nrstatistics', 15);
|
@@ -187,7 +195,8 @@ define("IPV6DBFILE",$upload_dir['basedir'] . "/GeoIPv6.dat");
|
|
187 |
define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
|
188 |
define("BANLISTRETRIEVEURL","http://tracking.webence.nl/iq-block-country-retrieve.php");
|
189 |
define("GEOIPAPIURL","http://geoip.webence.nl/geoipapi.php");
|
190 |
-
define("
|
|
|
191 |
define("DBVERSION","121");
|
192 |
define("PLUGINPATH",plugin_dir_path( __FILE__ ));
|
193 |
|
@@ -201,6 +210,7 @@ require_once('libs/blockcountry-logging.php');
|
|
201 |
require_once('libs/blockcountry-tracking.php');
|
202 |
require_once('libs/blockcountry-search-engines.php');
|
203 |
|
|
|
204 |
global $apiblacklist;
|
205 |
$apiblacklist = FALSE;
|
206 |
$backendblacklistcheck = FALSE;
|
@@ -225,7 +235,7 @@ if ((iqblockcountry_is_login_page() || is_admin()) && get_option('blockcountry_b
|
|
225 |
/*
|
226 |
* Check first if users want to block the frontend.
|
227 |
*/
|
228 |
-
if (get_option('blockcountry_blockfrontend'))
|
229 |
{
|
230 |
add_action ( 'wp_head', 'iqblockcountry_checkCountry', 1 );
|
231 |
}
|
@@ -236,6 +246,7 @@ add_filter ( 'update_option_blockcountry_tracking', 'iqblockcountry_schedule_tra
|
|
236 |
add_filter ( 'add_option_blockcountry_tracking', 'iqblockcountry_schedule_tracking', 10, 2);
|
237 |
add_filter ( 'update_option_blockcountry_apikey', 'iqblockcountry_schedule_retrieving', 10, 2);
|
238 |
add_filter ( 'add_option_blockcountry_apikey', 'iqblockcountry_schedule_retrieving', 10, 2);
|
|
|
239 |
//add_filter ( 'update_option_blockcountry_backendlogging', 'iqblockcountry_blockcountry_backendlogging', 10, 2);
|
240 |
//add_filter ( 'add_option_blockcountry_backendlogging', 'iqblockcountry_blockcountry_backendlogging', 10, 2);
|
241 |
add_action ( 'blockcountry_tracking', 'iqblockcountry_tracking' );
|
2 |
/*
|
3 |
Plugin Name: iQ Block Country
|
4 |
Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
|
5 |
+
Version: 1.1.19
|
6 |
Author: Pascal
|
7 |
Author URI: http://www.redeo.nl/
|
8 |
Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
|
108 |
return $countylist;
|
109 |
}
|
110 |
|
111 |
+
/*
|
112 |
* Retrieves the IP address from the HTTP Headers
|
113 |
*/
|
114 |
function iqblockcountry_get_ipaddress() {
|
115 |
global $ip_address;
|
116 |
|
117 |
+
if ( isset($_SERVER['REMOTE_ADDR']) && !empty($_SERVER['REMOTE_ADDR']) ) {
|
118 |
+
$ip_address = $_SERVER['REMOTE_ADDR'];
|
119 |
+
}
|
120 |
+
elseif ( isset($_SERVER['HTTP_X_FORWARDED_FOR']) && !empty($_SERVER['HTTP_X_FORWARDED_FOR']) ) {
|
121 |
+
$ips = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
|
122 |
+
$ip_address = trim($ips[0]);
|
123 |
+
} elseif ( isset($_SERVER['HTTP_X_REAL_IP']) && !empty($_SERVER['HTTP_X_REAL_IP']) ) {
|
124 |
+
$ip_address = $_SERVER['HTTP_X_REAL_IP'];
|
125 |
+
} elseif ( isset($_SERVER['HTTP_CLIENT_IP']) && !empty($_SERVER['HTTP_CLIENT_IP']) ) {
|
126 |
+
$ip_address = $_SERVER['HTTP_CLIENT_IP'];
|
127 |
+
} elseif ( isset($_SERVER['HTTP_X_TM_REMOTE_ADDR']) && !empty($_SERVER['HTTP_X_TM_REMOTE_ADDR']) ) {
|
128 |
+
$ip_address = $_SERVER['HTTP_X_TM_REMOTE_ADDR'];
|
129 |
}
|
130 |
return $ip_address;
|
131 |
}
|
132 |
|
133 |
+
|
134 |
function iqblockcountry_upgrade()
|
135 |
{
|
136 |
/* Check if update is necessary */
|
137 |
$dbversion = get_option( 'blockcountry_version' );
|
138 |
update_option('blockcountry_version',VERSION);
|
139 |
+
|
140 |
+
if ($dbversion != "" && version_compare($dbversion, "1.1.19", '<') )
|
141 |
+
{
|
142 |
+
update_option('blockcountry_blocksearch','on');
|
143 |
+
}
|
144 |
if ($dbversion != "" && version_compare($dbversion, "1.1.17", '<') )
|
145 |
{
|
146 |
delete_option('blockcountry_automaticupdate');
|
147 |
delete_option('blockcountry_lastupdate');
|
148 |
}
|
|
|
|
|
|
|
|
|
149 |
elseif ($dbversion != "" && version_compare($dbversion, "1.1.11", '<') )
|
150 |
{
|
151 |
update_option('blockcountry_nrstatistics', 15);
|
195 |
define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
|
196 |
define("BANLISTRETRIEVEURL","http://tracking.webence.nl/iq-block-country-retrieve.php");
|
197 |
define("GEOIPAPIURL","http://geoip.webence.nl/geoipapi.php");
|
198 |
+
define("GEOIPAPICHECKURL","http://geoip.webence.nl/geoipapi-keycheck.php");
|
199 |
+
define("VERSION","1.1.19");
|
200 |
define("DBVERSION","121");
|
201 |
define("PLUGINPATH",plugin_dir_path( __FILE__ ));
|
202 |
|
210 |
require_once('libs/blockcountry-tracking.php');
|
211 |
require_once('libs/blockcountry-search-engines.php');
|
212 |
|
213 |
+
|
214 |
global $apiblacklist;
|
215 |
$apiblacklist = FALSE;
|
216 |
$backendblacklistcheck = FALSE;
|
235 |
/*
|
236 |
* Check first if users want to block the frontend.
|
237 |
*/
|
238 |
+
if (get_option('blockcountry_blockfrontend') == "on")
|
239 |
{
|
240 |
add_action ( 'wp_head', 'iqblockcountry_checkCountry', 1 );
|
241 |
}
|
246 |
add_filter ( 'add_option_blockcountry_tracking', 'iqblockcountry_schedule_tracking', 10, 2);
|
247 |
add_filter ( 'update_option_blockcountry_apikey', 'iqblockcountry_schedule_retrieving', 10, 2);
|
248 |
add_filter ( 'add_option_blockcountry_apikey', 'iqblockcountry_schedule_retrieving', 10, 2);
|
249 |
+
|
250 |
//add_filter ( 'update_option_blockcountry_backendlogging', 'iqblockcountry_blockcountry_backendlogging', 10, 2);
|
251 |
//add_filter ( 'add_option_blockcountry_backendlogging', 'iqblockcountry_blockcountry_backendlogging', 10, 2);
|
252 |
add_action ( 'blockcountry_tracking', 'iqblockcountry_tracking' );
|
lang/en_EN.mo
CHANGED
Binary file
|
lang/en_EN.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: iQ Block Country\n"
|
4 |
-
"POT-Creation-Date: 2015-03-
|
5 |
-
"PO-Revision-Date: 2015-03-
|
6 |
"Last-Translator: Pascal <pascal@redeo.nl>\n"
|
7 |
"Language-Team: iQ Block Country <info@redeo.nl>\n"
|
8 |
"Language: English\n"
|
@@ -15,424 +15,401 @@ msgstr ""
|
|
15 |
"X-Poedit-SearchPath-0: libs\n"
|
16 |
"X-Poedit-SearchPath-1: .\n"
|
17 |
|
18 |
-
#: libs/blockcountry-
|
19 |
-
|
20 |
-
msgid "Error occured: Could not download the GeoIP database from"
|
21 |
-
msgstr ""
|
22 |
-
|
23 |
-
#: libs/blockcountry-retrieve-geodb.php:39
|
24 |
-
msgid ""
|
25 |
-
"MaxMind has blocked requests from your IP address for 24 hours. Please check "
|
26 |
-
"again in 24 hours or download this file from your own PC"
|
27 |
-
msgstr ""
|
28 |
-
|
29 |
-
#: libs/blockcountry-retrieve-geodb.php:40
|
30 |
-
msgid "Unzip this file and upload it (via FTP for instance) to:"
|
31 |
-
msgstr ""
|
32 |
-
|
33 |
-
#: libs/blockcountry-retrieve-geodb.php:50
|
34 |
-
msgid ""
|
35 |
-
"Please download this file from your own PC unzip this file and upload it "
|
36 |
-
"(via FTP for instance) to:"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: libs/blockcountry-
|
40 |
-
msgid "
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#: libs/blockcountry-retrieve-geodb.php:85
|
44 |
-
msgid "Fatal error: GeoIP"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: libs/blockcountry-
|
48 |
-
msgid ""
|
49 |
-
"database does not exists. This plugin will not work until the database file "
|
50 |
-
"is present."
|
51 |
-
msgstr ""
|
52 |
-
|
53 |
-
#: libs/blockcountry-settings.php:16
|
54 |
msgid ""
|
55 |
"The MaxMind GeoIP database does not exist. Please download this file "
|
56 |
"manually or if you wish to use the GeoIP API get an API key from: "
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: libs/blockcountry-settings.php:
|
60 |
msgid "Please download the database from: "
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: libs/blockcountry-settings.php:
|
64 |
-
msgid "and upload it to the following location: "
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: libs/blockcountry-settings.php:
|
68 |
msgid "If you also use IPv6 please also download the database from: "
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: libs/blockcountry-settings.php:
|
72 |
msgid "For more detailed instructions take a look at the documentation.."
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: libs/blockcountry-settings.php:
|
76 |
msgid ""
|
77 |
"Check which country belongs to an IP Address according to the current "
|
78 |
"database."
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: libs/blockcountry-settings.php:
|
82 |
msgid "IP Address to check:"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: libs/blockcountry-settings.php:
|
86 |
msgid "No country for"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: libs/blockcountry-settings.php:
|
90 |
msgid "could be found. Or"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: libs/blockcountry-settings.php:
|
94 |
msgid "is not a valid IPv4 or IPv6 IP address"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: libs/blockcountry-settings.php:
|
98 |
msgid "IP Adress"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: libs/blockcountry-settings.php:
|
102 |
msgid "belongs to"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: libs/blockcountry-settings.php:
|
106 |
msgid "This country is not permitted to visit the frontend of this website."
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: libs/blockcountry-settings.php:
|
110 |
msgid "This country is not permitted to visit the backend of this website."
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: libs/blockcountry-settings.php:
|
114 |
msgid "This ip is present in the blacklist."
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: libs/blockcountry-settings.php:
|
118 |
msgid "Check IP address"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: libs/blockcountry-settings.php:
|
122 |
msgid "Active plugins"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: libs/blockcountry-settings.php:
|
126 |
msgid "Plugin name"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: libs/blockcountry-settings.php:
|
130 |
msgid "Version"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: libs/blockcountry-settings.php:
|
134 |
-
#: libs/blockcountry-settings.php:
|
135 |
msgid "URL"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: libs/blockcountry-settings.php:
|
139 |
msgid "Export"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: libs/blockcountry-settings.php:
|
143 |
msgid ""
|
144 |
"When you click on <tt>Backup all settings</tt> button a backup of the iQ "
|
145 |
"Block Country configuration will be created."
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: libs/blockcountry-settings.php:
|
149 |
msgid ""
|
150 |
"After exporting, you can either use the backup file to restore your settings "
|
151 |
"on this site again or copy the settings to another WordPress site."
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: libs/blockcountry-settings.php:
|
155 |
msgid "Backup all settings"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: libs/blockcountry-settings.php:
|
159 |
msgid "Import"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: libs/blockcountry-settings.php:
|
163 |
msgid "Click the browse button and choose a zip file that you exported before."
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: libs/blockcountry-settings.php:
|
167 |
msgid "Press Restore settings button, and let WordPress do the magic for you."
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: libs/blockcountry-settings.php:
|
171 |
msgid "Restore settings"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: libs/blockcountry-settings.php:
|
175 |
-
#: libs/blockcountry-settings.php:
|
176 |
msgid "Something went wrong exporting this file"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: libs/blockcountry-settings.php:
|
180 |
msgid "Exporting settings..."
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: libs/blockcountry-settings.php:
|
184 |
msgid "Something went wrong importing this file"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: libs/blockcountry-settings.php:
|
188 |
msgid "All options are restored successfully."
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: libs/blockcountry-settings.php:
|
192 |
msgid "Invalid file."
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: libs/blockcountry-settings.php:
|
196 |
msgid "No correct import or export option given."
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: libs/blockcountry-settings.php:
|
200 |
msgid "Select which pages are blocked."
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: libs/blockcountry-settings.php:
|
204 |
msgid "Do you want to block individual pages:"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: libs/blockcountry-settings.php:
|
208 |
msgid "If you do not select this option all pages will be blocked."
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: libs/blockcountry-settings.php:
|
212 |
msgid "Select pages you want to block:"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: libs/blockcountry-settings.php:
|
216 |
-
#: libs/blockcountry-settings.php:
|
217 |
-
#: libs/blockcountry-settings.php:
|
218 |
-
#: libs/blockcountry-settings.php:
|
219 |
msgid "Save Changes"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: libs/blockcountry-settings.php:
|
223 |
msgid "Select which categories are blocked."
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: libs/blockcountry-settings.php:
|
227 |
msgid "Do you want to block individual categories:"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: libs/blockcountry-settings.php:
|
231 |
msgid "If you do not select this option all blog articles will be blocked."
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: libs/blockcountry-settings.php:
|
235 |
msgid "Do you want to block the homepage:"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: libs/blockcountry-settings.php:
|
239 |
msgid ""
|
240 |
"If you do not select this option visitors will not be blocked from your "
|
241 |
"homepage regardless of the categories you select."
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: libs/blockcountry-settings.php:
|
245 |
msgid "Select categories you want to block:"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: libs/blockcountry-settings.php:
|
249 |
msgid "Select which post types are blocked."
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: libs/blockcountry-settings.php:
|
253 |
msgid "Do you want to block individual post types:"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: libs/blockcountry-settings.php:
|
257 |
msgid "Select post types you want to block:"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: libs/blockcountry-settings.php:
|
261 |
msgid "Select which search engines are allowed."
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: libs/blockcountry-settings.php:
|
265 |
msgid "Select which search engines you want to allow:"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: libs/blockcountry-settings.php:
|
269 |
msgid ""
|
270 |
"This will allow a search engine to your site despite if you blocked the "
|
271 |
"country."
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: libs/blockcountry-settings.php:
|
275 |
msgid "Frontend options"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: libs/blockcountry-settings.php:
|
279 |
msgid ""
|
280 |
"Do not block visitors that are logged in from visiting frontend website:"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: libs/blockcountry-settings.php:
|
284 |
msgid "Block visitors from visiting the frontend of your website:"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: libs/blockcountry-settings.php:
|
|
|
|
|
|
|
|
|
288 |
msgid ""
|
289 |
"Select the countries that should be blocked from visiting your frontend:"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: libs/blockcountry-settings.php:
|
293 |
msgid "Use the CTRL key to select multiple countries"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: libs/blockcountry-settings.php:
|
297 |
msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: libs/blockcountry-settings.php:
|
301 |
-
#: libs/blockcountry-settings.php:
|
302 |
msgid "Use a semicolon (;) to separate IP addresses"
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: libs/blockcountry-settings.php:
|
306 |
msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: libs/blockcountry-settings.php:
|
310 |
msgid "Backend Options"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: libs/blockcountry-settings.php:
|
314 |
msgid ""
|
315 |
"Block visitors from visiting the backend (administrator) of your website:"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: libs/blockcountry-settings.php:
|
319 |
msgid "Your IP address is"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: libs/blockcountry-settings.php:
|
323 |
msgid "The country that is listed for this IP address is"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: libs/blockcountry-settings.php:
|
327 |
msgid ""
|
328 |
"Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
|
329 |
"(administrator) of your website' and also select"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: libs/blockcountry-settings.php:
|
333 |
msgid "below."
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: libs/blockcountry-settings.php:
|
337 |
msgid ""
|
338 |
"You will NOT be able to login the next time if you DO block your own country "
|
339 |
"from visiting the backend."
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: libs/blockcountry-settings.php:
|
343 |
msgid "Select the countries that should be blocked from visiting your backend:"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: libs/blockcountry-settings.php:
|
347 |
msgid "Use the x behind the country to remove a country from this blocklist."
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: libs/blockcountry-settings.php:
|
351 |
msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: libs/blockcountry-settings.php:
|
355 |
msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: libs/blockcountry-settings.php:
|
359 |
msgid "Overall statistics since start"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: libs/blockcountry-settings.php:
|
363 |
msgid "visitors blocked from the backend."
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: libs/blockcountry-settings.php:
|
367 |
msgid "visitors blocked from the frontend."
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: libs/blockcountry-settings.php:
|
371 |
msgid "Basic Options"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: libs/blockcountry-settings.php:
|
375 |
msgid "Message to display when people are blocked:"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: libs/blockcountry-settings.php:
|
379 |
msgid "Page to redirect to:"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: libs/blockcountry-settings.php:
|
383 |
msgid ""
|
384 |
"If you select a page here blocked visitors will be redirected to this page "
|
385 |
"instead of displaying above block message."
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: libs/blockcountry-settings.php:
|
389 |
msgid "Choose a page..."
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: libs/blockcountry-settings.php:
|
393 |
msgid "Send headers when user is blocked:"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: libs/blockcountry-settings.php:
|
397 |
msgid ""
|
398 |
"Under normal circumstances you should keep this selected! Only if you have "
|
399 |
"\"Cannot modify header information - headers already sent\" errors or if you "
|
400 |
"know what you are doing uncheck this."
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: libs/blockcountry-settings.php:
|
404 |
msgid "Buffer output?:"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: libs/blockcountry-settings.php:
|
408 |
msgid ""
|
409 |
"You can use this option to buffer all output. This can be helpful in case "
|
410 |
"you have \"headers already sent\" issues."
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: libs/blockcountry-settings.php:
|
414 |
msgid "Do not log IP addresses:"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: libs/blockcountry-settings.php:
|
418 |
msgid ""
|
419 |
"Check this box if the laws in your country do not permit you to log IP "
|
420 |
"addresses or if you do not want to log the ip addresses."
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: libs/blockcountry-settings.php:
|
424 |
msgid "Number of rows on statistics page:"
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: libs/blockcountry-settings.php:
|
428 |
msgid "How many rows do you want to display on each tab the statistics page."
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: libs/blockcountry-settings.php:
|
432 |
msgid "Allow tracking:"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: libs/blockcountry-settings.php:
|
436 |
msgid ""
|
437 |
"This sends only the IP address and the number of attempts this ip address "
|
438 |
"tried to login to your backend and was blocked doing so to a central server. "
|
@@ -440,140 +417,175 @@ msgid ""
|
|
440 |
"countries."
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: libs/blockcountry-settings.php:
|
444 |
msgid "GeoIP API Key:"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: libs/blockcountry-settings.php:
|
448 |
msgid ""
|
449 |
"If for some reason you cannot or do not want to download the MaxMind GeoIP "
|
450 |
"databases you will need an API key for the GeoIP api.<br />You can get an "
|
451 |
"API key from: "
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: libs/blockcountry-settings.php:
|
455 |
msgid "Admin block API Key:"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: libs/blockcountry-settings.php:
|
459 |
msgid ""
|
460 |
"This is an experimantal feature. You do not need an API key for this plugin "
|
461 |
"to work."
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: libs/blockcountry-settings.php:
|
465 |
msgid "Log all visits to the backend:"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: libs/blockcountry-settings.php:
|
469 |
msgid ""
|
470 |
"This logs all visits to the backend despite if they are blocked or not. This "
|
471 |
"is mainly for debugging purposes."
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: libs/blockcountry-settings.php:
|
475 |
msgid "Accessibility options:"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: libs/blockcountry-settings.php:
|
479 |
msgid "Set this option if you cannot use the default country selection box."
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: libs/blockcountry-settings.php:
|
483 |
msgid "Last blocked visits"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: libs/blockcountry-settings.php:
|
487 |
msgid "Date / Time"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: libs/blockcountry-settings.php:
|
491 |
msgid "IP Address"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: libs/blockcountry-settings.php:
|
495 |
msgid "Hostname"
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: libs/blockcountry-settings.php:
|
499 |
msgid "Country"
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: libs/blockcountry-settings.php:
|
503 |
msgid "Frontend/Backend"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: libs/blockcountry-settings.php:
|
507 |
msgid "Frontend"
|
508 |
msgstr ""
|
509 |
|
510 |
-
#: libs/blockcountry-settings.php:
|
511 |
msgid "Backend banlist"
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: libs/blockcountry-settings.php:
|
515 |
msgid "Backend & Backend banlist"
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: libs/blockcountry-settings.php:
|
519 |
msgid "Backend"
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: libs/blockcountry-settings.php:
|
523 |
msgid "Top countries that are blocked"
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: libs/blockcountry-settings.php:
|
527 |
-
#: libs/blockcountry-settings.php:
|
528 |
msgid "# of blocked attempts"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: libs/blockcountry-settings.php:
|
532 |
msgid "Top hosts that are blocked"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: libs/blockcountry-settings.php:
|
536 |
msgid "Top URLs that are blocked"
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: libs/blockcountry-settings.php:
|
540 |
msgid "Clear database"
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: libs/blockcountry-settings.php:
|
544 |
msgid ""
|
545 |
"You are not logging any information. Please uncheck the option 'Do not log "
|
546 |
"IP addresses' if this is not what you want."
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: libs/blockcountry-settings.php:
|
550 |
msgid "Home"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: libs/blockcountry-settings.php:
|
554 |
msgid "Pages"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: libs/blockcountry-settings.php:
|
558 |
msgid "Categories"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: libs/blockcountry-settings.php:
|
562 |
msgid "Post types"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: libs/blockcountry-settings.php:
|
566 |
msgid "Search Engines"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: libs/blockcountry-settings.php:
|
570 |
msgid "Tools"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: libs/blockcountry-settings.php:
|
574 |
msgid "Logging"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: libs/blockcountry-settings.php:
|
578 |
msgid "Import/Export"
|
579 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: iQ Block Country\n"
|
4 |
+
"POT-Creation-Date: 2015-03-13 20:31+0100\n"
|
5 |
+
"PO-Revision-Date: 2015-03-13 20:31+0100\n"
|
6 |
"Last-Translator: Pascal <pascal@redeo.nl>\n"
|
7 |
"Language-Team: iQ Block Country <info@redeo.nl>\n"
|
8 |
"Language: English\n"
|
15 |
"X-Poedit-SearchPath-0: libs\n"
|
16 |
"X-Poedit-SearchPath-1: .\n"
|
17 |
|
18 |
+
#: libs/blockcountry-validation.php:83
|
19 |
+
msgid "The GeoIP API key is incorrect. Please update the key."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: libs/blockcountry-validation.php:89
|
23 |
+
msgid "Setting saved."
|
|
|
|
|
|
|
|
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: libs/blockcountry-settings.php:51
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
msgid ""
|
28 |
"The MaxMind GeoIP database does not exist. Please download this file "
|
29 |
"manually or if you wish to use the GeoIP API get an API key from: "
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: libs/blockcountry-settings.php:52
|
33 |
msgid "Please download the database from: "
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: libs/blockcountry-settings.php:54 libs/blockcountry-settings.php:59
|
37 |
+
msgid "unzip the file and afterwards upload it to the following location: "
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: libs/blockcountry-settings.php:57
|
41 |
msgid "If you also use IPv6 please also download the database from: "
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: libs/blockcountry-settings.php:61
|
45 |
msgid "For more detailed instructions take a look at the documentation.."
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: libs/blockcountry-settings.php:197
|
49 |
msgid ""
|
50 |
"Check which country belongs to an IP Address according to the current "
|
51 |
"database."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: libs/blockcountry-settings.php:201
|
55 |
msgid "IP Address to check:"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: libs/blockcountry-settings.php:211
|
59 |
msgid "No country for"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: libs/blockcountry-settings.php:211
|
63 |
msgid "could be found. Or"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: libs/blockcountry-settings.php:211
|
67 |
msgid "is not a valid IPv4 or IPv6 IP address"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: libs/blockcountry-settings.php:216
|
71 |
msgid "IP Adress"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: libs/blockcountry-settings.php:216
|
75 |
msgid "belongs to"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: libs/blockcountry-settings.php:219
|
79 |
msgid "This country is not permitted to visit the frontend of this website."
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: libs/blockcountry-settings.php:224
|
83 |
msgid "This country is not permitted to visit the backend of this website."
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: libs/blockcountry-settings.php:229
|
87 |
msgid "This ip is present in the blacklist."
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: libs/blockcountry-settings.php:234
|
91 |
msgid "Check IP address"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: libs/blockcountry-settings.php:240
|
95 |
msgid "Active plugins"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: libs/blockcountry-settings.php:247
|
99 |
msgid "Plugin name"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: libs/blockcountry-settings.php:247
|
103 |
msgid "Version"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: libs/blockcountry-settings.php:247 libs/blockcountry-settings.php:1012
|
107 |
+
#: libs/blockcountry-settings.php:1055
|
108 |
msgid "URL"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: libs/blockcountry-settings.php:272
|
112 |
msgid "Export"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: libs/blockcountry-settings.php:273
|
116 |
msgid ""
|
117 |
"When you click on <tt>Backup all settings</tt> button a backup of the iQ "
|
118 |
"Block Country configuration will be created."
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: libs/blockcountry-settings.php:274
|
122 |
msgid ""
|
123 |
"After exporting, you can either use the backup file to restore your settings "
|
124 |
"on this site again or copy the settings to another WordPress site."
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: libs/blockcountry-settings.php:278
|
128 |
msgid "Backup all settings"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: libs/blockcountry-settings.php:285
|
132 |
msgid "Import"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: libs/blockcountry-settings.php:286
|
136 |
msgid "Click the browse button and choose a zip file that you exported before."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: libs/blockcountry-settings.php:287
|
140 |
msgid "Press Restore settings button, and let WordPress do the magic for you."
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: libs/blockcountry-settings.php:292
|
144 |
msgid "Restore settings"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: libs/blockcountry-settings.php:315 libs/blockcountry-settings.php:318
|
148 |
+
#: libs/blockcountry-settings.php:327
|
149 |
msgid "Something went wrong exporting this file"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: libs/blockcountry-settings.php:330
|
153 |
msgid "Exporting settings..."
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: libs/blockcountry-settings.php:345
|
157 |
msgid "Something went wrong importing this file"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: libs/blockcountry-settings.php:362
|
161 |
msgid "All options are restored successfully."
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: libs/blockcountry-settings.php:365
|
165 |
msgid "Invalid file."
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: libs/blockcountry-settings.php:370
|
169 |
msgid "No correct import or export option given."
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: libs/blockcountry-settings.php:379
|
173 |
msgid "Select which pages are blocked."
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: libs/blockcountry-settings.php:386
|
177 |
msgid "Do you want to block individual pages:"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: libs/blockcountry-settings.php:387
|
181 |
msgid "If you do not select this option all pages will be blocked."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: libs/blockcountry-settings.php:392
|
185 |
msgid "Select pages you want to block:"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: libs/blockcountry-settings.php:414 libs/blockcountry-settings.php:468
|
189 |
+
#: libs/blockcountry-settings.php:516 libs/blockcountry-settings.php:561
|
190 |
+
#: libs/blockcountry-settings.php:683 libs/blockcountry-settings.php:807
|
191 |
+
#: libs/blockcountry-settings.php:980
|
192 |
msgid "Save Changes"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: libs/blockcountry-settings.php:427
|
196 |
msgid "Select which categories are blocked."
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: libs/blockcountry-settings.php:434
|
200 |
msgid "Do you want to block individual categories:"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: libs/blockcountry-settings.php:435
|
204 |
msgid "If you do not select this option all blog articles will be blocked."
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: libs/blockcountry-settings.php:440
|
208 |
msgid "Do you want to block the homepage:"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: libs/blockcountry-settings.php:441
|
212 |
msgid ""
|
213 |
"If you do not select this option visitors will not be blocked from your "
|
214 |
"homepage regardless of the categories you select."
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: libs/blockcountry-settings.php:446
|
218 |
msgid "Select categories you want to block:"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: libs/blockcountry-settings.php:482
|
222 |
msgid "Select which post types are blocked."
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: libs/blockcountry-settings.php:489
|
226 |
msgid "Do you want to block individual post types:"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: libs/blockcountry-settings.php:494
|
230 |
msgid "Select post types you want to block:"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: libs/blockcountry-settings.php:531
|
234 |
msgid "Select which search engines are allowed."
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: libs/blockcountry-settings.php:538
|
238 |
msgid "Select which search engines you want to allow:"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: libs/blockcountry-settings.php:539
|
242 |
msgid ""
|
243 |
"This will allow a search engine to your site despite if you blocked the "
|
244 |
"country."
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: libs/blockcountry-settings.php:576
|
248 |
msgid "Frontend options"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: libs/blockcountry-settings.php:610
|
252 |
msgid ""
|
253 |
"Do not block visitors that are logged in from visiting frontend website:"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: libs/blockcountry-settings.php:616
|
257 |
msgid "Block visitors from visiting the frontend of your website:"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: libs/blockcountry-settings.php:622
|
261 |
+
msgid "Block visitors from using the search function of your website:"
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: libs/blockcountry-settings.php:628
|
265 |
msgid ""
|
266 |
"Select the countries that should be blocked from visiting your frontend:"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: libs/blockcountry-settings.php:629
|
270 |
msgid "Use the CTRL key to select multiple countries"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: libs/blockcountry-settings.php:666
|
274 |
msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: libs/blockcountry-settings.php:666 libs/blockcountry-settings.php:674
|
278 |
+
#: libs/blockcountry-settings.php:790 libs/blockcountry-settings.php:798
|
279 |
msgid "Use a semicolon (;) to separate IP addresses"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: libs/blockcountry-settings.php:674
|
283 |
msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: libs/blockcountry-settings.php:703
|
287 |
msgid "Backend Options"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: libs/blockcountry-settings.php:737
|
291 |
msgid ""
|
292 |
"Block visitors from visiting the backend (administrator) of your website:"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: libs/blockcountry-settings.php:745
|
296 |
msgid "Your IP address is"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: libs/blockcountry-settings.php:745
|
300 |
msgid "The country that is listed for this IP address is"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: libs/blockcountry-settings.php:746
|
304 |
msgid ""
|
305 |
"Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
|
306 |
"(administrator) of your website' and also select"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: libs/blockcountry-settings.php:746
|
310 |
msgid "below."
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: libs/blockcountry-settings.php:747
|
314 |
msgid ""
|
315 |
"You will NOT be able to login the next time if you DO block your own country "
|
316 |
"from visiting the backend."
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: libs/blockcountry-settings.php:752
|
320 |
msgid "Select the countries that should be blocked from visiting your backend:"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: libs/blockcountry-settings.php:753
|
324 |
msgid "Use the x behind the country to remove a country from this blocklist."
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: libs/blockcountry-settings.php:790
|
328 |
msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: libs/blockcountry-settings.php:798
|
332 |
msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: libs/blockcountry-settings.php:828
|
336 |
msgid "Overall statistics since start"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: libs/blockcountry-settings.php:831
|
340 |
msgid "visitors blocked from the backend."
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: libs/blockcountry-settings.php:833
|
344 |
msgid "visitors blocked from the frontend."
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: libs/blockcountry-settings.php:837
|
348 |
msgid "Basic Options"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: libs/blockcountry-settings.php:872
|
352 |
msgid "Message to display when people are blocked:"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: libs/blockcountry-settings.php:882
|
356 |
msgid "Page to redirect to:"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: libs/blockcountry-settings.php:883
|
360 |
msgid ""
|
361 |
"If you select a page here blocked visitors will be redirected to this page "
|
362 |
"instead of displaying above block message."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: libs/blockcountry-settings.php:889
|
366 |
msgid "Choose a page..."
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: libs/blockcountry-settings.php:904
|
370 |
msgid "Send headers when user is blocked:"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: libs/blockcountry-settings.php:905
|
374 |
msgid ""
|
375 |
"Under normal circumstances you should keep this selected! Only if you have "
|
376 |
"\"Cannot modify header information - headers already sent\" errors or if you "
|
377 |
"know what you are doing uncheck this."
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: libs/blockcountry-settings.php:911
|
381 |
msgid "Buffer output?:"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: libs/blockcountry-settings.php:912
|
385 |
msgid ""
|
386 |
"You can use this option to buffer all output. This can be helpful in case "
|
387 |
"you have \"headers already sent\" issues."
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: libs/blockcountry-settings.php:918
|
391 |
msgid "Do not log IP addresses:"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: libs/blockcountry-settings.php:919
|
395 |
msgid ""
|
396 |
"Check this box if the laws in your country do not permit you to log IP "
|
397 |
"addresses or if you do not want to log the ip addresses."
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: libs/blockcountry-settings.php:926
|
401 |
msgid "Number of rows on statistics page:"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: libs/blockcountry-settings.php:927
|
405 |
msgid "How many rows do you want to display on each tab the statistics page."
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: libs/blockcountry-settings.php:942
|
409 |
msgid "Allow tracking:"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: libs/blockcountry-settings.php:943
|
413 |
msgid ""
|
414 |
"This sends only the IP address and the number of attempts this ip address "
|
415 |
"tried to login to your backend and was blocked doing so to a central server. "
|
417 |
"countries."
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: libs/blockcountry-settings.php:949
|
421 |
msgid "GeoIP API Key:"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: libs/blockcountry-settings.php:950
|
425 |
msgid ""
|
426 |
"If for some reason you cannot or do not want to download the MaxMind GeoIP "
|
427 |
"databases you will need an API key for the GeoIP api.<br />You can get an "
|
428 |
"API key from: "
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: libs/blockcountry-settings.php:956
|
432 |
msgid "Admin block API Key:"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: libs/blockcountry-settings.php:957
|
436 |
msgid ""
|
437 |
"This is an experimantal feature. You do not need an API key for this plugin "
|
438 |
"to work."
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: libs/blockcountry-settings.php:964
|
442 |
msgid "Log all visits to the backend:"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: libs/blockcountry-settings.php:965
|
446 |
msgid ""
|
447 |
"This logs all visits to the backend despite if they are blocked or not. This "
|
448 |
"is mainly for debugging purposes."
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: libs/blockcountry-settings.php:972
|
452 |
msgid "Accessibility options:"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: libs/blockcountry-settings.php:973
|
456 |
msgid "Set this option if you cannot use the default country selection box."
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: libs/blockcountry-settings.php:998
|
460 |
msgid "Last blocked visits"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: libs/blockcountry-settings.php:1012
|
464 |
msgid "Date / Time"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: libs/blockcountry-settings.php:1012 libs/blockcountry-settings.php:1044
|
468 |
msgid "IP Address"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: libs/blockcountry-settings.php:1012 libs/blockcountry-settings.php:1044
|
472 |
msgid "Hostname"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: libs/blockcountry-settings.php:1012 libs/blockcountry-settings.php:1031
|
476 |
msgid "Country"
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: libs/blockcountry-settings.php:1012
|
480 |
msgid "Frontend/Backend"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: libs/blockcountry-settings.php:1022 libs/blockcountry-settings.php:1106
|
484 |
msgid "Frontend"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: libs/blockcountry-settings.php:1022
|
488 |
msgid "Backend banlist"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: libs/blockcountry-settings.php:1022
|
492 |
msgid "Backend & Backend banlist"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: libs/blockcountry-settings.php:1022 libs/blockcountry-settings.php:1107
|
496 |
msgid "Backend"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: libs/blockcountry-settings.php:1029
|
500 |
msgid "Top countries that are blocked"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: libs/blockcountry-settings.php:1031 libs/blockcountry-settings.php:1044
|
504 |
+
#: libs/blockcountry-settings.php:1055
|
505 |
msgid "# of blocked attempts"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: libs/blockcountry-settings.php:1042
|
509 |
msgid "Top hosts that are blocked"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: libs/blockcountry-settings.php:1053
|
513 |
msgid "Top URLs that are blocked"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: libs/blockcountry-settings.php:1067
|
517 |
msgid "Clear database"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: libs/blockcountry-settings.php:1083
|
521 |
msgid ""
|
522 |
"You are not logging any information. Please uncheck the option 'Do not log "
|
523 |
"IP addresses' if this is not what you want."
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: libs/blockcountry-settings.php:1105
|
527 |
msgid "Home"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: libs/blockcountry-settings.php:1108
|
531 |
msgid "Pages"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: libs/blockcountry-settings.php:1109
|
535 |
msgid "Categories"
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: libs/blockcountry-settings.php:1110
|
539 |
msgid "Post types"
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: libs/blockcountry-settings.php:1111
|
543 |
msgid "Search Engines"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: libs/blockcountry-settings.php:1112
|
547 |
msgid "Tools"
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: libs/blockcountry-settings.php:1113
|
551 |
msgid "Logging"
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: libs/blockcountry-settings.php:1114
|
555 |
msgid "Import/Export"
|
556 |
msgstr ""
|
557 |
+
|
558 |
+
#: libs/blockcountry-retrieve-geodb.php:38
|
559 |
+
#: libs/blockcountry-retrieve-geodb.php:49
|
560 |
+
msgid "Error occured: Could not download the GeoIP database from"
|
561 |
+
msgstr ""
|
562 |
+
|
563 |
+
#: libs/blockcountry-retrieve-geodb.php:39
|
564 |
+
msgid ""
|
565 |
+
"MaxMind has blocked requests from your IP address for 24 hours. Please check "
|
566 |
+
"again in 24 hours or download this file from your own PC"
|
567 |
+
msgstr ""
|
568 |
+
|
569 |
+
#: libs/blockcountry-retrieve-geodb.php:40
|
570 |
+
msgid "Unzip this file and upload it (via FTP for instance) to:"
|
571 |
+
msgstr ""
|
572 |
+
|
573 |
+
#: libs/blockcountry-retrieve-geodb.php:50
|
574 |
+
msgid ""
|
575 |
+
"Please download this file from your own PC unzip this file and upload it "
|
576 |
+
"(via FTP for instance) to:"
|
577 |
+
msgstr ""
|
578 |
+
|
579 |
+
#: libs/blockcountry-retrieve-geodb.php:77
|
580 |
+
msgid "Finished downloading"
|
581 |
+
msgstr ""
|
582 |
+
|
583 |
+
#: libs/blockcountry-retrieve-geodb.php:85
|
584 |
+
msgid "Fatal error: GeoIP"
|
585 |
+
msgstr ""
|
586 |
+
|
587 |
+
#: libs/blockcountry-retrieve-geodb.php:85
|
588 |
+
msgid ""
|
589 |
+
"database does not exists. This plugin will not work until the database file "
|
590 |
+
"is present."
|
591 |
+
msgstr ""
|
lang/iqblockcountry-nl_NL.mo
CHANGED
Binary file
|
lang/iqblockcountry-nl_NL.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: iQ Block Country\n"
|
4 |
-
"POT-Creation-Date: 2015-03-
|
5 |
-
"PO-Revision-Date: 2015-03-
|
6 |
"Last-Translator: Pascal <pascal@redeo.nl>\n"
|
7 |
"Language-Team: iQ Block Country <info@redeo.nl>\n"
|
8 |
"Language: Dutch\n"
|
@@ -15,143 +15,110 @@ msgstr ""
|
|
15 |
"X-Poedit-SearchPath-0: libs\n"
|
16 |
"X-Poedit-SearchPath-1: .\n"
|
17 |
|
18 |
-
#: libs/blockcountry-
|
19 |
-
|
20 |
-
|
21 |
-
msgstr "Uh oh: Kon de GeoIP database niet downloaden van"
|
22 |
|
23 |
-
#: libs/blockcountry-
|
24 |
-
msgid ""
|
25 |
-
"
|
26 |
-
"again in 24 hours or download this file from your own PC"
|
27 |
-
msgstr ""
|
28 |
-
"MaxMind heeft alle verzoeken vanaf dit IP adres voor 24 uur geblokkeerd. "
|
29 |
-
"Controleer nogmaals na 24 uur of download dit bestand via je eigen pc"
|
30 |
|
31 |
-
#: libs/blockcountry-
|
32 |
-
msgid "Unzip this file and upload it (via FTP for instance) to:"
|
33 |
-
msgstr "Pak dit bestand uit en upload deze (via FTP bijvoorbeeld) naar:"
|
34 |
-
|
35 |
-
#: libs/blockcountry-retrieve-geodb.php:50
|
36 |
-
msgid ""
|
37 |
-
"Please download this file from your own PC unzip this file and upload it "
|
38 |
-
"(via FTP for instance) to:"
|
39 |
-
msgstr ""
|
40 |
-
"Download dit bestand alsjeblieft naar je eigen PC. Pak het bestand daar uit "
|
41 |
-
"en upload deze (bijvoorbeeld via FTP) naar:"
|
42 |
-
|
43 |
-
#: libs/blockcountry-retrieve-geodb.php:77
|
44 |
-
msgid "Finished downloading"
|
45 |
-
msgstr "Klaar met downloaden"
|
46 |
-
|
47 |
-
#: libs/blockcountry-retrieve-geodb.php:85
|
48 |
-
msgid "Fatal error: GeoIP"
|
49 |
-
msgstr "Fatale fout: GeoIP"
|
50 |
-
|
51 |
-
#: libs/blockcountry-retrieve-geodb.php:85
|
52 |
-
msgid ""
|
53 |
-
"database does not exists. This plugin will not work until the database file "
|
54 |
-
"is present."
|
55 |
-
msgstr ""
|
56 |
-
"database bestaat niet. Deze plugin kan niet werken totdat deze database "
|
57 |
-
"beschikbaar is."
|
58 |
-
|
59 |
-
#: libs/blockcountry-settings.php:16
|
60 |
msgid ""
|
61 |
"The MaxMind GeoIP database does not exist. Please download this file "
|
62 |
"manually or if you wish to use the GeoIP API get an API key from: "
|
63 |
msgstr ""
|
64 |
"De MaxMind GeoIP database bestaat niet. Download dit bestand handmatig of "
|
65 |
-
"indien je gebruik wilt maken van de GeoIP API kun je een API
|
66 |
-
"van:"
|
67 |
|
68 |
-
#: libs/blockcountry-settings.php:
|
69 |
msgid "Please download the database from: "
|
70 |
msgstr "Download de database vanaf:"
|
71 |
|
72 |
-
#: libs/blockcountry-settings.php:
|
73 |
-
msgid "and upload it to the following location: "
|
74 |
-
msgstr "en upload dit bestand naar de volgende locatie:"
|
75 |
|
76 |
-
#: libs/blockcountry-settings.php:
|
77 |
msgid "If you also use IPv6 please also download the database from: "
|
78 |
msgstr "Indien je ook IPv6 gebruikt download dan a.u.b. ook de IPv6 database:"
|
79 |
|
80 |
-
#: libs/blockcountry-settings.php:
|
81 |
msgid "For more detailed instructions take a look at the documentation.."
|
82 |
msgstr "Voor gedetaileerde instructies bekijk de documentatie."
|
83 |
|
84 |
-
#: libs/blockcountry-settings.php:
|
85 |
msgid ""
|
86 |
"Check which country belongs to an IP Address according to the current "
|
87 |
"database."
|
88 |
msgstr ""
|
89 |
"Controleer welk land behoort tot een IP adres volgens de huidige database."
|
90 |
|
91 |
-
#: libs/blockcountry-settings.php:
|
92 |
msgid "IP Address to check:"
|
93 |
msgstr "IP adres om te controleren:"
|
94 |
|
95 |
-
#: libs/blockcountry-settings.php:
|
96 |
msgid "No country for"
|
97 |
msgstr "Geen land voor"
|
98 |
|
99 |
-
#: libs/blockcountry-settings.php:
|
100 |
msgid "could be found. Or"
|
101 |
msgstr "gevonden. Of"
|
102 |
|
103 |
-
#: libs/blockcountry-settings.php:
|
104 |
msgid "is not a valid IPv4 or IPv6 IP address"
|
105 |
msgstr "is geen valide IPv4 of IPv6 ip adres."
|
106 |
|
107 |
-
#: libs/blockcountry-settings.php:
|
108 |
msgid "IP Adress"
|
109 |
msgstr "IP Adres"
|
110 |
|
111 |
-
#: libs/blockcountry-settings.php:
|
112 |
msgid "belongs to"
|
113 |
msgstr "behoort tot"
|
114 |
|
115 |
-
#: libs/blockcountry-settings.php:
|
116 |
msgid "This country is not permitted to visit the frontend of this website."
|
117 |
msgstr ""
|
118 |
"Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
|
119 |
|
120 |
-
#: libs/blockcountry-settings.php:
|
121 |
msgid "This country is not permitted to visit the backend of this website."
|
122 |
msgstr ""
|
123 |
"Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
|
124 |
|
125 |
-
#: libs/blockcountry-settings.php:
|
126 |
msgid "This ip is present in the blacklist."
|
127 |
msgstr "Dit ip adres staat op de zwarte lijst"
|
128 |
|
129 |
-
#: libs/blockcountry-settings.php:
|
130 |
msgid "Check IP address"
|
131 |
msgstr "Controleer IP adres"
|
132 |
|
133 |
-
#: libs/blockcountry-settings.php:
|
134 |
msgid "Active plugins"
|
135 |
msgstr "Actieve plugins"
|
136 |
|
137 |
-
#: libs/blockcountry-settings.php:
|
138 |
msgid "Plugin name"
|
139 |
msgstr "Plugin naam"
|
140 |
|
141 |
-
#: libs/blockcountry-settings.php:
|
142 |
msgid "Version"
|
143 |
msgstr "Versie"
|
144 |
|
145 |
-
#: libs/blockcountry-settings.php:
|
146 |
-
#: libs/blockcountry-settings.php:
|
147 |
msgid "URL"
|
148 |
msgstr "URL"
|
149 |
|
150 |
-
#: libs/blockcountry-settings.php:
|
151 |
msgid "Export"
|
152 |
msgstr "Exporteren"
|
153 |
|
154 |
-
#: libs/blockcountry-settings.php:
|
155 |
msgid ""
|
156 |
"When you click on <tt>Backup all settings</tt> button a backup of the iQ "
|
157 |
"Block Country configuration will be created."
|
@@ -159,7 +126,7 @@ msgstr ""
|
|
159 |
"Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
|
160 |
"van alle iQ Block Country instellingen worden gecreerd."
|
161 |
|
162 |
-
#: libs/blockcountry-settings.php:
|
163 |
msgid ""
|
164 |
"After exporting, you can either use the backup file to restore your settings "
|
165 |
"on this site again or copy the settings to another WordPress site."
|
@@ -168,96 +135,96 @@ msgstr ""
|
|
168 |
"te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
|
169 |
"andere WordPress site te exporteren."
|
170 |
|
171 |
-
#: libs/blockcountry-settings.php:
|
172 |
msgid "Backup all settings"
|
173 |
msgstr "Backup alle instellingen"
|
174 |
|
175 |
-
#: libs/blockcountry-settings.php:
|
176 |
msgid "Import"
|
177 |
msgstr "Importeer"
|
178 |
|
179 |
-
#: libs/blockcountry-settings.php:
|
180 |
msgid "Click the browse button and choose a zip file that you exported before."
|
181 |
msgstr ""
|
182 |
"Klik op de Browse button and selecteer een zip file welke je eerder hebt "
|
183 |
"geexporteerd."
|
184 |
|
185 |
-
#: libs/blockcountry-settings.php:
|
186 |
msgid "Press Restore settings button, and let WordPress do the magic for you."
|
187 |
msgstr ""
|
188 |
"Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
|
189 |
"doen."
|
190 |
|
191 |
-
#: libs/blockcountry-settings.php:
|
192 |
msgid "Restore settings"
|
193 |
msgstr "Herstel instellingen"
|
194 |
|
195 |
-
#: libs/blockcountry-settings.php:
|
196 |
-
#: libs/blockcountry-settings.php:
|
197 |
msgid "Something went wrong exporting this file"
|
198 |
msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
|
199 |
|
200 |
-
#: libs/blockcountry-settings.php:
|
201 |
msgid "Exporting settings..."
|
202 |
msgstr "Exporteer instellingen"
|
203 |
|
204 |
-
#: libs/blockcountry-settings.php:
|
205 |
msgid "Something went wrong importing this file"
|
206 |
msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
|
207 |
|
208 |
-
#: libs/blockcountry-settings.php:
|
209 |
msgid "All options are restored successfully."
|
210 |
msgstr "Alle opties zijn succesvol hersteld"
|
211 |
|
212 |
-
#: libs/blockcountry-settings.php:
|
213 |
msgid "Invalid file."
|
214 |
msgstr "Ongeldig bestand"
|
215 |
|
216 |
-
#: libs/blockcountry-settings.php:
|
217 |
msgid "No correct import or export option given."
|
218 |
msgstr "Geen correcte importeer of exporteer optie gegeven."
|
219 |
|
220 |
-
#: libs/blockcountry-settings.php:
|
221 |
msgid "Select which pages are blocked."
|
222 |
msgstr "Selecteer welke pagina's geblokkeerd worden."
|
223 |
|
224 |
-
#: libs/blockcountry-settings.php:
|
225 |
msgid "Do you want to block individual pages:"
|
226 |
msgstr "Wil je individuele pagina's blokkeren:"
|
227 |
|
228 |
-
#: libs/blockcountry-settings.php:
|
229 |
msgid "If you do not select this option all pages will be blocked."
|
230 |
msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
|
231 |
|
232 |
-
#: libs/blockcountry-settings.php:
|
233 |
msgid "Select pages you want to block:"
|
234 |
msgstr "Selecteer welke pagina's je wil blokkeren."
|
235 |
|
236 |
-
#: libs/blockcountry-settings.php:
|
237 |
-
#: libs/blockcountry-settings.php:
|
238 |
-
#: libs/blockcountry-settings.php:
|
239 |
-
#: libs/blockcountry-settings.php:
|
240 |
msgid "Save Changes"
|
241 |
msgstr "Bewaar wijzigingen"
|
242 |
|
243 |
-
#: libs/blockcountry-settings.php:
|
244 |
msgid "Select which categories are blocked."
|
245 |
msgstr "Selecteer welke categorieen geblokkeerd worden."
|
246 |
|
247 |
-
#: libs/blockcountry-settings.php:
|
248 |
msgid "Do you want to block individual categories:"
|
249 |
msgstr "Wil je individuele categorieen blokkeren:"
|
250 |
|
251 |
-
#: libs/blockcountry-settings.php:
|
252 |
msgid "If you do not select this option all blog articles will be blocked."
|
253 |
msgstr ""
|
254 |
"Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
|
255 |
|
256 |
-
#: libs/blockcountry-settings.php:
|
257 |
msgid "Do you want to block the homepage:"
|
258 |
msgstr "Wil je je homepage blokkeren:"
|
259 |
|
260 |
-
#: libs/blockcountry-settings.php:
|
261 |
msgid ""
|
262 |
"If you do not select this option visitors will not be blocked from your "
|
263 |
"homepage regardless of the categories you select."
|
@@ -266,31 +233,31 @@ msgstr ""
|
|
266 |
"geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
|
267 |
"selecteert."
|
268 |
|
269 |
-
#: libs/blockcountry-settings.php:
|
270 |
msgid "Select categories you want to block:"
|
271 |
msgstr "Selecteer welke categorieen je wil blokkeren."
|
272 |
|
273 |
-
#: libs/blockcountry-settings.php:
|
274 |
msgid "Select which post types are blocked."
|
275 |
msgstr "Selecteer welke post types geblokkeerd worden."
|
276 |
|
277 |
-
#: libs/blockcountry-settings.php:
|
278 |
msgid "Do you want to block individual post types:"
|
279 |
msgstr "Wil je individuele post types blokkeren:"
|
280 |
|
281 |
-
#: libs/blockcountry-settings.php:
|
282 |
msgid "Select post types you want to block:"
|
283 |
msgstr "Selecteer welke post types je wil blokkeren."
|
284 |
|
285 |
-
#: libs/blockcountry-settings.php:
|
286 |
msgid "Select which search engines are allowed."
|
287 |
msgstr "Selecteer welke zoek machines je wilt toestaan."
|
288 |
|
289 |
-
#: libs/blockcountry-settings.php:
|
290 |
msgid "Select which search engines you want to allow:"
|
291 |
msgstr "Selecteer welke zoek machines je wilt toestaan:"
|
292 |
|
293 |
-
#: libs/blockcountry-settings.php:
|
294 |
msgid ""
|
295 |
"This will allow a search engine to your site despite if you blocked the "
|
296 |
"country."
|
@@ -298,66 +265,71 @@ msgstr ""
|
|
298 |
"Deze optie staat het toe dat zoekmachines je site bezoeken ondanks dat ze "
|
299 |
"uit een land komen welk geblokkeerd is."
|
300 |
|
301 |
-
#: libs/blockcountry-settings.php:
|
302 |
msgid "Frontend options"
|
303 |
msgstr "Voorkant opties"
|
304 |
|
305 |
-
#: libs/blockcountry-settings.php:
|
306 |
msgid ""
|
307 |
"Do not block visitors that are logged in from visiting frontend website:"
|
308 |
msgstr ""
|
309 |
"Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
|
310 |
|
311 |
-
#: libs/blockcountry-settings.php:
|
312 |
msgid "Block visitors from visiting the frontend of your website:"
|
313 |
msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
|
314 |
|
315 |
-
#: libs/blockcountry-settings.php:
|
|
|
|
|
|
|
|
|
|
|
316 |
msgid ""
|
317 |
"Select the countries that should be blocked from visiting your frontend:"
|
318 |
msgstr ""
|
319 |
"Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
|
320 |
"voorkant van je website:"
|
321 |
|
322 |
-
#: libs/blockcountry-settings.php:
|
323 |
msgid "Use the CTRL key to select multiple countries"
|
324 |
msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
|
325 |
|
326 |
-
#: libs/blockcountry-settings.php:
|
327 |
msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
|
328 |
msgstr ""
|
329 |
"Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
|
330 |
|
331 |
-
#: libs/blockcountry-settings.php:
|
332 |
-
#: libs/blockcountry-settings.php:
|
333 |
msgid "Use a semicolon (;) to separate IP addresses"
|
334 |
msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
|
335 |
|
336 |
-
#: libs/blockcountry-settings.php:
|
337 |
msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
|
338 |
msgstr ""
|
339 |
"Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
|
340 |
|
341 |
-
#: libs/blockcountry-settings.php:
|
342 |
msgid "Backend Options"
|
343 |
msgstr "Achterkant opties"
|
344 |
|
345 |
-
#: libs/blockcountry-settings.php:
|
346 |
msgid ""
|
347 |
"Block visitors from visiting the backend (administrator) of your website:"
|
348 |
msgstr ""
|
349 |
"Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
|
350 |
"gedeelte) van je website:"
|
351 |
|
352 |
-
#: libs/blockcountry-settings.php:
|
353 |
msgid "Your IP address is"
|
354 |
msgstr "Je IP adres is"
|
355 |
|
356 |
-
#: libs/blockcountry-settings.php:
|
357 |
msgid "The country that is listed for this IP address is"
|
358 |
msgstr "Het land waar dit adres toe behoort is"
|
359 |
|
360 |
-
#: libs/blockcountry-settings.php:
|
361 |
msgid ""
|
362 |
"Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
|
363 |
"(administrator) of your website' and also select"
|
@@ -365,11 +337,11 @@ msgstr ""
|
|
365 |
"Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
|
366 |
"achterkant (administratie gedeelte) van je website\" en"
|
367 |
|
368 |
-
#: libs/blockcountry-settings.php:
|
369 |
msgid "below."
|
370 |
msgstr "hier beneden."
|
371 |
|
372 |
-
#: libs/blockcountry-settings.php:
|
373 |
msgid ""
|
374 |
"You will NOT be able to login the next time if you DO block your own country "
|
375 |
"from visiting the backend."
|
@@ -377,52 +349,52 @@ msgstr ""
|
|
377 |
"Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
|
378 |
"land blokkeert van het bezoeken van de achterkant van je website."
|
379 |
|
380 |
-
#: libs/blockcountry-settings.php:
|
381 |
msgid "Select the countries that should be blocked from visiting your backend:"
|
382 |
msgstr ""
|
383 |
"Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
|
384 |
"achterkant (administratie gedeelte) van je website:"
|
385 |
|
386 |
-
#: libs/blockcountry-settings.php:
|
387 |
msgid "Use the x behind the country to remove a country from this blocklist."
|
388 |
msgstr ""
|
389 |
"Gebruik de x achter een land om het land te verwijderen uit deze lijst."
|
390 |
|
391 |
-
#: libs/blockcountry-settings.php:
|
392 |
msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
|
393 |
msgstr ""
|
394 |
"Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
|
395 |
|
396 |
-
#: libs/blockcountry-settings.php:
|
397 |
msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
|
398 |
msgstr ""
|
399 |
"Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
|
400 |
|
401 |
-
#: libs/blockcountry-settings.php:
|
402 |
msgid "Overall statistics since start"
|
403 |
msgstr "Statistieken sinds het begin"
|
404 |
|
405 |
-
#: libs/blockcountry-settings.php:
|
406 |
msgid "visitors blocked from the backend."
|
407 |
msgstr "bezoekers geblokkeerd op de achterkant."
|
408 |
|
409 |
-
#: libs/blockcountry-settings.php:
|
410 |
msgid "visitors blocked from the frontend."
|
411 |
msgstr "bezoekers geblokkeerd op de voorkant."
|
412 |
|
413 |
-
#: libs/blockcountry-settings.php:
|
414 |
msgid "Basic Options"
|
415 |
msgstr "Standaard opties"
|
416 |
|
417 |
-
#: libs/blockcountry-settings.php:
|
418 |
msgid "Message to display when people are blocked:"
|
419 |
msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
|
420 |
|
421 |
-
#: libs/blockcountry-settings.php:
|
422 |
msgid "Page to redirect to:"
|
423 |
msgstr "Naar welke pagina wilt u bezoekers toesturen:"
|
424 |
|
425 |
-
#: libs/blockcountry-settings.php:
|
426 |
msgid ""
|
427 |
"If you select a page here blocked visitors will be redirected to this page "
|
428 |
"instead of displaying above block message."
|
@@ -431,15 +403,15 @@ msgstr ""
|
|
431 |
"doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
|
432 |
"bezoekers."
|
433 |
|
434 |
-
#: libs/blockcountry-settings.php:
|
435 |
msgid "Choose a page..."
|
436 |
msgstr "Kies een pagina..."
|
437 |
|
438 |
-
#: libs/blockcountry-settings.php:
|
439 |
msgid "Send headers when user is blocked:"
|
440 |
msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
|
441 |
|
442 |
-
#: libs/blockcountry-settings.php:
|
443 |
msgid ""
|
444 |
"Under normal circumstances you should keep this selected! Only if you have "
|
445 |
"\"Cannot modify header information - headers already sent\" errors or if you "
|
@@ -449,11 +421,11 @@ msgstr ""
|
|
449 |
"deze alleen indien je \"Cannot modify header information - headers already "
|
450 |
"sent\" foutmeldingen krijgt of indien je weet wat je doet."
|
451 |
|
452 |
-
#: libs/blockcountry-settings.php:
|
453 |
msgid "Buffer output?:"
|
454 |
msgstr "Buffer output?"
|
455 |
|
456 |
-
#: libs/blockcountry-settings.php:
|
457 |
msgid ""
|
458 |
"You can use this option to buffer all output. This can be helpful in case "
|
459 |
"you have \"headers already sent\" issues."
|
@@ -461,11 +433,11 @@ msgstr ""
|
|
461 |
"Je kunt deze optie gebruiken om alle output te bufferen. Dit kan helpen "
|
462 |
"indien je \"headers already sent\" problemen hebt."
|
463 |
|
464 |
-
#: libs/blockcountry-settings.php:
|
465 |
msgid "Do not log IP addresses:"
|
466 |
msgstr "Log geen IP adressen"
|
467 |
|
468 |
-
#: libs/blockcountry-settings.php:
|
469 |
msgid ""
|
470 |
"Check this box if the laws in your country do not permit you to log IP "
|
471 |
"addresses or if you do not want to log the ip addresses."
|
@@ -474,19 +446,19 @@ msgstr ""
|
|
474 |
"adressen vast te leggen of indien je zelf deze informatie niet wilt "
|
475 |
"vastleggen."
|
476 |
|
477 |
-
#: libs/blockcountry-settings.php:
|
478 |
msgid "Number of rows on statistics page:"
|
479 |
msgstr "Aantal regels op de statistieken pagina:"
|
480 |
|
481 |
-
#: libs/blockcountry-settings.php:
|
482 |
msgid "How many rows do you want to display on each tab the statistics page."
|
483 |
msgstr "Hoeveel regels wil je tonen op de statistieken pagina."
|
484 |
|
485 |
-
#: libs/blockcountry-settings.php:
|
486 |
msgid "Allow tracking:"
|
487 |
msgstr "Sta traceren toe:"
|
488 |
|
489 |
-
#: libs/blockcountry-settings.php:
|
490 |
msgid ""
|
491 |
"This sends only the IP address and the number of attempts this ip address "
|
492 |
"tried to login to your backend and was blocked doing so to a central server. "
|
@@ -499,25 +471,25 @@ msgstr ""
|
|
499 |
"ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
|
500 |
"pogingen worden gedaan. "
|
501 |
|
502 |
-
#: libs/blockcountry-settings.php:
|
503 |
msgid "GeoIP API Key:"
|
504 |
-
msgstr "GeoIP API
|
505 |
|
506 |
-
#: libs/blockcountry-settings.php:
|
507 |
msgid ""
|
508 |
"If for some reason you cannot or do not want to download the MaxMind GeoIP "
|
509 |
"databases you will need an API key for the GeoIP api.<br />You can get an "
|
510 |
"API key from: "
|
511 |
msgstr ""
|
512 |
"Indien je om een willekeurige reden geen gebruik kunt of wilt maken van de "
|
513 |
-
"Maxmind GeoIP heb je een API
|
514 |
-
"API
|
515 |
|
516 |
-
#: libs/blockcountry-settings.php:
|
517 |
msgid "Admin block API Key:"
|
518 |
-
msgstr "Admin block API
|
519 |
|
520 |
-
#: libs/blockcountry-settings.php:
|
521 |
msgid ""
|
522 |
"This is an experimantal feature. You do not need an API key for this plugin "
|
523 |
"to work."
|
@@ -525,11 +497,11 @@ msgstr ""
|
|
525 |
"Dit is een experimentele optie. Je hebt geen API key nodig om deze plugin te "
|
526 |
"laten werken."
|
527 |
|
528 |
-
#: libs/blockcountry-settings.php:
|
529 |
msgid "Log all visits to the backend:"
|
530 |
msgstr "Log alle bezoekers op de achterkant:"
|
531 |
|
532 |
-
#: libs/blockcountry-settings.php:
|
533 |
msgid ""
|
534 |
"This logs all visits to the backend despite if they are blocked or not. This "
|
535 |
"is mainly for debugging purposes."
|
@@ -537,78 +509,78 @@ msgstr ""
|
|
537 |
"Dit logt alle bezoeken aan de achterkant ongeacht of de bezoeker werd "
|
538 |
"geblokkeerd of niet. Dit is voornamelijk bedoeld voor fout opsporing."
|
539 |
|
540 |
-
#: libs/blockcountry-settings.php:
|
541 |
msgid "Accessibility options:"
|
542 |
msgstr "Toegankelijkheids opties:"
|
543 |
|
544 |
-
#: libs/blockcountry-settings.php:
|
545 |
msgid "Set this option if you cannot use the default country selection box."
|
546 |
msgstr ""
|
547 |
"Selecteer deze optie indien je de landen standaard selectie methode niet "
|
548 |
"kunt gebruiken. "
|
549 |
|
550 |
-
#: libs/blockcountry-settings.php:
|
551 |
msgid "Last blocked visits"
|
552 |
msgstr "Laatste geblokkeerde bezoekers"
|
553 |
|
554 |
-
#: libs/blockcountry-settings.php:
|
555 |
msgid "Date / Time"
|
556 |
msgstr "Datum / Tijd"
|
557 |
|
558 |
-
#: libs/blockcountry-settings.php:
|
559 |
msgid "IP Address"
|
560 |
msgstr "IP adres"
|
561 |
|
562 |
-
#: libs/blockcountry-settings.php:
|
563 |
msgid "Hostname"
|
564 |
msgstr "Hostnaam"
|
565 |
|
566 |
-
#: libs/blockcountry-settings.php:
|
567 |
msgid "Country"
|
568 |
msgstr "Land"
|
569 |
|
570 |
-
#: libs/blockcountry-settings.php:
|
571 |
msgid "Frontend/Backend"
|
572 |
msgstr "Voorkant/Achterkant"
|
573 |
|
574 |
-
#: libs/blockcountry-settings.php:
|
575 |
msgid "Frontend"
|
576 |
msgstr "Voorkant"
|
577 |
|
578 |
-
#: libs/blockcountry-settings.php:
|
579 |
msgid "Backend banlist"
|
580 |
msgstr "Achterkant banlist"
|
581 |
|
582 |
-
#: libs/blockcountry-settings.php:
|
583 |
msgid "Backend & Backend banlist"
|
584 |
msgstr "Achterkant & Achterkant banlist"
|
585 |
|
586 |
-
#: libs/blockcountry-settings.php:
|
587 |
msgid "Backend"
|
588 |
msgstr "Achterkant"
|
589 |
|
590 |
-
#: libs/blockcountry-settings.php:
|
591 |
msgid "Top countries that are blocked"
|
592 |
msgstr "Top landen welke zijn geblokkeerd"
|
593 |
|
594 |
-
#: libs/blockcountry-settings.php:
|
595 |
-
#: libs/blockcountry-settings.php:
|
596 |
msgid "# of blocked attempts"
|
597 |
msgstr "# of geblokkeerde pogingen"
|
598 |
|
599 |
-
#: libs/blockcountry-settings.php:
|
600 |
msgid "Top hosts that are blocked"
|
601 |
msgstr "Top hosts welke geblokkeerd zijn"
|
602 |
|
603 |
-
#: libs/blockcountry-settings.php:
|
604 |
msgid "Top URLs that are blocked"
|
605 |
msgstr "Top URLs welke geblokkeerd zijn"
|
606 |
|
607 |
-
#: libs/blockcountry-settings.php:
|
608 |
msgid "Clear database"
|
609 |
msgstr "Leeg database"
|
610 |
|
611 |
-
#: libs/blockcountry-settings.php:
|
612 |
msgid ""
|
613 |
"You are not logging any information. Please uncheck the option 'Do not log "
|
614 |
"IP addresses' if this is not what you want."
|
@@ -616,38 +588,79 @@ msgstr ""
|
|
616 |
"Je logt geen informatie. Deselecteer alstublieft de optie 'Log geen IP "
|
617 |
"adressen' indien dit niet is wat je wilt."
|
618 |
|
619 |
-
#: libs/blockcountry-settings.php:
|
620 |
msgid "Home"
|
621 |
msgstr "Home"
|
622 |
|
623 |
-
#: libs/blockcountry-settings.php:
|
624 |
msgid "Pages"
|
625 |
msgstr "Pagina's"
|
626 |
|
627 |
-
#: libs/blockcountry-settings.php:
|
628 |
msgid "Categories"
|
629 |
msgstr "Categorieen"
|
630 |
|
631 |
-
#: libs/blockcountry-settings.php:
|
632 |
msgid "Post types"
|
633 |
msgstr "Post types"
|
634 |
|
635 |
-
#: libs/blockcountry-settings.php:
|
636 |
msgid "Search Engines"
|
637 |
msgstr "Zoek machines"
|
638 |
|
639 |
-
#: libs/blockcountry-settings.php:
|
640 |
msgid "Tools"
|
641 |
msgstr "Gereedschap"
|
642 |
|
643 |
-
#: libs/blockcountry-settings.php:
|
644 |
msgid "Logging"
|
645 |
msgstr "Statistieken"
|
646 |
|
647 |
-
#: libs/blockcountry-settings.php:
|
648 |
msgid "Import/Export"
|
649 |
msgstr "Importeren/Exporteren"
|
650 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
651 |
#~ msgid "Automatic update is not setup. Last update: "
|
652 |
#~ msgstr "Automatisch updaten is niet geconfigureerd. Laatste update:"
|
653 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: iQ Block Country\n"
|
4 |
+
"POT-Creation-Date: 2015-03-13 20:34+0100\n"
|
5 |
+
"PO-Revision-Date: 2015-03-13 20:36+0100\n"
|
6 |
"Last-Translator: Pascal <pascal@redeo.nl>\n"
|
7 |
"Language-Team: iQ Block Country <info@redeo.nl>\n"
|
8 |
"Language: Dutch\n"
|
15 |
"X-Poedit-SearchPath-0: libs\n"
|
16 |
"X-Poedit-SearchPath-1: .\n"
|
17 |
|
18 |
+
#: libs/blockcountry-validation.php:83
|
19 |
+
msgid "The GeoIP API key is incorrect. Please update the key."
|
20 |
+
msgstr "De GeoIP API sleutel is incorrect. Corrigeer a.u.b. de sleutel."
|
|
|
21 |
|
22 |
+
#: libs/blockcountry-validation.php:89
|
23 |
+
msgid "Setting saved."
|
24 |
+
msgstr "Instellingen opgeslagen."
|
|
|
|
|
|
|
|
|
25 |
|
26 |
+
#: libs/blockcountry-settings.php:51
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
msgid ""
|
28 |
"The MaxMind GeoIP database does not exist. Please download this file "
|
29 |
"manually or if you wish to use the GeoIP API get an API key from: "
|
30 |
msgstr ""
|
31 |
"De MaxMind GeoIP database bestaat niet. Download dit bestand handmatig of "
|
32 |
+
"indien je gebruik wilt maken van de GeoIP API kun je een API sleutel "
|
33 |
+
"verkrijgen van:"
|
34 |
|
35 |
+
#: libs/blockcountry-settings.php:52
|
36 |
msgid "Please download the database from: "
|
37 |
msgstr "Download de database vanaf:"
|
38 |
|
39 |
+
#: libs/blockcountry-settings.php:54 libs/blockcountry-settings.php:59
|
40 |
+
msgid "unzip the file and afterwards upload it to the following location: "
|
41 |
+
msgstr "pak het bestand uit en upload dit bestand naar de volgende locatie:"
|
42 |
|
43 |
+
#: libs/blockcountry-settings.php:57
|
44 |
msgid "If you also use IPv6 please also download the database from: "
|
45 |
msgstr "Indien je ook IPv6 gebruikt download dan a.u.b. ook de IPv6 database:"
|
46 |
|
47 |
+
#: libs/blockcountry-settings.php:61
|
48 |
msgid "For more detailed instructions take a look at the documentation.."
|
49 |
msgstr "Voor gedetaileerde instructies bekijk de documentatie."
|
50 |
|
51 |
+
#: libs/blockcountry-settings.php:197
|
52 |
msgid ""
|
53 |
"Check which country belongs to an IP Address according to the current "
|
54 |
"database."
|
55 |
msgstr ""
|
56 |
"Controleer welk land behoort tot een IP adres volgens de huidige database."
|
57 |
|
58 |
+
#: libs/blockcountry-settings.php:201
|
59 |
msgid "IP Address to check:"
|
60 |
msgstr "IP adres om te controleren:"
|
61 |
|
62 |
+
#: libs/blockcountry-settings.php:211
|
63 |
msgid "No country for"
|
64 |
msgstr "Geen land voor"
|
65 |
|
66 |
+
#: libs/blockcountry-settings.php:211
|
67 |
msgid "could be found. Or"
|
68 |
msgstr "gevonden. Of"
|
69 |
|
70 |
+
#: libs/blockcountry-settings.php:211
|
71 |
msgid "is not a valid IPv4 or IPv6 IP address"
|
72 |
msgstr "is geen valide IPv4 of IPv6 ip adres."
|
73 |
|
74 |
+
#: libs/blockcountry-settings.php:216
|
75 |
msgid "IP Adress"
|
76 |
msgstr "IP Adres"
|
77 |
|
78 |
+
#: libs/blockcountry-settings.php:216
|
79 |
msgid "belongs to"
|
80 |
msgstr "behoort tot"
|
81 |
|
82 |
+
#: libs/blockcountry-settings.php:219
|
83 |
msgid "This country is not permitted to visit the frontend of this website."
|
84 |
msgstr ""
|
85 |
"Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
|
86 |
|
87 |
+
#: libs/blockcountry-settings.php:224
|
88 |
msgid "This country is not permitted to visit the backend of this website."
|
89 |
msgstr ""
|
90 |
"Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
|
91 |
|
92 |
+
#: libs/blockcountry-settings.php:229
|
93 |
msgid "This ip is present in the blacklist."
|
94 |
msgstr "Dit ip adres staat op de zwarte lijst"
|
95 |
|
96 |
+
#: libs/blockcountry-settings.php:234
|
97 |
msgid "Check IP address"
|
98 |
msgstr "Controleer IP adres"
|
99 |
|
100 |
+
#: libs/blockcountry-settings.php:240
|
101 |
msgid "Active plugins"
|
102 |
msgstr "Actieve plugins"
|
103 |
|
104 |
+
#: libs/blockcountry-settings.php:247
|
105 |
msgid "Plugin name"
|
106 |
msgstr "Plugin naam"
|
107 |
|
108 |
+
#: libs/blockcountry-settings.php:247
|
109 |
msgid "Version"
|
110 |
msgstr "Versie"
|
111 |
|
112 |
+
#: libs/blockcountry-settings.php:247 libs/blockcountry-settings.php:1012
|
113 |
+
#: libs/blockcountry-settings.php:1055
|
114 |
msgid "URL"
|
115 |
msgstr "URL"
|
116 |
|
117 |
+
#: libs/blockcountry-settings.php:272
|
118 |
msgid "Export"
|
119 |
msgstr "Exporteren"
|
120 |
|
121 |
+
#: libs/blockcountry-settings.php:273
|
122 |
msgid ""
|
123 |
"When you click on <tt>Backup all settings</tt> button a backup of the iQ "
|
124 |
"Block Country configuration will be created."
|
126 |
"Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
|
127 |
"van alle iQ Block Country instellingen worden gecreerd."
|
128 |
|
129 |
+
#: libs/blockcountry-settings.php:274
|
130 |
msgid ""
|
131 |
"After exporting, you can either use the backup file to restore your settings "
|
132 |
"on this site again or copy the settings to another WordPress site."
|
135 |
"te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
|
136 |
"andere WordPress site te exporteren."
|
137 |
|
138 |
+
#: libs/blockcountry-settings.php:278
|
139 |
msgid "Backup all settings"
|
140 |
msgstr "Backup alle instellingen"
|
141 |
|
142 |
+
#: libs/blockcountry-settings.php:285
|
143 |
msgid "Import"
|
144 |
msgstr "Importeer"
|
145 |
|
146 |
+
#: libs/blockcountry-settings.php:286
|
147 |
msgid "Click the browse button and choose a zip file that you exported before."
|
148 |
msgstr ""
|
149 |
"Klik op de Browse button and selecteer een zip file welke je eerder hebt "
|
150 |
"geexporteerd."
|
151 |
|
152 |
+
#: libs/blockcountry-settings.php:287
|
153 |
msgid "Press Restore settings button, and let WordPress do the magic for you."
|
154 |
msgstr ""
|
155 |
"Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
|
156 |
"doen."
|
157 |
|
158 |
+
#: libs/blockcountry-settings.php:292
|
159 |
msgid "Restore settings"
|
160 |
msgstr "Herstel instellingen"
|
161 |
|
162 |
+
#: libs/blockcountry-settings.php:315 libs/blockcountry-settings.php:318
|
163 |
+
#: libs/blockcountry-settings.php:327
|
164 |
msgid "Something went wrong exporting this file"
|
165 |
msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
|
166 |
|
167 |
+
#: libs/blockcountry-settings.php:330
|
168 |
msgid "Exporting settings..."
|
169 |
msgstr "Exporteer instellingen"
|
170 |
|
171 |
+
#: libs/blockcountry-settings.php:345
|
172 |
msgid "Something went wrong importing this file"
|
173 |
msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
|
174 |
|
175 |
+
#: libs/blockcountry-settings.php:362
|
176 |
msgid "All options are restored successfully."
|
177 |
msgstr "Alle opties zijn succesvol hersteld"
|
178 |
|
179 |
+
#: libs/blockcountry-settings.php:365
|
180 |
msgid "Invalid file."
|
181 |
msgstr "Ongeldig bestand"
|
182 |
|
183 |
+
#: libs/blockcountry-settings.php:370
|
184 |
msgid "No correct import or export option given."
|
185 |
msgstr "Geen correcte importeer of exporteer optie gegeven."
|
186 |
|
187 |
+
#: libs/blockcountry-settings.php:379
|
188 |
msgid "Select which pages are blocked."
|
189 |
msgstr "Selecteer welke pagina's geblokkeerd worden."
|
190 |
|
191 |
+
#: libs/blockcountry-settings.php:386
|
192 |
msgid "Do you want to block individual pages:"
|
193 |
msgstr "Wil je individuele pagina's blokkeren:"
|
194 |
|
195 |
+
#: libs/blockcountry-settings.php:387
|
196 |
msgid "If you do not select this option all pages will be blocked."
|
197 |
msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
|
198 |
|
199 |
+
#: libs/blockcountry-settings.php:392
|
200 |
msgid "Select pages you want to block:"
|
201 |
msgstr "Selecteer welke pagina's je wil blokkeren."
|
202 |
|
203 |
+
#: libs/blockcountry-settings.php:414 libs/blockcountry-settings.php:468
|
204 |
+
#: libs/blockcountry-settings.php:516 libs/blockcountry-settings.php:561
|
205 |
+
#: libs/blockcountry-settings.php:683 libs/blockcountry-settings.php:807
|
206 |
+
#: libs/blockcountry-settings.php:980
|
207 |
msgid "Save Changes"
|
208 |
msgstr "Bewaar wijzigingen"
|
209 |
|
210 |
+
#: libs/blockcountry-settings.php:427
|
211 |
msgid "Select which categories are blocked."
|
212 |
msgstr "Selecteer welke categorieen geblokkeerd worden."
|
213 |
|
214 |
+
#: libs/blockcountry-settings.php:434
|
215 |
msgid "Do you want to block individual categories:"
|
216 |
msgstr "Wil je individuele categorieen blokkeren:"
|
217 |
|
218 |
+
#: libs/blockcountry-settings.php:435
|
219 |
msgid "If you do not select this option all blog articles will be blocked."
|
220 |
msgstr ""
|
221 |
"Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
|
222 |
|
223 |
+
#: libs/blockcountry-settings.php:440
|
224 |
msgid "Do you want to block the homepage:"
|
225 |
msgstr "Wil je je homepage blokkeren:"
|
226 |
|
227 |
+
#: libs/blockcountry-settings.php:441
|
228 |
msgid ""
|
229 |
"If you do not select this option visitors will not be blocked from your "
|
230 |
"homepage regardless of the categories you select."
|
233 |
"geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
|
234 |
"selecteert."
|
235 |
|
236 |
+
#: libs/blockcountry-settings.php:446
|
237 |
msgid "Select categories you want to block:"
|
238 |
msgstr "Selecteer welke categorieen je wil blokkeren."
|
239 |
|
240 |
+
#: libs/blockcountry-settings.php:482
|
241 |
msgid "Select which post types are blocked."
|
242 |
msgstr "Selecteer welke post types geblokkeerd worden."
|
243 |
|
244 |
+
#: libs/blockcountry-settings.php:489
|
245 |
msgid "Do you want to block individual post types:"
|
246 |
msgstr "Wil je individuele post types blokkeren:"
|
247 |
|
248 |
+
#: libs/blockcountry-settings.php:494
|
249 |
msgid "Select post types you want to block:"
|
250 |
msgstr "Selecteer welke post types je wil blokkeren."
|
251 |
|
252 |
+
#: libs/blockcountry-settings.php:531
|
253 |
msgid "Select which search engines are allowed."
|
254 |
msgstr "Selecteer welke zoek machines je wilt toestaan."
|
255 |
|
256 |
+
#: libs/blockcountry-settings.php:538
|
257 |
msgid "Select which search engines you want to allow:"
|
258 |
msgstr "Selecteer welke zoek machines je wilt toestaan:"
|
259 |
|
260 |
+
#: libs/blockcountry-settings.php:539
|
261 |
msgid ""
|
262 |
"This will allow a search engine to your site despite if you blocked the "
|
263 |
"country."
|
265 |
"Deze optie staat het toe dat zoekmachines je site bezoeken ondanks dat ze "
|
266 |
"uit een land komen welk geblokkeerd is."
|
267 |
|
268 |
+
#: libs/blockcountry-settings.php:576
|
269 |
msgid "Frontend options"
|
270 |
msgstr "Voorkant opties"
|
271 |
|
272 |
+
#: libs/blockcountry-settings.php:610
|
273 |
msgid ""
|
274 |
"Do not block visitors that are logged in from visiting frontend website:"
|
275 |
msgstr ""
|
276 |
"Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
|
277 |
|
278 |
+
#: libs/blockcountry-settings.php:616
|
279 |
msgid "Block visitors from visiting the frontend of your website:"
|
280 |
msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
|
281 |
|
282 |
+
#: libs/blockcountry-settings.php:622
|
283 |
+
msgid "Block visitors from using the search function of your website:"
|
284 |
+
msgstr ""
|
285 |
+
"Blokkeer bezoekers van het bezoeken van de zoek functie van je website:"
|
286 |
+
|
287 |
+
#: libs/blockcountry-settings.php:628
|
288 |
msgid ""
|
289 |
"Select the countries that should be blocked from visiting your frontend:"
|
290 |
msgstr ""
|
291 |
"Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
|
292 |
"voorkant van je website:"
|
293 |
|
294 |
+
#: libs/blockcountry-settings.php:629
|
295 |
msgid "Use the CTRL key to select multiple countries"
|
296 |
msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
|
297 |
|
298 |
+
#: libs/blockcountry-settings.php:666
|
299 |
msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
|
300 |
msgstr ""
|
301 |
"Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
|
302 |
|
303 |
+
#: libs/blockcountry-settings.php:666 libs/blockcountry-settings.php:674
|
304 |
+
#: libs/blockcountry-settings.php:790 libs/blockcountry-settings.php:798
|
305 |
msgid "Use a semicolon (;) to separate IP addresses"
|
306 |
msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
|
307 |
|
308 |
+
#: libs/blockcountry-settings.php:674
|
309 |
msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
|
310 |
msgstr ""
|
311 |
"Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
|
312 |
|
313 |
+
#: libs/blockcountry-settings.php:703
|
314 |
msgid "Backend Options"
|
315 |
msgstr "Achterkant opties"
|
316 |
|
317 |
+
#: libs/blockcountry-settings.php:737
|
318 |
msgid ""
|
319 |
"Block visitors from visiting the backend (administrator) of your website:"
|
320 |
msgstr ""
|
321 |
"Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
|
322 |
"gedeelte) van je website:"
|
323 |
|
324 |
+
#: libs/blockcountry-settings.php:745
|
325 |
msgid "Your IP address is"
|
326 |
msgstr "Je IP adres is"
|
327 |
|
328 |
+
#: libs/blockcountry-settings.php:745
|
329 |
msgid "The country that is listed for this IP address is"
|
330 |
msgstr "Het land waar dit adres toe behoort is"
|
331 |
|
332 |
+
#: libs/blockcountry-settings.php:746
|
333 |
msgid ""
|
334 |
"Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
|
335 |
"(administrator) of your website' and also select"
|
337 |
"Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
|
338 |
"achterkant (administratie gedeelte) van je website\" en"
|
339 |
|
340 |
+
#: libs/blockcountry-settings.php:746
|
341 |
msgid "below."
|
342 |
msgstr "hier beneden."
|
343 |
|
344 |
+
#: libs/blockcountry-settings.php:747
|
345 |
msgid ""
|
346 |
"You will NOT be able to login the next time if you DO block your own country "
|
347 |
"from visiting the backend."
|
349 |
"Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
|
350 |
"land blokkeert van het bezoeken van de achterkant van je website."
|
351 |
|
352 |
+
#: libs/blockcountry-settings.php:752
|
353 |
msgid "Select the countries that should be blocked from visiting your backend:"
|
354 |
msgstr ""
|
355 |
"Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
|
356 |
"achterkant (administratie gedeelte) van je website:"
|
357 |
|
358 |
+
#: libs/blockcountry-settings.php:753
|
359 |
msgid "Use the x behind the country to remove a country from this blocklist."
|
360 |
msgstr ""
|
361 |
"Gebruik de x achter een land om het land te verwijderen uit deze lijst."
|
362 |
|
363 |
+
#: libs/blockcountry-settings.php:790
|
364 |
msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
|
365 |
msgstr ""
|
366 |
"Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
|
367 |
|
368 |
+
#: libs/blockcountry-settings.php:798
|
369 |
msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
|
370 |
msgstr ""
|
371 |
"Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
|
372 |
|
373 |
+
#: libs/blockcountry-settings.php:828
|
374 |
msgid "Overall statistics since start"
|
375 |
msgstr "Statistieken sinds het begin"
|
376 |
|
377 |
+
#: libs/blockcountry-settings.php:831
|
378 |
msgid "visitors blocked from the backend."
|
379 |
msgstr "bezoekers geblokkeerd op de achterkant."
|
380 |
|
381 |
+
#: libs/blockcountry-settings.php:833
|
382 |
msgid "visitors blocked from the frontend."
|
383 |
msgstr "bezoekers geblokkeerd op de voorkant."
|
384 |
|
385 |
+
#: libs/blockcountry-settings.php:837
|
386 |
msgid "Basic Options"
|
387 |
msgstr "Standaard opties"
|
388 |
|
389 |
+
#: libs/blockcountry-settings.php:872
|
390 |
msgid "Message to display when people are blocked:"
|
391 |
msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
|
392 |
|
393 |
+
#: libs/blockcountry-settings.php:882
|
394 |
msgid "Page to redirect to:"
|
395 |
msgstr "Naar welke pagina wilt u bezoekers toesturen:"
|
396 |
|
397 |
+
#: libs/blockcountry-settings.php:883
|
398 |
msgid ""
|
399 |
"If you select a page here blocked visitors will be redirected to this page "
|
400 |
"instead of displaying above block message."
|
403 |
"doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
|
404 |
"bezoekers."
|
405 |
|
406 |
+
#: libs/blockcountry-settings.php:889
|
407 |
msgid "Choose a page..."
|
408 |
msgstr "Kies een pagina..."
|
409 |
|
410 |
+
#: libs/blockcountry-settings.php:904
|
411 |
msgid "Send headers when user is blocked:"
|
412 |
msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
|
413 |
|
414 |
+
#: libs/blockcountry-settings.php:905
|
415 |
msgid ""
|
416 |
"Under normal circumstances you should keep this selected! Only if you have "
|
417 |
"\"Cannot modify header information - headers already sent\" errors or if you "
|
421 |
"deze alleen indien je \"Cannot modify header information - headers already "
|
422 |
"sent\" foutmeldingen krijgt of indien je weet wat je doet."
|
423 |
|
424 |
+
#: libs/blockcountry-settings.php:911
|
425 |
msgid "Buffer output?:"
|
426 |
msgstr "Buffer output?"
|
427 |
|
428 |
+
#: libs/blockcountry-settings.php:912
|
429 |
msgid ""
|
430 |
"You can use this option to buffer all output. This can be helpful in case "
|
431 |
"you have \"headers already sent\" issues."
|
433 |
"Je kunt deze optie gebruiken om alle output te bufferen. Dit kan helpen "
|
434 |
"indien je \"headers already sent\" problemen hebt."
|
435 |
|
436 |
+
#: libs/blockcountry-settings.php:918
|
437 |
msgid "Do not log IP addresses:"
|
438 |
msgstr "Log geen IP adressen"
|
439 |
|
440 |
+
#: libs/blockcountry-settings.php:919
|
441 |
msgid ""
|
442 |
"Check this box if the laws in your country do not permit you to log IP "
|
443 |
"addresses or if you do not want to log the ip addresses."
|
446 |
"adressen vast te leggen of indien je zelf deze informatie niet wilt "
|
447 |
"vastleggen."
|
448 |
|
449 |
+
#: libs/blockcountry-settings.php:926
|
450 |
msgid "Number of rows on statistics page:"
|
451 |
msgstr "Aantal regels op de statistieken pagina:"
|
452 |
|
453 |
+
#: libs/blockcountry-settings.php:927
|
454 |
msgid "How many rows do you want to display on each tab the statistics page."
|
455 |
msgstr "Hoeveel regels wil je tonen op de statistieken pagina."
|
456 |
|
457 |
+
#: libs/blockcountry-settings.php:942
|
458 |
msgid "Allow tracking:"
|
459 |
msgstr "Sta traceren toe:"
|
460 |
|
461 |
+
#: libs/blockcountry-settings.php:943
|
462 |
msgid ""
|
463 |
"This sends only the IP address and the number of attempts this ip address "
|
464 |
"tried to login to your backend and was blocked doing so to a central server. "
|
471 |
"ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
|
472 |
"pogingen worden gedaan. "
|
473 |
|
474 |
+
#: libs/blockcountry-settings.php:949
|
475 |
msgid "GeoIP API Key:"
|
476 |
+
msgstr "GeoIP API sleutel:"
|
477 |
|
478 |
+
#: libs/blockcountry-settings.php:950
|
479 |
msgid ""
|
480 |
"If for some reason you cannot or do not want to download the MaxMind GeoIP "
|
481 |
"databases you will need an API key for the GeoIP api.<br />You can get an "
|
482 |
"API key from: "
|
483 |
msgstr ""
|
484 |
"Indien je om een willekeurige reden geen gebruik kunt of wilt maken van de "
|
485 |
+
"Maxmind GeoIP heb je een API sleutelnodig voor de GeoIP api.<br />Je kunt "
|
486 |
+
"een API sleutel verkrijgen op:"
|
487 |
|
488 |
+
#: libs/blockcountry-settings.php:956
|
489 |
msgid "Admin block API Key:"
|
490 |
+
msgstr "Admin block API Sleutel:"
|
491 |
|
492 |
+
#: libs/blockcountry-settings.php:957
|
493 |
msgid ""
|
494 |
"This is an experimantal feature. You do not need an API key for this plugin "
|
495 |
"to work."
|
497 |
"Dit is een experimentele optie. Je hebt geen API key nodig om deze plugin te "
|
498 |
"laten werken."
|
499 |
|
500 |
+
#: libs/blockcountry-settings.php:964
|
501 |
msgid "Log all visits to the backend:"
|
502 |
msgstr "Log alle bezoekers op de achterkant:"
|
503 |
|
504 |
+
#: libs/blockcountry-settings.php:965
|
505 |
msgid ""
|
506 |
"This logs all visits to the backend despite if they are blocked or not. This "
|
507 |
"is mainly for debugging purposes."
|
509 |
"Dit logt alle bezoeken aan de achterkant ongeacht of de bezoeker werd "
|
510 |
"geblokkeerd of niet. Dit is voornamelijk bedoeld voor fout opsporing."
|
511 |
|
512 |
+
#: libs/blockcountry-settings.php:972
|
513 |
msgid "Accessibility options:"
|
514 |
msgstr "Toegankelijkheids opties:"
|
515 |
|
516 |
+
#: libs/blockcountry-settings.php:973
|
517 |
msgid "Set this option if you cannot use the default country selection box."
|
518 |
msgstr ""
|
519 |
"Selecteer deze optie indien je de landen standaard selectie methode niet "
|
520 |
"kunt gebruiken. "
|
521 |
|
522 |
+
#: libs/blockcountry-settings.php:998
|
523 |
msgid "Last blocked visits"
|
524 |
msgstr "Laatste geblokkeerde bezoekers"
|
525 |
|
526 |
+
#: libs/blockcountry-settings.php:1012
|
527 |
msgid "Date / Time"
|
528 |
msgstr "Datum / Tijd"
|
529 |
|
530 |
+
#: libs/blockcountry-settings.php:1012 libs/blockcountry-settings.php:1044
|
531 |
msgid "IP Address"
|
532 |
msgstr "IP adres"
|
533 |
|
534 |
+
#: libs/blockcountry-settings.php:1012 libs/blockcountry-settings.php:1044
|
535 |
msgid "Hostname"
|
536 |
msgstr "Hostnaam"
|
537 |
|
538 |
+
#: libs/blockcountry-settings.php:1012 libs/blockcountry-settings.php:1031
|
539 |
msgid "Country"
|
540 |
msgstr "Land"
|
541 |
|
542 |
+
#: libs/blockcountry-settings.php:1012
|
543 |
msgid "Frontend/Backend"
|
544 |
msgstr "Voorkant/Achterkant"
|
545 |
|
546 |
+
#: libs/blockcountry-settings.php:1022 libs/blockcountry-settings.php:1106
|
547 |
msgid "Frontend"
|
548 |
msgstr "Voorkant"
|
549 |
|
550 |
+
#: libs/blockcountry-settings.php:1022
|
551 |
msgid "Backend banlist"
|
552 |
msgstr "Achterkant banlist"
|
553 |
|
554 |
+
#: libs/blockcountry-settings.php:1022
|
555 |
msgid "Backend & Backend banlist"
|
556 |
msgstr "Achterkant & Achterkant banlist"
|
557 |
|
558 |
+
#: libs/blockcountry-settings.php:1022 libs/blockcountry-settings.php:1107
|
559 |
msgid "Backend"
|
560 |
msgstr "Achterkant"
|
561 |
|
562 |
+
#: libs/blockcountry-settings.php:1029
|
563 |
msgid "Top countries that are blocked"
|
564 |
msgstr "Top landen welke zijn geblokkeerd"
|
565 |
|
566 |
+
#: libs/blockcountry-settings.php:1031 libs/blockcountry-settings.php:1044
|
567 |
+
#: libs/blockcountry-settings.php:1055
|
568 |
msgid "# of blocked attempts"
|
569 |
msgstr "# of geblokkeerde pogingen"
|
570 |
|
571 |
+
#: libs/blockcountry-settings.php:1042
|
572 |
msgid "Top hosts that are blocked"
|
573 |
msgstr "Top hosts welke geblokkeerd zijn"
|
574 |
|
575 |
+
#: libs/blockcountry-settings.php:1053
|
576 |
msgid "Top URLs that are blocked"
|
577 |
msgstr "Top URLs welke geblokkeerd zijn"
|
578 |
|
579 |
+
#: libs/blockcountry-settings.php:1067
|
580 |
msgid "Clear database"
|
581 |
msgstr "Leeg database"
|
582 |
|
583 |
+
#: libs/blockcountry-settings.php:1083
|
584 |
msgid ""
|
585 |
"You are not logging any information. Please uncheck the option 'Do not log "
|
586 |
"IP addresses' if this is not what you want."
|
588 |
"Je logt geen informatie. Deselecteer alstublieft de optie 'Log geen IP "
|
589 |
"adressen' indien dit niet is wat je wilt."
|
590 |
|
591 |
+
#: libs/blockcountry-settings.php:1105
|
592 |
msgid "Home"
|
593 |
msgstr "Home"
|
594 |
|
595 |
+
#: libs/blockcountry-settings.php:1108
|
596 |
msgid "Pages"
|
597 |
msgstr "Pagina's"
|
598 |
|
599 |
+
#: libs/blockcountry-settings.php:1109
|
600 |
msgid "Categories"
|
601 |
msgstr "Categorieen"
|
602 |
|
603 |
+
#: libs/blockcountry-settings.php:1110
|
604 |
msgid "Post types"
|
605 |
msgstr "Post types"
|
606 |
|
607 |
+
#: libs/blockcountry-settings.php:1111
|
608 |
msgid "Search Engines"
|
609 |
msgstr "Zoek machines"
|
610 |
|
611 |
+
#: libs/blockcountry-settings.php:1112
|
612 |
msgid "Tools"
|
613 |
msgstr "Gereedschap"
|
614 |
|
615 |
+
#: libs/blockcountry-settings.php:1113
|
616 |
msgid "Logging"
|
617 |
msgstr "Statistieken"
|
618 |
|
619 |
+
#: libs/blockcountry-settings.php:1114
|
620 |
msgid "Import/Export"
|
621 |
msgstr "Importeren/Exporteren"
|
622 |
|
623 |
+
#: libs/blockcountry-retrieve-geodb.php:38
|
624 |
+
#: libs/blockcountry-retrieve-geodb.php:49
|
625 |
+
msgid "Error occured: Could not download the GeoIP database from"
|
626 |
+
msgstr "Uh oh: Kon de GeoIP database niet downloaden van"
|
627 |
+
|
628 |
+
#: libs/blockcountry-retrieve-geodb.php:39
|
629 |
+
msgid ""
|
630 |
+
"MaxMind has blocked requests from your IP address for 24 hours. Please check "
|
631 |
+
"again in 24 hours or download this file from your own PC"
|
632 |
+
msgstr ""
|
633 |
+
"MaxMind heeft alle verzoeken vanaf dit IP adres voor 24 uur geblokkeerd. "
|
634 |
+
"Controleer nogmaals na 24 uur of download dit bestand via je eigen pc"
|
635 |
+
|
636 |
+
#: libs/blockcountry-retrieve-geodb.php:40
|
637 |
+
msgid "Unzip this file and upload it (via FTP for instance) to:"
|
638 |
+
msgstr "Pak dit bestand uit en upload deze (via FTP bijvoorbeeld) naar:"
|
639 |
+
|
640 |
+
#: libs/blockcountry-retrieve-geodb.php:50
|
641 |
+
msgid ""
|
642 |
+
"Please download this file from your own PC unzip this file and upload it "
|
643 |
+
"(via FTP for instance) to:"
|
644 |
+
msgstr ""
|
645 |
+
"Download dit bestand alsjeblieft naar je eigen PC. Pak het bestand daar uit "
|
646 |
+
"en upload deze (bijvoorbeeld via FTP) naar:"
|
647 |
+
|
648 |
+
#: libs/blockcountry-retrieve-geodb.php:77
|
649 |
+
msgid "Finished downloading"
|
650 |
+
msgstr "Klaar met downloaden"
|
651 |
+
|
652 |
+
#: libs/blockcountry-retrieve-geodb.php:85
|
653 |
+
msgid "Fatal error: GeoIP"
|
654 |
+
msgstr "Fatale fout: GeoIP"
|
655 |
+
|
656 |
+
#: libs/blockcountry-retrieve-geodb.php:85
|
657 |
+
msgid ""
|
658 |
+
"database does not exists. This plugin will not work until the database file "
|
659 |
+
"is present."
|
660 |
+
msgstr ""
|
661 |
+
"database bestaat niet. Deze plugin kan niet werken totdat deze database "
|
662 |
+
"beschikbaar is."
|
663 |
+
|
664 |
#~ msgid "Automatic update is not setup. Last update: "
|
665 |
#~ msgstr "Automatisch updaten is niet geconfigureerd. Laatste update:"
|
666 |
|
libs/blockcountry-checks.php
CHANGED
@@ -8,7 +8,7 @@ function iqblockcountry_check_ipaddress($ip_address)
|
|
8 |
include_once("geoip.inc");
|
9 |
}
|
10 |
|
11 |
-
if ((
|
12 |
|
13 |
$ipv4 = FALSE;
|
14 |
$ipv6 = FALSE;
|
@@ -23,7 +23,7 @@ function iqblockcountry_check_ipaddress($ip_address)
|
|
23 |
}
|
24 |
elseif ($ipv6)
|
25 |
{
|
26 |
-
if (
|
27 |
$gi = geoip_open(IPV6DBFILE,GEOIP_STANDARD);
|
28 |
$country = geoip_country_code_by_addr_v6 ( $gi, $ip_address );
|
29 |
geoip_close($gi);
|
@@ -65,6 +65,9 @@ function iqblockcountry_retrieve_geoipapi($ipaddress)
|
|
65 |
$xml = new SimpleXmlElement($body);
|
66 |
return (string) $xml->country;
|
67 |
}
|
|
|
|
|
|
|
68 |
else return "Unknown";
|
69 |
}
|
70 |
|
@@ -144,17 +147,17 @@ function iqblockcountry_check($country,$badcountries,$ip_address)
|
|
144 |
|
145 |
global $post;
|
146 |
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
|
159 |
if (is_page() && $blockedpage == "on")
|
160 |
{
|
@@ -223,9 +226,15 @@ function iqblockcountry_check($country,$badcountries,$ip_address)
|
|
223 |
$blocked = FALSE;
|
224 |
}
|
225 |
|
|
|
|
|
|
|
|
|
|
|
226 |
return $blocked;
|
227 |
}
|
228 |
|
|
|
229 |
/*
|
230 |
*
|
231 |
* Does the real check of visitor IP against MaxMind database or the GeoAPI
|
@@ -233,24 +242,9 @@ function iqblockcountry_check($country,$badcountries,$ip_address)
|
|
233 |
*/
|
234 |
function iqblockcountry_CheckCountry() {
|
235 |
|
236 |
-
$ip_address = "";
|
237 |
-
|
238 |
-
if ( isset($_SERVER['HTTP_X_FORWARDED_FOR']) && !empty($_SERVER['HTTP_X_FORWARDED_FOR']) ) {
|
239 |
-
$ips = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
|
240 |
-
$ip_address = trim($ips[0]);
|
241 |
-
} elseif ( isset($_SERVER['HTTP_X_REAL_IP']) && !empty($_SERVER['HTTP_X_REAL_IP']) ) {
|
242 |
-
$ip_address = $_SERVER['HTTP_X_REAL_IP'];
|
243 |
-
} elseif ( isset($_SERVER['HTTP_CLIENT_IP']) && !empty($_SERVER['HTTP_CLIENT_IP']) ) {
|
244 |
-
$ip_address = $_SERVER['HTTP_CLIENT_IP'];
|
245 |
-
} elseif ( isset($_SERVER['HTTP_X_TM_REMOTE_ADDR']) && !empty($_SERVER['HTTP_X_TM_REMOTE_ADDR']) ) {
|
246 |
-
$ip_address = $_SERVER['HTTP_X_TM_REMOTE_ADDR'];
|
247 |
-
}
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
$ip_address = iqblockcountry_get_ipaddress();
|
252 |
$country = iqblockcountry_check_ipaddress($ip_address);
|
253 |
-
|
254 |
if ((iqblockcountry_is_login_page() || is_admin()) && get_option('blockcountry_blockbackend'))
|
255 |
{
|
256 |
$badcountries = get_option( 'blockcountry_backendbanlist' );
|
8 |
include_once("geoip.inc");
|
9 |
}
|
10 |
|
11 |
+
if ((is_file ( IPV4DBFILE )) && function_exists('geoip_open')) {
|
12 |
|
13 |
$ipv4 = FALSE;
|
14 |
$ipv6 = FALSE;
|
23 |
}
|
24 |
elseif ($ipv6)
|
25 |
{
|
26 |
+
if (is_file ( IPV6DBFILE )) {
|
27 |
$gi = geoip_open(IPV6DBFILE,GEOIP_STANDARD);
|
28 |
$country = geoip_country_code_by_addr_v6 ( $gi, $ip_address );
|
29 |
geoip_close($gi);
|
65 |
$xml = new SimpleXmlElement($body);
|
66 |
return (string) $xml->country;
|
67 |
}
|
68 |
+
elseif ( 403 == $result['response']['code'] ) {
|
69 |
+
update_option('blockcountry_geoapikey','');
|
70 |
+
}
|
71 |
else return "Unknown";
|
72 |
}
|
73 |
|
147 |
|
148 |
global $post;
|
149 |
|
150 |
+
if ($blockedposttypes == "on")
|
151 |
+
{
|
152 |
+
$blockedposttypes = get_option('blockcountry_posttypes');
|
153 |
+
if (is_array($blockedposttypes) && in_array(get_post_type( $post->ID ), $blockedposttypes) && ((is_array ( $badcountries ) && in_array ( $country, $badcountries ) || (is_array ( $frontendblacklistip ) && in_array ( $ip_address, $frontendblacklistip)))))
|
154 |
+
{
|
155 |
+
$blocked = TRUE;
|
156 |
+
if (is_array ( $frontendwhitelistip ) && in_array ( $ip_address, $frontendwhitelistip)) {
|
157 |
+
$blocked = FALSE;
|
158 |
+
}
|
159 |
+
}
|
160 |
+
}
|
161 |
|
162 |
if (is_page() && $blockedpage == "on")
|
163 |
{
|
226 |
$blocked = FALSE;
|
227 |
}
|
228 |
|
229 |
+
if (is_search() && (get_option('blockcountry_blocksearch')) == FALSE)
|
230 |
+
{
|
231 |
+
$blocked = FALSE;
|
232 |
+
}
|
233 |
+
|
234 |
return $blocked;
|
235 |
}
|
236 |
|
237 |
+
|
238 |
/*
|
239 |
*
|
240 |
* Does the real check of visitor IP against MaxMind database or the GeoAPI
|
242 |
*/
|
243 |
function iqblockcountry_CheckCountry() {
|
244 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
$ip_address = iqblockcountry_get_ipaddress();
|
246 |
$country = iqblockcountry_check_ipaddress($ip_address);
|
247 |
+
|
248 |
if ((iqblockcountry_is_login_page() || is_admin()) && get_option('blockcountry_blockbackend'))
|
249 |
{
|
250 |
$badcountries = get_option( 'blockcountry_backendbanlist' );
|
libs/blockcountry-retrieve-geodb.php
DELETED
@@ -1,92 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
* Download the GeoIP database from MaxMind
|
5 |
-
*/
|
6 |
-
function iqblockcountry_downloadgeodatabase($version, $displayerrors)
|
7 |
-
{
|
8 |
-
if ($version == 4)
|
9 |
-
{
|
10 |
-
iqblockcountry_download_geodb(IPV4DB, IPV4DBFILE, $displayerrors);
|
11 |
-
}
|
12 |
-
elseif ($version == 6)
|
13 |
-
{
|
14 |
-
iqblockcountry_download_geodb(IPV6DB, IPV6DBFILE, $displayerrors);
|
15 |
-
}
|
16 |
-
}
|
17 |
-
|
18 |
-
/*
|
19 |
-
* Download a Geo DB file
|
20 |
-
*/
|
21 |
-
|
22 |
-
function iqblockcountry_download_geodb($url,$geofile,$displayerror)
|
23 |
-
{
|
24 |
-
if( !class_exists( 'WP_Http' ) )
|
25 |
-
include_once( ABSPATH . WPINC. '/class-http.php' );
|
26 |
-
|
27 |
-
$args = array(
|
28 |
-
'timeout' => 15);
|
29 |
-
$request = new WP_Http ();
|
30 |
-
$result = $request->request ( $url ,$args);
|
31 |
-
$content = array ();
|
32 |
-
|
33 |
-
if (is_array($result) && array_key_exists('response',$result) && (in_array ( '403', $result ['response'] )) && (preg_match('/Rate limited exceeded, please try again in 24 hours./', $result['body'] )) )
|
34 |
-
{
|
35 |
-
if($displayerror)
|
36 |
-
{
|
37 |
-
?>
|
38 |
-
<p><?php _e('Error occured: Could not download the GeoIP database from'); ?> <?php echo " " . $url;?><br />
|
39 |
-
<?php _e('MaxMind has blocked requests from your IP address for 24 hours. Please check again in 24 hours or download this file from your own PC'); ?><br />
|
40 |
-
<?php _e('Unzip this file and upload it (via FTP for instance) to:'); ?><strong> <?php echo $geofile;?></strong></p>
|
41 |
-
<?php
|
42 |
-
}
|
43 |
-
}
|
44 |
-
elseif ((isset ( $result->errors )) || (! (in_array ( '200', $result ['response'] ))))
|
45 |
-
{
|
46 |
-
if($displayerror){
|
47 |
-
print_r($result);
|
48 |
-
?>
|
49 |
-
<p><?php _e('Error occured: Could not download the GeoIP database from'); ?> <?php echo " " . $url;?><br />
|
50 |
-
<?php _e('Please download this file from your own PC unzip this file and upload it (via FTP for instance) to:'); ?><strong> <?php echo $geofile;?></strong></p>
|
51 |
-
<?php
|
52 |
-
}
|
53 |
-
}
|
54 |
-
else
|
55 |
-
{
|
56 |
-
/* Download file */
|
57 |
-
if (file_exists ( $geofile . ".gz" )) { unlink ( $geofile . ".gz" ); }
|
58 |
-
$content = $result ['body'];
|
59 |
-
$fp = fopen ( $geofile . ".gz", "w" );
|
60 |
-
fwrite ( $fp, "$content" );
|
61 |
-
fclose ( $fp );
|
62 |
-
|
63 |
-
/* Unzip this file and throw it away afterwards*/
|
64 |
-
$zd = gzopen ( $geofile . ".gz", "r" );
|
65 |
-
$buffer = gzread ( $zd, 2000000 );
|
66 |
-
gzclose ( $zd );
|
67 |
-
if (file_exists ( $geofile . ".gz" )) { unlink ( $geofile . ".gz" ); }
|
68 |
-
|
69 |
-
/* Write this file to the GeoIP database file */
|
70 |
-
if (file_exists ( $geofile )) { unlink ( $geofile ); }
|
71 |
-
$fp = fopen ( $geofile, "w" );
|
72 |
-
fwrite ( $fp, "$buffer" );
|
73 |
-
fclose ( $fp );
|
74 |
-
update_option('blockcountry_lastupdate' , time());
|
75 |
-
if($displayerror)
|
76 |
-
{
|
77 |
-
print "<p>" . _e('Finished downloading', 'iqblockcountry') . "</p>";
|
78 |
-
}
|
79 |
-
}
|
80 |
-
if (! (file_exists ( IPV4DBFILE )))
|
81 |
-
{
|
82 |
-
if($displayerror)
|
83 |
-
{
|
84 |
-
?>
|
85 |
-
<p><?php echo __('Fatal error: GeoIP') . " " . IPV4DBFILE . " " . __('database does not exists. This plugin will not work until the database file is present.'); ?></p>
|
86 |
-
<?php
|
87 |
-
}
|
88 |
-
}
|
89 |
-
|
90 |
-
}
|
91 |
-
|
92 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libs/blockcountry-settings.php
CHANGED
@@ -1,10 +1,45 @@
|
|
1 |
<?php
|
2 |
|
3 |
/* Check if the Geo Database exists or if GeoIP API key is entered otherwise display notification */
|
4 |
-
if (! (
|
5 |
add_action( 'admin_notices', 'iq_missing_db_notice' );
|
6 |
}
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
/*
|
9 |
* Display missing database notification.
|
10 |
*/
|
@@ -16,12 +51,12 @@ function iq_missing_db_notice()
|
|
16 |
<p><?php _e('The MaxMind GeoIP database does not exist. Please download this file manually or if you wish to use the GeoIP API get an API key from: ', 'iqblockcountry'); ?><a href="http://geoip.webence.nl/" target="_blank">http://geoip.webence.nl/</a></p>
|
17 |
<p><?php _e("Please download the database from: " , 'iqblockcountry'); ?>
|
18 |
<?php echo "<a href=\"" . IPV4DB . "\" target=\"_blank\">" . IPV4DB . "</a> "; ?>
|
19 |
-
<?php _e("and upload it to the following location: " , 'iqblockcountry'); ?>
|
20 |
<b><?php echo IPV4DBFILE; ?></b></p>
|
21 |
|
22 |
<p><?php _e("If you also use IPv6 please also download the database from: " , 'iqblockcountry'); ?>
|
23 |
<?php echo "<a href=\"" . IPV6DB . "\" target=\"_blank\">" . IPV6DB . "</a> "; ?>
|
24 |
-
<?php _e("and upload it to the following location: " , 'iqblockcountry'); ?>
|
25 |
<b><?php echo IPV6DBFILE; ?></b></p>
|
26 |
<p><?php _e('For more detailed instructions take a look at the documentation..', 'iqblockcountry'); ?></p>
|
27 |
|
@@ -54,7 +89,7 @@ function iqblockcountry_register_mysettings()
|
|
54 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_tracking');
|
55 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_nrstatistics');
|
56 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_nrstatistics');
|
57 |
-
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_geoapikey');
|
58 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_apikey');
|
59 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_backendlogging');
|
60 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_accessibility');
|
@@ -67,6 +102,7 @@ function iqblockcountry_register_mysettings()
|
|
67 |
register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_frontendblacklist','iqblockcountry_validate_ip');
|
68 |
register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_frontendwhitelist','iqblockcountry_validate_ip');
|
69 |
register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_blocklogin' );
|
|
|
70 |
register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_blockfrontend' );
|
71 |
register_setting ( 'iqblockcountry-settings-group-pages', 'blockcountry_blockpages');
|
72 |
register_setting ( 'iqblockcountry-settings-group-pages', 'blockcountry_pages');
|
@@ -89,7 +125,7 @@ function iqblockcountry_get_options_arr() {
|
|
89 |
'blockcountry_blockbackend','blockcountry_header','blockcountry_blockpages','blockcountry_pages','blockcountry_blockcategories','blockcountry_categories',
|
90 |
'blockcountry_tracking','blockcountry_blockhome','blockcountry_nrstatistics','blockcountry_geoapikey','blockcountry_apikey','blockcountry_redirect','blockcountry_allowse',
|
91 |
'blockcountry_backendlogging','blockcountry_buffer','blockcountry_accessibility','blockcountry_logging','blockcountry_blockposttypes',
|
92 |
-
'blockcountry_posttypes');
|
93 |
return apply_filters( 'iqblockcountry_options', $optarr );
|
94 |
}
|
95 |
|
@@ -100,24 +136,16 @@ function iqblockcountry_get_options_arr() {
|
|
100 |
function iqblockcountry_set_defaults()
|
101 |
{
|
102 |
update_option('blockcountry_version',VERSION);
|
|
|
|
|
|
|
|
|
103 |
if (get_option('blockcountry_blockfrontend') === FALSE) { update_option('blockcountry_blockfrontend' , 'on'); }
|
104 |
if (get_option('blockcountry_backendnrblocks') === FALSE) { update_option('blockcountry_backendnrblocks', 0); }
|
105 |
if (get_option('blockcountry_frontendnrblocks') === FALSE) { update_option('blockcountry_frontendnrblocks', 0); }
|
106 |
if (get_option('blockcountry_header') === FALSE) { update_option('blockcountry_header', 'on'); }
|
107 |
if (get_option('blockcountry_nrstatistics') === FALSE) { update_option('blockcountry_nrstatistics',15); }
|
108 |
-
|
109 |
-
$ip_address = iqblockcountry_get_ipaddress();
|
110 |
-
$usercountry = iqblockcountry_check_ipaddress($ip_address);
|
111 |
-
|
112 |
-
$blacklist = array();
|
113 |
-
foreach ($countrylist AS $shortcode => $country)
|
114 |
-
{
|
115 |
-
if (!($shortcode == $usercountry))
|
116 |
-
{
|
117 |
-
array_push($blacklist,$shortcode);
|
118 |
-
}
|
119 |
-
}
|
120 |
-
if (get_option('blockcountry_backendbanlist') === FALSE) { update_option('blockcountry_backendbanlist',$blacklist); }
|
121 |
iqblockcountry_install_db();
|
122 |
}
|
123 |
|
@@ -159,6 +187,7 @@ function iqblockcountry_uninstall() //deletes all the database entries that the
|
|
159 |
delete_option('blockcountry_logging');
|
160 |
delete_option('blockcountry_blockposttypes');
|
161 |
delete_option('blockcountry_posttypes');
|
|
|
162 |
}
|
163 |
|
164 |
|
@@ -468,7 +497,6 @@ function iqblockcountry_settings_posttypes() {
|
|
468 |
<ul>
|
469 |
<?php
|
470 |
$post_types = get_post_types( '', 'names' );
|
471 |
-
//$selectedpages = get_option('blockcountry_pages');
|
472 |
$selectedposttypes = get_option('blockcountry_posttypes');
|
473 |
$selected = "";
|
474 |
foreach ( $post_types as $post_type ) {
|
@@ -589,6 +617,12 @@ function iqblockcountry_settings_frontend()
|
|
589 |
<td width="70%">
|
590 |
<input type="checkbox" name="blockcountry_blockfrontend" <?php checked('on', get_option('blockcountry_blockfrontend'), true); ?> />
|
591 |
</td></tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
592 |
|
593 |
<tr valign="top">
|
594 |
<th scope="row" width="30%"><?php _e('Select the countries that should be blocked from visiting your frontend:', 'iqblockcountry'); ?><br />
|
@@ -814,11 +848,11 @@ function iqblockcountry_settings_home()
|
|
814 |
|
815 |
$countrylist = iqblockcountry_get_countries();
|
816 |
|
817 |
-
$ip_address = iqblockcountry_get_ipaddress();
|
818 |
-
$country = iqblockcountry_check_ipaddress($ip_address);
|
819 |
-
if ($country == "Unknown" || $country == "ipv6" || $country == "" || $country == "FALSE")
|
820 |
-
{ $displaycountry = "Unknown"; }
|
821 |
-
else { $displaycountry = $countrylist[$country]; }
|
822 |
|
823 |
|
824 |
?>
|
@@ -1073,7 +1107,7 @@ function iqblockcountry_settings_page() {
|
|
1073 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=backend" class="nav-tab <?php echo $active_tab == 'backend' ? 'nav-tab-active' : ''; ?>"><?php _e('Backend', 'iqblockcountry'); ?></a>
|
1074 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=pages" class="nav-tab <?php echo $active_tab == 'pages' ? 'nav-tab-active' : ''; ?>"><?php _e('Pages', 'iqblockcountry'); ?></a>
|
1075 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=categories" class="nav-tab <?php echo $active_tab == 'categories' ? 'nav-tab-active' : ''; ?>"><?php _e('Categories', 'iqblockcountry'); ?></a>
|
1076 |
-
|
1077 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=searchengines" class="nav-tab <?php echo $active_tab == 'searchengines' ? 'nav-tab-active' : ''; ?>"><?php _e('Search Engines', 'iqblockcountry'); ?></a>
|
1078 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=tools" class="nav-tab <?php echo $active_tab == 'tools' ? 'nav-tab-active' : ''; ?>"><?php _e('Tools', 'iqblockcountry'); ?></a>
|
1079 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=logging" class="nav-tab <?php echo $active_tab == 'logging' ? 'nav-tab-active' : ''; ?>"><?php _e('Logging', 'iqblockcountry'); ?></a>
|
@@ -1110,10 +1144,10 @@ function iqblockcountry_settings_page() {
|
|
1110 |
{
|
1111 |
iqblockcountry_settings_categories();
|
1112 |
}
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
elseif ($active_tab == "searchengines")
|
1118 |
{
|
1119 |
iqblockcountry_settings_searchengines();
|
1 |
<?php
|
2 |
|
3 |
/* Check if the Geo Database exists or if GeoIP API key is entered otherwise display notification */
|
4 |
+
if (!is_file ( IPV4DBFILE ) && (!get_option('blockcountry_geoapikey'))) {
|
5 |
add_action( 'admin_notices', 'iq_missing_db_notice' );
|
6 |
}
|
7 |
|
8 |
+
/*
|
9 |
+
* Unzip the MaxMind IPv4 database if somebody uploaded it in GZIP format
|
10 |
+
*/
|
11 |
+
if (is_file(IPV4DBFILE . ".gz"))
|
12 |
+
{
|
13 |
+
$zd = gzopen ( IPV4DBFILE . ".gz", "r" );
|
14 |
+
$buffer = gzread ( $zd, 2000000 );
|
15 |
+
gzclose ( $zd );
|
16 |
+
if (is_file ( IPV4DBFILE . ".gz" )) { unlink ( IPV4DBFILE . ".gz" ); }
|
17 |
+
|
18 |
+
/* Write this file to the GeoIP database file */
|
19 |
+
if (is_file ( IPV4DBFILE )) { unlink ( IPV4DBFILE ); }
|
20 |
+
$fp = fopen ( IPV4DBFILE, "w" );
|
21 |
+
fwrite ( $fp, "$buffer" );
|
22 |
+
fclose ( $fp );
|
23 |
+
}
|
24 |
+
|
25 |
+
/*
|
26 |
+
* Unzip the MaxMind IPv6 database if somebody uploaded it in GZIP format
|
27 |
+
*/
|
28 |
+
if (is_file(IPV6DBFILE . ".gz"))
|
29 |
+
{
|
30 |
+
$zd = gzopen ( IPV6DBFILE . ".gz", "r" );
|
31 |
+
$buffer = gzread ( $zd, 2000000 );
|
32 |
+
gzclose ( $zd );
|
33 |
+
if (is_file ( IPV6DBFILE . ".gz" )) { unlink ( IPV6DBFILE . ".gz" ); }
|
34 |
+
|
35 |
+
/* Write this file to the GeoIP database file */
|
36 |
+
if (is_file ( IPV6DBFILE )) { unlink ( IPV6DBFILE ); }
|
37 |
+
$fp = fopen ( IPV6DBFILE, "w" );
|
38 |
+
fwrite ( $fp, "$buffer" );
|
39 |
+
fclose ( $fp );
|
40 |
+
}
|
41 |
+
|
42 |
+
|
43 |
/*
|
44 |
* Display missing database notification.
|
45 |
*/
|
51 |
<p><?php _e('The MaxMind GeoIP database does not exist. Please download this file manually or if you wish to use the GeoIP API get an API key from: ', 'iqblockcountry'); ?><a href="http://geoip.webence.nl/" target="_blank">http://geoip.webence.nl/</a></p>
|
52 |
<p><?php _e("Please download the database from: " , 'iqblockcountry'); ?>
|
53 |
<?php echo "<a href=\"" . IPV4DB . "\" target=\"_blank\">" . IPV4DB . "</a> "; ?>
|
54 |
+
<?php _e("unzip the file and afterwards upload it to the following location: " , 'iqblockcountry'); ?>
|
55 |
<b><?php echo IPV4DBFILE; ?></b></p>
|
56 |
|
57 |
<p><?php _e("If you also use IPv6 please also download the database from: " , 'iqblockcountry'); ?>
|
58 |
<?php echo "<a href=\"" . IPV6DB . "\" target=\"_blank\">" . IPV6DB . "</a> "; ?>
|
59 |
+
<?php _e("unzip the file and afterwards upload it to the following location: " , 'iqblockcountry'); ?>
|
60 |
<b><?php echo IPV6DBFILE; ?></b></p>
|
61 |
<p><?php _e('For more detailed instructions take a look at the documentation..', 'iqblockcountry'); ?></p>
|
62 |
|
89 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_tracking');
|
90 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_nrstatistics');
|
91 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_nrstatistics');
|
92 |
+
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_geoapikey','iqblockcountry_check_geoapikey');
|
93 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_apikey');
|
94 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_backendlogging');
|
95 |
register_setting ( 'iqblockcountry-settings-group', 'blockcountry_accessibility');
|
102 |
register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_frontendblacklist','iqblockcountry_validate_ip');
|
103 |
register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_frontendwhitelist','iqblockcountry_validate_ip');
|
104 |
register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_blocklogin' );
|
105 |
+
register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_blocksearch' );
|
106 |
register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_blockfrontend' );
|
107 |
register_setting ( 'iqblockcountry-settings-group-pages', 'blockcountry_blockpages');
|
108 |
register_setting ( 'iqblockcountry-settings-group-pages', 'blockcountry_pages');
|
125 |
'blockcountry_blockbackend','blockcountry_header','blockcountry_blockpages','blockcountry_pages','blockcountry_blockcategories','blockcountry_categories',
|
126 |
'blockcountry_tracking','blockcountry_blockhome','blockcountry_nrstatistics','blockcountry_geoapikey','blockcountry_apikey','blockcountry_redirect','blockcountry_allowse',
|
127 |
'blockcountry_backendlogging','blockcountry_buffer','blockcountry_accessibility','blockcountry_logging','blockcountry_blockposttypes',
|
128 |
+
'blockcountry_posttypes','blockcountry_blocksearch');
|
129 |
return apply_filters( 'iqblockcountry_options', $optarr );
|
130 |
}
|
131 |
|
136 |
function iqblockcountry_set_defaults()
|
137 |
{
|
138 |
update_option('blockcountry_version',VERSION);
|
139 |
+
$countrylist = iqblockcountry_get_countries();
|
140 |
+
$ip_address = iqblockcountry_get_ipaddress();
|
141 |
+
$usercountry = iqblockcountry_check_ipaddress($ip_address);
|
142 |
+
|
143 |
if (get_option('blockcountry_blockfrontend') === FALSE) { update_option('blockcountry_blockfrontend' , 'on'); }
|
144 |
if (get_option('blockcountry_backendnrblocks') === FALSE) { update_option('blockcountry_backendnrblocks', 0); }
|
145 |
if (get_option('blockcountry_frontendnrblocks') === FALSE) { update_option('blockcountry_frontendnrblocks', 0); }
|
146 |
if (get_option('blockcountry_header') === FALSE) { update_option('blockcountry_header', 'on'); }
|
147 |
if (get_option('blockcountry_nrstatistics') === FALSE) { update_option('blockcountry_nrstatistics',15); }
|
148 |
+
if (get_option('blockcountry_backendwhitelist') === FALSE || (get_option('blockcountry_backendwhitelist') == "")) { update_option('blockcountry_backendwhitelist',$ip_address); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
iqblockcountry_install_db();
|
150 |
}
|
151 |
|
187 |
delete_option('blockcountry_logging');
|
188 |
delete_option('blockcountry_blockposttypes');
|
189 |
delete_option('blockcountry_posttypes');
|
190 |
+
delete_option('blockcountry_blocksearch');
|
191 |
}
|
192 |
|
193 |
|
497 |
<ul>
|
498 |
<?php
|
499 |
$post_types = get_post_types( '', 'names' );
|
|
|
500 |
$selectedposttypes = get_option('blockcountry_posttypes');
|
501 |
$selected = "";
|
502 |
foreach ( $post_types as $post_type ) {
|
617 |
<td width="70%">
|
618 |
<input type="checkbox" name="blockcountry_blockfrontend" <?php checked('on', get_option('blockcountry_blockfrontend'), true); ?> />
|
619 |
</td></tr>
|
620 |
+
|
621 |
+
<tr valign="top">
|
622 |
+
<th width="30%"><?php _e('Block visitors from using the search function of your website:', 'iqblockcountry'); ?></th>
|
623 |
+
<td width="70%">
|
624 |
+
<input type="checkbox" name="blockcountry_blocksearch" <?php checked('on', get_option('blockcountry_blocksearch'), true); ?> />
|
625 |
+
</td></tr>
|
626 |
|
627 |
<tr valign="top">
|
628 |
<th scope="row" width="30%"><?php _e('Select the countries that should be blocked from visiting your frontend:', 'iqblockcountry'); ?><br />
|
848 |
|
849 |
$countrylist = iqblockcountry_get_countries();
|
850 |
|
851 |
+
// $ip_address = iqblockcountry_get_ipaddress();
|
852 |
+
// $country = iqblockcountry_check_ipaddress($ip_address);
|
853 |
+
// if ($country == "Unknown" || $country == "ipv6" || $country == "" || $country == "FALSE")
|
854 |
+
// { $displaycountry = "Unknown"; }
|
855 |
+
// else { $displaycountry = $countrylist[$country]; }
|
856 |
|
857 |
|
858 |
?>
|
1107 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=backend" class="nav-tab <?php echo $active_tab == 'backend' ? 'nav-tab-active' : ''; ?>"><?php _e('Backend', 'iqblockcountry'); ?></a>
|
1108 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=pages" class="nav-tab <?php echo $active_tab == 'pages' ? 'nav-tab-active' : ''; ?>"><?php _e('Pages', 'iqblockcountry'); ?></a>
|
1109 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=categories" class="nav-tab <?php echo $active_tab == 'categories' ? 'nav-tab-active' : ''; ?>"><?php _e('Categories', 'iqblockcountry'); ?></a>
|
1110 |
+
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=posttypes" class="nav-tab <?php echo $active_tab == 'posttypes' ? 'nav-tab-active' : ''; ?>"><?php _e('Post types', 'iqblockcountry'); ?></a>
|
1111 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=searchengines" class="nav-tab <?php echo $active_tab == 'searchengines' ? 'nav-tab-active' : ''; ?>"><?php _e('Search Engines', 'iqblockcountry'); ?></a>
|
1112 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=tools" class="nav-tab <?php echo $active_tab == 'tools' ? 'nav-tab-active' : ''; ?>"><?php _e('Tools', 'iqblockcountry'); ?></a>
|
1113 |
<a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=logging" class="nav-tab <?php echo $active_tab == 'logging' ? 'nav-tab-active' : ''; ?>"><?php _e('Logging', 'iqblockcountry'); ?></a>
|
1144 |
{
|
1145 |
iqblockcountry_settings_categories();
|
1146 |
}
|
1147 |
+
elseif ($active_tab == "posttypes")
|
1148 |
+
{
|
1149 |
+
iqblockcountry_settings_posttypes();
|
1150 |
+
}
|
1151 |
elseif ($active_tab == "searchengines")
|
1152 |
{
|
1153 |
iqblockcountry_settings_searchengines();
|
libs/blockcountry-validation.php
CHANGED
@@ -53,3 +53,49 @@ function iqblockcountry_validate_ip($input)
|
|
53 |
|
54 |
}
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
}
|
55 |
|
56 |
+
/*
|
57 |
+
* Check if GeoIP API key is correct.
|
58 |
+
*/
|
59 |
+
function iqblockcountry_check_geoapikey($input)
|
60 |
+
{
|
61 |
+
|
62 |
+
// Check first if API key is empty....
|
63 |
+
if (!empty($input))
|
64 |
+
{
|
65 |
+
|
66 |
+
$url = GEOIPAPICHECKURL;
|
67 |
+
|
68 |
+
$result = wp_remote_post(
|
69 |
+
$url,
|
70 |
+
array(
|
71 |
+
'body' => array(
|
72 |
+
'api-key' => $input
|
73 |
+
)
|
74 |
+
)
|
75 |
+
);
|
76 |
+
$message = "";
|
77 |
+
$type = "updated";
|
78 |
+
if ( 200 == $result['response']['code'] ) {
|
79 |
+
$body = $result['body'];
|
80 |
+
$xml = new SimpleXmlElement($body);
|
81 |
+
if ($xml->check != "Ok")
|
82 |
+
{
|
83 |
+
$message = __( 'The GeoIP API key is incorrect. Please update the key.', 'iqblockcountry' );
|
84 |
+
$type = "error";
|
85 |
+
$input = FALSE;
|
86 |
+
}
|
87 |
+
else
|
88 |
+
{
|
89 |
+
$message = __( 'Setting saved.', 'iqblockcountry' );
|
90 |
+
$type = "updated";
|
91 |
+
}
|
92 |
+
}
|
93 |
+
else
|
94 |
+
{
|
95 |
+
$input = FALSE;
|
96 |
+
}
|
97 |
+
add_settings_error('iqblockcountry_geoipapi_error',esc_attr( 'settings_updated' ),$message,$type);
|
98 |
+
return $input;
|
99 |
+
}
|
100 |
+
return "";
|
101 |
+
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: iqpascal
|
|
3 |
Donate link: http://www.redeo.nl/plugins/donate
|
4 |
Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
|
5 |
Requires at least: 3.5.2
|
6 |
-
Tested up to: 4.1
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -140,7 +140,7 @@ Maxmind updates the GeoLite database every month.
|
|
140 |
|
141 |
This is possible if another plugin or your template sends out header information before this plugin does. You can deactivate and reactivate this plugin, it will try to load as the first plugin upon activation.
|
142 |
|
143 |
-
If this does not help you out
|
144 |
|
145 |
= What data get sends to you when I select "Allow tracking"? =
|
146 |
|
@@ -159,6 +159,14 @@ You can select the option on the home tab "Do not log IP addresses" to stop iQ B
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
= 1.1.18 =
|
163 |
|
164 |
* Changed working directory for the GeoIP database to /wp-content/uploads
|
@@ -328,6 +336,6 @@ You can select the option on the home tab "Do not log IP addresses" to stop iQ B
|
|
328 |
|
329 |
== Upgrade Notice ==
|
330 |
|
331 |
-
= 1.1.
|
332 |
|
333 |
This plugin no longer downloads the MaxMind database. You have to download manually or use the GeoIP API.
|
3 |
Donate link: http://www.redeo.nl/plugins/donate
|
4 |
Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
|
5 |
Requires at least: 3.5.2
|
6 |
+
Tested up to: 4.1.1
|
7 |
+
Stable tag: 1.1.19
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
140 |
|
141 |
This is possible if another plugin or your template sends out header information before this plugin does. You can deactivate and reactivate this plugin, it will try to load as the first plugin upon activation.
|
142 |
|
143 |
+
If this does not help you out deselect "Send headers when user is blocked". This will no longer send headers but only display the block message. This however will mess up your website if you use caching software for your website.
|
144 |
|
145 |
= What data get sends to you when I select "Allow tracking"? =
|
146 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 1.1.19 =
|
163 |
+
|
164 |
+
* Bugfix: Check if MaxMind databases actually exist.
|
165 |
+
* New: Unzip MaxMind database(s) if gzip file is found.
|
166 |
+
* New: Block post types
|
167 |
+
* New: Added option to select if you want to block your search page.
|
168 |
+
* New: When (re)activating the plugin it now adds the IP address of the person activating the plugin to the backend whitelist if the whitelist is currently empty.
|
169 |
+
|
170 |
= 1.1.18 =
|
171 |
|
172 |
* Changed working directory for the GeoIP database to /wp-content/uploads
|
336 |
|
337 |
== Upgrade Notice ==
|
338 |
|
339 |
+
= 1.1.19 =
|
340 |
|
341 |
This plugin no longer downloads the MaxMind database. You have to download manually or use the GeoIP API.
|