IP Geo Block - Version 3.0.8

Version Description

  • Improvement: Use both Maxmind Legacy and GeoLite2 databases parallely.
  • Improvement: Remove self IP address from cache on activation or upgrade to prevent blocking caused by 'ZZ' in cache.
Download this release

Release Info

Developer tokkonopapa
Plugin Icon 128x128 IP Geo Block
Version 3.0.8
Comparing to
See all releases

Code changes from version 3.0.7.2 to 3.0.8

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: tokkonopapa
3
  Donate link:
4
  Tags: security, firewall, brute force, vulnerability, login, wp-admin, admin, ajax, xmlrpc, comment, pingback, trackback, spam, IP address, geo, geolocation, buddypress, bbPress
5
  Requires at least: 3.7
6
- Tested up to: 4.9.1
7
- Stable tag: 3.0.7.2
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
 
@@ -353,6 +353,10 @@ Please refer to "[How can I fix permission troubles?](http://www.ipgeoblock.com/
353
 
354
  == Changelog ==
355
 
 
 
 
 
356
  = 3.0.7.2 =
357
  * **Bug fix:** Update Geolocation API library for Maxmind GeoLite2.
358
  * **Bug fix:** Fix the issue of potentially fatal error related to "Force to load WP core".
3
  Donate link:
4
  Tags: security, firewall, brute force, vulnerability, login, wp-admin, admin, ajax, xmlrpc, comment, pingback, trackback, spam, IP address, geo, geolocation, buddypress, bbPress
5
  Requires at least: 3.7
6
+ Tested up to: 4.9.2
7
+ Stable tag: 3.0.8
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
 
353
 
354
  == Changelog ==
355
 
356
+ = 3.0.8 =
357
+ * **Improvement:** Use both Maxmind Legacy and GeoLite2 databases parallely.
358
+ * **Improvement:** Remove self IP address from cache on activation or upgrade to prevent blocking caused by 'ZZ' in cache.
359
+
360
  = 3.0.7.2 =
361
  * **Bug fix:** Update Geolocation API library for Maxmind GeoLite2.
362
  * **Bug fix:** Fix the issue of potentially fatal error related to "Force to load WP core".
admin/class-ip-geo-block-admin.php CHANGED
@@ -474,6 +474,7 @@ class IP_Geo_Block_Admin {
474
  */
475
  private function diagnose_admin_screen() {
476
  $settings = IP_Geo_Block::get_option();
 
477
  $adminurl = $this->dashboard_url( $this->is_network );
478
 
479
  // Check version and compatibility
@@ -482,7 +483,7 @@ class IP_Geo_Block_Admin {
482
 
483
  // Check consistency of matching rule
484
  if ( -1 === (int)$settings['matching_rule'] ) {
485
- if ( FALSE !== get_transient( IP_Geo_Block::CRON_NAME ) ) {
486
  self::add_admin_notice( 'notice-warning', sprintf(
487
  __( 'Now downloading geolocation databases in background. After a little while, please check your country code and &#8220;<strong>Matching rule</strong>&#8221; at <a href="%s">Validation rule settings</a>.', 'ip-geo-block' ),
488
  esc_url( add_query_arg( array( 'page' => IP_Geo_Block::PLUGIN_NAME ), $adminurl ) )
@@ -497,13 +498,13 @@ class IP_Geo_Block_Admin {
497
  }
498
 
499
  // Check to finish updating matching rule
500
- elseif ( 'done' === get_transient( IP_Geo_Block::CRON_NAME ) ) {
501
  delete_transient( IP_Geo_Block::CRON_NAME );
502
  self::add_admin_notice( 'updated ', __( 'Local database and matching rule have been updated.', 'ip-geo-block' ) );
503
  }
504
 
505
- // Check self blocking
506
- if ( 1 === (int)$settings['validation']['login'] ) {
507
  $instance = IP_Geo_Block::get_instance();
508
  $validate = $instance->validate_ip( 'login', $settings, TRUE, FALSE, FALSE ); // skip authentication check
509
 
@@ -525,9 +526,16 @@ class IP_Geo_Block_Admin {
525
  __( 'Once you logout, you will be unable to login again because your country code or IP address is in the blacklist.', 'ip-geo-block' ) :
526
  __( 'Once you logout, you will be unable to login again because your country code or IP address is not in the whitelist.', 'ip-geo-block' )
527
  ) . ' ' .
528
- sprintf(
529
- __( 'Please check your <a href="%s">Validation rule settings</a>.', 'ip-geo-block' ),
530
- esc_url( add_query_arg( array( 'page' => IP_Geo_Block::PLUGIN_NAME ), $adminurl ) ) . '#' . IP_Geo_Block::PLUGIN_NAME . '-section-0'
 
 
 
 
 
 
 
531
  )
532
  );
533
  break;
@@ -1076,8 +1084,8 @@ class IP_Geo_Block_Admin {
1076
  $output['public'][ $key ] = array();
1077
  }
1078
 
1079
- // 3.0.4 AS number, 3.0.6 Auto updating of DB files
1080
- $output['Maxmind']['use_asn'] = $output['update']['auto'] = FALSE;
1081
 
1082
  // 3.0.5 Live update
1083
  $output['live_update']['in_memory'] = 0;
@@ -1140,14 +1148,23 @@ class IP_Geo_Block_Admin {
1140
  }
1141
  }
1142
 
1143
- // 3.0.4 AS number
1144
- if ( $output['Maxmind']['use_asn'] && empty( $output['Maxmind']['asn4_path'] ) ) {
 
 
1145
  require_once IP_GEO_BLOCK_PATH . 'classes/class-ip-geo-block-cron.php';
1146
- IP_Geo_Block_Cron::start_update_db( $output, TRUE ); // force to update
1147
- }
1148
- elseif ( ! $output['Maxmind']['use_asn'] && ! @file_exists( $output['Maxmind']['asn4_path'] ) ) {
1149
- $output['Maxmind']['asn4_path'] = NULL; // force to delete
1150
- $output['Maxmind']['asn6_path'] = NULL;
 
 
 
 
 
 
 
1151
  }
1152
 
1153
  return $output;
@@ -1472,7 +1489,6 @@ class IP_Geo_Block_Admin {
1472
  $res = array(
1473
  'page' => 'options-general.php?page=' . IP_Geo_Block::PLUGIN_NAME,
1474
  );
1475
- break;
1476
  }
1477
 
1478
  if ( isset( $res ) ) // wp_send_json_{success,error}() @since 3.5.0
474
  */
475
  private function diagnose_admin_screen() {
476
  $settings = IP_Geo_Block::get_option();
477
+ $updating = get_transient( IP_Geo_Block::CRON_NAME );
478
  $adminurl = $this->dashboard_url( $this->is_network );
479
 
480
  // Check version and compatibility
483
 
484
  // Check consistency of matching rule
485
  if ( -1 === (int)$settings['matching_rule'] ) {
486
+ if ( FALSE !== $updating ) {
487
  self::add_admin_notice( 'notice-warning', sprintf(
488
  __( 'Now downloading geolocation databases in background. After a little while, please check your country code and &#8220;<strong>Matching rule</strong>&#8221; at <a href="%s">Validation rule settings</a>.', 'ip-geo-block' ),
489
  esc_url( add_query_arg( array( 'page' => IP_Geo_Block::PLUGIN_NAME ), $adminurl ) )
498
  }
499
 
500
  // Check to finish updating matching rule
501
+ elseif ( 'done' === $updating ) {
502
  delete_transient( IP_Geo_Block::CRON_NAME );
503
  self::add_admin_notice( 'updated ', __( 'Local database and matching rule have been updated.', 'ip-geo-block' ) );
504
  }
505
 
506
+ // Check self blocking (skip during updating)
507
+ if ( FALSE === $updating && 1 === (int)$settings['validation']['login'] ) {
508
  $instance = IP_Geo_Block::get_instance();
509
  $validate = $instance->validate_ip( 'login', $settings, TRUE, FALSE, FALSE ); // skip authentication check
510
 
526
  __( 'Once you logout, you will be unable to login again because your country code or IP address is in the blacklist.', 'ip-geo-block' ) :
527
  __( 'Once you logout, you will be unable to login again because your country code or IP address is not in the whitelist.', 'ip-geo-block' )
528
  ) . ' ' .
529
+ ( 'ZZ' !== $validate['code'] ?
530
+ sprintf(
531
+ __( 'Please check your &#8220;%sValidation rule settings%s&#8221;.', 'ip-geo-block' ),
532
+ '<strong><a href="' . esc_url( add_query_arg( array( 'page' => IP_Geo_Block::PLUGIN_NAME, 'tab' => 0 ), $adminurl ) ) . '#' . IP_Geo_Block::PLUGIN_NAME . '-section-0">', '</a></strong>'
533
+ ) :
534
+ sprintf(
535
+ __( 'Please confirm your local geolocation databases at &#8220;%sLocal database settings%s&#8221; section and remove your IP address in cache at &#8220;%sStatistics in cache%s&#8221; section.', 'ip-geo-block' ),
536
+ '<strong><a href="' . esc_url( add_query_arg( array( 'page' => IP_Geo_Block::PLUGIN_NAME, 'tab' => 0 ), $adminurl ) ) . '#' . IP_Geo_Block::PLUGIN_NAME . '-section-4">', '</a></strong>',
537
+ '<strong><a href="' . esc_url( add_query_arg( array( 'page' => IP_Geo_Block::PLUGIN_NAME, 'tab' => 1 ), $adminurl ) ) . '#' . IP_Geo_Block::PLUGIN_NAME . '-section-2">', '</a></strong>'
538
+ )
539
  )
540
  );
541
  break;
1084
  $output['public'][ $key ] = array();
1085
  }
1086
 
1087
+ // 3.0.4 AS number, 3.0.6 Auto updating of DB files, 3.0.8 Geolite2
1088
+ $output['Maxmind']['use_asn'] = $output['Geolite2']['use_asn'] = $output['update']['auto'] = FALSE;
1089
 
1090
  // 3.0.5 Live update
1091
  $output['live_update']['in_memory'] = 0;
1148
  }
1149
  }
1150
 
1151
+ // 3.0.4 AS number, 3.0.8 Geolite2
1152
+ $output['Geolite2']['use_asn'] = $output['Maxmind']['use_asn'];
1153
+ if ( $output['Maxmind']['use_asn'] && ( ! $output['Maxmind']['asn4_path'] || ! $output['Geolite2']['asn_path'] ) ) {
1154
+ // force to update in case of using asn
1155
  require_once IP_GEO_BLOCK_PATH . 'classes/class-ip-geo-block-cron.php';
1156
+ IP_Geo_Block_Cron::start_update_db( $output, TRUE );
1157
+ } else {
1158
+ // reset path if file does not exist
1159
+ require_once IP_GEO_BLOCK_PATH . 'classes/class-ip-geo-block-file.php';
1160
+ $fs = IP_Geo_Block_FS::init( 'postprocess_options' );
1161
+ if ( ! $output['Maxmind']['use_asn'] && ! $fs->exists( $output['Maxmind']['asn4_path'] ) ) {
1162
+ $output['Maxmind']['asn4_path'] = NULL;
1163
+ $output['Maxmind']['asn6_path'] = NULL;
1164
+ }
1165
+ if ( ! $output['Geolite2']['use_asn'] && ! $fs->exists( $output['Geolite2']['asn_path'] ) ) {
1166
+ $output['Geolite2']['asn_path'] = NULL;
1167
+ }
1168
  }
1169
 
1170
  return $output;
1489
  $res = array(
1490
  'page' => 'options-general.php?page=' . IP_Geo_Block::PLUGIN_NAME,
1491
  );
 
1492
  }
1493
 
1494
  if ( isset( $res ) ) // wp_send_json_{success,error}() @since 3.5.0
admin/includes/tab-settings.php CHANGED
@@ -194,7 +194,7 @@ endif;
194
  'field' => $field,
195
  'sub-field' => $key,
196
  'value' => 1 === (int)$options[ $field ][ $key ],
197
- 'after' => '<p class="ip-geo-block-desc">' . sprintf( __( 'Some useful tools for investigating ASN are introduced in &#8220;%s&#8221;.', 'ip-geo-block' ), '<a rel="noreferrer" href="http://www.ipgeoblock.com/codex/utilizing-asnumber.html" title="Utilizing AS number | IP Geo Block">Utilizing AS number</a>' ) . '</p>',
198
  )
199
  );
200
 
@@ -1004,7 +1004,7 @@ if ( defined( 'IP_GEO_BLOCK_DEBUG' ) && IP_GEO_BLOCK_DEBUG ):
1004
  $key = 'exception';
1005
  add_settings_field(
1006
  $option_name.'_'.$key.'_'.$field,
1007
- '<dfn title="' . __( 'Specify the name of action that is invariably blocked.', 'ip-geo-block' ) . '">' . __( 'Excluded actions', 'ip-geo-block' ) . '</dfn>',
1008
  array( $context, 'callback_field' ),
1009
  $option_slug,
1010
  $section,
194
  'field' => $field,
195
  'sub-field' => $key,
196
  'value' => 1 === (int)$options[ $field ][ $key ],
197
+ 'after' => '<p class="ip-geo-block-desc">' . sprintf( __( 'Some useful tools for investigating ASN are introduced in &#8220;%s&#8221;.', 'ip-geo-block' ), '<a rel="noreferrer" href="http://www.ipgeoblock.com/codex/utilizing-asnumber.html" title="Utilizing AS number | IP Geo Block">Utilizing AS number</a>' ) . '</p>',
198
  )
199
  );
200
 
1004
  $key = 'exception';
1005
  add_settings_field(
1006
  $option_name.'_'.$key.'_'.$field,
1007
+ '<dfn title="' . __( 'Specify the name of actions as exception that is invariably blocked.', 'ip-geo-block' ) . '">' . __( 'Excluded actions', 'ip-geo-block' ) . '</dfn>',
1008
  array( $context, 'callback_field' ),
1009
  $option_slug,
1010
  $section,
classes/class-ip-geo-block-actv.php CHANGED
@@ -38,6 +38,7 @@ class IP_Geo_Block_Activate {
38
  // initialize logs then upgrade and return new options
39
  public static function activate_blog() {
40
  IP_Geo_Block_Logs::create_tables();
 
41
  IP_Geo_Block_Opts::upgrade();
42
  }
43
 
@@ -48,10 +49,10 @@ class IP_Geo_Block_Activate {
48
  public static function activate( $network_wide = FALSE ) {
49
  defined( 'IP_GEO_BLOCK_DEBUG' ) and IP_GEO_BLOCK_DEBUG and assert( 'is_main_site()', 'Not main blog.' );
50
 
51
- if ( $network_wide ) {
52
- // Update main blog first.
53
- self::activate_blog();
54
 
 
55
  // Get option of main blog.
56
  $option = IP_Geo_Block::get_option();
57
 
@@ -80,10 +81,6 @@ class IP_Geo_Block_Activate {
80
  }
81
  }
82
 
83
- else {
84
- self::activate_blog();
85
- }
86
-
87
  // only after 'init' action hook for is_user_logged_in().
88
  if ( did_action( 'init' ) && is_user_logged_in() )
89
  self::init_main_blog(); // should be called with high priority
@@ -103,6 +100,9 @@ class IP_Geo_Block_Activate {
103
 
104
  // deactivate mu-plugins
105
  IP_Geo_Block_Opts::setup_validation_timing();
 
 
 
106
  }
107
 
108
  }
38
  // initialize logs then upgrade and return new options
39
  public static function activate_blog() {
40
  IP_Geo_Block_Logs::create_tables();
41
+ IP_Geo_Block_Logs::delete_cache_entry();
42
  IP_Geo_Block_Opts::upgrade();
43
  }
44
 
49
  public static function activate( $network_wide = FALSE ) {
50
  defined( 'IP_GEO_BLOCK_DEBUG' ) and IP_GEO_BLOCK_DEBUG and assert( 'is_main_site()', 'Not main blog.' );
51
 
52
+ // Update main blog first.
53
+ self::activate_blog();
 
54
 
55
+ if ( $network_wide ) {
56
  // Get option of main blog.
57
  $option = IP_Geo_Block::get_option();
58
 
81
  }
82
  }
83
 
 
 
 
 
84
  // only after 'init' action hook for is_user_logged_in().
85
  if ( did_action( 'init' ) && is_user_logged_in() )
86
  self::init_main_blog(); // should be called with high priority
100
 
101
  // deactivate mu-plugins
102
  IP_Geo_Block_Opts::setup_validation_timing();
103
+
104
+ // remove self ip address from cache
105
+ IP_Geo_Block_Logs::delete_cache_entry();
106
  }
107
 
108
  }
classes/class-ip-geo-block-cron.php CHANGED
@@ -26,7 +26,7 @@ class IP_Geo_Block_Cron {
26
  ++$update['retry'];
27
  $cycle = DAY_IN_SECONDS * (int)$update['cycle'];
28
 
29
- if ( empty( $db['ip_last'] ) ) {
30
  // in case of Maxmind Legacy or IP2Location
31
  if ( $now - (int)$db['ipv4_last'] < $cycle &&
32
  $now - (int)$db['ipv6_last'] < $cycle ) {
@@ -73,22 +73,27 @@ class IP_Geo_Block_Cron {
73
  // re-schedule cron job
74
  self::schedule_cron_job( $settings['update'], $settings[ $provider ], FALSE );
75
 
76
- // update option settings
77
  self::update_settings( $settings, array( 'update', $provider ) );
78
 
 
 
 
 
79
  // update matching rule immediately
80
- if ( $immediate && FALSE !== ( $stat = get_transient( IP_Geo_Block::CRON_NAME ) ) && 'done' !== $stat ) {
81
  $validate = IP_Geo_Block::get_geolocation( NULL, array( $provider ) );
82
  $validate = IP_Geo_Block::validate_country( 'cron', $validate, $settings );
83
 
84
- // if blocking may happen then disable validation
85
- if ( -1 !== (int)$settings['matching_rule'] && 'passed' !== $validate['result'] &&
86
- ( empty( $_SERVER['HTTP_X_REQUESTED_FROM'] ) || FALSE === strpos( $_SERVER['HTTP_X_REQUESTED_FROM'], 'InfiniteWP' ) ) ) {
 
 
87
  $settings['matching_rule'] = -1;
88
- }
89
 
90
- // setup country code if it needs to be initialized
91
- if ( -1 === (int)$settings['matching_rule'] && 'ZZ' !== $validate['code'] ) {
92
  $settings['matching_rule'] = 0; // white list
93
 
94
  if ( FALSE === strpos( $settings['white_list'], $validate['code'] ) )
@@ -96,12 +101,11 @@ class IP_Geo_Block_Cron {
96
 
97
  // update option settings
98
  self::update_settings( $settings, array( 'matching_rule', 'white_list' ) );
 
99
 
100
- // finished to update matching rule
 
101
  set_transient( IP_Geo_Block::CRON_NAME, 'done', 5 * MINUTE_IN_SECONDS );
102
-
103
- break; // exit foreach()
104
- }
105
  }
106
  }
107
  }
@@ -182,14 +186,14 @@ class IP_Geo_Block_Cron {
182
 
183
  foreach ( $blog_ids as $id ) {
184
  switch_to_blog( $id );
185
- IP_Geo_Block_Logs::delete_expired_cache( $settings['cache_time'] );
186
  restore_current_blog();
187
  }
188
  }
189
 
190
  // for single site
191
  else {
192
- IP_Geo_Block_Logs::delete_expired_cache( $settings['cache_time'] );
193
  }
194
 
195
  self::stop_cache_gc();
26
  ++$update['retry'];
27
  $cycle = DAY_IN_SECONDS * (int)$update['cycle'];
28
 
29
+ if ( isset( $db['ipv4_last'] ) ) {
30
  // in case of Maxmind Legacy or IP2Location
31
  if ( $now - (int)$db['ipv4_last'] < $cycle &&
32
  $now - (int)$db['ipv6_last'] < $cycle ) {
73
  // re-schedule cron job
74
  self::schedule_cron_job( $settings['update'], $settings[ $provider ], FALSE );
75
 
76
+ // update provider settings
77
  self::update_settings( $settings, array( 'update', $provider ) );
78
 
79
+ // skip to update settings in case of InfiniteWP that could be in a different country
80
+ if ( isset( $_SERVER['HTTP_X_REQUESTED_FROM'] ) && FALSE !== strpos( $_SERVER['HTTP_X_REQUESTED_FROM'], 'InfiniteWP' ) )
81
+ continue;
82
+
83
  // update matching rule immediately
84
+ if ( $immediate && 'done' !== get_transient( IP_Geo_Block::CRON_NAME ) ) {
85
  $validate = IP_Geo_Block::get_geolocation( NULL, array( $provider ) );
86
  $validate = IP_Geo_Block::validate_country( 'cron', $validate, $settings );
87
 
88
+ if ( 'ZZ' === $validate['code'] )
89
+ continue;
90
+
91
+ // matching rule should be reset when blocking happens
92
+ if ( 'passed' !== $validate['result'] )
93
  $settings['matching_rule'] = -1;
 
94
 
95
+ // setup country code in whitelist if it needs to be initialized
96
+ if ( -1 === (int)$settings['matching_rule'] ) {
97
  $settings['matching_rule'] = 0; // white list
98
 
99
  if ( FALSE === strpos( $settings['white_list'], $validate['code'] ) )
101
 
102
  // update option settings
103
  self::update_settings( $settings, array( 'matching_rule', 'white_list' ) );
104
+ }
105
 
106
+ // finished to update matching rule
107
+ if ( -1 !== (int)$settings['matching_rule'] )
108
  set_transient( IP_Geo_Block::CRON_NAME, 'done', 5 * MINUTE_IN_SECONDS );
 
 
 
109
  }
110
  }
111
  }
186
 
187
  foreach ( $blog_ids as $id ) {
188
  switch_to_blog( $id );
189
+ IP_Geo_Block_Logs::delete_cache_expired( $settings['cache_time'] );
190
  restore_current_blog();
191
  }
192
  }
193
 
194
  // for single site
195
  else {
196
+ IP_Geo_Block_Logs::delete_cache_expired( $settings['cache_time'] );
197
  }
198
 
199
  self::stop_cache_gc();
classes/class-ip-geo-block-logs.php CHANGED
@@ -732,7 +732,7 @@ class IP_Geo_Block_Logs {
732
  // Restore statistics.
733
  if ( $stat = self::restore_stat() ) {
734
 
735
- $provider = isset( $validate['provider'] ) ? $validate['provider'] : 'ZZ';
736
  if ( empty( $stat['providers'][ $provider ] ) )
737
  $stat['providers'][ $provider ] = array( 'count' => 0, 'time' => 0.0 );
738
 
@@ -841,12 +841,12 @@ class IP_Geo_Block_Logs {
841
  * Delete cache entry by IP address
842
  *
843
  */
844
- public static function delete_cache_entry( $entry ) {
845
  global $wpdb;
846
  $table = $wpdb->prefix . IP_Geo_Block::CACHE_NAME;
847
  $result = TRUE;
848
 
849
- foreach ( $entry as $ip ) {
850
  if ( filter_var( $ip, FILTER_VALIDATE_IP ) ) {
851
  $sql = $wpdb->prepare( "DELETE FROM `$table` WHERE `ip` = %s", $ip )
852
  and $result &= ( FALSE !== $wpdb->query( $sql ) ) or self::error( __LINE__ );
@@ -860,7 +860,7 @@ class IP_Geo_Block_Logs {
860
  * Delete expired cache
861
  *
862
  */
863
- public static function delete_expired_cache( $cache_time ) {
864
  global $wpdb;
865
  $table = $wpdb->prefix . IP_Geo_Block::CACHE_NAME;
866
 
732
  // Restore statistics.
733
  if ( $stat = self::restore_stat() ) {
734
 
735
+ $provider = isset( $validate['provider'] ) ? $validate['provider'] : 'Cache'; // asign `Cache` if no provider is available
736
  if ( empty( $stat['providers'][ $provider ] ) )
737
  $stat['providers'][ $provider ] = array( 'count' => 0, 'time' => 0.0 );
738
 
841
  * Delete cache entry by IP address
842
  *
843
  */
844
+ public static function delete_cache_entry( $entry = array() ) {
845
  global $wpdb;
846
  $table = $wpdb->prefix . IP_Geo_Block::CACHE_NAME;
847
  $result = TRUE;
848
 
849
+ foreach ( empty( $entry ) ? array( IP_Geo_Block::get_ip_address() ) : $entry as $ip ) {
850
  if ( filter_var( $ip, FILTER_VALIDATE_IP ) ) {
851
  $sql = $wpdb->prepare( "DELETE FROM `$table` WHERE `ip` = %s", $ip )
852
  and $result &= ( FALSE !== $wpdb->query( $sql ) ) or self::error( __LINE__ );
860
  * Delete expired cache
861
  *
862
  */
863
+ public static function delete_cache_expired( $cache_time ) {
864
  global $wpdb;
865
  $table = $wpdb->prefix . IP_Geo_Block::CACHE_NAME;
866
 
classes/class-ip-geo-block-opts.php CHANGED
@@ -16,7 +16,7 @@ class IP_Geo_Block_Opts {
16
  *
17
  */
18
  private static $option_table = array(
19
- 'version' => '3.0.7', // Version of this table (not package)
20
  // since version 1.0
21
  'providers' => array(), // List of providers and API keys
22
  'comment' => array( // Message on the comment form
@@ -100,11 +100,6 @@ class IP_Geo_Block_Opts {
100
  'asn6_path' => NULL, // AS Number for IPv6
101
  'asn4_last' => 0, // AS Number for IPv4
102
  'asn6_last' => 0, // AS Number for IPv6
103
- // since version 3.0.7
104
- 'ip_path' => NULL, // GeoLite2 DB: Path
105
- 'ip_last' => NULL, // GeoLite2 DB: Last-Modified
106
- 'asn_path' => NULL, // GeoLite2 ASN DB: Path
107
- 'asn_last' => NULL, // GeoLite2 ASN DB: Last-Modified
108
  ),
109
  'IP2Location' => array( // IP2Location
110
  // since version 2.2.2
@@ -114,6 +109,14 @@ class IP_Geo_Block_Opts {
114
  'ipv4_last' => 0, // Last-Modified of DB file
115
  'ipv6_last' => 0, // Last-Modified of DB file
116
  ),
 
 
 
 
 
 
 
 
117
  // since version 2.2.3
118
  'api_dir' => NULL, // Path to geo-location API
119
  // since version 2.2.5
@@ -381,10 +384,11 @@ class IP_Geo_Block_Opts {
381
  $settings['live_update'] = $default['live_update'];
382
  }
383
 
384
- if ( version_compare( $version, '3.0.7' ) < 0 ) {
385
- $settings['timeout'] = $default['timeout'];
 
386
  foreach ( array( 'ip_path', 'ip_last', 'asn_path', 'asn_last' ) as $tmp ) {
387
- $settings['Maxmind'][ $tmp ] = $default['Maxmind'][ $tmp ];
388
  }
389
  }
390
 
@@ -394,7 +398,7 @@ class IP_Geo_Block_Opts {
394
 
395
  // install addons for IP Geolocation database API ver. 1.1.11
396
  $providers = IP_Geo_Block_Provider::get_addons();
397
- if ( empty( $providers ) || ! $settings['api_dir'] || version_compare( $version, '3.0.7.2' ) < 0 )
398
  $settings['api_dir'] = self::install_api( $settings );
399
 
400
  // update option table
16
  *
17
  */
18
  private static $option_table = array(
19
+ 'version' => '3.0.8', // Version of this table (not package)
20
  // since version 1.0
21
  'providers' => array(), // List of providers and API keys
22
  'comment' => array( // Message on the comment form
100
  'asn6_path' => NULL, // AS Number for IPv6
101
  'asn4_last' => 0, // AS Number for IPv4
102
  'asn6_last' => 0, // AS Number for IPv6
 
 
 
 
 
103
  ),
104
  'IP2Location' => array( // IP2Location
105
  // since version 2.2.2
109
  'ipv4_last' => 0, // Last-Modified of DB file
110
  'ipv6_last' => 0, // Last-Modified of DB file
111
  ),
112
+ // since version 3.0.8
113
+ 'Geolite2' => array( // Maxmind
114
+ 'use_asn' => -1, // -1:install, 0:disable, 1:enable
115
+ 'ip_path' => NULL, // GeoLite2 DB: Path
116
+ 'ip_last' => NULL, // GeoLite2 DB: Last-Modified
117
+ 'asn_path' => NULL, // GeoLite2 ASN DB: Path
118
+ 'asn_last' => NULL, // GeoLite2 ASN DB: Last-Modified
119
+ ),
120
  // since version 2.2.3
121
  'api_dir' => NULL, // Path to geo-location API
122
  // since version 2.2.5
384
  $settings['live_update'] = $default['live_update'];
385
  }
386
 
387
+ if ( version_compare( $version, '3.0.8' ) < 0 ) {
388
+ $settings['timeout' ] = $default['timeout'];
389
+ $settings['Geolite2']['use_asn'] = $settings['Maxmind']['use_asn'];
390
  foreach ( array( 'ip_path', 'ip_last', 'asn_path', 'asn_last' ) as $tmp ) {
391
+ $settings['Geolite2'][ $tmp ] = $default['Geolite2'][ $tmp ];
392
  }
393
  }
394
 
398
 
399
  // install addons for IP Geolocation database API ver. 1.1.11
400
  $providers = IP_Geo_Block_Provider::get_addons();
401
+ if ( empty( $providers ) || ! $settings['api_dir'] || version_compare( $version, '3.0.8' ) < 0 )
402
  $settings['api_dir'] = self::install_api( $settings );
403
 
404
  // update option table
classes/class-ip-geo-block.php CHANGED
@@ -15,7 +15,7 @@ class IP_Geo_Block {
15
  * Unique identifier for this plugin.
16
  *
17
  */
18
- const VERSION = '3.0.7.2';
19
  const GEOAPI_NAME = 'ip-geo-api';
20
  const PLUGIN_NAME = 'ip-geo-block';
21
  const OPTION_NAME = 'ip_geo_block_settings';
@@ -252,6 +252,11 @@ class IP_Geo_Block {
252
  *
253
  */
254
  public static function get_ip_address() {
 
 
 
 
 
255
  return apply_filters( self::PLUGIN_NAME . '-ip-addr', self::$remote_addr );
256
  }
257
 
@@ -316,8 +321,9 @@ class IP_Geo_Block {
316
  if ( ( $geo = IP_Geo_Block_API::get_instance( $provider, $settings ) ) &&
317
  ( $code = $geo->$callback( $ip, $args ) ) ) {
318
  // Get AS number @since 3.0.4
319
- if ( ( $settings['Maxmind']['use_asn'] ) && ( ! isset( $code['asn'] ) || 0 !== strpos( $code['asn'], 'AS' ) ) &&
320
- ( $geo = IP_Geo_Block_API::get_instance( 'Maxmind', $settings ) ) ) {
 
321
  $asn = $geo->get_location( $ip, array( 'ASN' => TRUE ) );
322
  $asn = isset( $asn['ASN'] ) ? strtok( $asn['ASN'], ' ' ) : NULL;
323
  }
15
  * Unique identifier for this plugin.
16
  *
17
  */
18
+ const VERSION = '3.0.8';
19
  const GEOAPI_NAME = 'ip-geo-api';
20
  const PLUGIN_NAME = 'ip-geo-block';
21
  const OPTION_NAME = 'ip_geo_block_settings';
252
  *
253
  */
254
  public static function get_ip_address() {
255
+ if ( ! self::$remote_addr ) {
256
+ $settings = self::get_option();
257
+ self::$remote_addr = IP_Geo_Block_Util::get_client_ip( $settings['validation']['proxy'] );
258
+ }
259
+
260
  return apply_filters( self::PLUGIN_NAME . '-ip-addr', self::$remote_addr );
261
  }
262
 
321
  if ( ( $geo = IP_Geo_Block_API::get_instance( $provider, $settings ) ) &&
322
  ( $code = $geo->$callback( $ip, $args ) ) ) {
323
  // Get AS number @since 3.0.4
324
+ if ( ( ! empty( $settings[ $provider ]['use_asn'] ) ) &&
325
+ ( ! isset( $code['asn'] ) || 0 !== strpos( $code['asn'], 'AS' ) ) &&
326
+ ( $geo = IP_Geo_Block_API::get_instance( $provider, $settings ) ) ) {
327
  $asn = $geo->get_location( $ip, array( 'ASN' => TRUE ) );
328
  $asn = isset( $asn['ASN'] ) ? strtok( $asn['ASN'], ' ' ) : NULL;
329
  }
ip-geo-block.php CHANGED
@@ -13,7 +13,7 @@
13
  * Plugin Name: IP Geo Block
14
  * Plugin URI: http://wordpress.org/plugins/ip-geo-block/
15
  * Description: It blocks any spams, login attempts and malicious access to the admin area posted from outside your nation, and also prevents zero-day exploit.
16
- * Version: 3.0.7.2
17
  * Author: tokkonopapa
18
  * Author URI: http://www.ipgeoblock.com/
19
  * Text Domain: ip-geo-block
13
  * Plugin Name: IP Geo Block
14
  * Plugin URI: http://wordpress.org/plugins/ip-geo-block/
15
  * Description: It blocks any spams, login attempts and malicious access to the admin area posted from outside your nation, and also prevents zero-day exploit.
16
+ * Version: 3.0.8
17
  * Author: tokkonopapa
18
  * Author URI: http://www.ipgeoblock.com/
19
  * Text Domain: ip-geo-block
languages/ip-geo-block-ja.mo CHANGED
Binary file
languages/ip-geo-block-ja.po CHANGED
@@ -2,21 +2,22 @@
2
  # This file is distributed under the same license as the IP Geo Block package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: IP Geo Block 3.0.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ip-geo-block\n"
7
- "POT-Creation-Date: 2018-01-24 21:16+0900\n"
8
- "PO-Revision-Date: 2018-01-24 21:20+0900\n"
9
- "Last-Translator: tokkonopapa <tokkonopapa@yahoo.com>\n"
10
  "Language-Team: \n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "X-Generator: Poedit 1.5.5\n"
15
  "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
16
  "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
17
- "X-Poedit-Basepath: ../\n"
18
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
  "X-Poedit-SourceCharset: UTF-8\n"
 
 
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  #. Description of the plugin/theme
@@ -24,94 +25,8 @@ msgid ""
24
  "It blocks any spams, login attempts and malicious access to the admin area "
25
  "posted from outside your nation, and also prevents zero-day exploit."
26
  msgstr ""
27
- "自国以外から投稿されるスパム、ログインフォーム、さらにゼロデイ攻撃を含む管理"
28
- "領域への悪意あるアクセスからサイトを守ります。"
29
-
30
- #: classes/class-ip-geo-block-opts.php:422
31
- #: classes/class-ip-geo-block-cron.php:224
32
- #: classes/class-ip-geo-block-cron.php:328
33
- #: classes/class-ip-geo-block-cron.php:402
34
- #: admin/class-ip-geo-block-admin.php:1224
35
- #: admin/includes/class-admin-rewrite.php:194
36
- #, php-format
37
- msgid "Unable to write <code>%s</code>. Please check the permission."
38
- msgstr "<code>%s</code> に書き込めません。パーミッションをチェックして下さい。"
39
-
40
- #: classes/class-ip-geo-block-cron.php:219
41
- #: classes/class-ip-geo-block-cron.php:397
42
- #: admin/includes/class-admin-rewrite.php:168
43
- #, php-format
44
- msgid "Unable to read <code>%s</code>. Please check the permission."
45
- msgstr "<code>%s</code> を読み込めません。パーミッションをチェックして下さい。"
46
-
47
- #: classes/class-ip-geo-block-cron.php:229
48
- #, php-format
49
- msgid "Can't lock <code>%s</code>. Please try again after a while."
50
- msgstr ""
51
- "<code>%s</code> をロック出来ません。パーミッションをチェックして下さい。"
52
-
53
- #: classes/class-ip-geo-block-cron.php:308
54
- msgid "Your database file is up-to-date."
55
- msgstr "データベース・ファイルは最新です。"
56
-
57
- #: classes/class-ip-geo-block-cron.php:407
58
- msgid "gz or zip is not supported on your system."
59
- msgstr "gz または zip がサポートされていません。"
60
-
61
- #: classes/class-ip-geo-block-cron.php:426
62
- #: admin/includes/tab-settings.php:1131
63
- #, php-format
64
- msgid "Last update: %s"
65
- msgstr "最終更新:%s"
66
-
67
- #: classes/class-ip-geo-block-file.php:54
68
- #, php-format
69
- msgid ""
70
- "This plugin does not support method &#8220;%s&#8221; for FTP or SSH based "
71
- "file operations. Please refer to <a href=\"https://codex.wordpress.org/"
72
- "Editing_wp-config.php#WordPress_Upgrade_Constants\" title=\"Editing wp-"
73
- "config.php &laquo; WordPress Codex\">this document</a> for more details."
74
- msgstr ""
75
- "本プラグインは、メソッド「%s」による FTP あるいは SSH を使ったファイル操作を"
76
- "サポートしていません。詳しくは、<a href=\"https://codex.wordpress.org/"
77
- "Editing_wp-config.php#WordPress_Upgrade_Constants\" title=\"Editing wp-"
78
- "config.php &laquo; WordPress Codex\">このドキュメント</a>を参照してください。"
79
-
80
- #: classes/class-ip-geo-block-file.php:68
81
- msgid ""
82
- "You should define some constants in your <code>wp-config.php</code> for FTP "
83
- "or SSH based file operations. Please refer to <a href=\"https://codex."
84
- "wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants\" title="
85
- "\"Editing wp-config.php &laquo; WordPress Codex\">this document</a> for more "
86
- "details."
87
- msgstr ""
88
- "本プラグイン FTP あるいは SSH を使ったファイル操作を有効にするためには、"
89
- "<code>wp-config.php</code> に幾つかの定義が必要です。詳しくは、<a href="
90
- "\"https://codex.wordpress.org/Editing_wp-config."
91
- "php#WordPress_Upgrade_Constants\" title=\"Editing wp-config.php &laquo; "
92
- "WordPress Codex\">このドキュメント</a>を参照してください。"
93
-
94
- #: classes/class-ip-geo-block-logs.php:169
95
- #, php-format
96
- msgid ""
97
- "Creating a DB table %s had failed. Once de-activate this plugin, and then "
98
- "activate again."
99
- msgstr ""
100
- "%s 用のテーブルが作成されていません。一旦このプラグインを無効化し、再度有効化"
101
- "して下さい。"
102
-
103
- #: classes/class-ip-geo-block-logs.php:639
104
- #, php-format
105
- msgid "The user %s (user ID: %d) is in use."
106
- msgstr "ユーザー %s(ユーザーID:%d)が使用中です。"
107
-
108
- #: classes/class-ip-geo-block-apis.php:653
109
- msgid ""
110
- "You need to select at least one IP geolocation service. Otherwise "
111
- "<strong>you'll be blocked</strong> after the cache expires."
112
- msgstr ""
113
- "少なくとも1つ以上の位置情報サービスを選択して下さい。未選択の場合、キャッシュ"
114
- "の有効期限切れと共にロックアウトされます。"
115
 
116
  #: admin/class-ip-geo-block-admin.php:266
117
  msgid "Import settings ?"
@@ -148,7 +63,7 @@ msgstr "未認証ユーザー用 ajax"
148
  #: admin/class-ip-geo-block-admin.php:274
149
  #, php-format
150
  msgid "[Found: %d]"
151
- msgstr "[&thinsp;見つかった数:%d&thinsp;]"
152
 
153
  #: admin/class-ip-geo-block-admin.php:275
154
  #, php-format
@@ -164,7 +79,7 @@ msgid "The selected row cannot be found in the visible area."
164
  msgstr "可視領域に選択された行が見つかりません。"
165
 
166
  #: admin/class-ip-geo-block-admin.php:278
167
- #: admin/class-ip-geo-block-admin.php:1401
168
  #, php-format
169
  msgid "An error occurred while executing the ajax command `%s`."
170
  msgstr "Ajaxコマンド `%s` の実行中にエラーが発生しました。"
@@ -177,8 +92,7 @@ msgstr "テーブルにデータがありません"
177
  msgid "No matching records found"
178
  msgstr "一致するレコードがありません"
179
 
180
- #: admin/class-ip-geo-block-admin.php:284
181
- #: admin/includes/tab-geolocation.php:71
182
  msgid "IP address"
183
  msgstr "IPアドレス"
184
 
@@ -234,25 +148,19 @@ msgstr "$_POST データ"
234
  msgid "Contribute on GitHub"
235
  msgstr "開発に参加"
236
 
237
- #: admin/class-ip-geo-block-admin.php:336
238
- #: admin/class-ip-geo-block-admin.php:444
239
- #: admin/class-ip-geo-block-admin.php:652
240
- #: admin/class-ip-geo-block-admin.php:671
241
  msgid "Settings"
242
  msgstr "設定"
243
 
244
- #: admin/class-ip-geo-block-admin.php:424
245
- #: admin/class-ip-geo-block-admin.php:425
246
- #: admin/class-ip-geo-block-admin.php:435
247
- #: admin/class-ip-geo-block-admin.php:436
248
- #: admin/class-ip-geo-block-admin.php:443
249
- #: admin/class-ip-geo-block-admin.php:451
250
  msgid "IP Geo Block"
251
  msgstr "IP Geo Block"
252
 
253
- #: admin/class-ip-geo-block-admin.php:452
254
- #: admin/class-ip-geo-block-admin.php:656
255
- #: admin/class-ip-geo-block-admin.php:672
256
  msgid "Site List"
257
  msgstr "サイト一覧"
258
 
@@ -267,9 +175,9 @@ msgid ""
267
  "please check your country code and &#8220;<strong>Matching rule</"
268
  "strong>&#8221; at <a href=\"%s\">Validation rule settings</a>."
269
  msgstr ""
270
- "バックグラウンドで位置情報データベースをダウンロードしています。少しの間をお"
271
- "いた後、あなたの国コードと「<strong>マッチング規則</strong>」を「<a href=\"%s"
272
- "\">検証ルールの設定</a>」で確認して下さい。"
273
 
274
  #: admin/class-ip-geo-block-admin.php:493
275
  #, php-format
@@ -277,8 +185,8 @@ msgid ""
277
  "The &#8220;<strong>Matching rule</strong>&#8221; is not set properly. Please "
278
  "confirm it at <a href=\"%s\">Validation rule settings</a>."
279
  msgstr ""
280
- "「<strong>マッチング規則</strong>」が正しく設定されていません。「<a href=\"%s"
281
- "\">検証ルールの設定</a>」を確認して下さい。"
282
 
283
  #: admin/class-ip-geo-block-admin.php:502
284
  msgid "Local database and matching rule have been updated."
@@ -289,8 +197,8 @@ msgid ""
289
  "Once you logout, you will be unable to login again because the number of "
290
  "login attempts reaches the limit."
291
  msgstr ""
292
- "あなたのIPアドレスのログイン試行可能回数がリミットに達したため、ログアウトす"
293
- "ると再びログインする事が出来なくなります。"
294
 
295
  #: admin/class-ip-geo-block-admin.php:515
296
  #, php-format
@@ -298,114 +206,167 @@ msgid ""
298
  "Please execute \"<strong>Clear cache</strong>\" on <a href=\"%s\">Statistics "
299
  "tab</a> to prevent locking yourself out."
300
  msgstr ""
301
- "<a href=\"%s\">「統計」タブ</a>の \"<strong>キャッシュのクリア</strong>\" を"
302
- "実行し、ロックアウトを回避してください。"
303
 
304
  #: admin/class-ip-geo-block-admin.php:525
305
  msgid ""
306
  "Once you logout, you will be unable to login again because your country code "
307
  "or IP address is in the blacklist."
308
  msgstr ""
309
- "あなたの国コードまたはIPアドレスがブラックリストに含まれているため、ログアウ"
310
- "トすると再びログインする事が出来なくなります。"
311
 
312
  #: admin/class-ip-geo-block-admin.php:526
313
  msgid ""
314
  "Once you logout, you will be unable to login again because your country code "
315
  "or IP address is not in the whitelist."
316
  msgstr ""
317
- "あなたの国コードまたはIPアドレスがホワイトリストに含まれていないため、ログア"
318
- "ウトすると再びログインする事が出来なくなります。"
319
 
320
- #: admin/class-ip-geo-block-admin.php:529
321
  #, php-format
322
- msgid "Please check your <a href=\"%s\">Validation rule settings</a>."
323
- msgstr "「<a href=\"%s\">検証ルールの設定</a>」を確認して下さい。"
324
 
325
- #: admin/class-ip-geo-block-admin.php:540
 
 
 
 
 
 
 
 
 
 
326
  msgid ""
327
  "&#8220;mu-plugins&#8221; (ip-geo-block-mu.php) at &#8220;Validation "
328
  "timing&#8221; is imcompatible with <strong>IP Geo Allow</strong>. Please "
329
  "select &#8220;init&#8221; action hook."
330
  msgstr ""
331
- "「検証のタイミング」に「&#8220;mu-plugins&#8221; (ip-geo-block-mu.php)」が選"
332
- "択されていますが、<strong>IP Geo Allow</strong> と互換性がありません。"
333
- "「&#8220;init&#8221; アクション・フック」を選択してください。"
334
 
335
- #: admin/class-ip-geo-block-admin.php:653
336
  msgid "Statistics"
337
  msgstr "統計"
338
 
339
- #: admin/class-ip-geo-block-admin.php:654
340
  msgid "Logs"
341
  msgstr "ログ"
342
 
343
- #: admin/class-ip-geo-block-admin.php:655
344
  msgid "Search"
345
  msgstr "検索"
346
 
347
- #: admin/class-ip-geo-block-admin.php:657
348
  msgid "Attribution"
349
  msgstr "リンク"
350
 
351
- #: admin/class-ip-geo-block-admin.php:683
352
  msgid "Network wide"
353
  msgstr "ネットワーク一括管理"
354
 
355
- #: admin/class-ip-geo-block-admin.php:696
356
  msgid "Toggle all"
357
  msgstr "全てを開閉"
358
 
359
- #: admin/class-ip-geo-block-admin.php:699
360
  msgid ""
361
  "Independent of &#8220;Statistics and Logs settings&#8221;, you can see all "
362
  "the requests validated by this plugin in almost real time."
363
  msgstr ""
364
- "[統計とログの設定]にかかわらず、このプラグインによる検証結果のすべてを、ほ"
365
- "ぼリアルタイムに表示します。"
366
 
367
- #: admin/class-ip-geo-block-admin.php:699 admin/includes/tab-accesslog.php:37
368
  msgid "Live update"
369
  msgstr "ライブアップデート"
370
 
371
- #: admin/class-ip-geo-block-admin.php:703
372
  msgid "Open a new window on clicking the link in the chart."
373
  msgstr "チャート内のリンクをクリックすると、新しいウィンドウが開きます。"
374
 
375
- #: admin/class-ip-geo-block-admin.php:703
376
  msgid "Open a new window"
377
  msgstr "別窓で開く"
378
 
379
- #: admin/class-ip-geo-block-admin.php:726
380
  msgid "Thanks for providing these great services for free."
381
  msgstr "これらのすばらしいサービスの提供元に、敬意と感謝の意を表します!"
382
 
383
- #: admin/class-ip-geo-block-admin.php:727
384
  msgid ""
385
- "(Most browsers will redirect you to each site <a href=\"http://www."
386
- "ipgeoblock.com/etc/referer.html\" title=\"Referer Checker\">without referrer "
387
- "when you click the link</a>.)"
388
  msgstr ""
389
- "(ほとんどのブラウザでは、<a href=\"http://www.ipgeoblock.com/etc/referer."
390
- "html\" title=\"Referer Checker\">参照元を残さずにリンク先にリダイレクトできま"
391
- "す</a>。)"
392
 
393
- #: admin/class-ip-geo-block-admin.php:732
394
  msgid "Back to top"
395
  msgstr "トップに戻る"
396
 
397
- #: admin/class-ip-geo-block-admin.php:829
398
  msgid "Enable"
399
  msgstr "有効"
400
 
401
- #: admin/class-ip-geo-block-admin.php:844
402
  msgid "Select one"
403
  msgstr "何れかを選択"
404
 
405
- #: admin/class-ip-geo-block-admin.php:1254
 
 
 
 
 
 
 
 
 
 
406
  msgid "Settings saved."
407
  msgstr "設定を保存しました。"
408
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  #: admin/includes/tab-accesslog.php:19
410
  msgid "Validation logs"
411
  msgstr "検証のログ"
@@ -510,6 +471,54 @@ msgstr "検証のログを記録し分析するためには、適切な条件を
510
  msgid "Attribution links"
511
  msgstr "リンク"
512
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
513
  #: admin/includes/tab-settings.php:44
514
  msgid "Validation rule settings"
515
  msgstr "検証ルールの設定"
@@ -520,13 +529,8 @@ msgid ""
520
  "code by referring &#8220;Scan country code&#8221;.\">Your IP address / "
521
  "Country</dfn>"
522
  msgstr ""
523
- "<dfn title=\"「国コードを検索する」を参照し、適切な位置情報APIと国コードを設"
524
- "定して下さい。\">あなたのIPアドレス / 国コード</dfn>"
525
-
526
- #: admin/includes/tab-settings.php:76 admin/includes/tab-settings.php:96
527
- #: admin/includes/class-admin-ajax.php:77
528
- msgid "UNKNOWN"
529
- msgstr "不明"
530
 
531
  #: admin/includes/tab-settings.php:77 admin/includes/tab-settings.php:97
532
  msgid "Scan all the APIs you selected at Geolocation API settings"
@@ -542,8 +546,8 @@ msgid ""
542
  "code by referring &#8220;Scan country code&#8221;.\">Server IP address / "
543
  "Country</dfn>"
544
  msgstr ""
545
- "<dfn title=\"「国コードを検索する」を参照し、適切な位置情報APIと国コードを設"
546
- "定して下さい。\">サーバーのIPアドレス / 国コード</dfn>"
547
 
548
  #: admin/includes/tab-settings.php:105
549
  msgid "Whitelist"
@@ -554,39 +558,38 @@ msgid "Blacklist"
554
  msgstr "ブラックリスト"
555
 
556
  #: admin/includes/tab-settings.php:110
557
- msgid ""
558
- "Please select either &#8220;Whitelist&#8221; or &#8220;Blacklist&#8221;."
559
  msgstr "「ホワイトリスト」または「ブラックリスト」のいずれかを選択して下さい。"
560
 
561
  #: admin/includes/tab-settings.php:111
562
  msgid ""
563
  "<dfn title=\"&#8220;Block by country&#8221; will be bypassed in case of "
564
  "empty. The special code &#8220;XX&#8221; is assigned as private IP address "
565
- "including localhost. And &#8220;ZZ&#8221; is for unknown IP address (i.e. "
566
- "not in the geolocation databases). Please use &#8220;YY&#8221; if you need "
567
- "the code that does not correspond to any of the countries.\">Whitelist of "
568
- "country code</dfn>"
569
  msgstr ""
570
  "<dfn title=\"空欄の場合、「国コードで遮断」はバイパスされます。特別なコード"
571
  "「XX」は、localhost&thinsp;を含むプライベート・アドレスに割り当てられ、また"
572
- "「ZZ」は不明(位置情報データベースに未登録)を表します。どの国にもマッチさせ"
573
- "ないことが必要な場合には、「YY」を指定してください。\">国コードのホワイトリス"
574
- "ト</dfn>"
575
 
576
  #: admin/includes/tab-settings.php:112
577
  msgid ""
578
  "<dfn title=\"&#8220;Block by country&#8221; will be bypassed in case of "
579
  "empty. The special code &#8220;XX&#8221; is assigned as private IP address "
580
- "including localhost. And &#8220;ZZ&#8221; is for unknown IP address (i.e. "
581
- "not in the geolocation databases). Please use &#8220;YY&#8221; if you need "
582
- "the code that does not correspond to any of the countries.\">Blacklist of "
583
- "country code</dfn>"
584
  msgstr ""
585
  "<dfn title=\"空欄の場合、「国コードで遮断」はバイパスされます。特別なコード"
586
  "「XX」は、localhost&thinsp;を含むプライベート・アドレスに割り当てられ、また"
587
- "「ZZ」は不明(位置情報データベースに未登録)を表します。どの国にもマッチさせ"
588
- "ないことが必要な場合には、「YY」を指定してください。\">国コードのブラックリス"
589
- "ト</dfn>"
590
 
591
  #: admin/includes/tab-settings.php:116
592
  msgid "(comma separated)"
@@ -611,10 +614,10 @@ msgid ""
611
  "sample.\"><span></span></a>&#8221; button (if exists) attached to the "
612
  "following list to confirm that the blocked request is not malicious."
613
  msgstr ""
614
- "「例外」として追加する前に、以下の候補に付いたボタン&thinsp;&#8220;<a class="
615
- "\"ip-geo-block-icon ip-geo-block-icon-alert\" title=\"このボタンは単なるサン"
616
- "プルです。\"><span></span></a>&#8221;(もしあれば)をクリックし、遮断されたリ"
617
- "クエストに悪意のないことを確認して下さい。"
618
 
619
  #: admin/includes/tab-settings.php:127 admin/includes/tab-settings.php:791
620
  msgid "Matching rule"
@@ -649,18 +652,18 @@ msgstr ""
649
  #: admin/includes/tab-settings.php:197
650
  #, php-format
651
  msgid ""
652
- "Some useful tools for investigating ASN are introduced in &#8220;%s&#8221;."
653
- msgstr "AS番号の検索に役立つツールを「%s」に紹介しています。"
654
 
655
  #: admin/includes/tab-settings.php:206
656
  msgid ""
657
  "<dfn title=\"e.g. &#8220;192.0.64.0/18&#8221; for Jetpack server, "
658
- "&#8220;69.46.36.0/27&#8221; for WordFence server or &#8220;AS32934&#8221; "
659
- "for Facebook.\">Whitelist of extra IP addresses prior to country code</dfn>"
660
  msgstr ""
661
  "<dfn title=\"例)192.0.64.0/18(Jetpackサーバー)、69.46.36.0/27(WordFence"
662
- "サーバー)、AS32934(Facebook)\">国コードに優先して検証するIPアドレスのホワ"
663
- "イトリスト</dfn>"
664
 
665
  #: admin/includes/tab-settings.php:226
666
  msgid ""
@@ -680,9 +683,9 @@ msgid ""
680
  msgstr ""
681
  "<dfn title=\"あなたのサーバーがプロキシー・サーバーやロード・バランサーの背後"
682
  "に位置する場合には、クライアントのIPアドレスを抽出するために"
683
- "「HTTP_X_FORWARDED_FOR」や「HTTP_X_REAL_IP」など、$_SERVER&thinsp;の適切な"
684
- "キーを指定してください。\">IPアドレスを追加抽出する&thinsp;$_SERVER&thinsp;の"
685
- "キー</dfn>"
686
 
687
  #: admin/includes/tab-settings.php:266
688
  msgid ""
@@ -694,9 +697,9 @@ msgid ""
694
  "block-decode\" title=\"When you find ugly character string in the text area, "
695
  "please click to restore.\"><span></span></a>)</nobr>"
696
  msgstr ""
697
- "<dfn title=\"「国コードで遮断」および「ゼロデイ攻撃を遮断」とは独立に、「管理"
698
- "領域」、「管理領域 ajax/post」、「プラグイン領域」、「テーマ領域」をターゲッ"
699
- "トとした悪意のあるシグネチャを検証します。\">悪意のあるシグネチャ</dfn> "
700
  "<nobr>(<a class=\"ip-geo-block-icon ip-geo-block-icon-cycle\" id=\"ip-geo-"
701
  "block-decode\" title=\"文字化けした場合、クリックして復元して下さ"
702
  "い。\"><span></span></a>)</nobr>"
@@ -713,8 +716,8 @@ msgid ""
713
  "<dfn title=\"Put forbidden file extensions.\">Blacklist of forbidden file "
714
  "extensions</dfn>"
715
  msgstr ""
716
- "<dfn title=\"禁止するファイルの拡張子を設定します。\">禁止するファイル拡張子"
717
- "のブラックリスト</dfn>"
718
 
719
  #: admin/includes/tab-settings.php:295
720
  msgid ""
@@ -725,8 +728,8 @@ msgid ""
725
  msgstr ""
726
  "<dfn title=\"検証する権限を指定します。アップローダーによっては、特定の権限を"
727
  "必要とする場合があります。デフォルトは、管理者(Administrator)、編集者"
728
- "(Editor)、投稿者(Author)向けの「upload_files」です。空欄の場合、この検証"
729
- "はスキップされます。\">検証する権限</dfn>"
730
 
731
  #: admin/includes/tab-settings.php:295
732
  msgid ""
@@ -734,10 +737,10 @@ msgid ""
734
  "Roles_and_Capabilities\" title=\"Roles and Capabilities &laquo; WordPress "
735
  "Codex\">Roles and Capabilities</a>&#8221;&thinsp;)"
736
  msgstr ""
737
- "(「<a rel=\"noreferrer\" href=\"http://wpdocs.osdn.jp/%E3%83%A6%E3%83%BC"
738
  "%E3%82%B6%E3%83%BC%E3%81%AE%E7%A8%AE%E9%A1%9E%E3%81%A8%E6%A8%A9%E9%99%90\" "
739
- "title=\"ユーザーの種類と権限 - WordPress Codex 日本語版\">ユーザーの種類と権"
740
- "限</a>」を参照)"
741
 
742
  #: admin/includes/tab-settings.php:302
743
  msgid ""
@@ -748,8 +751,8 @@ msgid ""
748
  "this validation.\">Prevent malicious file uploading</dfn>"
749
  msgstr ""
750
  "<dfn title=\"ファイル・タイプを限定し、バックエンド、またはフロントエンドを経"
751
- "由するマルウェアやバックドアのアップロードを遮断します。他のプラグインやテー"
752
- "マに先んじて確実に遮断するために、「検証のタイミング」を「&#8220;mu-"
753
  "plugins&#8221; (ip-geo-block-mu.php)」に設定することを検討してください。\">悪"
754
  "意のあるアップロード防止</dfn>"
755
 
@@ -772,20 +775,20 @@ msgid ""
772
  "<dfn title=\"You can put your original 403.php and so on into your theme "
773
  "directory.\">Response code</dfn> %s"
774
  msgstr ""
775
- "<dfn title=\"テーマ・ディレクトリには&thinsp;403.php&thinsp;など、独自のファ"
776
- "イルを設置する事が出来ます。\">レスポンス・コード</dfn> %s"
777
 
778
  #: admin/includes/tab-settings.php:355 admin/includes/tab-settings.php:878
779
  msgid ""
780
  "<dfn title=\"Specify the URL for response code 2xx and 3xx. If it is pointed "
781
- "to a public facing page, visitors would not be blocked on the page to "
782
- "prevent loop of redirection even when you enable [Block by country] in "
783
- "[Front-end target settings] section. Empty URL is altered to your home."
784
- "\">Redirect URL</dfn>"
785
  msgstr ""
786
  "<dfn title=\"レスポンス・コード&thinsp;2xx&thinsp;、3xx&thinsp;用のリダイレク"
787
  "ト先&thinsp;URL&thinsp;を指定します。リダイレクトのループを避けるため、自サイ"
788
- "ト内の&thinsp;URL&thinsp;は「フロントエンドの設定」に関わらず遮断の対象外とな"
789
  "ります。空欄の場合、サイトのホームが使用されます。\">リダイレクト先&thinsp;"
790
  "URL</dfn>"
791
 
@@ -803,9 +806,9 @@ msgid ""
803
  "form&#8221;. Lockout period is defined as expiration time at &#8220;Cache "
804
  "settings&#8221;.\">Max number of failed login attempts per IP address</dfn>"
805
  msgstr ""
806
- "<dfn title=\"XML-RPC」と「ログイン・フォーム」に適用されます。ロックアウト"
807
- "時間は「キャッシュの設定」の「有効時間」で定義します。\">IPアドレス当たりのロ"
808
- "グイン試行可能回数</dfn>"
809
 
810
  #: admin/includes/tab-settings.php:418
811
  msgid "Select when to run the validation."
@@ -838,10 +841,10 @@ msgid ""
838
  "validation-timing.html' title='Validation timing | IP Geo Block'>some "
839
  "restrictions</a>."
840
  msgstr ""
841
- "標準的な他のプラグインより早いタイミングで検証を実行します。これによりサー"
842
- "バーの負荷は軽減されますが、<a rel='noreferrer' href='http://www.ipgeoblock."
843
- "com/codex/validation-timing.html' title='Validation timing | IP Geo Block'>幾"
844
- "つかの制限事項</a>&thinsp;が生じます。"
845
 
846
  #: admin/includes/tab-settings.php:444
847
  msgid "Back-end target settings"
@@ -893,8 +896,8 @@ msgid ""
893
  "Regardless of the country code, it will block a malicious request related to "
894
  "the services only for the dashboard."
895
  msgstr ""
896
- "国コードに拘らず、ダッシュボード向けサービスだけに関連する悪意のあるリクエス"
897
- "トを遮断します。"
898
 
899
  #: admin/includes/tab-settings.php:563
900
  msgid "admin post for logged-in user"
@@ -911,15 +914,15 @@ msgstr "管理領域&thinsp;ajax/post"
911
  #: admin/includes/tab-settings.php:602
912
  msgid ""
913
  "Specify the action name (&#8220;action=&hellip;&#8221;) or the page name "
914
- "(&#8220;page=&hellip;&#8221;) to prevent unintended blocking caused by "
915
- "&#8220;Block by country&#8221; (for non logged-in user) and &#8220;Prevent "
916
- "Zero-day Exploit&#8221; (for logged-in user)."
917
  msgstr ""
918
- "「国コードで遮断」(未認証ユーザーの場合)および「ゼロデイ攻撃を遮断」(認証"
919
- "済みユーザーの場合)が、意図しない遮断の原因となる場合、アクション名(&#8220;"
920
  "action=&hellip;&#8221; の &#8220;&hellip;&#8221; 部分)、またはページ名"
921
- "(&#8220;page=&hellip;&#8221; の &#8220;&hellip;&#8221; 部分)を指定し、検証"
922
- "対象から除外します。"
923
 
924
  #: admin/includes/tab-settings.php:602 admin/includes/tab-settings.php:680
925
  #: admin/includes/tab-settings.php:741
@@ -940,16 +943,16 @@ msgid ""
940
  "Regardless of the country code, it will block a malicious request to <code>"
941
  "%s&ctdot;/*.php</code>."
942
  msgstr ""
943
- "国コードに拘らず、<code>%s&ctdot;/*.php</code>への悪意のあるリクエストを遮断"
944
- "します。"
945
 
946
  #: admin/includes/tab-settings.php:621
947
  msgid ""
948
- "Select the item which causes unintended blocking in order to exclude from "
949
- "the validation target. Grayed item indicates &#8220;INACTIVE&#8221;."
950
  msgstr ""
951
- "意図しない遮断の原因となる項目を選択し、検証対象から除外します。灰色で表示さ"
952
- "れた項目は、「非アクティブ」であることを示しています。"
953
 
954
  #: admin/includes/tab-settings.php:622
955
  #, php-format
@@ -984,7 +987,7 @@ msgstr "フロントエンドの設定"
984
 
985
  #: admin/includes/tab-settings.php:784
986
  msgid "Follow &#8220;Validation rule settings&#8221;"
987
- msgstr "「検証ルールの設定」に従う"
988
 
989
  #: admin/includes/tab-settings.php:846
990
  #, php-format
@@ -1007,21 +1010,21 @@ msgid ""
1007
  "<dfn title=\"Specify the individual post type on a single page as a blocking "
1008
  "target.\">Post type</dfn>"
1009
  msgstr ""
1010
- "<dfn title=\"特定の投稿タイプのシングルページを遮断対象に指定します。\">投稿"
1011
- "タイプ</dfn>"
1012
 
1013
  #: admin/includes/tab-settings.php:936
1014
  msgid ""
1015
- "<dfn title=\"Specify the individual category on a single page or archive "
1016
- "page as a blocking target.\">Category</dfn>"
1017
  msgstr ""
1018
  "<dfn title=\"特定のカテゴリを含むシングルページかアーカイブページを遮断対象に"
1019
  "指定します。\">カテゴリ</dfn>"
1020
 
1021
  #: admin/includes/tab-settings.php:948
1022
  msgid ""
1023
- "<dfn title=\"Specify the individual tag on a single page or archive page as "
1024
- "a blocking target.\">Tag</dfn>"
1025
  msgstr ""
1026
  "<dfn title=\"特定のタグを含むシングルページかアーカイブページを遮断対象に指定"
1027
  "します。\">タグ</dfn>"
@@ -1044,34 +1047,33 @@ msgstr "ターゲットを指定"
1044
 
1045
  #: admin/includes/tab-settings.php:978
1046
  msgid ""
1047
- "Notice that &#8220;Validation timing&#8221; is deferred till &#8220;"
1048
- "wp&#8221; action hook. It means that this feature would not be compatible "
1049
- "with any page caching."
1050
  msgstr ""
1051
- "「検証のタイミング」が &#8220;wp&#8221; アクション・フックまで遅延されます。"
1052
- "これにより、ページ・キャッシュとの互換性がなくなることに注意してください。"
1053
 
1054
  #: admin/includes/tab-settings.php:988
1055
  msgid ""
1056
  "A part of user agent string and a qualification connected with a separator "
1057
- "that indicates an applicable rule and can be &#8220;:&#8221; (pass) or "
1058
- "&#8220;#&#8221; (block). A &#8220;qualification&#8221; can be &#8220;"
1059
- "DNS&#8221;, &#8220;FEED&#8221;, country code or IP address with CIDR. A "
1060
- "negative operator &#8220;!&#8221; can be placed just before a &#8220;"
1061
- "qualification&#8221;."
1062
  msgstr ""
1063
- "適用されるルールを表す記号(「:」は通過、「#」は遮断)で区切られたユーザー"
1064
- "エージェント文字列の一部と「条件」のペアです。「条件」には「DNS」、「FEED」、"
1065
- "国コード、または&nbsp;IPアドレス(CIDR記法)が使えます。また否定を表す記号"
1066
- "「!」を「条件」の直前に配置する事が出来ます。"
1067
 
1068
  #: admin/includes/tab-settings.php:988
1069
  msgid "UA string and qualification"
1070
  msgstr "ユーザーエージェント(UA)文字列と条件"
1071
 
1072
  #: admin/includes/tab-settings.php:1007
1073
- msgid "Specify the name of action that is invariably blocked."
1074
- msgstr "遮断されるアクション名を指定します。"
1075
 
1076
  #: admin/includes/tab-settings.php:1007
1077
  msgid "Excluded actions"
@@ -1085,7 +1087,7 @@ msgid ""
1085
  "return &#8220;true&#8221;."
1086
  msgstr ""
1087
  "DNS&thinsp;逆引きによりホストを検証します(幾らかのサーバー・リソースを消費し"
1088
- "ます)。無効にした場合、「ユーザーエージェント文字列と条件」中の「HOST」、"
1089
  "「HOST=&hellip;」は常に真となります。"
1090
 
1091
  #: admin/includes/tab-settings.php:1026
@@ -1097,8 +1099,8 @@ msgid ""
1097
  "It enables to simulate validation without deployment. The results can be "
1098
  "found at &#8220;Public facing pages&#8221; in Logs."
1099
  msgstr ""
1100
- "機能を有効にする事なくリクエストの検証をシミュレートします。結果はログで確認"
1101
- "する事が出来ます。"
1102
 
1103
  #: admin/includes/tab-settings.php:1043
1104
  msgid "Simulation mode"
@@ -1127,22 +1129,22 @@ msgid ""
1127
  "failed downloading <a rel=\"noreferrer\" href=\"https://github.com/"
1128
  "tokkonopapa/WordPress-IP-Geo-API/archive/master.zip\" title=\"Download the "
1129
  "contents of tokkonopapa/WordPress-IP-Geo-API as a zip file\">ZIP file</a> "
1130
- "from <a rel=\"noreferrer\" href=\"https://github.com/tokkonopapa/WordPress-"
1131
- "IP-Geo-API\" title=\"tokkonopapa/WordPress-IP-Geo-API - GitHub\">WordPress-"
1132
- "IP-Geo-API</a>. Please install <code>ip-geo-api</code> with write permission "
1133
- "according to <a rel=\"noreferrer\" href=\"http://www.ipgeoblock.com/codex/"
1134
- "how-to-fix-permission-troubles.html\" title=\"How can I fix permission "
1135
- "troubles? | IP Geo Block\">this instruction</a>."
1136
  msgstr ""
1137
  "<code>%s</code> に位置情報APIライブラリが見つかりません。<a rel=\"noreferrer"
1138
  "\" href=\"https://github.com/tokkonopapa/WordPress-IP-Geo-API\" title="
1139
  "\"tokkonopapa/WordPress-IP-Geo-API - GitHub\">WordPress-IP-Geo-API</a> から "
1140
  "<a rel=\"noreferrer\" href=\"https://github.com/tokkonopapa/WordPress-IP-Geo-"
1141
  "API/archive/master.zip\" title=\"Download the contents of tokkonopapa/"
1142
- "WordPress-IP-Geo-API as a zip file\">ZIP file</a> のダウンロードに失敗したよ"
1143
- "うです。<a rel=\"noreferrer\" href=\"http://www.ipgeoblock.com/codex/how-to-"
1144
- "fix-permission-troubles.html\" title=\"How can I fix permission troubles? | "
1145
- "IP Geo Block\">FAQ</a> を参照し、適切な書き込み権限と共に <code>ip-geo-api</"
1146
  "code> をインストールしてください。"
1147
 
1148
  #: admin/includes/tab-settings.php:1116
@@ -1153,6 +1155,11 @@ msgstr "ローカル・データベースの設定"
1153
  msgid "database"
1154
  msgstr "ファイル"
1155
 
 
 
 
 
 
1156
  #: admin/includes/tab-settings.php:1140
1157
  msgid "Auto updating (once a month)"
1158
  msgstr "自動更新(月1回)"
@@ -1214,8 +1221,8 @@ msgid ""
1214
  "<dfn title=\"e.g. action, comment, log, pwd, FILES\">$_POST keys to be "
1215
  "recorded with their values in &#8220;Logs&#8221;</dfn>"
1216
  msgstr ""
1217
- "<dfn title=\"例)action, comment, log, pwd, FILES\">ログに記録する際に内容を"
1218
- "展開する$_POSTのキー</dfn>"
1219
 
1220
  #: admin/includes/tab-settings.php:1281
1221
  msgid "<dfn title=\"e.g. 123.456.789.***\">Anonymize IP address</dfn>"
@@ -1246,16 +1253,16 @@ msgid ""
1246
  "It takes a few tens of milliseconds as overhead. It can be safely used "
1247
  "without conflict with other plugins."
1248
  msgstr ""
1249
- "数十ミリ秒のオーバーヘッドがかかります。他のプラグインと競合することなく、安"
1250
- "全に使用できます。"
1251
 
1252
  #: admin/includes/tab-settings.php:1316
1253
  msgid ""
1254
  "It takes a few milliseconds as overhead. There is a possibility of conflict "
1255
  "with other plugins using this method."
1256
  msgstr ""
1257
- "数ミリ秒のオーバーヘッドがかかります。同手法を用いている他のプラグインと競合"
1258
- "する可能性があります。"
1259
 
1260
  #: admin/includes/tab-settings.php:1325
1261
  msgid "Reset database source of &#8220;Live update&#8221;"
@@ -1285,7 +1292,7 @@ msgstr "ガベージコレクション周期 [秒]"
1285
 
1286
  #: admin/includes/tab-settings.php:1386
1287
  msgid "Number of entries to be displayed in cache"
1288
- msgstr "「キャッシュ中のIPアドレス」に表示する最大数"
1289
 
1290
  #: admin/includes/tab-settings.php:1404
1291
  msgid "Submission settings"
@@ -1320,8 +1327,8 @@ msgid ""
1320
  "<dfn title=\"Synchronize all settings over the network wide.\">Network wide "
1321
  "settings</dfn>"
1322
  msgstr ""
1323
- "<dfn title=\"全ての設定をネットワーク全体で同期させます。\">ネットワークの一"
1324
- "括設定</dfn>"
1325
 
1326
  #: admin/includes/tab-settings.php:1472
1327
  msgid "Remove all settings at uninstallation"
@@ -1337,11 +1344,11 @@ msgstr ""
1337
 
1338
  #: admin/includes/tab-settings.php:1504
1339
  msgid ""
1340
- "You need to click the &#8220;Save Changes&#8221; button for imported "
1341
- "settings to take effect."
1342
  msgstr ""
1343
- "インポートされた設定を有効にするには、「変更を保存」ボタンをクリックする必要"
1344
- "があります。"
1345
 
1346
  #: admin/includes/tab-settings.php:1510
1347
  msgid "Export / Import settings"
@@ -1378,8 +1385,8 @@ msgid ""
1378
  "Import the preferred settings mainly by enabling Zero-day Exploit Prevention "
1379
  "for the &#8220;Back-end target settings&#8221;"
1380
  msgstr ""
1381
- "「ゼロデイ攻撃の遮断」など、主に「バックエンドの設定」の推奨設定をインポート"
1382
- "します。"
1383
 
1384
  #: admin/includes/tab-settings.php:1535
1385
  msgid "Best for Back-end"
@@ -1411,9 +1418,9 @@ msgid ""
1411
  msgstr ""
1412
  "<dfn title=\"予期しない遮断が発生した場合は、ダンプされたデバッグ情報を元にリ"
1413
  "クエストの遮断理由を推定し、問題解決に役立ててください。\">デバッグ情報</"
1414
- "dfn><br />[ <a rel=\"noreferrer\" href=\"https://wordpress.org/support/"
1415
- "plugin/ip-geo-block\" title=\"WordPress &#8250; Support &raquo; IP Geo Block"
1416
- "\">サポート・フォーラム</a> ]"
1417
 
1418
  #: admin/includes/tab-settings.php:1586
1419
  msgid "Please copy &amp; paste when submitting your issue to support forum."
@@ -1439,8 +1446,8 @@ msgstr ""
1439
  msgid ""
1440
  "If you have any troubles with these, please check FAQ at <a rel=\"noreferrer"
1441
  "\" href=\"https://wordpress.org/plugins/ip-geo-block/faq/\" title=\"IP Geo "
1442
- "Block &mdash; WordPress Plugins\">WordPress.org</a> and <a rel=\"noreferrer"
1443
- "\" href=\"http://www.ipgeoblock.com/codex/#faq\" title=\"Codex | IP Geo Block"
1444
  "\">Codex</a>."
1445
  msgstr ""
1446
  "何か問題が発生した場合は、<a rel=\"noreferrer\" href=\"https://wordpress.org/"
@@ -1451,8 +1458,8 @@ msgstr ""
1451
 
1452
  #: admin/includes/tab-settings.php:1610
1453
  msgid ""
1454
- "While Maxmind and IP2Location will fetch the local database, others will "
1455
- "pass an IP address to the APIs via HTTP."
1456
  msgstr ""
1457
  "MaxmindとIP2Locationはローカルのデータベースを検索しますが、他はHTTPを介して"
1458
  "APIにIPアドレスを渡します。"
@@ -1468,9 +1475,9 @@ msgid ""
1468
  "Maxmind GeoLite2 databases and APIs need PHP version 5.4.0+ and %sPECL phar "
1469
  "2.0.0+%s."
1470
  msgstr ""
1471
- "Maxmind GeoLite2&thinsp;データベースと&thinsp;API&thinsp;には、PHP&thinsp;"
1472
- "バージョン&thinsp;5.4.0&thinsp;以上と&thinsp;%sPECL phar 2.0.0&thinsp;以上%s"
1473
- "が必要です。"
1474
 
1475
  #: admin/includes/tab-settings.php:1628
1476
  msgid ""
@@ -1481,20 +1488,20 @@ msgid ""
1481
  msgstr ""
1482
  "キャッシュ・プラグインに関する制限事項を含め、詳しくはドキュメント &#8220;<a "
1483
  "rel=\"noreferrer\" href=\"http://www.ipgeoblock.com/codex/#blocking-on-front-"
1484
- "end\" title=\"Codex | IP Geo Block\">Blocking on front-end</a>&#8221; を参照"
1485
- "してください。"
1486
 
1487
  #: admin/includes/tab-settings.php:1629
1488
  msgid ""
1489
- "If you find any issues or have something to suggest, please feel free to "
1490
- "open an issue at <a rel=\"noreferrer\" href=\"https://wordpress.org/support/"
1491
- "plugin/ip-geo-block\" title=\"WordPress &#8250; Support &raquo; IP Geo Block"
1492
  "\">support forum</a>."
1493
  msgstr ""
1494
  "問題を発見したり改善の提案がある場合は、お気軽に <a rel=\"noreferrer\" href="
1495
  "\"https://wordpress.org/support/plugin/ip-geo-block\" title=\"WordPress "
1496
- "&#8250; Support &raquo; IP Geo Block\">サポートフォーラム</a> に投稿をお願い"
1497
- "します。"
1498
 
1499
  #: admin/includes/tab-settings.php:1636
1500
  msgid ""
@@ -1506,49 +1513,6 @@ msgstr ""
1506
  "record-settings-and-logs.html\" title=\"Codex | IP Geo Block\">Record "
1507
  "settings and logs</a>&#8221; を参照ください。"
1508
 
1509
- #: admin/includes/class-admin-rewrite.php:169
1510
- #: admin/includes/class-admin-rewrite.php:195
1511
- #, php-format
1512
- msgid "Or please refer to %s to set it manually."
1513
- msgstr "あるいは %s を参照し、手動で設定して下さい。"
1514
-
1515
- #: admin/includes/class-admin-rewrite.php:234
1516
- #, php-format
1517
- msgid "&#8220;auto_prepend_file&#8221; already defined in %s."
1518
- msgstr "%s&thinsp;で既に「auto_prepend_file」が設定されています。"
1519
-
1520
- #: admin/includes/tab-network.php:33
1521
- msgid "Blocked by target in logs"
1522
- msgstr "ログ中のターゲット毎遮断数"
1523
-
1524
- #: admin/includes/tab-network.php:42
1525
- msgid "Rows"
1526
- msgstr "行数"
1527
-
1528
- #: admin/includes/tab-network.php:47
1529
- msgid "Columns"
1530
- msgstr "列数"
1531
-
1532
- #: admin/includes/tab-network.php:62
1533
- msgid "Chart display layout"
1534
- msgstr "チャートの表示レイアウト"
1535
-
1536
- #: admin/includes/tab-network.php:77
1537
- msgid "Latest 1 hour"
1538
- msgstr "最新の1時間"
1539
-
1540
- #: admin/includes/tab-network.php:78
1541
- msgid "Latest 24 hours"
1542
- msgstr "最新の24時間"
1543
-
1544
- #: admin/includes/tab-network.php:79
1545
- msgid "Latest 1 week"
1546
- msgstr "最新の1週間"
1547
-
1548
- #: admin/includes/tab-network.php:92
1549
- msgid "Duration to retrieve"
1550
- msgstr "取得する期間"
1551
-
1552
  #: admin/includes/tab-statistics.php:19
1553
  msgid "Statistics of validation"
1554
  msgstr "検証の統計"
@@ -1648,35 +1612,72 @@ msgid ""
1648
  "Please set the proper condition to record and analyze the validation logs."
1649
  msgstr "検証のログを記録し分析するためには、適切な条件を設定して下さい。"
1650
 
1651
- #: admin/includes/class-admin-ajax.php:74
1652
- msgid "n/a"
1653
- msgstr "不明"
 
 
 
 
1654
 
1655
- #: admin/includes/class-admin-ajax.php:416
1656
  #, php-format
1657
- msgid ""
1658
- "illegal format at %s. Please delete the corresponding line and try again."
1659
- msgstr "%sは誤ったフォーマットです。該当行を削除し、再実行してください。"
1660
 
1661
- #: admin/includes/tab-geolocation.php:18
1662
- msgid "Search IP address geolocation"
1663
- msgstr "IPアドレスの位置情報を検索"
1664
 
1665
- #: admin/includes/tab-geolocation.php:42
1666
- msgid "Geolocation service"
1667
- msgstr "位置情報サービス"
1668
 
1669
- #: admin/includes/tab-geolocation.php:86
1670
- msgid "Find geolocation"
1671
- msgstr "位置情報の検索"
 
 
 
 
 
 
 
 
 
1672
 
1673
- #: admin/includes/tab-geolocation.php:94
1674
- msgid "Search now"
1675
- msgstr "今すぐ検索"
 
 
 
 
 
 
 
 
 
 
1676
 
1677
- #: wp-content/ip-geo-api/maxmind/class-maxmind-legacy.php:228
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1678
  #: wp-content/ip-geo-api/maxmind/class-maxmind-geolite2.php:144
1679
- #: wp-content/ip-geo-api/ip2location/class-ip2location.php:150
1680
  msgid "Database file does not exist."
1681
  msgstr "データベース・ファイルが見つかりません。"
1682
 
2
  # This file is distributed under the same license as the IP Geo Block package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: IP Geo Block 3.0.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ip-geo-block\n"
7
+ "POT-Creation-Date: 2018-02-04 12:53+0900\n"
8
+ "PO-Revision-Date: 2018-02-04 14:54+0900\n"
 
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.0.6\n"
14
  "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
15
  "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
+ "Last-Translator: tokkonopapa <tokkonopapa@yahoo.com>\n"
20
+ "Language: en_001\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
  #. Description of the plugin/theme
25
  "It blocks any spams, login attempts and malicious access to the admin area "
26
  "posted from outside your nation, and also prevents zero-day exploit."
27
  msgstr ""
28
+ "自国以外から投稿されるスパム、ログインフォーム、さらにゼロデイ攻撃を含む管理領"
29
+ "域への悪意あるアクセスからサイトを守ります。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
  #: admin/class-ip-geo-block-admin.php:266
32
  msgid "Import settings ?"
63
  #: admin/class-ip-geo-block-admin.php:274
64
  #, php-format
65
  msgid "[Found: %d]"
66
+ msgstr "[見つかった数:%d"
67
 
68
  #: admin/class-ip-geo-block-admin.php:275
69
  #, php-format
79
  msgstr "可視領域に選択された行が見つかりません。"
80
 
81
  #: admin/class-ip-geo-block-admin.php:278
82
+ #: admin/class-ip-geo-block-admin.php:1417
83
  #, php-format
84
  msgid "An error occurred while executing the ajax command `%s`."
85
  msgstr "Ajaxコマンド `%s` の実行中にエラーが発生しました。"
92
  msgid "No matching records found"
93
  msgstr "一致するレコードがありません"
94
 
95
+ #: admin/class-ip-geo-block-admin.php:284 admin/includes/tab-geolocation.php:71
 
96
  msgid "IP address"
97
  msgstr "IPアドレス"
98
 
148
  msgid "Contribute on GitHub"
149
  msgstr "開発に参加"
150
 
151
+ #: admin/class-ip-geo-block-admin.php:336 admin/class-ip-geo-block-admin.php:444
152
+ #: admin/class-ip-geo-block-admin.php:659 admin/class-ip-geo-block-admin.php:678
 
 
153
  msgid "Settings"
154
  msgstr "設定"
155
 
156
+ #: admin/class-ip-geo-block-admin.php:424 admin/class-ip-geo-block-admin.php:425
157
+ #: admin/class-ip-geo-block-admin.php:435 admin/class-ip-geo-block-admin.php:436
158
+ #: admin/class-ip-geo-block-admin.php:443 admin/class-ip-geo-block-admin.php:451
 
 
 
159
  msgid "IP Geo Block"
160
  msgstr "IP Geo Block"
161
 
162
+ #: admin/class-ip-geo-block-admin.php:452 admin/class-ip-geo-block-admin.php:663
163
+ #: admin/class-ip-geo-block-admin.php:679
 
164
  msgid "Site List"
165
  msgstr "サイト一覧"
166
 
175
  "please check your country code and &#8220;<strong>Matching rule</"
176
  "strong>&#8221; at <a href=\"%s\">Validation rule settings</a>."
177
  msgstr ""
178
+ "バックグラウンドで位置情報データベースをダウンロードしています。少しの間をおい"
179
+ "た後、あなたの国コードと[<strong>マッチング規則</strong>]を[<a href=\"%s\">"
180
+ "検証ルールの設定</a>]で確認して下さい。"
181
 
182
  #: admin/class-ip-geo-block-admin.php:493
183
  #, php-format
185
  "The &#8220;<strong>Matching rule</strong>&#8221; is not set properly. Please "
186
  "confirm it at <a href=\"%s\">Validation rule settings</a>."
187
  msgstr ""
188
+ "[<strong>マッチング規則</strong>]が正しく設定されていません。[<a href=\"%s"
189
+ "\">検証ルールの設定</a>]を確認して下さい。"
190
 
191
  #: admin/class-ip-geo-block-admin.php:502
192
  msgid "Local database and matching rule have been updated."
197
  "Once you logout, you will be unable to login again because the number of "
198
  "login attempts reaches the limit."
199
  msgstr ""
200
+ "あなたのIPアドレスのログイン試行可能回数がリミットに達したため、ログアウトする"
201
+ "と再びログインする事が出来なくなります。"
202
 
203
  #: admin/class-ip-geo-block-admin.php:515
204
  #, php-format
206
  "Please execute \"<strong>Clear cache</strong>\" on <a href=\"%s\">Statistics "
207
  "tab</a> to prevent locking yourself out."
208
  msgstr ""
209
+ "<a href=\"%s\">[統計]タブ</a>の[<strong>キャッシュのクリア</strong>]を実行"
210
+ "し、ロックアウトを回避してください。"
211
 
212
  #: admin/class-ip-geo-block-admin.php:525
213
  msgid ""
214
  "Once you logout, you will be unable to login again because your country code "
215
  "or IP address is in the blacklist."
216
  msgstr ""
217
+ "あなたの国コードまたはIPアドレスがブラックリストに含まれているため、ログアウト"
218
+ "すると再びログインする事が出来なくなります。"
219
 
220
  #: admin/class-ip-geo-block-admin.php:526
221
  msgid ""
222
  "Once you logout, you will be unable to login again because your country code "
223
  "or IP address is not in the whitelist."
224
  msgstr ""
225
+ "あなたの国コードまたはIPアドレスがホワイトリストに含まれていないため、ログアウ"
226
+ "トすると再びログインする事が出来なくなります。"
227
 
228
+ #: admin/class-ip-geo-block-admin.php:530
229
  #, php-format
230
+ msgid "Please check your &#8220;%sValidation rule settings%s&#8221;."
231
+ msgstr "[%s検証ルールの設定%s]を確認して下さい。"
232
 
233
+ #: admin/class-ip-geo-block-admin.php:534
234
+ #, php-format
235
+ msgid ""
236
+ "Please confirm your local geolocation databases at &#8220;%sLocal database "
237
+ "settings%s&#8221; section and remove your IP address in cache at &#8220;"
238
+ "%sStatistics in cache%s&#8221; section."
239
+ msgstr ""
240
+ "[%sローカル・データベースの設定%s]で位置情報データベースを確認し、[%sキャッ"
241
+ "シュの統計%s]でキャッシュされているあなたのIPアドレスを削除して下さい。"
242
+
243
+ #: admin/class-ip-geo-block-admin.php:547
244
  msgid ""
245
  "&#8220;mu-plugins&#8221; (ip-geo-block-mu.php) at &#8220;Validation "
246
  "timing&#8221; is imcompatible with <strong>IP Geo Allow</strong>. Please "
247
  "select &#8220;init&#8221; action hook."
248
  msgstr ""
249
+ "[検証のタイミング]に「&#8220;mu-plugins&#8221; (ip-geo-block-mu.php)」が選択"
250
+ "されていますが、<strong>IP Geo Allow</strong> と互換性がありません。「&#8220;"
251
+ "init&#8221; アクション・フック」を選択してください。"
252
 
253
+ #: admin/class-ip-geo-block-admin.php:660
254
  msgid "Statistics"
255
  msgstr "統計"
256
 
257
+ #: admin/class-ip-geo-block-admin.php:661
258
  msgid "Logs"
259
  msgstr "ログ"
260
 
261
+ #: admin/class-ip-geo-block-admin.php:662
262
  msgid "Search"
263
  msgstr "検索"
264
 
265
+ #: admin/class-ip-geo-block-admin.php:664
266
  msgid "Attribution"
267
  msgstr "リンク"
268
 
269
+ #: admin/class-ip-geo-block-admin.php:690
270
  msgid "Network wide"
271
  msgstr "ネットワーク一括管理"
272
 
273
+ #: admin/class-ip-geo-block-admin.php:703
274
  msgid "Toggle all"
275
  msgstr "全てを開閉"
276
 
277
+ #: admin/class-ip-geo-block-admin.php:706
278
  msgid ""
279
  "Independent of &#8220;Statistics and Logs settings&#8221;, you can see all "
280
  "the requests validated by this plugin in almost real time."
281
  msgstr ""
282
+ "[統計とログの設定]にかかわらず、このプラグインによる検証結果のすべてを、ほぼ"
283
+ "リアルタイムに表示します。"
284
 
285
+ #: admin/class-ip-geo-block-admin.php:706 admin/includes/tab-accesslog.php:37
286
  msgid "Live update"
287
  msgstr "ライブアップデート"
288
 
289
+ #: admin/class-ip-geo-block-admin.php:710
290
  msgid "Open a new window on clicking the link in the chart."
291
  msgstr "チャート内のリンクをクリックすると、新しいウィンドウが開きます。"
292
 
293
+ #: admin/class-ip-geo-block-admin.php:710
294
  msgid "Open a new window"
295
  msgstr "別窓で開く"
296
 
297
+ #: admin/class-ip-geo-block-admin.php:733
298
  msgid "Thanks for providing these great services for free."
299
  msgstr "これらのすばらしいサービスの提供元に、敬意と感謝の意を表します!"
300
 
301
+ #: admin/class-ip-geo-block-admin.php:734
302
  msgid ""
303
+ "(Most browsers will redirect you to each site <a href=\"http://www.ipgeoblock."
304
+ "com/etc/referer.html\" title=\"Referer Checker\">without referrer when you "
305
+ "click the link</a>.)"
306
  msgstr ""
307
+ "(ほとんどのブラウザでは、<a href=\"http://www.ipgeoblock.com/etc/referer.html"
308
+ "\" title=\"Referer Checker\">参照元を残さずにリンク先にリダイレクトできます</"
309
+ "a>。)"
310
 
311
+ #: admin/class-ip-geo-block-admin.php:739
312
  msgid "Back to top"
313
  msgstr "トップに戻る"
314
 
315
+ #: admin/class-ip-geo-block-admin.php:836
316
  msgid "Enable"
317
  msgstr "有効"
318
 
319
+ #: admin/class-ip-geo-block-admin.php:851
320
  msgid "Select one"
321
  msgstr "何れかを選択"
322
 
323
+ #: admin/class-ip-geo-block-admin.php:1240
324
+ #: admin/includes/class-admin-rewrite.php:194
325
+ #: classes/class-ip-geo-block-cron.php:228
326
+ #: classes/class-ip-geo-block-cron.php:332
327
+ #: classes/class-ip-geo-block-cron.php:406
328
+ #: classes/class-ip-geo-block-opts.php:426
329
+ #, php-format
330
+ msgid "Unable to write <code>%s</code>. Please check the permission."
331
+ msgstr "<code>%s</code> に書き込めません。パーミッションをチェックして下さい。"
332
+
333
+ #: admin/class-ip-geo-block-admin.php:1270
334
  msgid "Settings saved."
335
  msgstr "設定を保存しました。"
336
 
337
+ #: admin/includes/class-admin-ajax.php:74
338
+ msgid "n/a"
339
+ msgstr "不明"
340
+
341
+ #: admin/includes/class-admin-ajax.php:77 admin/includes/tab-settings.php:76
342
+ #: admin/includes/tab-settings.php:96
343
+ msgid "UNKNOWN"
344
+ msgstr "不明"
345
+
346
+ #: admin/includes/class-admin-ajax.php:416
347
+ #, php-format
348
+ msgid ""
349
+ "illegal format at %s. Please delete the corresponding line and try again."
350
+ msgstr "%sは誤ったフォーマットです。該当行を削除し、再実行してください。"
351
+
352
+ #: admin/includes/class-admin-rewrite.php:168
353
+ #: classes/class-ip-geo-block-cron.php:223
354
+ #: classes/class-ip-geo-block-cron.php:401
355
+ #, php-format
356
+ msgid "Unable to read <code>%s</code>. Please check the permission."
357
+ msgstr "<code>%s</code> が読めません。パーミッションをチェックして下さい。"
358
+
359
+ #: admin/includes/class-admin-rewrite.php:169
360
+ #: admin/includes/class-admin-rewrite.php:195
361
+ #, php-format
362
+ msgid "Or please refer to %s to set it manually."
363
+ msgstr "あるいは %s を参照し、手動で設定して下さい。"
364
+
365
+ #: admin/includes/class-admin-rewrite.php:234
366
+ #, php-format
367
+ msgid "&#8220;auto_prepend_file&#8221; already defined in %s."
368
+ msgstr "%s&thinsp;で既に「auto_prepend_file」が設定されています。"
369
+
370
  #: admin/includes/tab-accesslog.php:19
371
  msgid "Validation logs"
372
  msgstr "検証のログ"
471
  msgid "Attribution links"
472
  msgstr "リンク"
473
 
474
+ #: admin/includes/tab-geolocation.php:18
475
+ msgid "Search IP address geolocation"
476
+ msgstr "IPアドレスの位置情報を検索"
477
+
478
+ #: admin/includes/tab-geolocation.php:42
479
+ msgid "Geolocation service"
480
+ msgstr "位置情報サービス"
481
+
482
+ #: admin/includes/tab-geolocation.php:86
483
+ msgid "Find geolocation"
484
+ msgstr "位置情報の検索"
485
+
486
+ #: admin/includes/tab-geolocation.php:94
487
+ msgid "Search now"
488
+ msgstr "今すぐ検索"
489
+
490
+ #: admin/includes/tab-network.php:33
491
+ msgid "Blocked by target in logs"
492
+ msgstr "ログ中のターゲット毎遮断数"
493
+
494
+ #: admin/includes/tab-network.php:42
495
+ msgid "Rows"
496
+ msgstr "行数"
497
+
498
+ #: admin/includes/tab-network.php:47
499
+ msgid "Columns"
500
+ msgstr "列数"
501
+
502
+ #: admin/includes/tab-network.php:62
503
+ msgid "Chart display layout"
504
+ msgstr "チャートの表示レイアウト"
505
+
506
+ #: admin/includes/tab-network.php:77
507
+ msgid "Latest 1 hour"
508
+ msgstr "最新の1時間"
509
+
510
+ #: admin/includes/tab-network.php:78
511
+ msgid "Latest 24 hours"
512
+ msgstr "最新の24時間"
513
+
514
+ #: admin/includes/tab-network.php:79
515
+ msgid "Latest 1 week"
516
+ msgstr "最新の1週間"
517
+
518
+ #: admin/includes/tab-network.php:92
519
+ msgid "Duration to retrieve"
520
+ msgstr "取得する期間"
521
+
522
  #: admin/includes/tab-settings.php:44
523
  msgid "Validation rule settings"
524
  msgstr "検証ルールの設定"
529
  "code by referring &#8220;Scan country code&#8221;.\">Your IP address / "
530
  "Country</dfn>"
531
  msgstr ""
532
+ "<dfn title=\"[国コードを検索する]を参照し、適切な位置情報APIと国コードを設定"
533
+ "して下さい。\">あなたのIPアドレス / 国コード</dfn>"
 
 
 
 
 
534
 
535
  #: admin/includes/tab-settings.php:77 admin/includes/tab-settings.php:97
536
  msgid "Scan all the APIs you selected at Geolocation API settings"
546
  "code by referring &#8220;Scan country code&#8221;.\">Server IP address / "
547
  "Country</dfn>"
548
  msgstr ""
549
+ "<dfn title=\"[国コードを検索する]を参照し、適切な位置情報APIと国コードを設定"
550
+ "して下さい。\">サーバーのIPアドレス / 国コード</dfn>"
551
 
552
  #: admin/includes/tab-settings.php:105
553
  msgid "Whitelist"
558
  msgstr "ブラックリスト"
559
 
560
  #: admin/includes/tab-settings.php:110
561
+ msgid "Please select either &#8220;Whitelist&#8221; or &#8220;Blacklist&#8221;."
 
562
  msgstr "「ホワイトリスト」または「ブラックリスト」のいずれかを選択して下さい。"
563
 
564
  #: admin/includes/tab-settings.php:111
565
  msgid ""
566
  "<dfn title=\"&#8220;Block by country&#8221; will be bypassed in case of "
567
  "empty. The special code &#8220;XX&#8221; is assigned as private IP address "
568
+ "including localhost. And &#8220;ZZ&#8221; is for unknown IP address (i.e. not "
569
+ "in the geolocation databases). Please use &#8220;YY&#8221; if you need the "
570
+ "code that does not correspond to any of the countries.\">Whitelist of country "
571
+ "code</dfn>"
572
  msgstr ""
573
  "<dfn title=\"空欄の場合、「国コードで遮断」はバイパスされます。特別なコード"
574
  "「XX」は、localhost&thinsp;を含むプライベート・アドレスに割り当てられ、また"
575
+ "「ZZ」は不明(位置情報データベースに未登録)を表します。どの国にもマッチさせな"
576
+ "いことが必要な場合には、「YY」を指定してください。\">国コードのホワイトリスト"
577
+ "</dfn>"
578
 
579
  #: admin/includes/tab-settings.php:112
580
  msgid ""
581
  "<dfn title=\"&#8220;Block by country&#8221; will be bypassed in case of "
582
  "empty. The special code &#8220;XX&#8221; is assigned as private IP address "
583
+ "including localhost. And &#8220;ZZ&#8221; is for unknown IP address (i.e. not "
584
+ "in the geolocation databases). Please use &#8220;YY&#8221; if you need the "
585
+ "code that does not correspond to any of the countries.\">Blacklist of country "
586
+ "code</dfn>"
587
  msgstr ""
588
  "<dfn title=\"空欄の場合、「国コードで遮断」はバイパスされます。特別なコード"
589
  "「XX」は、localhost&thinsp;を含むプライベート・アドレスに割り当てられ、また"
590
+ "「ZZ」は不明(位置情報データベースに未登録)を表します。どの国にもマッチさせな"
591
+ "いことが必要な場合には、「YY」を指定してください。\">国コードのブラックリスト"
592
+ "</dfn>"
593
 
594
  #: admin/includes/tab-settings.php:116
595
  msgid "(comma separated)"
614
  "sample.\"><span></span></a>&#8221; button (if exists) attached to the "
615
  "following list to confirm that the blocked request is not malicious."
616
  msgstr ""
617
+ "[例外]に追加する前に、以下の候補に付いたボタン&thinsp;&#8220;<a class=\"ip-"
618
+ "geo-block-icon ip-geo-block-icon-alert\" title=\"このボタンは単なるサンプルで"
619
+ "す。\"><span></span></a>&#8221;(もしあれば)をクリックし、遮断されたリクエス"
620
+ "トに悪意のないことを確認して下さい。"
621
 
622
  #: admin/includes/tab-settings.php:127 admin/includes/tab-settings.php:791
623
  msgid "Matching rule"
652
  #: admin/includes/tab-settings.php:197
653
  #, php-format
654
  msgid ""
655
+ "Some useful tools for investigating ASN are introduced in &#8220;%s&#8221;."
656
+ msgstr "AS番号の検索に役立つツールを &#8220;%s&#8221; に紹介しています。"
657
 
658
  #: admin/includes/tab-settings.php:206
659
  msgid ""
660
  "<dfn title=\"e.g. &#8220;192.0.64.0/18&#8221; for Jetpack server, "
661
+ "&#8220;69.46.36.0/27&#8221; for WordFence server or &#8220;AS32934&#8221; for "
662
+ "Facebook.\">Whitelist of extra IP addresses prior to country code</dfn>"
663
  msgstr ""
664
  "<dfn title=\"例)192.0.64.0/18(Jetpackサーバー)、69.46.36.0/27(WordFence"
665
+ "サーバー)、AS32934(Facebook)\">国コードに優先して検証するIPアドレスのホワイ"
666
+ "トリスト</dfn>"
667
 
668
  #: admin/includes/tab-settings.php:226
669
  msgid ""
683
  msgstr ""
684
  "<dfn title=\"あなたのサーバーがプロキシー・サーバーやロード・バランサーの背後"
685
  "に位置する場合には、クライアントのIPアドレスを抽出するために"
686
+ "「HTTP_X_FORWARDED_FOR」や「HTTP_X_REAL_IP」など、$_SERVER&thinsp;の適切なキー"
687
+ "を指定してください。\">IPアドレスを追加抽出する&thinsp;$_SERVER&thinsp;のキー"
688
+ "</dfn>"
689
 
690
  #: admin/includes/tab-settings.php:266
691
  msgid ""
697
  "block-decode\" title=\"When you find ugly character string in the text area, "
698
  "please click to restore.\"><span></span></a>)</nobr>"
699
  msgstr ""
700
+ "<dfn title=\"「国コードで遮断」および「ゼロデイ攻撃を遮断」とは独立に、[管理"
701
+ "領域]、[管理領域 ajax/post]、[プラグイン領域]、[テーマ領域]をターゲット"
702
+ "とした悪意のあるシグネチャを検証します。\">悪意のあるシグネチャ</dfn> "
703
  "<nobr>(<a class=\"ip-geo-block-icon ip-geo-block-icon-cycle\" id=\"ip-geo-"
704
  "block-decode\" title=\"文字化けした場合、クリックして復元して下さ"
705
  "い。\"><span></span></a>)</nobr>"
716
  "<dfn title=\"Put forbidden file extensions.\">Blacklist of forbidden file "
717
  "extensions</dfn>"
718
  msgstr ""
719
+ "<dfn title=\"禁止するファイルの拡張子を設定します。\">禁止するファイル拡張子の"
720
+ "ブラックリスト</dfn>"
721
 
722
  #: admin/includes/tab-settings.php:295
723
  msgid ""
728
  msgstr ""
729
  "<dfn title=\"検証する権限を指定します。アップローダーによっては、特定の権限を"
730
  "必要とする場合があります。デフォルトは、管理者(Administrator)、編集者"
731
+ "(Editor)、投稿者(Author)向けの「upload_files」です。空欄の場合、この検証は"
732
+ "スキップされます。\">検証する権限</dfn>"
733
 
734
  #: admin/includes/tab-settings.php:295
735
  msgid ""
737
  "Roles_and_Capabilities\" title=\"Roles and Capabilities &laquo; WordPress "
738
  "Codex\">Roles and Capabilities</a>&#8221;&thinsp;)"
739
  msgstr ""
740
+ "(&#8220;<a rel=\"noreferrer\" href=\"http://wpdocs.osdn.jp/%E3%83%A6%E3%83%BC"
741
  "%E3%82%B6%E3%83%BC%E3%81%AE%E7%A8%AE%E9%A1%9E%E3%81%A8%E6%A8%A9%E9%99%90\" "
742
+ "title=\"ユーザーの種類と権限 - WordPress Codex 日本語版\">ユーザーの種類と権限"
743
+ "</a>&#8220; を参照)"
744
 
745
  #: admin/includes/tab-settings.php:302
746
  msgid ""
751
  "this validation.\">Prevent malicious file uploading</dfn>"
752
  msgstr ""
753
  "<dfn title=\"ファイル・タイプを限定し、バックエンド、またはフロントエンドを経"
754
+ "由するマルウェアやバックドアのアップロードを遮断します。他のプラグインやテーマ"
755
+ "に先んじて確実に遮断するために、[検証のタイミング]を「&#8220;mu-"
756
  "plugins&#8221; (ip-geo-block-mu.php)」に設定することを検討してください。\">悪"
757
  "意のあるアップロード防止</dfn>"
758
 
775
  "<dfn title=\"You can put your original 403.php and so on into your theme "
776
  "directory.\">Response code</dfn> %s"
777
  msgstr ""
778
+ "<dfn title=\"テーマ・ディレクトリには&thinsp;403.php&thinsp;など、独自のファイ"
779
+ "ルを設置する事が出来ます。\">レスポンス・コード</dfn> %s"
780
 
781
  #: admin/includes/tab-settings.php:355 admin/includes/tab-settings.php:878
782
  msgid ""
783
  "<dfn title=\"Specify the URL for response code 2xx and 3xx. If it is pointed "
784
+ "to a public facing page, visitors would not be blocked on the page to prevent "
785
+ "loop of redirection even when you enable [Block by country] in [Front-end "
786
+ "target settings] section. Empty URL is altered to your home.\">Redirect URL</"
787
+ "dfn>"
788
  msgstr ""
789
  "<dfn title=\"レスポンス・コード&thinsp;2xx&thinsp;、3xx&thinsp;用のリダイレク"
790
  "ト先&thinsp;URL&thinsp;を指定します。リダイレクトのループを避けるため、自サイ"
791
+ "ト内の&thinsp;URL&thinsp;は[フロントエンドの設定]に関わらず遮断の対象外とな"
792
  "ります。空欄の場合、サイトのホームが使用されます。\">リダイレクト先&thinsp;"
793
  "URL</dfn>"
794
 
806
  "form&#8221;. Lockout period is defined as expiration time at &#8220;Cache "
807
  "settings&#8221;.\">Max number of failed login attempts per IP address</dfn>"
808
  msgstr ""
809
+ "<dfn title=\"XML-RPC]と[ログイン・フォーム]に適用されます。ロックアウト時"
810
+ "間は[キャッシュの設定]の[有効時間]で定義します。\">IPアドレス当たりのログ"
811
+ "イン試行可能回数</dfn>"
812
 
813
  #: admin/includes/tab-settings.php:418
814
  msgid "Select when to run the validation."
841
  "validation-timing.html' title='Validation timing | IP Geo Block'>some "
842
  "restrictions</a>."
843
  msgstr ""
844
+ "標準的な他のプラグインより早いタイミングで検証を実行します。これによりサーバー"
845
+ "の負荷は軽減されますが、<a rel='noreferrer' href='http://www.ipgeoblock.com/"
846
+ "codex/validation-timing.html' title='Validation timing | IP Geo Block'>幾つか"
847
+ "の制限事項</a>&thinsp;が生じます。"
848
 
849
  #: admin/includes/tab-settings.php:444
850
  msgid "Back-end target settings"
896
  "Regardless of the country code, it will block a malicious request related to "
897
  "the services only for the dashboard."
898
  msgstr ""
899
+ "国コードに拘らず、ダッシュボード向けサービスだけに関連する悪意のあるリクエスト"
900
+ "を遮断します。"
901
 
902
  #: admin/includes/tab-settings.php:563
903
  msgid "admin post for logged-in user"
914
  #: admin/includes/tab-settings.php:602
915
  msgid ""
916
  "Specify the action name (&#8220;action=&hellip;&#8221;) or the page name "
917
+ "(&#8220;page=&hellip;&#8221;) to prevent unintended blocking caused by &#8220;"
918
+ "Block by country&#8221; (for non logged-in user) and &#8220;Prevent Zero-day "
919
+ "Exploit&#8221; (for logged-in user)."
920
  msgstr ""
921
+ "「国コードで遮断」(未認証ユーザーの場合)および「ゼロデイ攻撃を遮断」(認証済"
922
+ "みユーザーの場合)が、意図しない遮断の原因となる場合、アクション名(&#8220;"
923
  "action=&hellip;&#8221; の &#8220;&hellip;&#8221; 部分)、またはページ名"
924
+ "(&#8220;page=&hellip;&#8221; の &#8220;&hellip;&#8221; 部分)を指定し、検証対"
925
+ "象から除外します。"
926
 
927
  #: admin/includes/tab-settings.php:602 admin/includes/tab-settings.php:680
928
  #: admin/includes/tab-settings.php:741
943
  "Regardless of the country code, it will block a malicious request to <code>"
944
  "%s&ctdot;/*.php</code>."
945
  msgstr ""
946
+ "国コードに拘らず、<code>%s&ctdot;/*.php</code>への悪意のあるリクエストを遮断し"
947
+ "ます。"
948
 
949
  #: admin/includes/tab-settings.php:621
950
  msgid ""
951
+ "Select the item which causes unintended blocking in order to exclude from the "
952
+ "validation target. Grayed item indicates &#8220;INACTIVE&#8221;."
953
  msgstr ""
954
+ "意図しない遮断の原因となる項目を選択し、検証対象から除外します。灰色で表示され"
955
+ "た項目は、「非アクティブ」であることを示しています。"
956
 
957
  #: admin/includes/tab-settings.php:622
958
  #, php-format
987
 
988
  #: admin/includes/tab-settings.php:784
989
  msgid "Follow &#8220;Validation rule settings&#8221;"
990
+ msgstr "[検証ルールの設定]に従う"
991
 
992
  #: admin/includes/tab-settings.php:846
993
  #, php-format
1010
  "<dfn title=\"Specify the individual post type on a single page as a blocking "
1011
  "target.\">Post type</dfn>"
1012
  msgstr ""
1013
+ "<dfn title=\"特定の投稿タイプのシングルページを遮断対象に指定します。\">投稿タ"
1014
+ "イプ</dfn>"
1015
 
1016
  #: admin/includes/tab-settings.php:936
1017
  msgid ""
1018
+ "<dfn title=\"Specify the individual category on a single page or archive page "
1019
+ "as a blocking target.\">Category</dfn>"
1020
  msgstr ""
1021
  "<dfn title=\"特定のカテゴリを含むシングルページかアーカイブページを遮断対象に"
1022
  "指定します。\">カテゴリ</dfn>"
1023
 
1024
  #: admin/includes/tab-settings.php:948
1025
  msgid ""
1026
+ "<dfn title=\"Specify the individual tag on a single page or archive page as a "
1027
+ "blocking target.\">Tag</dfn>"
1028
  msgstr ""
1029
  "<dfn title=\"特定のタグを含むシングルページかアーカイブページを遮断対象に指定"
1030
  "します。\">タグ</dfn>"
1047
 
1048
  #: admin/includes/tab-settings.php:978
1049
  msgid ""
1050
+ "Notice that &#8220;Validation timing&#8221; is deferred till &#8220;wp&#8221; "
1051
+ "action hook. It means that this feature would not be compatible with any page "
1052
+ "caching."
1053
  msgstr ""
1054
+ "[検証のタイミング]が &#8220;wp&#8221; アクション・フックまで遅延されます。こ"
1055
+ "れにより、ページ・キャッシュとの互換性がなくなることに注意してください。"
1056
 
1057
  #: admin/includes/tab-settings.php:988
1058
  msgid ""
1059
  "A part of user agent string and a qualification connected with a separator "
1060
+ "that indicates an applicable rule and can be &#8220;:&#8221; (pass) or &#8220;"
1061
+ "#&#8221; (block). A &#8220;qualification&#8221; can be &#8220;DNS&#8221;, "
1062
+ "&#8220;FEED&#8221;, country code or IP address with CIDR. A negative operator "
1063
+ "&#8220;!&#8221; can be placed just before a &#8220;qualification&#8221;."
 
1064
  msgstr ""
1065
+ "適用されるルールを表す記号(「:」は通過、「#」は遮断)で区切られたユーザーエー"
1066
+ "ジェント文字列の一部と「条件」のペアです。「条件」には「DNS」、「FEED」、国"
1067
+ "コード、または&nbsp;IPアドレス(CIDR記法)が使えます。また否定を表す記号「!」"
1068
+ "を「条件」の直前に配置する事が出来ます。"
1069
 
1070
  #: admin/includes/tab-settings.php:988
1071
  msgid "UA string and qualification"
1072
  msgstr "ユーザーエージェント(UA)文字列と条件"
1073
 
1074
  #: admin/includes/tab-settings.php:1007
1075
+ msgid "Specify the name of actions as exception that is invariably blocked."
1076
+ msgstr "常に遮断されるアクション名を例外として指定します。"
1077
 
1078
  #: admin/includes/tab-settings.php:1007
1079
  msgid "Excluded actions"
1087
  "return &#8220;true&#8221;."
1088
  msgstr ""
1089
  "DNS&thinsp;逆引きによりホストを検証します(幾らかのサーバー・リソースを消費し"
1090
+ "ます)。無効にした場合、[ユーザーエージェント文字列と条件]中の「HOST」、"
1091
  "「HOST=&hellip;」は常に真となります。"
1092
 
1093
  #: admin/includes/tab-settings.php:1026
1099
  "It enables to simulate validation without deployment. The results can be "
1100
  "found at &#8220;Public facing pages&#8221; in Logs."
1101
  msgstr ""
1102
+ "機能を有効にする事なくリクエストの検証をシミュレートします。結果はログで確認す"
1103
+ "る事が出来ます。"
1104
 
1105
  #: admin/includes/tab-settings.php:1043
1106
  msgid "Simulation mode"
1129
  "failed downloading <a rel=\"noreferrer\" href=\"https://github.com/"
1130
  "tokkonopapa/WordPress-IP-Geo-API/archive/master.zip\" title=\"Download the "
1131
  "contents of tokkonopapa/WordPress-IP-Geo-API as a zip file\">ZIP file</a> "
1132
+ "from <a rel=\"noreferrer\" href=\"https://github.com/tokkonopapa/WordPress-IP-"
1133
+ "Geo-API\" title=\"tokkonopapa/WordPress-IP-Geo-API - GitHub\">WordPress-IP-"
1134
+ "Geo-API</a>. Please install <code>ip-geo-api</code> with write permission "
1135
+ "according to <a rel=\"noreferrer\" href=\"http://www.ipgeoblock.com/codex/how-"
1136
+ "to-fix-permission-troubles.html\" title=\"How can I fix permission troubles? "
1137
+ "| IP Geo Block\">this instruction</a>."
1138
  msgstr ""
1139
  "<code>%s</code> に位置情報APIライブラリが見つかりません。<a rel=\"noreferrer"
1140
  "\" href=\"https://github.com/tokkonopapa/WordPress-IP-Geo-API\" title="
1141
  "\"tokkonopapa/WordPress-IP-Geo-API - GitHub\">WordPress-IP-Geo-API</a> から "
1142
  "<a rel=\"noreferrer\" href=\"https://github.com/tokkonopapa/WordPress-IP-Geo-"
1143
  "API/archive/master.zip\" title=\"Download the contents of tokkonopapa/"
1144
+ "WordPress-IP-Geo-API as a zip file\">ZIP file</a> のダウンロードに失敗したよう"
1145
+ "です。<a rel=\"noreferrer\" href=\"http://www.ipgeoblock.com/codex/how-to-fix-"
1146
+ "permission-troubles.html\" title=\"How can I fix permission troubles? | IP "
1147
+ "Geo Block\">FAQ</a> を参照し、適切な書き込み権限と共に <code>ip-geo-api</"
1148
  "code> をインストールしてください。"
1149
 
1150
  #: admin/includes/tab-settings.php:1116
1155
  msgid "database"
1156
  msgstr "ファイル"
1157
 
1158
+ #: admin/includes/tab-settings.php:1131 classes/class-ip-geo-block-cron.php:430
1159
+ #, php-format
1160
+ msgid "Last update: %s"
1161
+ msgstr "最終更新:%s"
1162
+
1163
  #: admin/includes/tab-settings.php:1140
1164
  msgid "Auto updating (once a month)"
1165
  msgstr "自動更新(月1回)"
1221
  "<dfn title=\"e.g. action, comment, log, pwd, FILES\">$_POST keys to be "
1222
  "recorded with their values in &#8220;Logs&#8221;</dfn>"
1223
  msgstr ""
1224
+ "<dfn title=\"例)action, comment, log, pwd, FILES\">ログに記録する際に内容を展"
1225
+ "開する$_POSTのキー</dfn>"
1226
 
1227
  #: admin/includes/tab-settings.php:1281
1228
  msgid "<dfn title=\"e.g. 123.456.789.***\">Anonymize IP address</dfn>"
1253
  "It takes a few tens of milliseconds as overhead. It can be safely used "
1254
  "without conflict with other plugins."
1255
  msgstr ""
1256
+ "数十ミリ秒のオーバーヘッドが生じますが、他のプラグインと競合することなく、安全"
1257
+ "に使用できます。"
1258
 
1259
  #: admin/includes/tab-settings.php:1316
1260
  msgid ""
1261
  "It takes a few milliseconds as overhead. There is a possibility of conflict "
1262
  "with other plugins using this method."
1263
  msgstr ""
1264
+ "数ミリ秒のオーバーヘッドが生じます。同手法を用いている他のプラグインと競合する"
1265
+ "可能性があります。"
1266
 
1267
  #: admin/includes/tab-settings.php:1325
1268
  msgid "Reset database source of &#8220;Live update&#8221;"
1292
 
1293
  #: admin/includes/tab-settings.php:1386
1294
  msgid "Number of entries to be displayed in cache"
1295
+ msgstr "[キャッシュ中のIPアドレス]に表示する最大数"
1296
 
1297
  #: admin/includes/tab-settings.php:1404
1298
  msgid "Submission settings"
1327
  "<dfn title=\"Synchronize all settings over the network wide.\">Network wide "
1328
  "settings</dfn>"
1329
  msgstr ""
1330
+ "<dfn title=\"全ての設定をネットワーク全体で同期させます。\">ネットワークの一括"
1331
+ "設定</dfn>"
1332
 
1333
  #: admin/includes/tab-settings.php:1472
1334
  msgid "Remove all settings at uninstallation"
1344
 
1345
  #: admin/includes/tab-settings.php:1504
1346
  msgid ""
1347
+ "You need to click the &#8220;Save Changes&#8221; button for imported settings "
1348
+ "to take effect."
1349
  msgstr ""
1350
+ "インポートされた設定を有効にするには、[変更を保存]ボタンをクリックする必要が"
1351
+ "あります。"
1352
 
1353
  #: admin/includes/tab-settings.php:1510
1354
  msgid "Export / Import settings"
1385
  "Import the preferred settings mainly by enabling Zero-day Exploit Prevention "
1386
  "for the &#8220;Back-end target settings&#8221;"
1387
  msgstr ""
1388
+ "「ゼロデイ攻撃の遮断」など、主に[バックエンドの設定]の推奨設定をインポートし"
1389
+ "ます。"
1390
 
1391
  #: admin/includes/tab-settings.php:1535
1392
  msgid "Best for Back-end"
1418
  msgstr ""
1419
  "<dfn title=\"予期しない遮断が発生した場合は、ダンプされたデバッグ情報を元にリ"
1420
  "クエストの遮断理由を推定し、問題解決に役立ててください。\">デバッグ情報</"
1421
+ "dfn><br />[ <a rel=\"noreferrer\" href=\"https://wordpress.org/support/plugin/"
1422
+ "ip-geo-block\" title=\"WordPress &#8250; Support &raquo; IP Geo Block\">サポー"
1423
+ "ト・フォーラム</a> ]"
1424
 
1425
  #: admin/includes/tab-settings.php:1586
1426
  msgid "Please copy &amp; paste when submitting your issue to support forum."
1446
  msgid ""
1447
  "If you have any troubles with these, please check FAQ at <a rel=\"noreferrer"
1448
  "\" href=\"https://wordpress.org/plugins/ip-geo-block/faq/\" title=\"IP Geo "
1449
+ "Block &mdash; WordPress Plugins\">WordPress.org</a> and <a rel=\"noreferrer\" "
1450
+ "href=\"http://www.ipgeoblock.com/codex/#faq\" title=\"Codex | IP Geo Block"
1451
  "\">Codex</a>."
1452
  msgstr ""
1453
  "何か問題が発生した場合は、<a rel=\"noreferrer\" href=\"https://wordpress.org/"
1458
 
1459
  #: admin/includes/tab-settings.php:1610
1460
  msgid ""
1461
+ "While Maxmind and IP2Location will fetch the local database, others will pass "
1462
+ "an IP address to the APIs via HTTP."
1463
  msgstr ""
1464
  "MaxmindとIP2Locationはローカルのデータベースを検索しますが、他はHTTPを介して"
1465
  "APIにIPアドレスを渡します。"
1475
  "Maxmind GeoLite2 databases and APIs need PHP version 5.4.0+ and %sPECL phar "
1476
  "2.0.0+%s."
1477
  msgstr ""
1478
+ "Maxmind GeoLite2&thinsp;データベースと&thinsp;API&thinsp;には、PHP&thinsp;バー"
1479
+ "ジョン&thinsp;5.4.0&thinsp;以上と&thinsp;%sPECL phar 2.0.0&thinsp;以上%sが必要"
1480
+ "です。"
1481
 
1482
  #: admin/includes/tab-settings.php:1628
1483
  msgid ""
1488
  msgstr ""
1489
  "キャッシュ・プラグインに関する制限事項を含め、詳しくはドキュメント &#8220;<a "
1490
  "rel=\"noreferrer\" href=\"http://www.ipgeoblock.com/codex/#blocking-on-front-"
1491
+ "end\" title=\"Codex | IP Geo Block\">Blocking on front-end</a>&#8221; を参照し"
1492
+ "てください。"
1493
 
1494
  #: admin/includes/tab-settings.php:1629
1495
  msgid ""
1496
+ "If you find any issues or have something to suggest, please feel free to open "
1497
+ "an issue at <a rel=\"noreferrer\" href=\"https://wordpress.org/support/plugin/"
1498
+ "ip-geo-block\" title=\"WordPress &#8250; Support &raquo; IP Geo Block"
1499
  "\">support forum</a>."
1500
  msgstr ""
1501
  "問題を発見したり改善の提案がある場合は、お気軽に <a rel=\"noreferrer\" href="
1502
  "\"https://wordpress.org/support/plugin/ip-geo-block\" title=\"WordPress "
1503
+ "&#8250; Support &raquo; IP Geo Block\">サポートフォーラム</a> に投稿をお願いし"
1504
+ "ます。"
1505
 
1506
  #: admin/includes/tab-settings.php:1636
1507
  msgid ""
1513
  "record-settings-and-logs.html\" title=\"Codex | IP Geo Block\">Record "
1514
  "settings and logs</a>&#8221; を参照ください。"
1515
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1516
  #: admin/includes/tab-statistics.php:19
1517
  msgid "Statistics of validation"
1518
  msgstr "検証の統計"
1612
  "Please set the proper condition to record and analyze the validation logs."
1613
  msgstr "検証のログを記録し分析するためには、適切な条件を設定して下さい。"
1614
 
1615
+ #: classes/class-ip-geo-block-apis.php:653
1616
+ msgid ""
1617
+ "You need to select at least one IP geolocation service. Otherwise "
1618
+ "<strong>you'll be blocked</strong> after the cache expires."
1619
+ msgstr ""
1620
+ "少なくとも1つ以上の位置情報サービスを選択して下さい。未選択の場合、キャッシュ"
1621
+ "の有効期限切れと共にロックアウトされます。"
1622
 
1623
+ #: classes/class-ip-geo-block-cron.php:233
1624
  #, php-format
1625
+ msgid "Can't lock <code>%s</code>. Please try again after a while."
1626
+ msgstr ""
1627
+ "<code>%s</code> をロック出来ません。パーミッションをチェックして下さい。"
1628
 
1629
+ #: classes/class-ip-geo-block-cron.php:312
1630
+ msgid "Your database file is up-to-date."
1631
+ msgstr "データベース・ファイルは最新です。"
1632
 
1633
+ #: classes/class-ip-geo-block-cron.php:411
1634
+ msgid "gz or zip is not supported on your system."
1635
+ msgstr "gz または zip がサポートされていません。"
1636
 
1637
+ #: classes/class-ip-geo-block-file.php:54
1638
+ #, php-format
1639
+ msgid ""
1640
+ "This plugin does not support method &#8220;%s&#8221; for FTP or SSH based "
1641
+ "file operations. Please refer to <a href=\"https://codex.wordpress.org/"
1642
+ "Editing_wp-config.php#WordPress_Upgrade_Constants\" title=\"Editing wp-config."
1643
+ "php &laquo; WordPress Codex\">this document</a> for more details."
1644
+ msgstr ""
1645
+ "本プラグインは、メソッド「%s」による FTP あるいは SSH を使ったファイル操作をサ"
1646
+ "ポートしていません。詳しくは、<a href=\"https://codex.wordpress.org/"
1647
+ "Editing_wp-config.php#WordPress_Upgrade_Constants\" title=\"Editing wp-config."
1648
+ "php &laquo; WordPress Codex\">このドキュメント</a>を参照してください。"
1649
 
1650
+ #: classes/class-ip-geo-block-file.php:68
1651
+ msgid ""
1652
+ "You should define some constants in your <code>wp-config.php</code> for FTP "
1653
+ "or SSH based file operations. Please refer to <a href=\"https://codex."
1654
+ "wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants\" title="
1655
+ "\"Editing wp-config.php &laquo; WordPress Codex\">this document</a> for more "
1656
+ "details."
1657
+ msgstr ""
1658
+ "本プラグイン FTP あるいは SSH を使ったファイル操作を有効にするためには、"
1659
+ "<code>wp-config.php</code> に幾つかの定義が必要です。詳しくは、<a href="
1660
+ "\"https://codex.wordpress.org/Editing_wp-config."
1661
+ "php#WordPress_Upgrade_Constants\" title=\"Editing wp-config.php &laquo; "
1662
+ "WordPress Codex\">このドキュメント</a>を参照してください。"
1663
 
1664
+ #: classes/class-ip-geo-block-logs.php:169
1665
+ #, php-format
1666
+ msgid ""
1667
+ "Creating a DB table %s had failed. Once de-activate this plugin, and then "
1668
+ "activate again."
1669
+ msgstr ""
1670
+ "%s 用のテーブルが作成されていません。一旦このプラグインを無効化し、再度有効化"
1671
+ "して下さい。"
1672
+
1673
+ #: classes/class-ip-geo-block-logs.php:639
1674
+ #, php-format
1675
+ msgid "The user %s (user ID: %d) is in use."
1676
+ msgstr "ユーザー %s(ユーザーID:%d)が使用中です。"
1677
+
1678
+ #: wp-content/ip-geo-api/ip2location/class-ip2location.php:151
1679
  #: wp-content/ip-geo-api/maxmind/class-maxmind-geolite2.php:144
1680
+ #: wp-content/ip-geo-api/maxmind/class-maxmind-legacy.php:228
1681
  msgid "Database file does not exist."
1682
  msgstr "データベース・ファイルが見つかりません。"
1683
 
languages/ip-geo-block.mo CHANGED
Binary file
languages/ip-geo-block.po CHANGED
@@ -2,21 +2,22 @@
2
  # This file is distributed under the same license as the IP Geo Block package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: IP Geo Block 3.0.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ip-geo-block\n"
7
- "POT-Creation-Date: 2018-01-24 21:16+0900\n"
8
- "PO-Revision-Date: 2018-01-24 21:18+0900\n"
9
- "Last-Translator: tokkonopapa <tokkonopapa@yahoo.com>\n"
10
  "Language-Team: \n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "X-Generator: Poedit 1.5.5\n"
15
  "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
16
  "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
17
- "X-Poedit-Basepath: ../\n"
18
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
  "X-Poedit-SourceCharset: UTF-8\n"
 
 
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  #. Description of the plugin/theme
@@ -25,78 +26,6 @@ msgid ""
25
  "posted from outside your nation, and also prevents zero-day exploit."
26
  msgstr ""
27
 
28
- #: classes/class-ip-geo-block-opts.php:422
29
- #: classes/class-ip-geo-block-cron.php:224
30
- #: classes/class-ip-geo-block-cron.php:328
31
- #: classes/class-ip-geo-block-cron.php:402
32
- #: admin/class-ip-geo-block-admin.php:1224
33
- #: admin/includes/class-admin-rewrite.php:194
34
- #, php-format
35
- msgid "Unable to write <code>%s</code>. Please check the permission."
36
- msgstr ""
37
-
38
- #: classes/class-ip-geo-block-cron.php:219
39
- #: classes/class-ip-geo-block-cron.php:397
40
- #: admin/includes/class-admin-rewrite.php:168
41
- #, php-format
42
- msgid "Unable to read <code>%s</code>. Please check the permission."
43
- msgstr ""
44
-
45
- #: classes/class-ip-geo-block-cron.php:229
46
- #, php-format
47
- msgid "Can't lock <code>%s</code>. Please try again after a while."
48
- msgstr ""
49
-
50
- #: classes/class-ip-geo-block-cron.php:308
51
- msgid "Your database file is up-to-date."
52
- msgstr ""
53
-
54
- #: classes/class-ip-geo-block-cron.php:407
55
- msgid "gz or zip is not supported on your system."
56
- msgstr ""
57
-
58
- #: classes/class-ip-geo-block-cron.php:426
59
- #: admin/includes/tab-settings.php:1131
60
- #, php-format
61
- msgid "Last update: %s"
62
- msgstr ""
63
-
64
- #: classes/class-ip-geo-block-file.php:54
65
- #, php-format
66
- msgid ""
67
- "This plugin does not support method &#8220;%s&#8221; for FTP or SSH based "
68
- "file operations. Please refer to <a href=\"https://codex.wordpress.org/"
69
- "Editing_wp-config.php#WordPress_Upgrade_Constants\" title=\"Editing wp-"
70
- "config.php &laquo; WordPress Codex\">this document</a> for more details."
71
- msgstr ""
72
-
73
- #: classes/class-ip-geo-block-file.php:68
74
- msgid ""
75
- "You should define some constants in your <code>wp-config.php</code> for FTP "
76
- "or SSH based file operations. Please refer to <a href=\"https://codex."
77
- "wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants\" title="
78
- "\"Editing wp-config.php &laquo; WordPress Codex\">this document</a> for more "
79
- "details."
80
- msgstr ""
81
-
82
- #: classes/class-ip-geo-block-logs.php:169
83
- #, php-format
84
- msgid ""
85
- "Creating a DB table %s had failed. Once de-activate this plugin, and then "
86
- "activate again."
87
- msgstr ""
88
-
89
- #: classes/class-ip-geo-block-logs.php:639
90
- #, php-format
91
- msgid "The user %s (user ID: %d) is in use."
92
- msgstr ""
93
-
94
- #: classes/class-ip-geo-block-apis.php:653
95
- msgid ""
96
- "You need to select at least one IP geolocation service. Otherwise "
97
- "<strong>you'll be blocked</strong> after the cache expires."
98
- msgstr ""
99
-
100
  #: admin/class-ip-geo-block-admin.php:266
101
  msgid "Import settings ?"
102
  msgstr ""
@@ -148,7 +77,7 @@ msgid "The selected row cannot be found in the visible area."
148
  msgstr ""
149
 
150
  #: admin/class-ip-geo-block-admin.php:278
151
- #: admin/class-ip-geo-block-admin.php:1401
152
  #, php-format
153
  msgid "An error occurred while executing the ajax command `%s`."
154
  msgstr ""
@@ -161,8 +90,7 @@ msgstr ""
161
  msgid "No matching records found"
162
  msgstr ""
163
 
164
- #: admin/class-ip-geo-block-admin.php:284
165
- #: admin/includes/tab-geolocation.php:71
166
  msgid "IP address"
167
  msgstr ""
168
 
@@ -220,8 +148,8 @@ msgstr ""
220
 
221
  #: admin/class-ip-geo-block-admin.php:336
222
  #: admin/class-ip-geo-block-admin.php:444
223
- #: admin/class-ip-geo-block-admin.php:652
224
- #: admin/class-ip-geo-block-admin.php:671
225
  msgid "Settings"
226
  msgstr ""
227
 
@@ -235,8 +163,8 @@ msgid "IP Geo Block"
235
  msgstr ""
236
 
237
  #: admin/class-ip-geo-block-admin.php:452
238
- #: admin/class-ip-geo-block-admin.php:656
239
- #: admin/class-ip-geo-block-admin.php:672
240
  msgid "Site List"
241
  msgstr ""
242
 
@@ -288,87 +216,138 @@ msgid ""
288
  "or IP address is not in the whitelist."
289
  msgstr ""
290
 
291
- #: admin/class-ip-geo-block-admin.php:529
292
  #, php-format
293
- msgid "Please check your <a href=\"%s\">Validation rule settings</a>."
294
  msgstr ""
295
 
296
- #: admin/class-ip-geo-block-admin.php:540
 
 
 
 
 
 
 
 
297
  msgid ""
298
  "&#8220;mu-plugins&#8221; (ip-geo-block-mu.php) at &#8220;Validation "
299
  "timing&#8221; is imcompatible with <strong>IP Geo Allow</strong>. Please "
300
  "select &#8220;init&#8221; action hook."
301
  msgstr ""
302
 
303
- #: admin/class-ip-geo-block-admin.php:653
304
  msgid "Statistics"
305
  msgstr ""
306
 
307
- #: admin/class-ip-geo-block-admin.php:654
308
  msgid "Logs"
309
  msgstr ""
310
 
311
- #: admin/class-ip-geo-block-admin.php:655
312
  msgid "Search"
313
  msgstr ""
314
 
315
- #: admin/class-ip-geo-block-admin.php:657
316
  msgid "Attribution"
317
  msgstr ""
318
 
319
- #: admin/class-ip-geo-block-admin.php:683
320
  msgid "Network wide"
321
  msgstr ""
322
 
323
- #: admin/class-ip-geo-block-admin.php:696
324
  msgid "Toggle all"
325
  msgstr ""
326
 
327
- #: admin/class-ip-geo-block-admin.php:699
328
  msgid ""
329
  "Independent of &#8220;Statistics and Logs settings&#8221;, you can see all "
330
  "the requests validated by this plugin in almost real time."
331
  msgstr ""
332
 
333
- #: admin/class-ip-geo-block-admin.php:699 admin/includes/tab-accesslog.php:37
334
  msgid "Live update"
335
  msgstr ""
336
 
337
- #: admin/class-ip-geo-block-admin.php:703
338
  msgid "Open a new window on clicking the link in the chart."
339
  msgstr ""
340
 
341
- #: admin/class-ip-geo-block-admin.php:703
342
  msgid "Open a new window"
343
  msgstr ""
344
 
345
- #: admin/class-ip-geo-block-admin.php:726
346
  msgid "Thanks for providing these great services for free."
347
  msgstr ""
348
 
349
- #: admin/class-ip-geo-block-admin.php:727
350
  msgid ""
351
  "(Most browsers will redirect you to each site <a href=\"http://www."
352
  "ipgeoblock.com/etc/referer.html\" title=\"Referer Checker\">without referrer "
353
  "when you click the link</a>.)"
354
  msgstr ""
355
 
356
- #: admin/class-ip-geo-block-admin.php:732
357
  msgid "Back to top"
358
  msgstr ""
359
 
360
- #: admin/class-ip-geo-block-admin.php:829
361
  msgid "Enable"
362
  msgstr ""
363
 
364
- #: admin/class-ip-geo-block-admin.php:844
365
  msgid "Select one"
366
  msgstr ""
367
 
368
- #: admin/class-ip-geo-block-admin.php:1254
 
 
 
 
 
 
 
 
 
 
369
  msgid "Settings saved."
370
  msgstr ""
371
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
  #: admin/includes/tab-accesslog.php:19
373
  msgid "Validation logs"
374
  msgstr ""
@@ -471,6 +450,54 @@ msgstr ""
471
  msgid "Attribution links"
472
  msgstr ""
473
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
474
  #: admin/includes/tab-settings.php:44
475
  msgid "Validation rule settings"
476
  msgstr ""
@@ -482,11 +509,6 @@ msgid ""
482
  "Country</dfn>"
483
  msgstr ""
484
 
485
- #: admin/includes/tab-settings.php:76 admin/includes/tab-settings.php:96
486
- #: admin/includes/class-admin-ajax.php:77
487
- msgid "UNKNOWN"
488
- msgstr ""
489
-
490
  #: admin/includes/tab-settings.php:77 admin/includes/tab-settings.php:97
491
  msgid "Scan all the APIs you selected at Geolocation API settings"
492
  msgstr ""
@@ -585,7 +607,7 @@ msgstr ""
585
  #: admin/includes/tab-settings.php:197
586
  #, php-format
587
  msgid ""
588
- "Some useful tools for investigating ASN are introduced in &#8220;%s&#8221;."
589
  msgstr ""
590
 
591
  #: admin/includes/tab-settings.php:206
@@ -924,7 +946,7 @@ msgid "UA string and qualification"
924
  msgstr ""
925
 
926
  #: admin/includes/tab-settings.php:1007
927
- msgid "Specify the name of action that is invariably blocked."
928
  msgstr ""
929
 
930
  #: admin/includes/tab-settings.php:1007
@@ -990,6 +1012,11 @@ msgstr ""
990
  msgid "database"
991
  msgstr ""
992
 
 
 
 
 
 
993
  #: admin/includes/tab-settings.php:1140
994
  msgid "Auto updating (once a month)"
995
  msgstr ""
@@ -1295,49 +1322,6 @@ msgid ""
1295
  "Block\">Record settings and logs</a>&#8221; for details."
1296
  msgstr ""
1297
 
1298
- #: admin/includes/class-admin-rewrite.php:169
1299
- #: admin/includes/class-admin-rewrite.php:195
1300
- #, php-format
1301
- msgid "Or please refer to %s to set it manually."
1302
- msgstr ""
1303
-
1304
- #: admin/includes/class-admin-rewrite.php:234
1305
- #, php-format
1306
- msgid "&#8220;auto_prepend_file&#8221; already defined in %s."
1307
- msgstr ""
1308
-
1309
- #: admin/includes/tab-network.php:33
1310
- msgid "Blocked by target in logs"
1311
- msgstr ""
1312
-
1313
- #: admin/includes/tab-network.php:42
1314
- msgid "Rows"
1315
- msgstr ""
1316
-
1317
- #: admin/includes/tab-network.php:47
1318
- msgid "Columns"
1319
- msgstr ""
1320
-
1321
- #: admin/includes/tab-network.php:62
1322
- msgid "Chart display layout"
1323
- msgstr ""
1324
-
1325
- #: admin/includes/tab-network.php:77
1326
- msgid "Latest 1 hour"
1327
- msgstr ""
1328
-
1329
- #: admin/includes/tab-network.php:78
1330
- msgid "Latest 24 hours"
1331
- msgstr ""
1332
-
1333
- #: admin/includes/tab-network.php:79
1334
- msgid "Latest 1 week"
1335
- msgstr ""
1336
-
1337
- #: admin/includes/tab-network.php:92
1338
- msgid "Duration to retrieve"
1339
- msgstr ""
1340
-
1341
  #: admin/includes/tab-statistics.php:19
1342
  msgid "Statistics of validation"
1343
  msgstr ""
@@ -1435,35 +1419,58 @@ msgid ""
1435
  "Please set the proper condition to record and analyze the validation logs."
1436
  msgstr ""
1437
 
1438
- #: admin/includes/class-admin-ajax.php:74
1439
- msgid "n/a"
 
 
1440
  msgstr ""
1441
 
1442
- #: admin/includes/class-admin-ajax.php:416
1443
  #, php-format
1444
- msgid ""
1445
- "illegal format at %s. Please delete the corresponding line and try again."
1446
  msgstr ""
1447
 
1448
- #: admin/includes/tab-geolocation.php:18
1449
- msgid "Search IP address geolocation"
1450
  msgstr ""
1451
 
1452
- #: admin/includes/tab-geolocation.php:42
1453
- msgid "Geolocation service"
1454
  msgstr ""
1455
 
1456
- #: admin/includes/tab-geolocation.php:86
1457
- msgid "Find geolocation"
 
 
 
 
 
1458
  msgstr ""
1459
 
1460
- #: admin/includes/tab-geolocation.php:94
1461
- msgid "Search now"
 
 
 
 
 
1462
  msgstr ""
1463
 
1464
- #: wp-content/ip-geo-api/maxmind/class-maxmind-legacy.php:228
 
 
 
 
 
 
 
 
 
 
 
 
1465
  #: wp-content/ip-geo-api/maxmind/class-maxmind-geolite2.php:144
1466
- #: wp-content/ip-geo-api/ip2location/class-ip2location.php:150
1467
  msgid "Database file does not exist."
1468
  msgstr ""
1469
 
2
  # This file is distributed under the same license as the IP Geo Block package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: IP Geo Block 3.0.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ip-geo-block\n"
7
+ "POT-Creation-Date: 2018-02-04 12:53+0900\n"
8
+ "PO-Revision-Date: 2018-02-04 14:53+0900\n"
 
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.0.6\n"
14
  "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
15
  "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
+ "Last-Translator: tokkonopapa <tokkonopapa@yahoo.com>\n"
20
+ "Language: en_001\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
  #. Description of the plugin/theme
26
  "posted from outside your nation, and also prevents zero-day exploit."
27
  msgstr ""
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  #: admin/class-ip-geo-block-admin.php:266
30
  msgid "Import settings ?"
31
  msgstr ""
77
  msgstr ""
78
 
79
  #: admin/class-ip-geo-block-admin.php:278
80
+ #: admin/class-ip-geo-block-admin.php:1417
81
  #, php-format
82
  msgid "An error occurred while executing the ajax command `%s`."
83
  msgstr ""
90
  msgid "No matching records found"
91
  msgstr ""
92
 
93
+ #: admin/class-ip-geo-block-admin.php:284 admin/includes/tab-geolocation.php:71
 
94
  msgid "IP address"
95
  msgstr ""
96
 
148
 
149
  #: admin/class-ip-geo-block-admin.php:336
150
  #: admin/class-ip-geo-block-admin.php:444
151
+ #: admin/class-ip-geo-block-admin.php:659
152
+ #: admin/class-ip-geo-block-admin.php:678
153
  msgid "Settings"
154
  msgstr ""
155
 
163
  msgstr ""
164
 
165
  #: admin/class-ip-geo-block-admin.php:452
166
+ #: admin/class-ip-geo-block-admin.php:663
167
+ #: admin/class-ip-geo-block-admin.php:679
168
  msgid "Site List"
169
  msgstr ""
170
 
216
  "or IP address is not in the whitelist."
217
  msgstr ""
218
 
219
+ #: admin/class-ip-geo-block-admin.php:530
220
  #, php-format
221
+ msgid "Please check your &#8220;%sValidation rule settings%s&#8221;."
222
  msgstr ""
223
 
224
+ #: admin/class-ip-geo-block-admin.php:534
225
+ #, php-format
226
+ msgid ""
227
+ "Please confirm your local geolocation databases at &#8220;%sLocal database "
228
+ "settings%s&#8221; section and remove your IP address in cache at &#8220;"
229
+ "%sStatistics in cache%s&#8221; section."
230
+ msgstr ""
231
+
232
+ #: admin/class-ip-geo-block-admin.php:547
233
  msgid ""
234
  "&#8220;mu-plugins&#8221; (ip-geo-block-mu.php) at &#8220;Validation "
235
  "timing&#8221; is imcompatible with <strong>IP Geo Allow</strong>. Please "
236
  "select &#8220;init&#8221; action hook."
237
  msgstr ""
238
 
239
+ #: admin/class-ip-geo-block-admin.php:660
240
  msgid "Statistics"
241
  msgstr ""
242
 
243
+ #: admin/class-ip-geo-block-admin.php:661
244
  msgid "Logs"
245
  msgstr ""
246
 
247
+ #: admin/class-ip-geo-block-admin.php:662
248
  msgid "Search"
249
  msgstr ""
250
 
251
+ #: admin/class-ip-geo-block-admin.php:664
252
  msgid "Attribution"
253
  msgstr ""
254
 
255
+ #: admin/class-ip-geo-block-admin.php:690
256
  msgid "Network wide"
257
  msgstr ""
258
 
259
+ #: admin/class-ip-geo-block-admin.php:703
260
  msgid "Toggle all"
261
  msgstr ""
262
 
263
+ #: admin/class-ip-geo-block-admin.php:706
264
  msgid ""
265
  "Independent of &#8220;Statistics and Logs settings&#8221;, you can see all "
266
  "the requests validated by this plugin in almost real time."
267
  msgstr ""
268
 
269
+ #: admin/class-ip-geo-block-admin.php:706 admin/includes/tab-accesslog.php:37
270
  msgid "Live update"
271
  msgstr ""
272
 
273
+ #: admin/class-ip-geo-block-admin.php:710
274
  msgid "Open a new window on clicking the link in the chart."
275
  msgstr ""
276
 
277
+ #: admin/class-ip-geo-block-admin.php:710
278
  msgid "Open a new window"
279
  msgstr ""
280
 
281
+ #: admin/class-ip-geo-block-admin.php:733
282
  msgid "Thanks for providing these great services for free."
283
  msgstr ""
284
 
285
+ #: admin/class-ip-geo-block-admin.php:734
286
  msgid ""
287
  "(Most browsers will redirect you to each site <a href=\"http://www."
288
  "ipgeoblock.com/etc/referer.html\" title=\"Referer Checker\">without referrer "
289
  "when you click the link</a>.)"
290
  msgstr ""
291
 
292
+ #: admin/class-ip-geo-block-admin.php:739
293
  msgid "Back to top"
294
  msgstr ""
295
 
296
+ #: admin/class-ip-geo-block-admin.php:836
297
  msgid "Enable"
298
  msgstr ""
299
 
300
+ #: admin/class-ip-geo-block-admin.php:851
301
  msgid "Select one"
302
  msgstr ""
303
 
304
+ #: admin/class-ip-geo-block-admin.php:1240
305
+ #: admin/includes/class-admin-rewrite.php:194
306
+ #: classes/class-ip-geo-block-cron.php:228
307
+ #: classes/class-ip-geo-block-cron.php:332
308
+ #: classes/class-ip-geo-block-cron.php:406
309
+ #: classes/class-ip-geo-block-opts.php:426
310
+ #, php-format
311
+ msgid "Unable to write <code>%s</code>. Please check the permission."
312
+ msgstr ""
313
+
314
+ #: admin/class-ip-geo-block-admin.php:1270
315
  msgid "Settings saved."
316
  msgstr ""
317
 
318
+ #: admin/includes/class-admin-ajax.php:74
319
+ msgid "n/a"
320
+ msgstr ""
321
+
322
+ #: admin/includes/class-admin-ajax.php:77 admin/includes/tab-settings.php:76
323
+ #: admin/includes/tab-settings.php:96
324
+ msgid "UNKNOWN"
325
+ msgstr ""
326
+
327
+ #: admin/includes/class-admin-ajax.php:416
328
+ #, php-format
329
+ msgid ""
330
+ "illegal format at %s. Please delete the corresponding line and try again."
331
+ msgstr ""
332
+
333
+ #: admin/includes/class-admin-rewrite.php:168
334
+ #: classes/class-ip-geo-block-cron.php:223
335
+ #: classes/class-ip-geo-block-cron.php:401
336
+ #, php-format
337
+ msgid "Unable to read <code>%s</code>. Please check the permission."
338
+ msgstr ""
339
+
340
+ #: admin/includes/class-admin-rewrite.php:169
341
+ #: admin/includes/class-admin-rewrite.php:195
342
+ #, php-format
343
+ msgid "Or please refer to %s to set it manually."
344
+ msgstr ""
345
+
346
+ #: admin/includes/class-admin-rewrite.php:234
347
+ #, php-format
348
+ msgid "&#8220;auto_prepend_file&#8221; already defined in %s."
349
+ msgstr ""
350
+
351
  #: admin/includes/tab-accesslog.php:19
352
  msgid "Validation logs"
353
  msgstr ""
450
  msgid "Attribution links"
451
  msgstr ""
452
 
453
+ #: admin/includes/tab-geolocation.php:18
454
+ msgid "Search IP address geolocation"
455
+ msgstr ""
456
+
457
+ #: admin/includes/tab-geolocation.php:42
458
+ msgid "Geolocation service"
459
+ msgstr ""
460
+
461
+ #: admin/includes/tab-geolocation.php:86
462
+ msgid "Find geolocation"
463
+ msgstr ""
464
+
465
+ #: admin/includes/tab-geolocation.php:94
466
+ msgid "Search now"
467
+ msgstr ""
468
+
469
+ #: admin/includes/tab-network.php:33
470
+ msgid "Blocked by target in logs"
471
+ msgstr ""
472
+
473
+ #: admin/includes/tab-network.php:42
474
+ msgid "Rows"
475
+ msgstr ""
476
+
477
+ #: admin/includes/tab-network.php:47
478
+ msgid "Columns"
479
+ msgstr ""
480
+
481
+ #: admin/includes/tab-network.php:62
482
+ msgid "Chart display layout"
483
+ msgstr ""
484
+
485
+ #: admin/includes/tab-network.php:77
486
+ msgid "Latest 1 hour"
487
+ msgstr ""
488
+
489
+ #: admin/includes/tab-network.php:78
490
+ msgid "Latest 24 hours"
491
+ msgstr ""
492
+
493
+ #: admin/includes/tab-network.php:79
494
+ msgid "Latest 1 week"
495
+ msgstr ""
496
+
497
+ #: admin/includes/tab-network.php:92
498
+ msgid "Duration to retrieve"
499
+ msgstr ""
500
+
501
  #: admin/includes/tab-settings.php:44
502
  msgid "Validation rule settings"
503
  msgstr ""
509
  "Country</dfn>"
510
  msgstr ""
511
 
 
 
 
 
 
512
  #: admin/includes/tab-settings.php:77 admin/includes/tab-settings.php:97
513
  msgid "Scan all the APIs you selected at Geolocation API settings"
514
  msgstr ""
607
  #: admin/includes/tab-settings.php:197
608
  #, php-format
609
  msgid ""
610
+ "Some useful tools for investigating ASN are introduced in &#8220;%s&#8221;."
611
  msgstr ""
612
 
613
  #: admin/includes/tab-settings.php:206
946
  msgstr ""
947
 
948
  #: admin/includes/tab-settings.php:1007
949
+ msgid "Specify the name of actions as exception that is invariably blocked."
950
  msgstr ""
951
 
952
  #: admin/includes/tab-settings.php:1007
1012
  msgid "database"
1013
  msgstr ""
1014
 
1015
+ #: admin/includes/tab-settings.php:1131 classes/class-ip-geo-block-cron.php:430
1016
+ #, php-format
1017
+ msgid "Last update: %s"
1018
+ msgstr ""
1019
+
1020
  #: admin/includes/tab-settings.php:1140
1021
  msgid "Auto updating (once a month)"
1022
  msgstr ""
1322
  "Block\">Record settings and logs</a>&#8221; for details."
1323
  msgstr ""
1324
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1325
  #: admin/includes/tab-statistics.php:19
1326
  msgid "Statistics of validation"
1327
  msgstr ""
1419
  "Please set the proper condition to record and analyze the validation logs."
1420
  msgstr ""
1421
 
1422
+ #: classes/class-ip-geo-block-apis.php:653
1423
+ msgid ""
1424
+ "You need to select at least one IP geolocation service. Otherwise "
1425
+ "<strong>you'll be blocked</strong> after the cache expires."
1426
  msgstr ""
1427
 
1428
+ #: classes/class-ip-geo-block-cron.php:233
1429
  #, php-format
1430
+ msgid "Can't lock <code>%s</code>. Please try again after a while."
 
1431
  msgstr ""
1432
 
1433
+ #: classes/class-ip-geo-block-cron.php:312
1434
+ msgid "Your database file is up-to-date."
1435
  msgstr ""
1436
 
1437
+ #: classes/class-ip-geo-block-cron.php:411
1438
+ msgid "gz or zip is not supported on your system."
1439
  msgstr ""
1440
 
1441
+ #: classes/class-ip-geo-block-file.php:54
1442
+ #, php-format
1443
+ msgid ""
1444
+ "This plugin does not support method &#8220;%s&#8221; for FTP or SSH based "
1445
+ "file operations. Please refer to <a href=\"https://codex.wordpress.org/"
1446
+ "Editing_wp-config.php#WordPress_Upgrade_Constants\" title=\"Editing wp-"
1447
+ "config.php &laquo; WordPress Codex\">this document</a> for more details."
1448
  msgstr ""
1449
 
1450
+ #: classes/class-ip-geo-block-file.php:68
1451
+ msgid ""
1452
+ "You should define some constants in your <code>wp-config.php</code> for FTP "
1453
+ "or SSH based file operations. Please refer to <a href=\"https://codex."
1454
+ "wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants\" title="
1455
+ "\"Editing wp-config.php &laquo; WordPress Codex\">this document</a> for more "
1456
+ "details."
1457
  msgstr ""
1458
 
1459
+ #: classes/class-ip-geo-block-logs.php:169
1460
+ #, php-format
1461
+ msgid ""
1462
+ "Creating a DB table %s had failed. Once de-activate this plugin, and then "
1463
+ "activate again."
1464
+ msgstr ""
1465
+
1466
+ #: classes/class-ip-geo-block-logs.php:639
1467
+ #, php-format
1468
+ msgid "The user %s (user ID: %d) is in use."
1469
+ msgstr ""
1470
+
1471
+ #: wp-content/ip-geo-api/ip2location/class-ip2location.php:151
1472
  #: wp-content/ip-geo-api/maxmind/class-maxmind-geolite2.php:144
1473
+ #: wp-content/ip-geo-api/maxmind/class-maxmind-legacy.php:228
1474
  msgid "Database file does not exist."
1475
  msgstr ""
1476
 
languages/ip-geo-block.pot CHANGED
@@ -2,21 +2,22 @@
2
  # This file is distributed under the same license as the IP Geo Block package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: IP Geo Block 3.0.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ip-geo-block\n"
7
- "POT-Creation-Date: 2018-01-24 21:16+0900\n"
8
- "PO-Revision-Date: 2018-01-24 21:16+0900\n"
9
- "Last-Translator: tokkonopapa <tokkonopapa@yahoo.com>\n"
10
  "Language-Team: \n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "X-Generator: Poedit 1.5.5\n"
15
  "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
16
  "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
17
- "X-Poedit-Basepath: ../\n"
18
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
  "X-Poedit-SourceCharset: UTF-8\n"
 
 
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  #. Description of the plugin/theme
@@ -25,78 +26,6 @@ msgid ""
25
  "posted from outside your nation, and also prevents zero-day exploit."
26
  msgstr ""
27
 
28
- #: classes/class-ip-geo-block-opts.php:422
29
- #: classes/class-ip-geo-block-cron.php:224
30
- #: classes/class-ip-geo-block-cron.php:328
31
- #: classes/class-ip-geo-block-cron.php:402
32
- #: admin/class-ip-geo-block-admin.php:1224
33
- #: admin/includes/class-admin-rewrite.php:194
34
- #, php-format
35
- msgid "Unable to write <code>%s</code>. Please check the permission."
36
- msgstr ""
37
-
38
- #: classes/class-ip-geo-block-cron.php:219
39
- #: classes/class-ip-geo-block-cron.php:397
40
- #: admin/includes/class-admin-rewrite.php:168
41
- #, php-format
42
- msgid "Unable to read <code>%s</code>. Please check the permission."
43
- msgstr ""
44
-
45
- #: classes/class-ip-geo-block-cron.php:229
46
- #, php-format
47
- msgid "Can't lock <code>%s</code>. Please try again after a while."
48
- msgstr ""
49
-
50
- #: classes/class-ip-geo-block-cron.php:308
51
- msgid "Your database file is up-to-date."
52
- msgstr ""
53
-
54
- #: classes/class-ip-geo-block-cron.php:407
55
- msgid "gz or zip is not supported on your system."
56
- msgstr ""
57
-
58
- #: classes/class-ip-geo-block-cron.php:426
59
- #: admin/includes/tab-settings.php:1131
60
- #, php-format
61
- msgid "Last update: %s"
62
- msgstr ""
63
-
64
- #: classes/class-ip-geo-block-file.php:54
65
- #, php-format
66
- msgid ""
67
- "This plugin does not support method &#8220;%s&#8221; for FTP or SSH based "
68
- "file operations. Please refer to <a href=\"https://codex.wordpress.org/"
69
- "Editing_wp-config.php#WordPress_Upgrade_Constants\" title=\"Editing wp-"
70
- "config.php &laquo; WordPress Codex\">this document</a> for more details."
71
- msgstr ""
72
-
73
- #: classes/class-ip-geo-block-file.php:68
74
- msgid ""
75
- "You should define some constants in your <code>wp-config.php</code> for FTP "
76
- "or SSH based file operations. Please refer to <a href=\"https://codex."
77
- "wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants\" title="
78
- "\"Editing wp-config.php &laquo; WordPress Codex\">this document</a> for more "
79
- "details."
80
- msgstr ""
81
-
82
- #: classes/class-ip-geo-block-logs.php:169
83
- #, php-format
84
- msgid ""
85
- "Creating a DB table %s had failed. Once de-activate this plugin, and then "
86
- "activate again."
87
- msgstr ""
88
-
89
- #: classes/class-ip-geo-block-logs.php:639
90
- #, php-format
91
- msgid "The user %s (user ID: %d) is in use."
92
- msgstr ""
93
-
94
- #: classes/class-ip-geo-block-apis.php:653
95
- msgid ""
96
- "You need to select at least one IP geolocation service. Otherwise "
97
- "<strong>you'll be blocked</strong> after the cache expires."
98
- msgstr ""
99
-
100
  #: admin/class-ip-geo-block-admin.php:266
101
  msgid "Import settings ?"
102
  msgstr ""
@@ -148,7 +77,7 @@ msgid "The selected row cannot be found in the visible area."
148
  msgstr ""
149
 
150
  #: admin/class-ip-geo-block-admin.php:278
151
- #: admin/class-ip-geo-block-admin.php:1401
152
  #, php-format
153
  msgid "An error occurred while executing the ajax command `%s`."
154
  msgstr ""
@@ -161,8 +90,7 @@ msgstr ""
161
  msgid "No matching records found"
162
  msgstr ""
163
 
164
- #: admin/class-ip-geo-block-admin.php:284
165
- #: admin/includes/tab-geolocation.php:71
166
  msgid "IP address"
167
  msgstr ""
168
 
@@ -220,8 +148,8 @@ msgstr ""
220
 
221
  #: admin/class-ip-geo-block-admin.php:336
222
  #: admin/class-ip-geo-block-admin.php:444
223
- #: admin/class-ip-geo-block-admin.php:652
224
- #: admin/class-ip-geo-block-admin.php:671
225
  msgid "Settings"
226
  msgstr ""
227
 
@@ -235,8 +163,8 @@ msgid "IP Geo Block"
235
  msgstr ""
236
 
237
  #: admin/class-ip-geo-block-admin.php:452
238
- #: admin/class-ip-geo-block-admin.php:656
239
- #: admin/class-ip-geo-block-admin.php:672
240
  msgid "Site List"
241
  msgstr ""
242
 
@@ -288,87 +216,138 @@ msgid ""
288
  "or IP address is not in the whitelist."
289
  msgstr ""
290
 
291
- #: admin/class-ip-geo-block-admin.php:529
292
  #, php-format
293
- msgid "Please check your <a href=\"%s\">Validation rule settings</a>."
294
  msgstr ""
295
 
296
- #: admin/class-ip-geo-block-admin.php:540
 
 
 
 
 
 
 
 
297
  msgid ""
298
  "&#8220;mu-plugins&#8221; (ip-geo-block-mu.php) at &#8220;Validation "
299
  "timing&#8221; is imcompatible with <strong>IP Geo Allow</strong>. Please "
300
  "select &#8220;init&#8221; action hook."
301
  msgstr ""
302
 
303
- #: admin/class-ip-geo-block-admin.php:653
304
  msgid "Statistics"
305
  msgstr ""
306
 
307
- #: admin/class-ip-geo-block-admin.php:654
308
  msgid "Logs"
309
  msgstr ""
310
 
311
- #: admin/class-ip-geo-block-admin.php:655
312
  msgid "Search"
313
  msgstr ""
314
 
315
- #: admin/class-ip-geo-block-admin.php:657
316
  msgid "Attribution"
317
  msgstr ""
318
 
319
- #: admin/class-ip-geo-block-admin.php:683
320
  msgid "Network wide"
321
  msgstr ""
322
 
323
- #: admin/class-ip-geo-block-admin.php:696
324
  msgid "Toggle all"
325
  msgstr ""
326
 
327
- #: admin/class-ip-geo-block-admin.php:699
328
  msgid ""
329
  "Independent of &#8220;Statistics and Logs settings&#8221;, you can see all "
330
  "the requests validated by this plugin in almost real time."
331
  msgstr ""
332
 
333
- #: admin/class-ip-geo-block-admin.php:699 admin/includes/tab-accesslog.php:37
334
  msgid "Live update"
335
  msgstr ""
336
 
337
- #: admin/class-ip-geo-block-admin.php:703
338
  msgid "Open a new window on clicking the link in the chart."
339
  msgstr ""
340
 
341
- #: admin/class-ip-geo-block-admin.php:703
342
  msgid "Open a new window"
343
  msgstr ""
344
 
345
- #: admin/class-ip-geo-block-admin.php:726
346
  msgid "Thanks for providing these great services for free."
347
  msgstr ""
348
 
349
- #: admin/class-ip-geo-block-admin.php:727
350
  msgid ""
351
  "(Most browsers will redirect you to each site <a href=\"http://www."
352
  "ipgeoblock.com/etc/referer.html\" title=\"Referer Checker\">without referrer "
353
  "when you click the link</a>.)"
354
  msgstr ""
355
 
356
- #: admin/class-ip-geo-block-admin.php:732
357
  msgid "Back to top"
358
  msgstr ""
359
 
360
- #: admin/class-ip-geo-block-admin.php:829
361
  msgid "Enable"
362
  msgstr ""
363
 
364
- #: admin/class-ip-geo-block-admin.php:844
365
  msgid "Select one"
366
  msgstr ""
367
 
368
- #: admin/class-ip-geo-block-admin.php:1254
 
 
 
 
 
 
 
 
 
 
369
  msgid "Settings saved."
370
  msgstr ""
371
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
  #: admin/includes/tab-accesslog.php:19
373
  msgid "Validation logs"
374
  msgstr ""
@@ -471,6 +450,54 @@ msgstr ""
471
  msgid "Attribution links"
472
  msgstr ""
473
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
474
  #: admin/includes/tab-settings.php:44
475
  msgid "Validation rule settings"
476
  msgstr ""
@@ -482,11 +509,6 @@ msgid ""
482
  "Country</dfn>"
483
  msgstr ""
484
 
485
- #: admin/includes/tab-settings.php:76 admin/includes/tab-settings.php:96
486
- #: admin/includes/class-admin-ajax.php:77
487
- msgid "UNKNOWN"
488
- msgstr ""
489
-
490
  #: admin/includes/tab-settings.php:77 admin/includes/tab-settings.php:97
491
  msgid "Scan all the APIs you selected at Geolocation API settings"
492
  msgstr ""
@@ -585,7 +607,7 @@ msgstr ""
585
  #: admin/includes/tab-settings.php:197
586
  #, php-format
587
  msgid ""
588
- "Some useful tools for investigating ASN are introduced in &#8220;%s&#8221;."
589
  msgstr ""
590
 
591
  #: admin/includes/tab-settings.php:206
@@ -924,7 +946,7 @@ msgid "UA string and qualification"
924
  msgstr ""
925
 
926
  #: admin/includes/tab-settings.php:1007
927
- msgid "Specify the name of action that is invariably blocked."
928
  msgstr ""
929
 
930
  #: admin/includes/tab-settings.php:1007
@@ -990,6 +1012,11 @@ msgstr ""
990
  msgid "database"
991
  msgstr ""
992
 
 
 
 
 
 
993
  #: admin/includes/tab-settings.php:1140
994
  msgid "Auto updating (once a month)"
995
  msgstr ""
@@ -1295,49 +1322,6 @@ msgid ""
1295
  "Block\">Record settings and logs</a>&#8221; for details."
1296
  msgstr ""
1297
 
1298
- #: admin/includes/class-admin-rewrite.php:169
1299
- #: admin/includes/class-admin-rewrite.php:195
1300
- #, php-format
1301
- msgid "Or please refer to %s to set it manually."
1302
- msgstr ""
1303
-
1304
- #: admin/includes/class-admin-rewrite.php:234
1305
- #, php-format
1306
- msgid "&#8220;auto_prepend_file&#8221; already defined in %s."
1307
- msgstr ""
1308
-
1309
- #: admin/includes/tab-network.php:33
1310
- msgid "Blocked by target in logs"
1311
- msgstr ""
1312
-
1313
- #: admin/includes/tab-network.php:42
1314
- msgid "Rows"
1315
- msgstr ""
1316
-
1317
- #: admin/includes/tab-network.php:47
1318
- msgid "Columns"
1319
- msgstr ""
1320
-
1321
- #: admin/includes/tab-network.php:62
1322
- msgid "Chart display layout"
1323
- msgstr ""
1324
-
1325
- #: admin/includes/tab-network.php:77
1326
- msgid "Latest 1 hour"
1327
- msgstr ""
1328
-
1329
- #: admin/includes/tab-network.php:78
1330
- msgid "Latest 24 hours"
1331
- msgstr ""
1332
-
1333
- #: admin/includes/tab-network.php:79
1334
- msgid "Latest 1 week"
1335
- msgstr ""
1336
-
1337
- #: admin/includes/tab-network.php:92
1338
- msgid "Duration to retrieve"
1339
- msgstr ""
1340
-
1341
  #: admin/includes/tab-statistics.php:19
1342
  msgid "Statistics of validation"
1343
  msgstr ""
@@ -1435,35 +1419,58 @@ msgid ""
1435
  "Please set the proper condition to record and analyze the validation logs."
1436
  msgstr ""
1437
 
1438
- #: admin/includes/class-admin-ajax.php:74
1439
- msgid "n/a"
 
 
1440
  msgstr ""
1441
 
1442
- #: admin/includes/class-admin-ajax.php:416
1443
  #, php-format
1444
- msgid ""
1445
- "illegal format at %s. Please delete the corresponding line and try again."
1446
  msgstr ""
1447
 
1448
- #: admin/includes/tab-geolocation.php:18
1449
- msgid "Search IP address geolocation"
1450
  msgstr ""
1451
 
1452
- #: admin/includes/tab-geolocation.php:42
1453
- msgid "Geolocation service"
1454
  msgstr ""
1455
 
1456
- #: admin/includes/tab-geolocation.php:86
1457
- msgid "Find geolocation"
 
 
 
 
 
1458
  msgstr ""
1459
 
1460
- #: admin/includes/tab-geolocation.php:94
1461
- msgid "Search now"
 
 
 
 
 
1462
  msgstr ""
1463
 
1464
- #: wp-content/ip-geo-api/maxmind/class-maxmind-legacy.php:228
 
 
 
 
 
 
 
 
 
 
 
 
1465
  #: wp-content/ip-geo-api/maxmind/class-maxmind-geolite2.php:144
1466
- #: wp-content/ip-geo-api/ip2location/class-ip2location.php:150
1467
  msgid "Database file does not exist."
1468
  msgstr ""
1469
 
2
  # This file is distributed under the same license as the IP Geo Block package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: IP Geo Block 3.0.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ip-geo-block\n"
7
+ "POT-Creation-Date: 2018-02-04 12:53+0900\n"
8
+ "PO-Revision-Date: 2018-02-04 14:53+0900\n"
 
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.0.6\n"
14
  "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
15
  "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
+ "Last-Translator: tokkonopapa <tokkonopapa@yahoo.com>\n"
20
+ "Language: en_001\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
  #. Description of the plugin/theme
26
  "posted from outside your nation, and also prevents zero-day exploit."
27
  msgstr ""
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  #: admin/class-ip-geo-block-admin.php:266
30
  msgid "Import settings ?"
31
  msgstr ""
77
  msgstr ""
78
 
79
  #: admin/class-ip-geo-block-admin.php:278
80
+ #: admin/class-ip-geo-block-admin.php:1417
81
  #, php-format
82
  msgid "An error occurred while executing the ajax command `%s`."
83
  msgstr ""
90
  msgid "No matching records found"
91
  msgstr ""
92
 
93
+ #: admin/class-ip-geo-block-admin.php:284 admin/includes/tab-geolocation.php:71
 
94
  msgid "IP address"
95
  msgstr ""
96
 
148
 
149
  #: admin/class-ip-geo-block-admin.php:336
150
  #: admin/class-ip-geo-block-admin.php:444
151
+ #: admin/class-ip-geo-block-admin.php:659
152
+ #: admin/class-ip-geo-block-admin.php:678
153
  msgid "Settings"
154
  msgstr ""
155
 
163
  msgstr ""
164
 
165
  #: admin/class-ip-geo-block-admin.php:452
166
+ #: admin/class-ip-geo-block-admin.php:663
167
+ #: admin/class-ip-geo-block-admin.php:679
168
  msgid "Site List"
169
  msgstr ""
170
 
216
  "or IP address is not in the whitelist."
217
  msgstr ""
218
 
219
+ #: admin/class-ip-geo-block-admin.php:530
220
  #, php-format
221
+ msgid "Please check your &#8220;%sValidation rule settings%s&#8221;."
222
  msgstr ""
223
 
224
+ #: admin/class-ip-geo-block-admin.php:534
225
+ #, php-format
226
+ msgid ""
227
+ "Please confirm your local geolocation databases at &#8220;%sLocal database "
228
+ "settings%s&#8221; section and remove your IP address in cache at &#8220;"
229
+ "%sStatistics in cache%s&#8221; section."
230
+ msgstr ""
231
+
232
+ #: admin/class-ip-geo-block-admin.php:547
233
  msgid ""
234
  "&#8220;mu-plugins&#8221; (ip-geo-block-mu.php) at &#8220;Validation "
235
  "timing&#8221; is imcompatible with <strong>IP Geo Allow</strong>. Please "
236
  "select &#8220;init&#8221; action hook."
237
  msgstr ""
238
 
239
+ #: admin/class-ip-geo-block-admin.php:660
240
  msgid "Statistics"
241
  msgstr ""
242
 
243
+ #: admin/class-ip-geo-block-admin.php:661
244
  msgid "Logs"
245
  msgstr ""
246
 
247
+ #: admin/class-ip-geo-block-admin.php:662
248
  msgid "Search"
249
  msgstr ""
250
 
251
+ #: admin/class-ip-geo-block-admin.php:664
252
  msgid "Attribution"
253
  msgstr ""
254
 
255
+ #: admin/class-ip-geo-block-admin.php:690
256
  msgid "Network wide"
257
  msgstr ""
258
 
259
+ #: admin/class-ip-geo-block-admin.php:703
260
  msgid "Toggle all"
261
  msgstr ""
262
 
263
+ #: admin/class-ip-geo-block-admin.php:706
264
  msgid ""
265
  "Independent of &#8220;Statistics and Logs settings&#8221;, you can see all "
266
  "the requests validated by this plugin in almost real time."
267
  msgstr ""
268
 
269
+ #: admin/class-ip-geo-block-admin.php:706 admin/includes/tab-accesslog.php:37
270
  msgid "Live update"
271
  msgstr ""
272
 
273
+ #: admin/class-ip-geo-block-admin.php:710
274
  msgid "Open a new window on clicking the link in the chart."
275
  msgstr ""
276
 
277
+ #: admin/class-ip-geo-block-admin.php:710
278
  msgid "Open a new window"
279
  msgstr ""
280
 
281
+ #: admin/class-ip-geo-block-admin.php:733
282
  msgid "Thanks for providing these great services for free."
283
  msgstr ""
284
 
285
+ #: admin/class-ip-geo-block-admin.php:734
286
  msgid ""
287
  "(Most browsers will redirect you to each site <a href=\"http://www."
288
  "ipgeoblock.com/etc/referer.html\" title=\"Referer Checker\">without referrer "
289
  "when you click the link</a>.)"
290
  msgstr ""
291
 
292
+ #: admin/class-ip-geo-block-admin.php:739
293
  msgid "Back to top"
294
  msgstr ""
295
 
296
+ #: admin/class-ip-geo-block-admin.php:836
297
  msgid "Enable"
298
  msgstr ""
299
 
300
+ #: admin/class-ip-geo-block-admin.php:851
301
  msgid "Select one"
302
  msgstr ""
303
 
304
+ #: admin/class-ip-geo-block-admin.php:1240
305
+ #: admin/includes/class-admin-rewrite.php:194
306
+ #: classes/class-ip-geo-block-cron.php:228
307
+ #: classes/class-ip-geo-block-cron.php:332
308
+ #: classes/class-ip-geo-block-cron.php:406
309
+ #: classes/class-ip-geo-block-opts.php:426
310
+ #, php-format
311
+ msgid "Unable to write <code>%s</code>. Please check the permission."
312
+ msgstr ""
313
+
314
+ #: admin/class-ip-geo-block-admin.php:1270
315
  msgid "Settings saved."
316
  msgstr ""
317
 
318
+ #: admin/includes/class-admin-ajax.php:74
319
+ msgid "n/a"
320
+ msgstr ""
321
+
322
+ #: admin/includes/class-admin-ajax.php:77 admin/includes/tab-settings.php:76
323
+ #: admin/includes/tab-settings.php:96
324
+ msgid "UNKNOWN"
325
+ msgstr ""
326
+
327
+ #: admin/includes/class-admin-ajax.php:416
328
+ #, php-format
329
+ msgid ""
330
+ "illegal format at %s. Please delete the corresponding line and try again."
331
+ msgstr ""
332
+
333
+ #: admin/includes/class-admin-rewrite.php:168
334
+ #: classes/class-ip-geo-block-cron.php:223
335
+ #: classes/class-ip-geo-block-cron.php:401
336
+ #, php-format
337
+ msgid "Unable to read <code>%s</code>. Please check the permission."
338
+ msgstr ""
339
+
340
+ #: admin/includes/class-admin-rewrite.php:169
341
+ #: admin/includes/class-admin-rewrite.php:195
342
+ #, php-format
343
+ msgid "Or please refer to %s to set it manually."
344
+ msgstr ""
345
+
346
+ #: admin/includes/class-admin-rewrite.php:234
347
+ #, php-format
348
+ msgid "&#8220;auto_prepend_file&#8221; already defined in %s."
349
+ msgstr ""
350
+
351
  #: admin/includes/tab-accesslog.php:19
352
  msgid "Validation logs"
353
  msgstr ""
450
  msgid "Attribution links"
451
  msgstr ""
452
 
453
+ #: admin/includes/tab-geolocation.php:18
454
+ msgid "Search IP address geolocation"
455
+ msgstr ""
456
+
457
+ #: admin/includes/tab-geolocation.php:42
458
+ msgid "Geolocation service"
459
+ msgstr ""
460
+
461
+ #: admin/includes/tab-geolocation.php:86
462
+ msgid "Find geolocation"
463
+ msgstr ""
464
+
465
+ #: admin/includes/tab-geolocation.php:94
466
+ msgid "Search now"
467
+ msgstr ""
468
+
469
+ #: admin/includes/tab-network.php:33
470
+ msgid "Blocked by target in logs"
471
+ msgstr ""
472
+
473
+ #: admin/includes/tab-network.php:42
474
+ msgid "Rows"
475
+ msgstr ""
476
+
477
+ #: admin/includes/tab-network.php:47
478
+ msgid "Columns"
479
+ msgstr ""
480
+
481
+ #: admin/includes/tab-network.php:62
482
+ msgid "Chart display layout"
483
+ msgstr ""
484
+
485
+ #: admin/includes/tab-network.php:77
486
+ msgid "Latest 1 hour"
487
+ msgstr ""
488
+
489
+ #: admin/includes/tab-network.php:78
490
+ msgid "Latest 24 hours"
491
+ msgstr ""
492
+
493
+ #: admin/includes/tab-network.php:79
494
+ msgid "Latest 1 week"
495
+ msgstr ""
496
+
497
+ #: admin/includes/tab-network.php:92
498
+ msgid "Duration to retrieve"
499
+ msgstr ""
500
+
501
  #: admin/includes/tab-settings.php:44
502
  msgid "Validation rule settings"
503
  msgstr ""
509
  "Country</dfn>"
510
  msgstr ""
511
 
 
 
 
 
 
512
  #: admin/includes/tab-settings.php:77 admin/includes/tab-settings.php:97
513
  msgid "Scan all the APIs you selected at Geolocation API settings"
514
  msgstr ""
607
  #: admin/includes/tab-settings.php:197
608
  #, php-format
609
  msgid ""
610
+ "Some useful tools for investigating ASN are introduced in &#8220;%s&#8221;."
611
  msgstr ""
612
 
613
  #: admin/includes/tab-settings.php:206
946
  msgstr ""
947
 
948
  #: admin/includes/tab-settings.php:1007
949
+ msgid "Specify the name of actions as exception that is invariably blocked."
950
  msgstr ""
951
 
952
  #: admin/includes/tab-settings.php:1007
1012
  msgid "database"
1013
  msgstr ""
1014
 
1015
+ #: admin/includes/tab-settings.php:1131 classes/class-ip-geo-block-cron.php:430
1016
+ #, php-format
1017
+ msgid "Last update: %s"
1018
+ msgstr ""
1019
+
1020
  #: admin/includes/tab-settings.php:1140
1021
  msgid "Auto updating (once a month)"
1022
  msgstr ""
1322
  "Block\">Record settings and logs</a>&#8221; for details."
1323
  msgstr ""
1324
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1325
  #: admin/includes/tab-statistics.php:19
1326
  msgid "Statistics of validation"
1327
  msgstr ""
1419
  "Please set the proper condition to record and analyze the validation logs."
1420
  msgstr ""
1421
 
1422
+ #: classes/class-ip-geo-block-apis.php:653
1423
+ msgid ""
1424
+ "You need to select at least one IP geolocation service. Otherwise "
1425
+ "<strong>you'll be blocked</strong> after the cache expires."
1426
  msgstr ""
1427
 
1428
+ #: classes/class-ip-geo-block-cron.php:233
1429
  #, php-format
1430
+ msgid "Can't lock <code>%s</code>. Please try again after a while."
 
1431
  msgstr ""
1432
 
1433
+ #: classes/class-ip-geo-block-cron.php:312
1434
+ msgid "Your database file is up-to-date."
1435
  msgstr ""
1436
 
1437
+ #: classes/class-ip-geo-block-cron.php:411
1438
+ msgid "gz or zip is not supported on your system."
1439
  msgstr ""
1440
 
1441
+ #: classes/class-ip-geo-block-file.php:54
1442
+ #, php-format
1443
+ msgid ""
1444
+ "This plugin does not support method &#8220;%s&#8221; for FTP or SSH based "
1445
+ "file operations. Please refer to <a href=\"https://codex.wordpress.org/"
1446
+ "Editing_wp-config.php#WordPress_Upgrade_Constants\" title=\"Editing wp-"
1447
+ "config.php &laquo; WordPress Codex\">this document</a> for more details."
1448
  msgstr ""
1449
 
1450
+ #: classes/class-ip-geo-block-file.php:68
1451
+ msgid ""
1452
+ "You should define some constants in your <code>wp-config.php</code> for FTP "
1453
+ "or SSH based file operations. Please refer to <a href=\"https://codex."
1454
+ "wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants\" title="
1455
+ "\"Editing wp-config.php &laquo; WordPress Codex\">this document</a> for more "
1456
+ "details."
1457
  msgstr ""
1458
 
1459
+ #: classes/class-ip-geo-block-logs.php:169
1460
+ #, php-format
1461
+ msgid ""
1462
+ "Creating a DB table %s had failed. Once de-activate this plugin, and then "
1463
+ "activate again."
1464
+ msgstr ""
1465
+
1466
+ #: classes/class-ip-geo-block-logs.php:639
1467
+ #, php-format
1468
+ msgid "The user %s (user ID: %d) is in use."
1469
+ msgstr ""
1470
+
1471
+ #: wp-content/ip-geo-api/ip2location/class-ip2location.php:151
1472
  #: wp-content/ip-geo-api/maxmind/class-maxmind-geolite2.php:144
1473
+ #: wp-content/ip-geo-api/maxmind/class-maxmind-legacy.php:228
1474
  msgid "Database file does not exist."
1475
  msgstr ""
1476
 
wp-content/ip-geo-api/ip2location/class-ip2location.php CHANGED
@@ -2,13 +2,14 @@
2
  /**
3
  * IP Geo Block API class library for IP2Location
4
  *
5
- * @version 1.1.11
6
  * @author tokkonopapa <tokkonopapa@yahoo.com>
7
  * @license GPL-3.0
8
  * @link http://www.ipgeoblock.com/
9
  * @copyright 2013-2018 tokkonopapa
10
  */
11
- if ( class_exists( 'IP_Geo_Block_API', FALSE ) ) :
 
12
 
13
  /**
14
  * URL and Path for IP2Location database
@@ -218,5 +219,3 @@ IP_Geo_Block_Provider::register_addon( array(
218
  'link' => '<a class="ip-geo-block-link" href="http://lite.ip2location.com/" title="Free IP Geolocation Database" rel=noreferrer target=_blank>http://lite.ip2location.com/</a>&nbsp;(IPv4, IPv6 / LGPLv3)',
219
  ),
220
  ) );
221
-
222
- endif;
2
  /**
3
  * IP Geo Block API class library for IP2Location
4
  *
5
+ * @version 1.1.12
6
  * @author tokkonopapa <tokkonopapa@yahoo.com>
7
  * @license GPL-3.0
8
  * @link http://www.ipgeoblock.com/
9
  * @copyright 2013-2018 tokkonopapa
10
  */
11
+
12
+ class_exists( 'IP_Geo_Block_API', FALSE ) or die;
13
 
14
  /**
15
  * URL and Path for IP2Location database
219
  'link' => '<a class="ip-geo-block-link" href="http://lite.ip2location.com/" title="Free IP Geolocation Database" rel=noreferrer target=_blank>http://lite.ip2location.com/</a>&nbsp;(IPv4, IPv6 / LGPLv3)',
220
  ),
221
  ) );
 
 
wp-content/ip-geo-api/maxmind/class-maxmind-geolite2.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * IP Geo Block API class library for Maxmind
4
  *
5
- * @version 1.1.11
6
  * @author tokkonopapa <tokkonopapa@yahoo.com>
7
  * @license GPL-3.0
8
  * @link http://www.ipgeoblock.com/
@@ -33,7 +33,7 @@ define( 'IP_GEO_BLOCK_GEOLITE2_DOWNLOAD', 'https://dev.maxmind.com/geoip/geoip2/
33
  * Input type : IP address (IPv4, IPv6)
34
  * Output type : array
35
  */
36
- class IP_Geo_Block_API_Maxmind extends IP_Geo_Block_API {
37
 
38
  private function location_country( $record ) {
39
  return array( 'countryCode' => $record->country->isoCode );
@@ -110,7 +110,7 @@ class IP_Geo_Block_API_Maxmind extends IP_Geo_Block_API {
110
  ! empty( $res['ip']['filename'] ) and $db['ip_path'] = $res['ip']['filename'];
111
  ! empty( $res['ip']['modified'] ) and $db['ip_last'] = $res['ip']['modified'];
112
 
113
- if ( $db['use_asn'] || ! empty( $db['asn_path'] ) ) :
114
 
115
  // ASN for IPv4 and IPv6
116
  if ( $dir !== dirname( $db['asn_path'] ) . '/' )
@@ -129,7 +129,7 @@ if ( $db['use_asn'] || ! empty( $db['asn_path'] ) ) :
129
  ! empty( $res['asn']['filename'] ) and $db['asn_path'] = $res['asn']['filename'];
130
  ! empty( $res['asn']['modified'] ) and $db['asn_last'] = $res['asn']['modified'];
131
 
132
- endif; // $db['use_asn'] || ! empty( $db['asn_path'] )
133
 
134
  return $res;
135
  }
@@ -171,7 +171,7 @@ endif; // $db['use_asn'] || ! empty( $db['asn_path'] )
171
  )
172
  );
173
 
174
- if ( $db['use_asn'] || ! empty( $db['asn_path'] ) ) :
175
 
176
  // ASN for IPv4 and IPv6
177
  if ( $db['asn_path'] )
@@ -201,7 +201,7 @@ if ( $db['use_asn'] || ! empty( $db['asn_path'] ) ) :
201
  )
202
  );
203
 
204
- endif; // $db['use_asn'] || ! empty( $db['asn_path'] )
205
 
206
  }
207
  }
@@ -211,7 +211,7 @@ endif; // $db['use_asn'] || ! empty( $db['asn_path'] )
211
  *
212
  */
213
  IP_Geo_Block_Provider::register_addon( array(
214
- 'Maxmind' => array(
215
  'key' => NULL,
216
  'type' => 'IPv4, IPv6 / Apache License, Version 2.0',
217
  'link' => '<a class="ip-geo-block-link" href="https://dev.maxmind.com/geoip/geoip2/" title="GeoIP2 &laquo; MaxMind Developer Site" rel=noreferrer target=_blank>https://dev.maxmind.com/geoip/geoip2/</a>&nbsp;(IPv4, IPv6 / Apache License, Version 2.0)',
2
  /**
3
  * IP Geo Block API class library for Maxmind
4
  *
5
+ * @version 1.1.12
6
  * @author tokkonopapa <tokkonopapa@yahoo.com>
7
  * @license GPL-3.0
8
  * @link http://www.ipgeoblock.com/
33
  * Input type : IP address (IPv4, IPv6)
34
  * Output type : array
35
  */
36
+ class IP_Geo_Block_API_Geolite2 extends IP_Geo_Block_API {
37
 
38
  private function location_country( $record ) {
39
  return array( 'countryCode' => $record->country->isoCode );
110
  ! empty( $res['ip']['filename'] ) and $db['ip_path'] = $res['ip']['filename'];
111
  ! empty( $res['ip']['modified'] ) and $db['ip_last'] = $res['ip']['modified'];
112
 
113
+ if ( ! empty( $db['use_asn'] ) || ! empty( $db['asn_path'] ) ) :
114
 
115
  // ASN for IPv4 and IPv6
116
  if ( $dir !== dirname( $db['asn_path'] ) . '/' )
129
  ! empty( $res['asn']['filename'] ) and $db['asn_path'] = $res['asn']['filename'];
130
  ! empty( $res['asn']['modified'] ) and $db['asn_last'] = $res['asn']['modified'];
131
 
132
+ endif; // ! empty( $db['use_asn'] ) || ! empty( $db['asn_path'] )
133
 
134
  return $res;
135
  }
171
  )
172
  );
173
 
174
+ if ( ! empty( $db['use_asn'] ) || ! empty( $db['asn_path'] ) ) :
175
 
176
  // ASN for IPv4 and IPv6
177
  if ( $db['asn_path'] )
201
  )
202
  );
203
 
204
+ endif; // ! empty( $db['use_asn'] ) || ! empty( $db['asn_path'] )
205
 
206
  }
207
  }
211
  *
212
  */
213
  IP_Geo_Block_Provider::register_addon( array(
214
+ 'Geolite2' => array(
215
  'key' => NULL,
216
  'type' => 'IPv4, IPv6 / Apache License, Version 2.0',
217
  'link' => '<a class="ip-geo-block-link" href="https://dev.maxmind.com/geoip/geoip2/" title="GeoIP2 &laquo; MaxMind Developer Site" rel=noreferrer target=_blank>https://dev.maxmind.com/geoip/geoip2/</a>&nbsp;(IPv4, IPv6 / Apache License, Version 2.0)',
wp-content/ip-geo-api/maxmind/class-maxmind-legacy.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * IP Geo Block API class library for Maxmind
4
  *
5
- * @version 1.1.11
6
  * @author tokkonopapa <tokkonopapa@yahoo.com>
7
  * @license GPL-3.0
8
  * @link http://www.ipgeoblock.com/
@@ -174,7 +174,7 @@ class IP_Geo_Block_API_Maxmind extends IP_Geo_Block_API {
174
  ! empty( $res['ipv4']['modified'] ) and $db['ipv4_last'] = $res['ipv4']['modified'];
175
  ! empty( $res['ipv6']['modified'] ) and $db['ipv6_last'] = $res['ipv6']['modified'];
176
 
177
- if ( $db['use_asn'] || ! empty( $db['asn4_path'] ) ) :
178
 
179
  // ASN for IPv4
180
  if ( $dir !== dirname( $db['asn4_path'] ) . '/' )
@@ -213,7 +213,7 @@ if ( $db['use_asn'] || ! empty( $db['asn4_path'] ) ) :
213
  ! empty( $res['asn4']['modified'] ) and $db['asn4_last'] = $res['asn4']['modified'];
214
  ! empty( $res['asn6']['modified'] ) and $db['asn6_last'] = $res['asn6']['modified'];
215
 
216
- endif; // $db['use_asn'] || ! empty( $db['asn4_path'] )
217
 
218
  return isset( $res ) ? $res : NULL;
219
  }
@@ -283,7 +283,7 @@ endif; // $db['use_asn'] || ! empty( $db['asn4_path'] )
283
  )
284
  );
285
 
286
- if ( $db['use_asn'] || ! empty( $db['asn4_path'] ) ) :
287
 
288
  // ASN for IPv4
289
  if ( $db['asn4_path'] )
@@ -341,7 +341,7 @@ if ( $db['use_asn'] || ! empty( $db['asn4_path'] ) ) :
341
  )
342
  );
343
 
344
- endif; // $db['use_asn'] || ! empty( $db['asn4_path'] )
345
 
346
  }
347
  }
2
  /**
3
  * IP Geo Block API class library for Maxmind
4
  *
5
+ * @version 1.1.12
6
  * @author tokkonopapa <tokkonopapa@yahoo.com>
7
  * @license GPL-3.0
8
  * @link http://www.ipgeoblock.com/
174
  ! empty( $res['ipv4']['modified'] ) and $db['ipv4_last'] = $res['ipv4']['modified'];
175
  ! empty( $res['ipv6']['modified'] ) and $db['ipv6_last'] = $res['ipv6']['modified'];
176
 
177
+ if ( ! empty( $db['use_asn'] ) || ! empty( $db['asn4_path'] ) ) :
178
 
179
  // ASN for IPv4
180
  if ( $dir !== dirname( $db['asn4_path'] ) . '/' )
213
  ! empty( $res['asn4']['modified'] ) and $db['asn4_last'] = $res['asn4']['modified'];
214
  ! empty( $res['asn6']['modified'] ) and $db['asn6_last'] = $res['asn6']['modified'];
215
 
216
+ endif; // ! empty( $db['use_asn'] ) || ! empty( $db['asn4_path'] )
217
 
218
  return isset( $res ) ? $res : NULL;
219
  }
283
  )
284
  );
285
 
286
+ if ( ! empty( $db['use_asn'] ) || ! empty( $db['asn4_path'] ) ) :
287
 
288
  // ASN for IPv4
289
  if ( $db['asn4_path'] )
341
  )
342
  );
343
 
344
+ endif; // ! empty( $db['use_asn'] ) || ! empty( $db['asn4_path'] )
345
 
346
  }
347
  }
wp-content/ip-geo-api/maxmind/class-maxmind.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * IP Geo Block API class library for Maxmind
4
  *
5
- * @version 1.1.11
6
  * @author tokkonopapa <tokkonopapa@yahoo.com>
7
  * @license GPL-3.0
8
  * @link http://www.ipgeoblock.com/
@@ -10,12 +10,10 @@
10
  */
11
  class_exists( 'IP_Geo_Block_API', FALSE ) or die;
12
 
13
- if ( version_compare( PHP_VERSION, '5.4.0' ) >= 0 ):
14
-
15
- require_once dirname( __FILE__ ) . '/class-maxmind-geolite2.php';
16
 
17
- else:
18
 
19
- require_once dirname( __FILE__ ) . '/class-maxmind-legacy.php';
20
 
21
  endif;
2
  /**
3
  * IP Geo Block API class library for Maxmind
4
  *
5
+ * @version 1.1.12
6
  * @author tokkonopapa <tokkonopapa@yahoo.com>
7
  * @license GPL-3.0
8
  * @link http://www.ipgeoblock.com/
10
  */
11
  class_exists( 'IP_Geo_Block_API', FALSE ) or die;
12
 
13
+ require_once dirname( __FILE__ ) . '/class-maxmind-legacy.php';
 
 
14
 
15
+ if ( version_compare( PHP_VERSION, '5.4.0' ) >= 0 ):
16
 
17
+ require_once dirname( __FILE__ ) . '/class-maxmind-geolite2.php';
18
 
19
  endif;