Plugin Directory

Changeset 1397813


Ignore:
Timestamp:
04/17/2016 03:12:18 PM (10 years ago)
Author:
EdHynan
Message:

Release 1.0.7.1, fix repository error in 1.0.7

Location:
spam-blip
Files:
26 edited
1 copied

Legend:

Unmodified
Added
Removed
  • spam-blip/tags/1.0.7.1/ChkBL_0_0_1.inc.php

    r990173 r1397813  
    4141class ChkBL_0_0_1 {
    4242    // help detect class name conflicts; called by using code
    43     private static $evh_opt_id = 0xED00AA33;
     43    const evh_opt_id = 0xED00AA33;
    4444    public static function id_token () {
    45         return self::$evh_opt_id;
     45        return self::evh_opt_id;
    4646    }
    4747
     
    5858    // it is what it is.
    5959    protected static $defdom = array(
     60        // only 127.0.0.1 known (Note: *not* *.2)
     61        // Quote from URL below: ``You may use this RBL list
     62        // free of charge, currently without limit and I intend
     63        // to keep it that way.''
     64        // http://www.usenix.org.uk/content/rbl.html
     65        // Update 06-2014: looks like s5h has changed to using
     66        // 127.0.0.2, although web page says nothing (at all
     67        // about returns) -- so, change to 127.0.0.3 and use
     68        // the '&' op.
     69        array('all.s5h.net', '127.0.0.3', '3,&'),
    6070        // list.blogspambl.com has example code that only tests
    6171        // for 127., but seems to always return 127.0.0.2
     
    6373        array('list.blogspambl.com', '127.0.0.2', '1, I; 2 ,I; 3 ,I;'),
    6474        // only 127.0.0.2 known
    65         // http://spam-champuru.livedoor.com/dnsbl/
    66         array('dnsbl.spam-champuru.livedoor.com', '127.0.0.2', null),
    67         // only 127.0.0.1 known (Note: *not* *.2)
    68         // Quote from URL below: ``You may use this RBL list
    69         // free of charge, currently without limit and I intend
    70         // to keep it that way.''
    71         // http://www.usenix.org.uk/content/rbl.html
    72         // Update 06-2014: looks like s5h has changes to using
    73         // 127.0.0.2, although web page says nothing (at all
    74         // about returns) -- so, change to 127.0.0.3 and use
    75         // the '&' op.
    76         array('all.s5h.net', '127.0.0.3', '3,&'),
    77         // has been tried, but at end of list, therefore not
    78         // really evaluated -- but, has given hits
    79         // http://bbq.uso800.net/code.html
    80         // Update 2013/12/27: has had enough testing that I think
    81         // it should be in the default array
    82         array('niku.2ch.net', '127.0.0.2', null)
     75        // http://bsb.empty.us/ OR http://bsb.spamlookup.net/
     76        array('bsb.empty.us', '127.0.0.2', null),
    8377    );
    8478
     
    117111        // only 127.0.0.2 known
    118112        // http://bsb.empty.us/ OR http://bsb.spamlookup.net/
    119         array('bsb.empty.us', '127.0.0.2', null),
     113        //array('bsb.empty.us', '127.0.0.2', null),
    120114        // has been tried, but at end of list, therefore not
    121115        // really evaluated -- but, has given hits
     
    123117        // Update 2013/12/27: has had enough testing that I think
    124118        // it should be in the default array
     119        // Update 2016/03/31: possibly defunct
    125120        //array('niku.2ch.net', '127.0.0.2', null)
     121        // 2016/03/31 -- not sure what's up with
     122        // spam-champuru.livedoor.com -- not hits in a long time, and
     123        // http://blog.livedoor.com/ seems to be a food thing.
     124        // only 127.0.0.2 known
     125        // http://spam-champuru.livedoor.com/dnsbl/
     126        array('dnsbl.spam-champuru.livedoor.com', '127.0.0.2', null),
    126127    );
    127128
  • spam-blip/tags/1.0.7.1/Makefile

    r1225166 r1397813  
    22# License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html)
    33
    4 PRJVERS = 1.0.6
     4PRJVERS = 1.0.7.1
    55PRJSTEM = Spam_BLIP
    66PRJNAME = $(PRJSTEM)-$(PRJVERS)
     
    1111
    1212SRCS = ${PRJSTEM}.php \
     13    BLCheckResult.inc.php \
    1314    Options_0_0_2b.inc.php \
    1415    OptField_0_0_2b.inc.php \
     
    6465${JSBIN}: ${JSSRC}
    6566    O=$@; I=$${O%%.*}.js; \
     67    (R=`which ruby` && $$R -e "require 'uglifier'; printf '%s', Uglifier.compile(open('""$$I""', 'r'))" > "$$O" 2>/dev/null ) \
     68    || \
    6669    (P=`which perl` && $$P -e 'use JavaScript::Minifier::XS qw(minify); print minify(join("",<>))' < "$$I" > "$$O" 2>/dev/null ) \
    6770    || \
  • spam-blip/tags/1.0.7.1/NetMisc_0_0_1.inc.php

    r897320 r1397813  
    4141class NetMisc_0_0_1 {
    4242    // help detect class name conflicts; called by using code
    43     private static $evh_opt_id = 0xED00AA33;
     43    const evh_opt_id = 0xED00AA33;
    4444    public static function id_token () {
    45         return self::$evh_opt_id;
     45        return self::evh_opt_id;
    4646    }
    4747
  • spam-blip/tags/1.0.7.1/OptField_0_0_2b.inc.php

    r795546 r1397813  
    3838class OptField_0_0_2b {
    3939    // help detect class name conflicts; called by using code
    40     // const evh_opt_id = 0xED00AA33; // N.G. < 5.3
    41     private static $evh_opt_id = 0xED00AA33;
     40    const evh_opt_id = 0xED00AA33;
    4241    public static function id_token () {
    43         return self::$evh_opt_id;
     42        return self::evh_opt_id;
    4443    }
    4544
  • spam-blip/tags/1.0.7.1/OptPage_0_0_2b.inc.php

    r795546 r1397813  
    3838class OptPage_0_0_2b {
    3939    // help detect class name conflicts; called by using code
    40     // const evh_opt_id = 0xED00AA33; // N.G. < 5.3
    41     private static $evh_opt_id = 0xED00AA33;
     40    const evh_opt_id = 0xED00AA33;
    4241    public static function id_token () {
    43         return self::$evh_opt_id;
     42        return self::evh_opt_id;
    4443    }
    4544
  • spam-blip/tags/1.0.7.1/OptSection_0_0_2b.inc.php

    r795546 r1397813  
    3838class OptSection_0_0_2b {
    3939    // help detect class name conflicts; called by using code
    40     // const evh_opt_id = 0xED00AA33; // N.G. < 5.3
    41     private static $evh_opt_id = 0xED00AA33;
     40    const evh_opt_id = 0xED00AA33;
    4241    public static function id_token () {
    43         return self::$evh_opt_id;
     42        return self::evh_opt_id;
    4443    }
    4544
  • spam-blip/tags/1.0.7.1/Options_0_0_2b.inc.php

    r795546 r1397813  
    4545class Options_0_0_2b {
    4646    // help detect class name conflicts; called by using code
    47     // const evh_opt_id = 0xED00AA33; // N.G. < 5.3
    48     private static $evh_opt_id = 0xED00AA33;
     47    const evh_opt_id = 0xED00AA33;
    4948    public static function id_token () {
    50         return self::$evh_opt_id;
     49        return self::evh_opt_id;
    5150    }
    5251
  • spam-blip/tags/1.0.7.1/Spam_BLIP.php

    r1271364 r1397813  
    44Plugin URI: //agalena.nfshost.com/b1/software/spam-blip-wordpress-comment-spam-plugin/
    55Description: Stop comment spam before it is posted.
    6 Version: 1.0.6
     6Version: 1.0.7.1
    77Author: Ed Hynan
    88Author URI: //agalena.nfshost.com/b1/
     
    1212
    1313/*
    14  *      Spam_BLIP.php
    15  *      
    16  *      Copyright 2013 Ed Hynan <edhynan@gmail.com>
    17  *      
    18  *      This program is free software; you can redistribute it and/or modify
    19  *      it under the terms of the GNU General Public License as published by
    20  *      the Free Software Foundation; specifically version 3 of the License.
    21  *      
    22  *      This program is distributed in the hope that it will be useful,
    23  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
    24  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    25  *      GNU General Public License for more details.
    26  *      
    27  *      You should have received a copy of the GNU General Public License
    28  *      along with this program; if not, write to the Free Software
    29  *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
    30  *      MA 02110-1301, USA.|g
     14 * Spam_BLIP.php
     15 *
     16 * Copyright 2013 Ed Hynan <edhynan@gmail.com>
     17 *
     18 * This program is free software; you can redistribute it and/or modify
     19 * it under the terms of the GNU General Public License as published by
     20 * the Free Software Foundation; specifically version 3 of the License.
     21 *
     22 * This program is distributed in the hope that it will be useful,
     23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     25 * GNU General Public License for more details.
     26 *
     27 * You should have received a copy of the GNU General Public License
     28 * along with this program; if not, write to the Free Software
     29 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
     30 * MA 02110-1301, USA.|g
    3131 */
    3232
     
    117117 * the bargain-price namespace -- note that use of class does
    118118 * not imply commitment to rigorous OOP methodology
    119  * (no 'class Int {
    120  *          int v;
    121  *          Int(int val = 0) : v(val) {}
    122  *          operator int() const {return v;}
    123  *          // . . .
    124  * };', thank you.)
    125119 */
    126120if ( ! class_exists('Spam_BLIP_class') ) :
     121spamblip_paranoid_require_class("BLCheckResult");
     122
    127123class Spam_BLIP_class {
    128124    // for debugging: set false for release
     
    131127    // web page as of release
    132128    const plugin_webpage = '//agalena.nfshost.com/b1/software/spam-blip-wordpress-comment-spam-plugin/';
     129   
     130    // this version
     131    const plugin_version = '1.0.7.1';
    133132   
    134133    // the widget class name
     
    145144    // this is hidden in settings page; used w/ JS for 'screen options'
    146145    const optscreen1 = 'screen_opts_1';
    147     // filter comments_open?
    148     const optcommflt = 'commflt';
    149     // filter pings_open?
    150     const optpingflt = 'pingflt';
    151146    // filter new user registration (optionally required to comment)?
    152147    const optregiflt = 'regiflt';
     
    173168    // log blacklist hits?
    174169    const optbliplog = 'log_hit';
    175     // bail out (wp_die()) on blacklist hits?
    176     const optbailout = 'bailout';
    177170    // optional active RBL domains
    178171    const opteditrbl = 'sp_bl_editrbl';
     
    203196    // this is hidden in settings page; used w/ JS for 'screen options'
    204197    const defscreen1 = 'true';
    205     // filter comments_open?
    206     const defcommflt = 'true';
    207     // filter pingss_open?
    208     const defpingflt = 'true';
    209198    // filter new user registration (optionally required to comment)?
    210199    const defregiflt = 'false';
     
    236225    // log blacklist hits?
    237226    const defbliplog = 'false';
    238     // bail out (wp_die()) on blacklist hits?
    239     const defbailout = 'false';
    240227    // optional active RBL domains
    241228    const defeditrbl = '';
     
    278265    protected $ipchk_done = false;
    279266
    280     // array of rbl lookup result is put here for reference
    281     // across callback methods; or set with result from
    282     // data store lookup as array(true||false)
    283     protected $rbl_result;
    284     // set array(true||false) when a data store lookup has been done
    285     // but not rbl
    286     protected $dbl_result;
     267    // rbl lookup result is put here for reference
     268    // across callback methods; instance of class BLCheckResult
     269    protected $the_result;
    287270
    288271    // if true do data store maintenance in shutdown hook
     
    322305        $this->settings_js = plugins_url($t, $pf);
    323306       
    324         $this->rbl_result = false;
    325         $this->dbl_result = false;
     307        $this->the_result = new BLCheckResult();
    326308        $this->do_db_maintain = false;
    327309        $this->ipchk = new IPReservedCheck_0_0_1();
     
    378360                self::optverbose => self::defverbose,
    379361                self::optscreen1 => self::defscreen1,
    380                 self::optcommflt => self::defcommflt,
    381                 self::optpingflt => self::defpingflt,
    382362                self::optregiflt => self::defregiflt,
    383363                self::opttorpass => self::deftorpass,
     
    390370                self::optipnglog => self::defipnglog,
    391371                self::optbliplog => self::defbliplog,
    392                 self::optbailout => self::defbailout,
    393372                self::optdelopts => self::defdelopts,
    394373                self::optdelstor => self::defdelstor
     
    399378            self::optverbose => self::defverbose,
    400379            self::optscreen1 => self::defscreen1,
    401             self::optcommflt => self::defcommflt,
    402             self::optpingflt => self::defpingflt,
    403380            self::optregiflt => self::defregiflt,
    404381            self::opttorpass => self::deftorpass,
     
    413390            self::optipnglog => self::defipnglog,
    414391            self::optbliplog => self::defbliplog,
    415             self::optbailout => self::defbailout,
    416392            self::opteditrbl => self::defeditrbl,
    417393            self::opteditrbr => self::defeditrbr,
     
    486462                $items[self::optverbose],
    487463                array($this, 'put_verbose_opt'));
    488         $fields[$nf++] = new $Cf(self::optcommflt,
    489                 self::wt(__('Blacklist check for comments:', 'spambl_l10n')),
    490                 self::optcommflt,
    491                 $items[self::optcommflt],
    492                 array($this, 'put_comments_opt'));
    493         $fields[$nf++] = new $Cf(self::optpingflt,
    494                 self::wt(__('Blacklist check for pings:', 'spambl_l10n')),
    495                 self::optpingflt,
    496                 $items[self::optpingflt],
    497                 array($this, 'put_pings_opt'));
    498464        $fields[$nf++] = new $Cf(self::optregiflt,
    499465                self::wt(__('Blacklist check user registrations:', 'spambl_l10n')),
     
    586552                $items[self::optbliplog],
    587553                array($this, 'put_bliplog_opt'));
    588         $fields[$nf++] = new $Cf(self::optbailout,
    589                 self::wt(__('Bail out on blacklisted IP:', 'spambl_l10n')),
    590                 self::optbailout,
    591                 $items[self::optbailout],
    592                 array($this, 'put_bailout_opt'));
    593554
    594555        // misc
     
    1027988            add_action('pre_comment_on_post', $aa, 100);
    1028989   
    1029             $aa = array($this, 'action_comment_closed');
    1030             add_action('comment_closed', $aa, 100);
    1031    
    1032             $aa = array($this, 'filter_comments_open');
    1033             add_filter('comments_open', $aa, 100);
    1034    
    1035             $aa = array($this, 'filter_pings_open');
    1036             add_filter('pings_open', $aa, 100);
    1037    
    1038990            // optional check on new registrations
    1039991            if ( self::check_filter_user_regi() ) {
    1040                 $aa = array($this, 'filter_user_regi');
    1041                 add_filter('register', $aa, 100);
    1042992                $aa = array($this, 'action_user_regi');
    1043993                add_action('login_form_register', $aa, 100);
     
    13301280        return (int)time();
    13311281    }
    1332 
    1333     // get future epoch timestamp for next noon or midnight
    1334     // $tm should generally be time() now, or leave it null
    1335     // if $local is true then get local offset value, else UTC
    1336     // if $noon is false get next midnight, else next noon
    1337     /**
    1338      * COMMENTED: this was to be used setting up the WP cron
    1339      * schedule, but since I can get *nothing* but 'hourly'
    1340      * to work, this is pointless -- it remains here just in case . . .
    1341     public static function tm_next_12meridian(
    1342         $tm = null, $local = true, $noon = false
    1343         ) {
    1344         if ( $tm === null ) {
    1345             $tm = time();
    1346         }
    1347         $t = $tm - ($tm % 86400) + ($noon ? 43200 : 86400);
    1348         // can happen for noon:
    1349         if ( $t < $tm ) {
    1350             $t += 86400;
    1351         }
    1352         if ( $local ) {
    1353             $t -= idate("Z", $tm);
    1354         }
    1355         return $t;
    1356     }
    1357     */
    13581282
    13591283    // optional additional response to unexpected REMOTE_ADDR;
     
    16641588                    break;
    16651589                case self::optverbose:
    1666                 case self::optcommflt:
    1667                 case self::optpingflt:
    16681590                case self::optregiflt:
    16691591                case self::opttorpass:
     
    16741596                case self::optipnglog:
    16751597                case self::optbliplog:
    1676                 case self::optbailout:
    16771598                case self::optdelopts:
    16781599                case self::optdelstor:
     
    17911712        printf('<p>%s</p>%s', $t, "\n");
    17921713
    1793         $t = self::wt(__('The "Blacklist check for comments" option
    1794             enables the main functionality of the plugin. When
    1795             <em>WordPress</em> core code checks whether comments
    1796             are open or closed, this plugin will check the connecting
    1797             IP address against DNS-based blacklists of weblog
    1798             comment spammers, and if it is found, will tell
    1799             <em>WordPress</em> that comments are
    1800             closed.', 'spambl_l10n'));
    1801         printf('<p>%s</p>%s', $t, "\n");
    1802 
    1803         $t = self::wt(__('The "Blacklist check for pings" option
    1804             is similar to "Blacklist check for comments",
    1805             but for pings.', 'spambl_l10n'));
    1806         printf('<p>%s</p>%s', $t, "\n");
    1807 
    18081714        $t = self::wt(__('The "Blacklist check user registrations"
    18091715            option enables the blacklist checks before the
     
    20321938            enable this temporarily to see the effect the plugin
    20331939            has had.', 'spambl_l10n'));
    2034         printf('<p>%s</p>%s', $t, "\n");
    2035 
    2036         $t = self::wt(__('The "Bail out on blacklisted IP"
    2037             option will have the plugin terminate the blog output
    2038             when the connecting IP address is blacklisted. The
    2039             default is to only disable comments, and allow the
    2040             page to be produced normally. This option will save
    2041             some amount of network load,
    2042             and spammers do not want or need your
    2043             content anyway, but if there is a rare false positive,
    2044             the visitor, also a spam victim in this case, will
    2045             miss your content.
    2046             ', 'spambl_l10n'));
    20471940        printf('<p>%s</p>%s', $t, "\n");
    20481941
     
    23392232    }
    23402233
    2341     // callback, rbl filter comments?
    2342     public function put_comments_opt($a) {
    2343         $tt = self::wt(__('Check blacklist for comments', 'spambl_l10n'));
    2344         $k = self::optcommflt;
    2345         $this->put_single_checkbox($a, $k, $tt);
    2346     }
    2347 
    2348     // callback, rbl filter pings?
    2349     public function put_pings_opt($a) {
    2350         $tt = self::wt(__('Check blacklist for pings', 'spambl_l10n'));
    2351         $k = self::optpingflt;
    2352         $this->put_single_checkbox($a, $k, $tt);
    2353     }
    2354 
    23552234    // callback, rbl filter user registration?
    23562235    public function put_regi_opt($a) {
     
    25352414        $tt = self::wt(__('Log blacklist hits', 'spambl_l10n'));
    25362415        $k = self::optbliplog;
    2537         $this->put_single_checkbox($a, $k, $tt);
    2538     }
    2539 
    2540     // callback, die blacklist hits?
    2541     public function put_bailout_opt($a) {
    2542         $tt = self::wt(__('Bail (wp_die()) on blacklist hits', 'spambl_l10n'));
    2543         $k = self::optbailout;
    25442416        $this->put_single_checkbox($a, $k, $tt);
    25452417    }
     
    28292701    // for whether to die on BL hits
    28302702    public static function get_bailout_option() {
    2831         return self::opt_by_name(self::optbailout);
     2703        // bailout option removed
     2704        //return self::opt_by_name(self::optbailout);
     2705        return 'true';
    28322706    }
    28332707
     
    28562730    }
    28572731
    2858     // should the filter_comments_open() rbl check be done
    2859     public static function get_comments_open_option() {
    2860         return self::opt_by_name(self::optcommflt);
    2861     }
    2862 
    2863     // should the filter_pings_open() rbl check be done
    2864     public static function get_pings_open_option() {
    2865         return self::opt_by_name(self::optpingflt);
    2866     }
    2867 
    28682732    // should the action_user_regi() rbl check be done
    28692733    public static function get_user_regi_option() {
     
    29362800       
    29372801        if ( ! $this->chkbl ) {
    2938             self::errlog(__('cannot allocate BL check object', 'spambl_l10n'));
     2802            self::errlog(
     2803                __('cannot allocate BL check object', 'spambl_l10n'));
    29392804            return false;
    29402805        }
    29412806       
    29422807        $ret = false;
    2943         // The simple check is not needed here
    2944         if ( true ) {
    2945             $this->rbl_result = $this->chkbl->check_all($addr, 1);
    2946             if ( ! empty($this->rbl_result) ) {
    2947                 $ret = $this->rbl_result[0][2];
    2948             } else {
    2949                 // place false in empty array
    2950                 $this->rbl_result[] = false;
    2951             }
     2808
     2809        $result = $this->chkbl->check_all($addr, 1);
     2810        if ( ! empty($result) ) {
     2811            // result is an array of 1, since 1 was passed to check_all
     2812            $result = $result[0];
     2813            $da = $this->chkbl->get_dom_array();
     2814            $dnsbl = new DNSBLCheckResult(
     2815                $result[2], $result[1], $da[$result[0]][0]);
     2816           
     2817            $this->the_result->type = "DNSBL";
     2818            $this->the_result->dat  = $dnsbl;
     2819            $ret = $dnsbl->is_hit;
    29522820        } else {
    2953             // in ctor $rbl_result is assigned false, so if
    2954             // other code finds it false, this code has not
    2955             // been reached
    2956             $this->rbl_result = array();
    2957             $ret = $this->chkbl->check_simple($addr);
    2958             // DEVEL: remove
    2959             if ( false && $addr === '192.168.1.187' ) {
    2960                 $ret = true;
    2961             }
    2962             // simple case: put result in [0]
    2963             $this->rbl_result[] = $ret;
     2821            // place false in empty array
     2822            $this->the_result->type = false;
    29642823        }
    29652824       
     
    29702829    // null if no previous result, else the
    29712830    // boolean result (true||false)
    2972     public function get_rbl_result() {
    2973         if ( ! is_array($this->rbl_result) ) {
     2831    public function get_rbl_result($check = false, $t = 'comments') {
     2832        if ( $this->the_result->type === null ) {
     2833            if ( $check ) {
     2834                $this->do_db_bl_check(true, $t) ;
     2835                return $this->get_rbl_result();
     2836            }
    29742837            return null;
    29752838        }
    2976         if ( is_array($this->rbl_result[0]) ) {
    2977             return $this->rbl_result[0][2];
    2978         }
    2979         return $this->rbl_result[0];
    2980     }
    2981 
    2982     // helper: get internal, non-BL result, return:
    2983     // null if no previous result, else the
    2984     // boolean result (true||false)
    2985     public function get_dbl_result() {
    2986         if ( ! is_array($this->dbl_result) ) {
    2987             return null;
    2988         }
    2989         return $this->dbl_result[0];
     2839        if ( $this->the_result->type === false ) {
     2840            return false;
     2841        }
     2842
     2843        if ( $this->the_result->type === "DNSBL" ) {
     2844            return $this->the_result->dat->is_hit;
     2845        }
     2846        return $this->the_result->dat;
    29902847    }
    29912848
     
    30182875    // This action is called from the last 'else' in
    30192876    // and if/else chain starting with a test of comments_open()
    3020     // which applies filter 'comments_open', see filter_comments_open()
    3021     // below. If comments are open, this gets called. DNS RBL
     2877    // which applies filter 'comments_open'.
     2878    // If comments are open, this gets called. DNS RBL
    30222879    // lookup is done here because the wait for result will
    30232880    // only affect the commenter, not every page load. A real
     
    30312888    // not get through in those cases.
    30322889    public function action_pre_comment_on_post($comment_post_ID) {
    3033         if ( self::get_comments_open_option() != 'true' ) {
    3034             return;
    3035         }       
    3036 
    3037         self::dbglog('enter ' . __FUNCTION__);
     2890        self::dbglog("enter method '" . __FUNCTION__ . "'");
    30382891
    30392892        // was rbl check called already? if so,
    30402893        // use stored result
    3041         $prev = $this->get_rbl_result();
    3042        
    3043         // if not done already
    3044         if ( $prev === null ) {
    3045             $this->do_db_bl_check(true, 'comments') ;
    3046             $prev = $this->get_rbl_result();
    3047         }
     2894        $prev = $this->get_rbl_result(true, 'comments');
    30482895       
    30492896        if ( $prev !== false ) {
     
    30602907    }
    30612908
    3062     // this action is invoked in wp-trackback.php, last action
    3063     // before trackback_response(0); just after
    3064     // wp_new_comment($commentdata), so it is too late
    3065     // to prevent spam -- *but* pings_open() is called earlier
    3066     // in the block of code, and that is filtered, so it's OK.
    3067     //public function action_trackback_post($insert_ID) {
    3068         //if ( self::get_pings_open_option() != 'true' ) {
    3069             //return;
    3070         //}     
    3071 
    3072         //self::dbglog('enter ' . __FUNCTION__);
    3073 
    3074         //// was rbl check called already? if so,
    3075         //// use stored result
    3076         //$prev = $this->get_rbl_result();
    3077        
    3078         //// if not done already
    3079         //if ( $prev === null ) {
    3080             //$this->do_db_bl_check(true, 'pings') ;
    3081             //$prev = $this->get_rbl_result();
    3082         //}
    3083        
    3084         //if ( $prev !== false ) {
    3085             //if ( self::get_rej_not_option() == 'true' ) {
    3086                 //self::dbglog('no-reject option, in ' . __FUNCTION__);
    3087                 //return;
    3088             //}
    3089            
    3090             //self::dbglog('BAILING FROM ' . __FUNCTION__);
    3091             //// TRANSLATORS: polite rejection message
    3092             //// in response to blacklisted IP address
    3093             //wp_die(__('Sorry, but no, thank you.', 'spambl_l10n'));
    3094         //}
    3095     //}
    3096 
    3097     // add_action('comment_closed', $scf, 1);
    3098     // This gets called if comments_open(), filtered below,
    3099     // yields not true. The block ends with wp_die(), so it is
    3100     // not needed here, and would exclude subsequent hooks if
    3101     // done here. An additional message might be printed, even
    3102     // though there's not much point to it
    3103     public function action_comment_closed($comment_post_ID) {
    3104         if ( self::get_comments_open_option() != 'true' ) {
    3105             return;
    3106         }
    3107        
    3108         if ( self::get_rej_not_option() == 'true' ) {
    3109             return;
    3110         }
    3111        
    3112         if ( $this->get_dbl_result() === true ) {
    3113             // TRANSLATORS: polite rejection message
    3114             // in response to blacklisted IP address
    3115             echo __('Sorry, but no, thank you.', 'spambl_l10n') .'<hr>';
    3116         }
    3117     }
    3118 
    31192909    // add_action('login_form_' . 'register', $scf, 1) -- wp-login.php;
    31202910    // This gets called if on new user registration, and a site
     
    31222912    // pertinent to comment spam.
    31232913    public function action_user_regi() {
     2914        self::dbglog("enter method '" . __FUNCTION__ . "'");
    31242915        if ( self::get_user_regi_option() != 'true' ) {
    31252916            return;
     
    31302921        }
    31312922
    3132         self::dbglog('enter ' . __FUNCTION__);
    3133 
    31342923        // was rbl check called already? if so,
    31352924        // use stored result
    3136         $prev = $this->get_rbl_result();
    3137        
    3138         // if not done already
    3139         if ( $prev === null ) {
    3140             $this->do_db_bl_check(true, 'comments') ;
    3141             $prev = $this->get_rbl_result();
    3142         }
     2925        $prev = $this->get_rbl_result(true, 'comments');
    31432926       
    31442927        if ( $prev !== false ) {
     
    31532936            wp_die(__('Sorry, but no, thank you.', 'spambl_l10n'));
    31542937        }
    3155     }
    3156 
    3157     // add_filter('register', $scf, 1);
    3158     // NOTE: called for each register-link that may display.
    3159     // This should not be used for the DNS RBL lookup because
    3160     // waiting for the response can caused a noticeable stall
    3161     // of page loading in client.
    3162     // action_user_regi is used for the RBL lookup;
    3163     // see comment there.
    3164     // OTOH, this filter will look in the hit db, which is fast,
    3165     // and nip it in the bud early if a hit is found.
    3166     public function filter_user_regi($link) {
    3167         if ( self::get_user_regi_option() != 'true' ) {
    3168             return $link;
    3169         }
    3170 
    3171         if ( ! self::check_filter_user_regi() ) {
    3172             return $link;
    3173         }
    3174 
    3175         self::dbglog('enter ' . __FUNCTION__);
    3176 
    3177         // was rbl check called already? if so,
    3178         // use stored result
    3179         $prev = $this->get_dbl_result();
    3180        
    3181         // if not done already
    3182         if ( $prev === null ) {
    3183             // false limits check: no DNS
    3184             $this->do_db_bl_check(true, 'comments', false) ;
    3185             $prev = $this->get_dbl_result();
    3186         }
    3187        
    3188         // if already done, but not a hit
    3189         if (  $prev === false ) {
    3190             return $link;
    3191         }
    3192 
    3193         // already got a hit on this IP addr
    3194         // DO NOT be put alternate content in $link: the caller
    3195         // prepends and appends elements such as '<li>', and replacing
    3196         // those might have unpleasant results -- OTOH, the caller
    3197         // also conditionally uses the empty string, so it may
    3198         // be considered an appropriate return
    3199         if ( self::get_rej_not_option() == 'true' ) {
    3200             self::dbglog('no-reject option, in ' . __FUNCTION__);
    3201             return $link;
    3202         }       
    3203         $link = '';
    3204         return $link;
    3205     }
    3206 
    3207     // add_filter('comments_open', $scf, 1);
    3208     // NOTE: this may/will be called many times per page,
    3209     // for each comment link on page.
    3210     // This should not be used for the DNS RBL lookup because
    3211     // waiting for the response can caused a noticeable stall
    3212     // of page loading in client.
    3213     // action_pre_comment_on_post is used for the RBL lookup;
    3214     // see comment there.
    3215     // OTOH, this filter will look in the hit db, which is fast,
    3216     // and nip it in the bud early if a hit is found.
    3217     public function filter_comments_open($open) {
    3218         if ( self::get_comments_open_option() != 'true' ) {
    3219             return $open;
    3220         }       
    3221 
    3222         // was data store check called already? if so,
    3223         // use stored result
    3224         $prev = $this->get_dbl_result();
    3225        
    3226         // if not done already
    3227         if ( $prev === null ) {
    3228             // false limits check: no DNS
    3229             return $this->do_db_bl_check($open, 'comments', false);
    3230         }
    3231        
    3232         // if already done, but not a hit
    3233         if (  $prev === false ) {
    3234             return $open;
    3235         }
    3236 
    3237         // already got a hit on this IP addr       
    3238         if ( self::get_rej_not_option() == 'true' ) {
    3239             self::dbglog('no-reject option, in ' . __FUNCTION__);
    3240             return $open;
    3241         }       
    3242         return false;
    3243     }
    3244 
    3245     // add_filter('pings_open', $scf, 1);
    3246     public function filter_pings_open($open) {
    3247         if ( self::get_pings_open_option() != 'true' ) {
    3248             return $open;
    3249         }       
    3250 
    3251         // was rbl check called already? if so,
    3252         // use stored result
    3253         $prev = $this->get_rbl_result();
    3254        
    3255         // if not done already
    3256         if ( $prev === null ) {
    3257             return $this->do_db_bl_check($open, 'pings');
    3258         }
    3259        
    3260         // if already done, but not a hit
    3261         if ( $prev === false ) {
    3262             return $open;
    3263         }
    3264 
    3265         // already got a hit on this IP addr       
    3266         if ( self::get_rej_not_option() == 'true' ) {
    3267             self::dbglog('no-reject option, in ' . __FUNCTION__);
    3268             return $open;
    3269         }       
    3270         return false;
    32712938    }
    32722939
     
    32832950                __('Invalid remote address; "REMOTE_ADDR" contains "%s"', 'spambl_l10n');
    32842951            self::errlog(sprintf($fmt, $addr));
     2952            $this->the_result->type = false;
    32852953            return $def;
    32862954        }
     
    32932961        if ( $this->chk_user_whitelist($addr, $statype, $pretime) ) {
    32942962            // set the result; checked in various places
    3295             $this->rbl_result = array(false);
    3296             // flag this like db check w a hit
    3297             $this->dbl_result = array(false);
     2963            $this->the_result->type = "WHITELIST";
     2964            $this->the_result->dat  = false;
    32982965            return $def;
     2966        }
     2967
     2968        $ret = false; // redundant, safe
     2969
     2970        // optional check in user blacklist
     2971        if ( ! $ret &&
     2972            $this->chk_user_blacklist($addr, $statype, $pretime) ) {
     2973            // set the result; checked in various places
     2974            $this->the_result->type = "BLACKLIST";
     2975            $this->the_result->dat  = true;
     2976            $ret = true;
     2977        }
     2978
     2979        // optional check in WP stored comments
     2980        if ( ! $ret &&
     2981            $this->chk_comments($addr, $statype, (int)$pretime) ) {
     2982            // set the result; checked in various places
     2983            $this->the_result->type = "COMMENTS";
     2984            $this->the_result->dat  = true;
     2985            $ret = true;
     2986        }
     2987
     2988        // option to whitelist addresses that TOR lists as exit nodes
     2989        // or that have been previously checked and were not hits (non)
     2990        // this is allowed a pass only if the comment check above
     2991        // did not hit; this way an addr whiltelisted here previously
     2992        // is not let past again if user marked the comment as spam --
     2993        // also the check above changes the 'lasttype' in our table
     2994        // to the $stattype arg ('comments' or 'pings')
     2995        if ( ! $ret &&
     2996            $this->tor_nonhit_opt_whitelist($addr, $rbl) ) {
     2997            // set the result; checked in various places
     2998            $this->the_result->type = "TOREXIT";
     2999            $this->the_result->dat  = false;
     3000            return $def;
     3001        }
     3002       
     3003        // optional data store check
     3004        if ( ! $ret &&
     3005            $this->chk_db_4_hit($addr, $statype, $pretime) ) {
     3006            $this->the_result->type = "HITSDB";
     3007            $this->the_result->dat  = true;
     3008            $ret = true;
     3009        }
     3010
     3011        // got hit above?
     3012        if ( $ret ) {
     3013            // optionally die
     3014            self::hit_optional_bailout($addr, $statype);
     3015            // Just say NO! (to Nancy)
     3016            return false;
     3017        } else {
     3018            $this->the_result->type = false;
    32993019        }
    33003020
     
    33203040                $this->handle_REMOTE_ADDR_error($ret);
    33213041            }
    3322             // can't continue; set result false
    3323             $this->rbl_result = array(false);
    3324             $this->dbl_result = array(false);
     3042            // can't continue; leave result false
    33253043            return $def;
    3326         }
    3327 
    3328         $ret = false; // redundant, safe
    3329 
    3330         // optional check in user blacklist
    3331         if ( ! $ret &&
    3332             $this->chk_user_blacklist($addr, $statype, $pretime) ) {
    3333             $ret = true;
    3334         }
    3335 
    3336         // optional check in WP stored comments
    3337         if ( ! $ret &&
    3338             $this->chk_comments($addr, $statype, (int)$pretime) ) {
    3339             $ret = true;
    3340         }
    3341 
    3342         // option to whitelist addresses that TOR lists as exit nodes
    3343         // or that have been previously checked and were not hits (non)
    3344         // this is allowed a pass only if the comment check above
    3345         // did not hit; this way an addr whiltelisted here previously
    3346         // is not let past again if user marked the comment as spam --
    3347         // also the check above changes the 'lasttype' in our table
    3348         // to the $stattype arg ('comments' or 'pings')
    3349         if ( ! $ret &&
    3350             $this->tor_nonhit_opt_whitelist($addr, $rbl) ) {
    3351             // set the result; checked in various places
    3352             $this->rbl_result = array(false);
    3353             // flag this like db check w/o a hit
    3354             $this->dbl_result = array(false);
    3355             return $def;
    3356         }
    3357        
    3358         // optional data store check
    3359         if ( ! $ret &&
    3360             $this->chk_db_4_hit($addr, $statype, $pretime) ) {
    3361             $ret = true;
    3362         }
    3363 
    3364         // got hit above?
    3365         if ( $ret ) {
    3366             // set the result; checked in various places
    3367             $this->rbl_result = array(true);
    3368             // flag this like db check w a hit
    3369             $this->dbl_result = array(true);
    3370             // optionally die
    3371             self::hit_optional_bailout($addr, $statype);
    3372             // Just say NO! (to Nancy)
    3373             return false;
    33743044        }
    33753045
     
    33773047        // wanted, for calls that should not wait on DNS
    33783048        if ( $rbl !== true ) {
    3379             $this->dbl_result = array(false);
    33803049            return $def;
    33813050        }
     
    34253094                ($statype === 'comments' ? $ctxt : $statype);
    34263095
    3427             if ( is_array($this->rbl_result[0]) ) {
    3428                 $doms = $this->chkbl->get_dom_array();
    3429                 $fmt =
    3430                     // TRANSLATORS: %1$s is type "comments" or "pings"
    3431                     // %2$s is IP4 address dotted quad
    3432                     // %3$s is DNS blacklist lookup domain
    3433                     // %4$s is IP4 blacklist lookup result
    3434                     // %5$f is lookup time in seconds (float)
    3435                     __('%1$s denied for address %2$s, list at "%3$s", result %4$s in %5$f', 'spambl_l10n');
    3436                 $fmt = sprintf($fmt, $dtxt, $addr,
    3437                     $doms[ $this->rbl_result[0][0] ][0],
    3438                     $this->rbl_result[0][1], $difftime);
    3439                 self::errlog($fmt);
    3440             } else {
    3441                 $fmt =
    3442                     // TRANSLATORS: %1$s is type "comments" or "pings"
    3443                     // %2$s is IP4 address dotted quad
    3444                     // %3$f is lookup time in seconds (float)
    3445                     __('%1$s denied for address %2$s in %3$f', 'spambl_l10n');
    3446                 $fmt = sprintf($fmt, $dtxt, $addr, $difftime);
    3447                 self::errlog($fmt);
    3448             }
     3096            $rdat = $this->the_result->dat;
     3097            $fmt =
     3098                // TRANSLATORS: %1$s is type "comments" or "pings"
     3099                // %2$s is IP4 address dotted quad
     3100                // %3$s is DNS blacklist lookup domain
     3101                // %4$s is IP4 blacklist lookup result
     3102                // %5$f is lookup time in seconds (float)
     3103                __('%1$s denied for address %2$s, list at "%3$s", result %4$s in %5$f', 'spambl_l10n');
     3104            $fmt = sprintf($fmt, $dtxt, $addr,
     3105                $rdat->dns_dom, $rdat->dns_ret, $difftime);
     3106            self::errlog($fmt);
    34493107        }       
    34503108       
     
    44824140        // Description shown under label shown on widgets page
    44834141        $desc = __('Display comment and ping spam hit information, and database table row count', 'spambl_l10n');
    4484         $opts = array('classname' => $cl, 'description' => $desc);
     4142        $opts = array(
     4143            'classname' => $cl,
     4144            'description' => $desc,
     4145            'customize_selective_refresh' => true
     4146        );
    44854147
    44864148        // control opts width affects the parameters form,
     
    45154177
    45164178        $ud  = $this->plinst->get_usedata_option();
    4517         $bc  = $this->plinst->get_comments_open_option();
    4518         $bp  = $this->plinst->get_pings_open_option();
    4519         $inf = false;
    4520         if ( $ud != 'false' && ($bc != 'false' || $bp != 'false') ) {
     4179        if ( $ud != 'false' ) {
    45214180            $inf = $this->plinst->get_db_info();
    45224181        }
    4523        
     4182
    45244183        // note *no default* for title; allow empty title so that
    45254184        // user may place this below another widget with
     
    45424201            $br  = $this->plinst->get_user_regi_option();
    45434202            $tw  = $this->plinst->get_torwhite_option();
    4544             $bo  = $this->plinst->get_bailout_option();
    45454203            $ce  = $this->plinst->get_chkexist_option();
    45464204            $rn  = $this->plinst->get_rec_non_option();
    45474205            $ps  = $this->plinst->get_rej_not_option();
    45484206            $showopt = false;
    4549             if ( $bc != 'false' || $bp != 'false' || $br != 'false' ||
    4550                 $tw != 'false' || $ps != 'false' ||
    4551                 $bo != 'false' || $ce != 'false' || $rn != 'false' ) {
    4552                 $showopt = true;
     4207            if ( $br != 'false' ||
     4208                 $tw != 'false' || $ps != 'false' ||
     4209                $ce != 'false' || $rn != 'false' ) {
     4210                 $showopt = true;
    45534211            }
    45544212        }
     
    45764234            echo "\n\t<ul>";
    45774235
    4578             if ( $bc != 'false' ) {
    4579                 printf("\n\t\t<li>%s</li>",
    4580                     $wt(__('Checking for comment spam', 'spambl_l10n'))
    4581                 );
    4582             }
    4583             if ( $bp != 'false' ) {
    4584                 printf("\n\t\t<li>%s</li>",
    4585                     $wt(__('Checking for ping spam', 'spambl_l10n'))
    4586                 );
    4587             }
    45884236            if ( $br != 'false' ) {
    45894237                printf("\n\t\t<li>%s</li>",
     
    45944242                printf("\n\t\t<li>%s</li>",
    45954243                    $wt(__('Checking in saved spam', 'spambl_l10n'))
    4596                 );
    4597             }
    4598             if ( $bo != 'false' ) {
    4599                 printf("\n\t\t<li>%s</li>",
    4600                     $wt(__('Bailing out on hits', 'spambl_l10n'))
    46014244                );
    46024245            }
  • spam-blip/tags/1.0.7.1/js/screens.min.js

    r897320 r1397813  
    1 var evhplg_ctl_screenopt=function(id_chk){this.chk=document.getElementById(id_chk);this.ihid=document.getElementById('screen_opts_1_ini');this.chk.spbl=this;this.chk.addEventListener('click',this.clk,false);};evhplg_ctl_screenopt.prototype={chk:null,hid:null,ihid:null,all:{},add:function(id){this.all[id]=document.getElementById(id);if(this.ihid!=null){this.chk.checked=this.ihid.value=='false'?'':'CHECKED';this.tog(this.chk.checked?false:true);}
    2 this.hid=document.getElementById('screen_opts_1');},tog:function(ch){var dis=ch?"none":"block";for(var k in this.all){this.all[k].style.display=dis;}},clk:function(){this.spbl.tog(this.checked?false:true);if(this.spbl.hid!=null){this.spbl.hid.value=this.checked?'true':'false';}
    3 return false;}};var evhplg_obj_screenopt={};function addto_evhplg_obj_screenopt(id,target){if(evhplg_obj_screenopt[id]==undefined)
    4 evhplg_obj_screenopt[id]=new evhplg_ctl_screenopt(id);evhplg_obj_screenopt[id].add(target);};var evhplg_ctl_textpair=function(id_tl,id_tr,id_bl,id_br,dbg){this.tx_l=document.getElementById(id_tl);this.tx_l.spbl=this;this.tx_l.addEventListener('dblclick',this.clk_tx,false);this.tx_r=document.getElementById(id_tr);this.tx_r.spbl=this;this.tx_r.addEventListener('dblclick',this.clk_tx,false);this.bt_l=document.getElementById(id_bl);this.bt_l.spbl=this;this.bt_l.addEventListener('click',this.clk_btl,false);this.bt_r=document.getElementById(id_br);this.bt_r.spbl=this;this.bt_r.addEventListener('click',this.clk_btr,false);if(dbg!==null&&dbg!=""){this.dbg=document.getElementById(dbg);}};evhplg_ctl_textpair.prototype={tx_l:null,tx_r:null,bt_l:null,bt_r:null,clk_btl:function(){var ctl=this.spbl;var fr=ctl.tx_l;var to=ctl.tx_r;var r=ctl.movcur(fr,to);if(r)
    5 to.focus();return r;},clk_btr:function(){var ctl=this.spbl;var to=ctl.tx_l;var fr=ctl.tx_r;var r=ctl.movcur(fr,to);if(r)
    6 to.focus();return r;},clk_tx:function(){var ctl=this.spbl;ctl.selcur(this);this.focus();},movcur:function(fr,to){l=this.cutcur(fr);if(l!==false){return this.putcur(to,l);}
    7 return false;},cutcur:function(tx){this.selcur(tx);var t,s,e,v=this.sanitx(tx.value);if(!(s=tx.selectionStart))
    8 s=0;if(!(e=tx.selectionEnd)&&e!==0)
    9 e=s;if(e<s){t=s;s=e;e=t;}
    10 if(s===e){return false;}
    11 t=v.slice(s,e);tx.value=v.slice(0,s)+v.substring(e);return t;},putcur:function(tx,val){var s,v=this.sanitx(tx.value);if(!(s=tx.selectionStart))
    12 s=0;while(s>0){if(v.charAt(s)==="\n"){++s;break;}
    13 --s;}
    14 tx.value=v.slice(0,s)+this.sanitx(val)+v.substring(s);tx.selectionStart=s;tx.selectionEnd=s+val.length;return true;},selcur:function(tx){var s,e,v=tx.value;if(!(s=tx.selectionStart))
    15 s=0;if(!(e=tx.selectionEnd))
    16 e=s;if(e<s)
    17 s=e;var p=s,l=v.length;while(--p>=0){if(v.charAt(p)==="\n"){break;}}
    18 s=p+1;p=e=s;while(++p<l){if(v.charAt(p)==="\n"){break;}}
    19 e=p;if(e<l){e++;}
    20 tx.selectionStart=s;tx.selectionEnd=e;},sanitx:function(tx){var l=tx.length;if(l<1||tx.charAt(l-1)=="\n"){return tx;}
    21 return tx+"\n";},dbg:null,dbg_msg:function(msg){if(this.dbg!==null){this.dbg.innerHTML+='<br/>'+msg;}}};var evhplg_ctl_textpair_objmap={form_1:null,form_2:null,form_3:null,form_4:null,form_5:null,form_6:null,fpo:null};
     1function addto_evhplg_obj_screenopt(t,e){void 0==evhplg_obj_screenopt[t]&&(evhplg_obj_screenopt[t]=new evhplg_ctl_screenopt(t)),evhplg_obj_screenopt[t].add(e)}var evhplg_ctl_screenopt=function(t){this.chk=document.getElementById(t),this.ihid=document.getElementById("screen_opts_1_ini"),this.chk.spbl=this,this.chk.addEventListener("click",this.clk,!1)};evhplg_ctl_screenopt.prototype={chk:null,hid:null,ihid:null,all:{},add:function(t){this.all[t]=document.getElementById(t),null!=this.ihid&&(this.chk.checked="false"==this.ihid.value?"":"CHECKED",this.tog(this.chk.checked?!1:!0)),this.hid=document.getElementById("screen_opts_1")},tog:function(t){var e=t?"none":"block";for(var l in this.all)this.all[l].style.display=e},clk:function(){return this.spbl.tog(this.checked?!1:!0),null!=this.spbl.hid&&(this.spbl.hid.value=this.checked?"true":"false"),!1}};var evhplg_obj_screenopt={},evhplg_ctl_textpair=function(t,e,l,n,i){this.tx_l=document.getElementById(t),this.tx_l.spbl=this,this.tx_l.addEventListener("dblclick",this.clk_tx,!1),this.tx_r=document.getElementById(e),this.tx_r.spbl=this,this.tx_r.addEventListener("dblclick",this.clk_tx,!1),this.bt_l=document.getElementById(l),this.bt_l.spbl=this,this.bt_l.addEventListener("click",this.clk_btl,!1),this.bt_r=document.getElementById(n),this.bt_r.spbl=this,this.bt_r.addEventListener("click",this.clk_btr,!1),null!==i&&""!=i&&(this.dbg=document.getElementById(i))};evhplg_ctl_textpair.prototype={tx_l:null,tx_r:null,bt_l:null,bt_r:null,clk_btl:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(e,l);return n&&l.focus(),n},clk_btr:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(l,e);return n&&e.focus(),n},clk_tx:function(){var t=this.spbl;t.selcur(this),this.focus()},movcur:function(t,e){return l=this.cutcur(t),l!==!1?this.putcur(e,l):!1},cutcur:function(t){this.selcur(t);var e,l,n,i=this.sanitx(t.value);return(l=t.selectionStart)||(l=0),(n=t.selectionEnd)||0===n||(n=l),l>n&&(e=l,l=n,n=e),l===n?!1:(e=i.slice(l,n),t.value=i.slice(0,l)+i.substring(n),e)},putcur:function(t,e){var l,n=this.sanitx(t.value);for((l=t.selectionStart)||(l=0);l>0;){if("\n"===n.charAt(l)){++l;break}--l}return t.value=n.slice(0,l)+this.sanitx(e)+n.substring(l),t.selectionStart=l,t.selectionEnd=l+e.length,!0},selcur:function(t){var e,l,n=t.value;(e=t.selectionStart)||(e=0),(l=t.selectionEnd)||(l=e),e>l&&(e=l);for(var i=e,s=n.length;--i>=0&&"\n"!==n.charAt(i););for(e=i+1,i=l=e;++i<s&&"\n"!==n.charAt(i););l=i,s>l&&l++,t.selectionStart=e,t.selectionEnd=l},sanitx:function(t){var e=t.length;return 1>e||"\n"==t.charAt(e-1)?t:t+"\n"},dbg:null,dbg_msg:function(t){null!==this.dbg&&(this.dbg.innerHTML+="<br/>"+t)}};var evhplg_ctl_textpair_objmap={form_1:null,form_2:null,form_3:null,form_4:null,form_5:null,form_6:null,fpo:null};
  • spam-blip/tags/1.0.7.1/locale/spambl_l10n-en_US.po

    r1225166 r1397813  
    1 # Spam_BLIP 1.0.6 Pot Source
     1# Spam_BLIP 1.0.7.1 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the Spam_BLIP package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Spam_BLIP 1.0.6\n"
     9"Project-Id-Version: Spam_BLIP 1.0.7.1\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2015-08-19 09:54-0400\n"
    12 "PO-Revision-Date: 2015-08-19 09:54 EDT\n"
     11"POT-Creation-Date: 2016-04-17 11:07-0400\n"
     12"PO-Revision-Date: 2016-04-17 11:07 EDT\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
     
    1919"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    2020
    21 #: Spam_BLIP.php:484
     21#: Spam_BLIP.php:460
    2222msgid "Show verbose introductions:"
    2323msgstr "Show verbose introductions:"
    2424
    25 #: Spam_BLIP.php:489
    26 msgid "Blacklist check for comments:"
    27 msgstr "Blacklist check for comments:"
    28 
    29 #: Spam_BLIP.php:494
    30 msgid "Blacklist check for pings:"
    31 msgstr "Blacklist check for pings:"
    32 
    33 #: Spam_BLIP.php:499
     25#: Spam_BLIP.php:465
    3426msgid "Blacklist check user registrations:"
    3527msgstr "Blacklist check user registrations:"
    3628
    37 #: Spam_BLIP.php:504
     29#: Spam_BLIP.php:470
    3830msgid "Whitelist (pass) TOR exit nodes:"
    3931msgstr "Whitelist (pass) TOR exit nodes:"
    4032
    41 #: Spam_BLIP.php:509
     33#: Spam_BLIP.php:475
    4234msgid "Check existing comment spam:"
    4335msgstr "Check existing comment spam:"
    4436
    45 #: Spam_BLIP.php:514
     37#: Spam_BLIP.php:480
    4638msgid "Check but do <em>not</em> reject:"
    4739msgstr "Check but do <em>not</em> reject:"
    4840
    49 #: Spam_BLIP.php:523
     41#: Spam_BLIP.php:489
    5042msgid "General Options"
    5143msgstr "General Options"
    5244
    53 #: Spam_BLIP.php:536
     45#: Spam_BLIP.php:502
    5446msgid "Keep data:"
    5547msgstr "Keep data:"
    5648
    57 #: Spam_BLIP.php:541
     49#: Spam_BLIP.php:507
    5850msgid "Use data:"
    5951msgstr "Use data:"
    6052
    61 #: Spam_BLIP.php:547
     53#: Spam_BLIP.php:513
    6254msgid "Data records TTL:"
    6355msgstr "Data records TTL:"
    6456
    65 #: Spam_BLIP.php:552
     57#: Spam_BLIP.php:518
    6658msgid "Maximum data records:"
    6759msgstr "Maximum data records:"
    6860
    69 #: Spam_BLIP.php:557
     61#: Spam_BLIP.php:523
    7062msgid "Store (and use) non-hit addresses:"
    7163msgstr "Store (and use) non-hit addresses:"
    7264
    73 #: Spam_BLIP.php:566
     65#: Spam_BLIP.php:532
    7466msgid "Database Options"
    7567msgstr "Database Options"
    7668
    77 #: Spam_BLIP.php:574
     69#: Spam_BLIP.php:540
    7870msgid "Use the included widget:"
    7971msgstr "Use the included widget:"
    8072
    81 #: Spam_BLIP.php:579
     73#: Spam_BLIP.php:545
    8274msgid "Log bad IP addresses:"
    8375msgstr "Log bad IP addresses:"
    8476
    85 #: Spam_BLIP.php:584
     77#: Spam_BLIP.php:550
    8678msgid "Log blacklisted IP addresses:"
    8779msgstr "Log blacklisted IP addresses:"
    8880
    89 #: Spam_BLIP.php:589
    90 msgid "Bail out on blacklisted IP:"
    91 msgstr "Bail out on blacklisted IP:"
    92 
    93 #: Spam_BLIP.php:598
     81#: Spam_BLIP.php:559
    9482msgid "Miscellaneous Options"
    9583msgstr "Miscellaneous Options"
    9684
    97 #: Spam_BLIP.php:606
     85#: Spam_BLIP.php:567
    9886msgid "Active and inactive blacklist domains:"
    9987msgstr "Active and inactive blacklist domains:"
    10088
    101 #: Spam_BLIP.php:611
     89#: Spam_BLIP.php:572
    10290msgid "Active and inactive user blacklist:"
    10391msgstr "Active and inactive user blacklist:"
    10492
    105 #: Spam_BLIP.php:616
     93#: Spam_BLIP.php:577
    10694msgid "Active and inactive user whitelist:"
    10795msgstr "Active and inactive user whitelist:"
    10896
    109 #: Spam_BLIP.php:625
     97#: Spam_BLIP.php:586
    11098msgid "Advanced Options"
    11199msgstr "Advanced Options"
    112100
    113 #: Spam_BLIP.php:634
     101#: Spam_BLIP.php:595
    114102msgid "Delete setup options on uninstall:"
    115103msgstr "Delete setup options on uninstall:"
    116104
    117 #: Spam_BLIP.php:639
     105#: Spam_BLIP.php:600
    118106msgid "Delete database table on uninstall:"
    119107msgstr "Delete database table on uninstall:"
    120108
    121 #: Spam_BLIP.php:648
     109#: Spam_BLIP.php:609
    122110msgid "Plugin Install Settings"
    123111msgstr "Plugin Install Settings"
    124112
    125 #: Spam_BLIP.php:672
     113#: Spam_BLIP.php:633
    126114msgid "Spam BLIP Plugin"
    127115msgstr "Spam BLIP Plugin"
    128116
    129 #: Spam_BLIP.php:673
     117#: Spam_BLIP.php:634
    130118msgid "Spam BLIP Configuration Settings"
    131119msgstr "Spam BLIP Configuration Settings"
     
    135123#. callback ''
    136124#. 'hook_suffix' callback array
    137 #: Spam_BLIP.php:679
     125#: Spam_BLIP.php:640
    138126msgid "<em>Spam BLIP</em> Plugin Settings"
    139127msgstr "<em>Spam BLIP</em> Plugin Settings"
    140128
    141 #: Spam_BLIP.php:680
     129#: Spam_BLIP.php:641
    142130msgid "Options controlling <em>Spam BLIP</em> functions."
    143131msgstr "Options controlling <em>Spam BLIP</em> functions."
    144132
    145 #: Spam_BLIP.php:681 Spam_BLIP.php:743
     133#: Spam_BLIP.php:642 Spam_BLIP.php:704
    146134msgid "Save Settings"
    147135msgstr "Save Settings"
    148136
    149 #: Spam_BLIP.php:695
     137#: Spam_BLIP.php:656
    150138msgid "Section introductions"
    151139msgstr "Section introductions"
     
    156144#. interface label from the WP core, so if possible
    157145#. use the WP core translation for that (likewise "Help").
    158 #: Spam_BLIP.php:723
     146#: Spam_BLIP.php:684
    159147#, possible-php-format
    160148msgid ""
     
    199187"\t\t\t</p>"
    200188
    201 #: Spam_BLIP.php:742 Spam_BLIP.php:2326
     189#: Spam_BLIP.php:703 Spam_BLIP.php:2219
    202190msgid "Show verbose introductions"
    203191msgstr "Show verbose introductions"
    204192
    205193#. TRANSLATORS: all '%s' are labels of checkbox options
    206 #: Spam_BLIP.php:747
     194#: Spam_BLIP.php:708
    207195#, possible-php-format
    208196msgid ""
     
    277265"\t\t\t</p>"
    278266
    279 #: Spam_BLIP.php:781 Spam_BLIP.php:2357
     267#: Spam_BLIP.php:742 Spam_BLIP.php:2236
    280268msgid "Check blacklist for user registration"
    281269msgstr "Check blacklist for user registration"
    282270
    283 #: Spam_BLIP.php:782 Spam_BLIP.php:2364
     271#: Spam_BLIP.php:743 Spam_BLIP.php:2243
    284272msgid "Whitelist TOR addresses"
    285273msgstr "Whitelist TOR addresses"
    286274
    287 #: Spam_BLIP.php:783 Spam_BLIP.php:2535
     275#: Spam_BLIP.php:744 Spam_BLIP.php:2414
    288276msgid "Log blacklist hits"
    289277msgstr "Log blacklist hits"
    290278
    291 #: Spam_BLIP.php:784 Spam_BLIP.php:2542
     279#: Spam_BLIP.php:745
    292280msgid "Bail (wp_die()) on blacklist hits"
    293281msgstr "Bail (wp_die()) on blacklist hits"
    294282
    295 #: Spam_BLIP.php:792
     283#: Spam_BLIP.php:753
    296284#, possible-php-format
    297285msgid ""
     
    310298"\t\t\t</p>"
    311299
    312 #: Spam_BLIP.php:798
     300#: Spam_BLIP.php:759
    313301msgid "For more information:"
    314302msgstr "For more information:"
    315303
    316 #: Spam_BLIP.php:813 Spam_BLIP.php:833
     304#: Spam_BLIP.php:774 Spam_BLIP.php:794
    317305msgid "Overview"
    318306msgstr "Overview"
    319307
    320 #: Spam_BLIP.php:821 Spam_BLIP.php:834
     308#: Spam_BLIP.php:782 Spam_BLIP.php:795
    321309msgid "Tips"
    322310msgstr "Tips"
    323311
    324 #: Spam_BLIP.php:957
     312#: Spam_BLIP.php:918
    325313msgid "Settings"
    326314msgstr "Settings"
    327315
    328 #: Spam_BLIP.php:1465
     316#: Spam_BLIP.php:1389
    329317#, possible-php-format
    330318msgid "bad TTL option: \"%s\""
    331319msgstr "bad TTL option: \"%s\""
    332320
    333 #: Spam_BLIP.php:1499
     321#: Spam_BLIP.php:1423
    334322#, possible-php-format
    335323msgid "bad maximum: \"%s\""
    336324msgstr "bad maximum: \"%s\""
    337325
    338 #: Spam_BLIP.php:1517
     326#: Spam_BLIP.php:1441
    339327msgid "whitelist"
    340328msgstr "whitelist"
    341329
    342 #: Spam_BLIP.php:1518
     330#: Spam_BLIP.php:1442
    343331msgid "blacklist"
    344332msgstr "blacklist"
     
    347335#. 'whitelist' or 'blacklist', and
    348336#. %2$s is an IP4 dotted quad address
    349 #: Spam_BLIP.php:1573
     337#: Spam_BLIP.php:1497
    350338#, possible-php-format
    351339msgid "bad user %1$s address set: \"%2$s\""
     
    353341
    354342#. record error for WP
    355 #: Spam_BLIP.php:1625
     343#: Spam_BLIP.php:1549
    356344#, possible-php-format
    357345msgid "bad blacklist domain set: \"%s\""
    358346msgstr "bad blacklist domain set: \"%s\""
    359347
    360 #: Spam_BLIP.php:1695
     348#: Spam_BLIP.php:1616
    361349#, possible-php-format
    362350msgid "bad key in option validation: \"%s\""
    363351msgstr "bad key in option validation: \"%s\""
    364352
    365 #: Spam_BLIP.php:1744
     353#: Spam_BLIP.php:1665
    366354#, possible-php-format
    367355msgid "%u setting updated successfully"
     
    370358msgstr[1] "%u settings updated successfully"
    371359
    372 #: Spam_BLIP.php:1747
     360#: Spam_BLIP.php:1668
    373361#, possible-php-format
    374362msgid "One (%d) setting updated"
     
    377365msgstr[1] "Some settings (%d) updated"
    378366
    379 #: Spam_BLIP.php:1780 Spam_BLIP.php:1887 Spam_BLIP.php:1986
    380 #: Spam_BLIP.php:2071 Spam_BLIP.php:2195
     367#: Spam_BLIP.php:1701 Spam_BLIP.php:1793 Spam_BLIP.php:1892
     368#: Spam_BLIP.php:1964 Spam_BLIP.php:2088
    381369msgid "Introduction:"
    382370msgstr "Introduction:"
    383371
    384 #: Spam_BLIP.php:1783
     372#: Spam_BLIP.php:1704
    385373msgid ""
    386374"The \"Show verbose introductions\"\n"
     
    402390"\t\t\tselected."
    403391
    404 #: Spam_BLIP.php:1793
    405 msgid ""
    406 "The \"Blacklist check for comments\" option \n"
    407 "\t\t\tenables the main functionality of the plugin. When\n"
    408 "\t\t\t<em>WordPress</em> core code checks whether comments\n"
    409 "\t\t\tare open or closed, this plugin will check the connecting\n"
    410 "\t\t\tIP address against DNS-based blacklists of weblog\n"
    411 "\t\t\tcomment spammers, and if it is found, will tell\n"
    412 "\t\t\t<em>WordPress</em> that comments are\n"
    413 "\t\t\tclosed."
    414 msgstr ""
    415 "The \"Blacklist check for comments\" option \n"
    416 "\t\t\tenables the main functionality of the plugin. When\n"
    417 "\t\t\t<em>WordPress</em> core code checks whether comments\n"
    418 "\t\t\tare open or closed, this plugin will check the connecting\n"
    419 "\t\t\tIP address against DNS-based blacklists of weblog\n"
    420 "\t\t\tcomment spammers, and if it is found, will tell\n"
    421 "\t\t\t<em>WordPress</em> that comments are\n"
    422 "\t\t\tclosed."
    423 
    424 #: Spam_BLIP.php:1803
    425 msgid ""
    426 "The \"Blacklist check for pings\" option \n"
    427 "\t\t\tis similar to \"Blacklist check for comments\",\n"
    428 "\t\t\tbut for pings."
    429 msgstr ""
    430 "The \"Blacklist check for pings\" option \n"
    431 "\t\t\tis similar to \"Blacklist check for comments\",\n"
    432 "\t\t\tbut for pings."
    433 
    434 #: Spam_BLIP.php:1808
     392#: Spam_BLIP.php:1714
    435393msgid ""
    436394"The \"Blacklist check user registrations\"\n"
     
    454412"\t\t\tdefault."
    455413
    456 #: Spam_BLIP.php:1819
     414#: Spam_BLIP.php:1725
    457415msgid ""
    458416"The \"Whitelist TOR exit nodes\" option \n"
     
    490448"\t\t\tdefense."
    491449
    492 #: Spam_BLIP.php:1837
     450#: Spam_BLIP.php:1743
    493451msgid ""
    494452"With \"Check existing comment spam\"\n"
     
    514472"\t\t\tThe default is true."
    515473
    516 #: Spam_BLIP.php:1849
     474#: Spam_BLIP.php:1755
    517475msgid ""
    518476"With \"Check but do <em>not</em> reject\"\n"
     
    530488"\t\t\t"
    531489
    532 #: Spam_BLIP.php:1864 Spam_BLIP.php:1971 Spam_BLIP.php:2056
    533 #: Spam_BLIP.php:2179 Spam_BLIP.php:2223
     490#: Spam_BLIP.php:1770 Spam_BLIP.php:1877 Spam_BLIP.php:1949
     491#: Spam_BLIP.php:2072 Spam_BLIP.php:2116
    534492msgid "Go forward to save button."
    535493msgstr "Go forward to save button."
    536494
    537 #: Spam_BLIP.php:1873
     495#: Spam_BLIP.php:1779
    538496#, possible-php-format
    539497msgid "(There is %u record in the database table)"
     
    542500msgstr[1] "(There are %u records in the database table)"
    543501
    544 #: Spam_BLIP.php:1895
     502#: Spam_BLIP.php:1801
    545503msgid ""
    546504"These options enable, disable or configure\n"
     
    554512"\t\t\tstored data before DNS lookup."
    555513
    556 #: Spam_BLIP.php:1901
     514#: Spam_BLIP.php:1807
    557515msgid ""
    558516"The \"Keep data\" option enables recording of\n"
     
    568526"\t\t\tenabled.)"
    569527
    570 #: Spam_BLIP.php:1908
     528#: Spam_BLIP.php:1814
    571529msgid ""
    572530"The \"Use data\" option enables a check in the\n"
     
    579537
    580538#. if ( self::userecdata_enable )
    581 #: Spam_BLIP.php:1913
     539#: Spam_BLIP.php:1819
    582540msgid ""
    583541"These options configure\n"
     
    592550
    593551#. if ( self::userecdata_enable )
    594 #: Spam_BLIP.php:1920
     552#: Spam_BLIP.php:1826
    595553msgid ""
    596554"\"Data records TTL\" sets an expiration time for\n"
     
    628586"\t\t\tperformed, expired records are removed."
    629587
    630 #: Spam_BLIP.php:1938
     588#: Spam_BLIP.php:1844
    631589msgid ""
    632590"The \"Maximum data records\" option limits how\n"
     
    650608"\t\t\tbeing trimmed back to the number set here"
    651609
    652 #: Spam_BLIP.php:1949
     610#: Spam_BLIP.php:1855
    653611msgid ""
    654612"The \"Store (and use) non-hit addresses\"\n"
     
    680638"\t\t\tThe default is false."
    681639
    682 #: Spam_BLIP.php:1973 Spam_BLIP.php:2058 Spam_BLIP.php:2181
    683 #: Spam_BLIP.php:2225
     640#: Spam_BLIP.php:1879 Spam_BLIP.php:1951 Spam_BLIP.php:2074
     641#: Spam_BLIP.php:2118
    684642msgid "Go back to top (General section)."
    685643msgstr "Go back to top (General section)."
    686644
    687 #: Spam_BLIP.php:1989
     645#: Spam_BLIP.php:1895
    688646msgid ""
    689647"The \"Use the included widget\" option controls\n"
     
    711669"\t\t\t"
    712670
    713 #: Spam_BLIP.php:2002
     671#: Spam_BLIP.php:1908
    714672msgid ""
    715673"The \"Log bad IP addresses\" option enables\n"
     
    763721"\t\t\t"
    764722
    765 #: Spam_BLIP.php:2028
     723#: Spam_BLIP.php:1934
    766724msgid ""
    767725"\"Log blacklisted IP addresses\" selects logging\n"
     
    779737"\t\t\thas had."
    780738
    781 #: Spam_BLIP.php:2036
    782 msgid ""
    783 "The \"Bail out on blacklisted IP\"\n"
    784 "\t\t\toption will have the plugin terminate the blog output\n"
    785 "\t\t\twhen the connecting IP address is blacklisted. The\n"
    786 "\t\t\tdefault is to only disable comments, and allow the\n"
    787 "\t\t\tpage to be produced normally. This option will save\n"
    788 "\t\t\tsome amount of network load,\n"
    789 "\t\t\tand spammers do not want or need your\n"
    790 "\t\t\tcontent anyway, but if there is a rare false positive,\n"
    791 "\t\t\tthe visitor, also a spam victim in this case, will\n"
    792 "\t\t\tmiss your content.\n"
    793 "\t\t\t"
    794 msgstr ""
    795 "The \"Bail out on blacklisted IP\"\n"
    796 "\t\t\toption will have the plugin terminate the blog output\n"
    797 "\t\t\twhen the connecting IP address is blacklisted. The\n"
    798 "\t\t\tdefault is to only disable comments, and allow the\n"
    799 "\t\t\tpage to be produced normally. This option will save\n"
    800 "\t\t\tsome amount of network load,\n"
    801 "\t\t\tand spammers do not want or need your\n"
    802 "\t\t\tcontent anyway, but if there is a rare false positive,\n"
    803 "\t\t\tthe visitor, also a spam victim in this case, will\n"
    804 "\t\t\tmiss your content.\n"
    805 "\t\t\t"
    806 
    807 #: Spam_BLIP.php:2074
     739#: Spam_BLIP.php:1967
    808740msgid ""
    809741"The \"Active and inactive blacklist domains\"\n"
     
    837769"\t\t\t"
    838770
    839 #: Spam_BLIP.php:2090
     771#: Spam_BLIP.php:1983
    840772msgid ""
    841773"Each \"Active and inactive blacklist domains\"\n"
     
    913845"\t\t\t"
    914846
    915 #: Spam_BLIP.php:2128
     847#: Spam_BLIP.php:2021
    916848msgid ""
    917849"The \"Active and inactive user blacklist\"\n"
     
    1001933"\t\t\t"
    1002934
    1003 #: Spam_BLIP.php:2198
     935#: Spam_BLIP.php:2091
    1004936msgid ""
    1005937"This section includes optional\n"
     
    1025957"\t\t\tthese data might be a good idea."
    1026958
    1027 #: Spam_BLIP.php:2210
     959#: Spam_BLIP.php:2103
    1028960msgid ""
    1029961"The \"Delete setup options\" option and the\n"
     
    1037969"\t\t\t"
    1038970
    1039 #: Spam_BLIP.php:2343
    1040 msgid "Check blacklist for comments"
    1041 msgstr "Check blacklist for comments"
    1042 
    1043 #: Spam_BLIP.php:2350
    1044 msgid "Check blacklist for pings"
    1045 msgstr "Check blacklist for pings"
    1046 
    1047 #: Spam_BLIP.php:2371
     971#: Spam_BLIP.php:2250
    1048972msgid "Store non-hit addresses for repeats"
    1049973msgstr "Store non-hit addresses for repeats"
    1050974
    1051 #: Spam_BLIP.php:2378
     975#: Spam_BLIP.php:2257
    1052976msgid "Check address in existing comments"
    1053977msgstr "Check address in existing comments"
    1054978
    1055 #: Spam_BLIP.php:2385
     979#: Spam_BLIP.php:2264
    1056980msgid "Pass (do not reject) hits"
    1057981msgstr "Pass (do not reject) hits"
    1058982
    1059 #: Spam_BLIP.php:2392
     983#: Spam_BLIP.php:2271
    1060984msgid "Store blacklist lookup results"
    1061985msgstr "Store blacklist lookup results"
    1062986
    1063 #: Spam_BLIP.php:2399
     987#: Spam_BLIP.php:2278
    1064988msgid "Use stored blacklist lookup results"
    1065989msgstr "Use stored blacklist lookup results"
    1066990
    1067 #: Spam_BLIP.php:2406
     991#: Spam_BLIP.php:2285
    1068992msgid "Set \"Time To Live\" of database records"
    1069993msgstr "Set \"Time To Live\" of database records"
    1070994
    1071 #: Spam_BLIP.php:2410
     995#: Spam_BLIP.php:2289
    1072996#, possible-php-format
    1073997msgid "One hour, %s seconds"
    1074998msgstr "One hour, %s seconds"
    1075999
    1076 #: Spam_BLIP.php:2412
     1000#: Spam_BLIP.php:2291
    10771001#, possible-php-format
    10781002msgid "Six hours, %s seconds"
    10791003msgstr "Six hours, %s seconds"
    10801004
    1081 #: Spam_BLIP.php:2414
     1005#: Spam_BLIP.php:2293
    10821006#, possible-php-format
    10831007msgid "Twelve hours, %s seconds"
    10841008msgstr "Twelve hours, %s seconds"
    10851009
    1086 #: Spam_BLIP.php:2416
     1010#: Spam_BLIP.php:2295
    10871011#, possible-php-format
    10881012msgid "One day, %s seconds"
    10891013msgstr "One day, %s seconds"
    10901014
    1091 #: Spam_BLIP.php:2418
     1015#: Spam_BLIP.php:2297
    10921016#, possible-php-format
    10931017msgid "One week, %s seconds"
    10941018msgstr "One week, %s seconds"
    10951019
    1096 #: Spam_BLIP.php:2420
     1020#: Spam_BLIP.php:2299
    10971021#, possible-php-format
    10981022msgid "Two weeks, %s seconds"
    10991023msgstr "Two weeks, %s seconds"
    11001024
    1101 #: Spam_BLIP.php:2422
     1025#: Spam_BLIP.php:2301
    11021026#, possible-php-format
    11031027msgid "Four weeks, %s seconds"
    11041028msgstr "Four weeks, %s seconds"
    11051029
    1106 #: Spam_BLIP.php:2424
     1030#: Spam_BLIP.php:2303
    11071031msgid "Set a value in seconds:"
    11081032msgstr "Set a value in seconds:"
    11091033
    1110 #: Spam_BLIP.php:2469
     1034#: Spam_BLIP.php:2348
    11111035msgid "Set number of database records to keep"
    11121036msgstr "Set number of database records to keep"
    11131037
    1114 #: Spam_BLIP.php:2473
     1038#: Spam_BLIP.php:2352
    11151039msgid "Ten (10)"
    11161040msgstr "Ten (10)"
    11171041
    1118 #: Spam_BLIP.php:2474
     1042#: Spam_BLIP.php:2353
    11191043msgid "Fifty (50)"
    11201044msgstr "Fifty (50)"
    11211045
    1122 #: Spam_BLIP.php:2475
     1046#: Spam_BLIP.php:2354
    11231047msgid "One hundred (100)"
    11241048msgstr "One hundred (100)"
    11251049
    1126 #: Spam_BLIP.php:2476
     1050#: Spam_BLIP.php:2355
    11271051msgid "Two hundred (200)"
    11281052msgstr "Two hundred (200)"
    11291053
    1130 #: Spam_BLIP.php:2477
     1054#: Spam_BLIP.php:2356
    11311055msgid "Five hundred (500)"
    11321056msgstr "Five hundred (500)"
    11331057
    1134 #: Spam_BLIP.php:2478
     1058#: Spam_BLIP.php:2357
    11351059msgid "One thousand (1000)"
    11361060msgstr "One thousand (1000)"
    11371061
    1138 #: Spam_BLIP.php:2479
     1062#: Spam_BLIP.php:2358
    11391063msgid "Set a value:"
    11401064msgstr "Set a value:"
    11411065
    1142 #: Spam_BLIP.php:2521
     1066#: Spam_BLIP.php:2400
    11431067msgid "Enable the included widget"
    11441068msgstr "Enable the included widget"
    11451069
    1146 #: Spam_BLIP.php:2528
     1070#: Spam_BLIP.php:2407
    11471071msgid "Log bad addresses in \"REMOTE_ADDR\""
    11481072msgstr "Log bad addresses in \"REMOTE_ADDR\""
     
    11501074#. TRANSLATORS: these are labels above textarea elements
    11511075#. do not use html entities
    1152 #: Spam_BLIP.php:2592
     1076#: Spam_BLIP.php:2464
    11531077msgid "Active User Whitelist:"
    11541078msgstr "Active User Whitelist:"
    11551079
    1156 #: Spam_BLIP.php:2593
     1080#: Spam_BLIP.php:2465
    11571081msgid "Inactive User Whitelist:"
    11581082msgstr "Inactive User Whitelist:"
     
    11621086#. '<<' and '>>' should suggest movement left and right
    11631087#. do not use html entities
    1164 #: Spam_BLIP.php:2604 Spam_BLIP.php:2676
     1088#: Spam_BLIP.php:2476 Spam_BLIP.php:2548
    11651089msgid "Move address right >>"
    11661090msgstr "Move address right >>"
    11671091
    1168 #: Spam_BLIP.php:2605 Spam_BLIP.php:2677
     1092#: Spam_BLIP.php:2477 Spam_BLIP.php:2549
    11691093msgid "<< Move address left"
    11701094msgstr "<< Move address left"
     
    11721096#. TRANSLATORS: these are labels above textarea elements
    11731097#. do not use html entities
    1174 #: Spam_BLIP.php:2664
     1098#: Spam_BLIP.php:2536
    11751099msgid "Active User Blacklist:"
    11761100msgstr "Active User Blacklist:"
    11771101
    1178 #: Spam_BLIP.php:2665
     1102#: Spam_BLIP.php:2537
    11791103msgid "Inactive User Blacklist:"
    11801104msgstr "Inactive User Blacklist:"
     
    11821106#. TRANSLATORS: these are labels above textarea elements
    11831107#. do not use html entities
    1184 #: Spam_BLIP.php:2745
     1108#: Spam_BLIP.php:2617
    11851109msgid "Active DNS Blacklists:"
    11861110msgstr "Active DNS Blacklists:"
    11871111
    1188 #: Spam_BLIP.php:2746
     1112#: Spam_BLIP.php:2618
    11891113msgid "Inactive DNS Blacklists:"
    11901114msgstr "Inactive DNS Blacklists:"
     
    11941118#. '<<' and '>>' should suggest movement left and right
    11951119#. do not use html entities
    1196 #: Spam_BLIP.php:2757
     1120#: Spam_BLIP.php:2629
    11971121msgid "Move line right >>"
    11981122msgstr "Move line right >>"
    11991123
    1200 #: Spam_BLIP.php:2758
     1124#: Spam_BLIP.php:2630
    12011125msgid "<< Move line left"
    12021126msgstr "<< Move line left"
    12031127
    1204 #: Spam_BLIP.php:2774
     1128#: Spam_BLIP.php:2646
    12051129msgid "Permanently delete plugin settings"
    12061130msgstr "Permanently delete plugin settings"
    12071131
    1208 #: Spam_BLIP.php:2781
     1132#: Spam_BLIP.php:2653
    12091133msgid "Permanently delete database table (stored data)"
    12101134msgstr "Permanently delete database table (stored data)"
    12111135
    1212 #: Spam_BLIP.php:2938
     1136#: Spam_BLIP.php:2803
    12131137msgid "cannot allocate BL check object"
    12141138msgstr "cannot allocate BL check object"
     
    12171141#. in response to blacklisted IP address
    12181142#. TODO: make message text an option
    1219 #: Spam_BLIP.php:3058 Spam_BLIP.php:3115 Spam_BLIP.php:3153
    1220 #: Spam_BLIP.php:3785
     1143#: Spam_BLIP.php:2905 Spam_BLIP.php:2936 Spam_BLIP.php:3443
    12211144msgid "Sorry, but no, thank you."
    12221145msgstr "Sorry, but no, thank you."
    12231146
    1224 #: Spam_BLIP.php:3281
     1147#: Spam_BLIP.php:2948
    12251148#, possible-php-format
    12261149msgid ""
     
    12291152"Got IP version 6 address \"%s\"; sorry, only IP4 handled currently"
    12301153
    1231 #: Spam_BLIP.php:3283
     1154#: Spam_BLIP.php:2950
    12321155#, possible-php-format
    12331156msgid "Invalid remote address; \"REMOTE_ADDR\" contains \"%s\""
     
    12351158
    12361159#. TRANSLATORS: word for ietf/iana reserved network
    1237 #: Spam_BLIP.php:3309
     1160#: Spam_BLIP.php:3029
    12381161msgid "RESERVED"
    12391162msgstr "RESERVED"
    12401163
    12411164#. TRANSLATORS: word for ietf/iana loopback network
    1242 #: Spam_BLIP.php:3311
     1165#: Spam_BLIP.php:3031
    12431166msgid "LOOPBACK"
    12441167msgstr "LOOPBACK"
     
    12471170#. see comments above.
    12481171#. %2$s is an IPv4 dotted quad address
    1249 #: Spam_BLIP.php:3316
     1172#: Spam_BLIP.php:3036
    12501173#, possible-php-format
    12511174msgid "Got %1$s IPv4 address \"%2$s\" in \"REMOTE_ADDR\"."
     
    12531176
    12541177#. TRANSLATORS: see "TRANSLATORS: %1$s is type..."
    1255 #: Spam_BLIP.php:3420 Spam_BLIP.php:3491 Spam_BLIP.php:3552
    1256 #: Spam_BLIP.php:3606
     1178#: Spam_BLIP.php:3089 Spam_BLIP.php:3149 Spam_BLIP.php:3210
     1179#: Spam_BLIP.php:3264
    12571180msgid "pings"
    12581181msgstr "pings"
    12591182
    12601183#. TRANSLATORS: see "TRANSLATORS: %1$s is type..."
    1261 #: Spam_BLIP.php:3422 Spam_BLIP.php:3493 Spam_BLIP.php:3554
    1262 #: Spam_BLIP.php:3608
     1184#: Spam_BLIP.php:3091 Spam_BLIP.php:3151 Spam_BLIP.php:3212
     1185#: Spam_BLIP.php:3266
    12631186msgid "comments"
    12641187msgstr "comments"
     
    12691192#. %4$s is IP4 blacklist lookup result
    12701193#. %5$f is lookup time in seconds (float)
    1271 #: Spam_BLIP.php:3435
     1194#: Spam_BLIP.php:3103
    12721195#, possible-php-format
    12731196msgid ""
     
    12751198msgstr ""
    12761199"%1$s denied for address %2$s, list at \"%3$s\", result %4$s in %5$f"
    1277 
    1278 #. TRANSLATORS: %1$s is type "comments" or "pings"
    1279 #. %2$s is IP4 address dotted quad
    1280 #. %3$f is lookup time in seconds (float)
    1281 #: Spam_BLIP.php:3445
    1282 #, possible-php-format
    1283 msgid "%1$s denied for address %2$s in %3$f"
    1284 msgstr "%1$s denied for address %2$s in %3$f"
    12851200
    12861201#. TRANSLATORS: %1$s is type "comments" or "pings"
    12871202#. %2$s is IP4 address dotted quad
    12881203#. %3$f is is time (float) used in option check
    1289 #: Spam_BLIP.php:3502
     1204#: Spam_BLIP.php:3160
    12901205#, possible-php-format
    12911206msgid ""
     
    12971212#. %2$s is IP4 address dotted quad
    12981213#. %3$f is is time (float) used in option check
    1299 #: Spam_BLIP.php:3563
     1214#: Spam_BLIP.php:3221
    13001215#, possible-php-format
    13011216msgid ""
     
    13111226#. %5$u is integer number of times seen (hitcount)
    13121227#. %6$f is is time (float) used in database check
    1313 #: Spam_BLIP.php:3621
     1228#: Spam_BLIP.php:3279
    13141229#, possible-php-format
    13151230msgid ""
     
    13281243#. TRANSLATORS: %1$s is IP4 address; %2$u is the
    13291244#. number of times adress was seen previously
    1330 #: Spam_BLIP.php:3717
     1245#: Spam_BLIP.php:3375
    13311246#, possible-php-format
    13321247msgid ""
     
    13391254#. TRANSLATORS: %s is IP4 address; DNS is the
    13401255#. domain name system
    1341 #: Spam_BLIP.php:3757
     1256#: Spam_BLIP.php:3415
    13421257#, possible-php-format
    13431258msgid "Found \"%s\" to be a tor exit, by DNS -- passed per option"
     
    13451260
    13461261#. Label shown on widgets page
    1347 #: Spam_BLIP.php:4481
     1262#: Spam_BLIP.php:4139
    13481263msgid "Spam BLIP"
    13491264msgstr "Spam BLIP"
    13501265
    13511266#. Description shown under label shown on widgets page
    1352 #: Spam_BLIP.php:4483
     1267#: Spam_BLIP.php:4141
    13531268msgid ""
    13541269"Display comment and ping spam hit information, and database table row "
     
    13581273"count"
    13591274
    1360 #: Spam_BLIP.php:4574
     1275#: Spam_BLIP.php:4232
    13611276msgid "Options:"
    13621277msgstr "Options:"
    13631278
    1364 #: Spam_BLIP.php:4580
    1365 msgid "Checking for comment spam"
    1366 msgstr "Checking for comment spam"
    1367 
    1368 #: Spam_BLIP.php:4585
    1369 msgid "Checking for ping spam"
    1370 msgstr "Checking for ping spam"
    1371 
    1372 #: Spam_BLIP.php:4590
     1279#: Spam_BLIP.php:4238
    13731280msgid "Checking user registration"
    13741281msgstr "Checking user registration"
    13751282
    1376 #: Spam_BLIP.php:4595
     1283#: Spam_BLIP.php:4243
    13771284msgid "Checking in saved spam"
    13781285msgstr "Checking in saved spam"
    13791286
    1380 #: Spam_BLIP.php:4600
    1381 msgid "Bailing out on hits"
    1382 msgstr "Bailing out on hits"
    1383 
    1384 #: Spam_BLIP.php:4605
     1287#: Spam_BLIP.php:4248
    13851288msgid "Saving non-hits"
    13861289msgstr "Saving non-hits"
    13871290
    1388 #: Spam_BLIP.php:4610
     1291#: Spam_BLIP.php:4253
    13891292msgid "Whitelisting TOR exits"
    13901293msgstr "Whitelisting TOR exits"
    13911294
    1392 #: Spam_BLIP.php:4615
     1295#: Spam_BLIP.php:4258
    13931296msgid "Not rejecting hits"
    13941297msgstr "Not rejecting hits"
    13951298
    1396 #: Spam_BLIP.php:4623
     1299#: Spam_BLIP.php:4266
    13971300msgid "Records:"
    13981301msgstr "Records:"
    13991302
    1400 #: Spam_BLIP.php:4639
     1303#: Spam_BLIP.php:4282
    14011304#, possible-php-format
    14021305msgid "%d address listed"
     
    14051308msgstr[1] "%d addresses listed"
    14061309
    1407 #: Spam_BLIP.php:4646
     1310#: Spam_BLIP.php:4289
    14081311#, possible-php-format
    14091312msgid "%d user whitelist address"
     
    14121315msgstr[1] "%d user whitelist addresses"
    14131316
    1414 #: Spam_BLIP.php:4653
     1317#: Spam_BLIP.php:4296
    14151318#, possible-php-format
    14161319msgid "%d user blacklist address"
     
    14191322msgstr[1] "%d user blacklist addresses"
    14201323
    1421 #: Spam_BLIP.php:4660
     1324#: Spam_BLIP.php:4303
    14221325#, possible-php-format
    14231326msgid "%d non-hit address"
     
    14261329msgstr[1] "%d non-hit addresses"
    14271330
    1428 #: Spam_BLIP.php:4667
     1331#: Spam_BLIP.php:4310
    14291332#, possible-php-format
    14301333msgid "%d tor exit node"
     
    14331336msgstr[1] "%d tor exit nodes"
    14341337
    1435 #: Spam_BLIP.php:4674
     1338#: Spam_BLIP.php:4317
    14361339#, possible-php-format
    14371340msgid "%d address in the past hour"
     
    14401343msgstr[1] "%d addresses in the past hour"
    14411344
    1442 #: Spam_BLIP.php:4681
     1345#: Spam_BLIP.php:4324
    14431346#, possible-php-format
    14441347msgid "%d new address in the past hour"
     
    14471350msgstr[1] "%d new addresses in the past hour"
    14481351
    1449 #: Spam_BLIP.php:4688
     1352#: Spam_BLIP.php:4331
    14501353#, possible-php-format
    14511354msgid "%d address in the past day"
     
    14541357msgstr[1] "%d addresses in the past day"
    14551358
    1456 #: Spam_BLIP.php:4695
     1359#: Spam_BLIP.php:4338
    14571360#, possible-php-format
    14581361msgid "%d new address in the past day"
     
    14611364msgstr[1] "%d new addresses in the past day"
    14621365
    1463 #: Spam_BLIP.php:4702
     1366#: Spam_BLIP.php:4345
    14641367#, possible-php-format
    14651368msgid "%d address in the past week"
     
    14681371msgstr[1] "%d addresses in the past week"
    14691372
    1470 #: Spam_BLIP.php:4709
     1373#: Spam_BLIP.php:4352
    14711374#, possible-php-format
    14721375msgid "%d new address in the past week"
     
    14751378msgstr[1] "%d new addresses in the past week"
    14761379
    1477 #: Spam_BLIP.php:4716
     1380#: Spam_BLIP.php:4359
    14781381#, possible-php-format
    14791382msgid "%d hit in all records"
     
    14821385msgstr[1] "total of %d hits in all records"
    14831386
    1484 #: Spam_BLIP.php:4729
     1387#: Spam_BLIP.php:4372
    14851388#, possible-php-format
    14861389msgid ""
     
    14971400"\t\t\t\t</p>"
    14981401
    1499 #: Spam_BLIP.php:4807
     1402#: Spam_BLIP.php:4450
    15001403msgid "Widget title:"
    15011404msgstr "Widget title:"
    15021405
    1503 #: Spam_BLIP.php:4822
     1406#: Spam_BLIP.php:4465
    15041407msgid "Caption:"
    15051408msgstr "Caption:"
    15061409
    1507 #: Spam_BLIP.php:4837
     1410#: Spam_BLIP.php:4480
    15081411msgid "Show <em>Spam BLIP</em> options:&nbsp;"
    15091412msgstr "Show <em>Spam BLIP</em> options:&nbsp;"
    15101413
    1511 #: Spam_BLIP.php:4850
     1414#: Spam_BLIP.php:4493
    15121415msgid "Show <em>Spam BLIP</em> link:&nbsp;"
    15131416msgstr "Show <em>Spam BLIP</em> link:&nbsp;"
  • spam-blip/tags/1.0.7.1/locale/spambl_l10n.pot

    r1225166 r1397813  
    1 # Spam_BLIP 1.0.6 Pot Source
     1# Spam_BLIP 1.0.7.1 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the Spam_BLIP package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Spam_BLIP 1.0.6\n"
     9"Project-Id-Version: Spam_BLIP 1.0.7.1\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2015-08-19 09:54-0400\n"
     11"POT-Creation-Date: 2016-04-17 11:07-0400\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1919"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    2020
    21 #: Spam_BLIP.php:484
     21#: Spam_BLIP.php:460
    2222msgid "Show verbose introductions:"
    2323msgstr ""
    2424
     25#: Spam_BLIP.php:465
     26msgid "Blacklist check user registrations:"
     27msgstr ""
     28
     29#: Spam_BLIP.php:470
     30msgid "Whitelist (pass) TOR exit nodes:"
     31msgstr ""
     32
     33#: Spam_BLIP.php:475
     34msgid "Check existing comment spam:"
     35msgstr ""
     36
     37#: Spam_BLIP.php:480
     38msgid "Check but do <em>not</em> reject:"
     39msgstr ""
     40
    2541#: Spam_BLIP.php:489
    26 msgid "Blacklist check for comments:"
    27 msgstr ""
    28 
    29 #: Spam_BLIP.php:494
    30 msgid "Blacklist check for pings:"
    31 msgstr ""
    32 
    33 #: Spam_BLIP.php:499
    34 msgid "Blacklist check user registrations:"
    35 msgstr ""
    36 
    37 #: Spam_BLIP.php:504
    38 msgid "Whitelist (pass) TOR exit nodes:"
    39 msgstr ""
    40 
    41 #: Spam_BLIP.php:509
    42 msgid "Check existing comment spam:"
    43 msgstr ""
    44 
    45 #: Spam_BLIP.php:514
    46 msgid "Check but do <em>not</em> reject:"
     42msgid "General Options"
     43msgstr ""
     44
     45#: Spam_BLIP.php:502
     46msgid "Keep data:"
     47msgstr ""
     48
     49#: Spam_BLIP.php:507
     50msgid "Use data:"
     51msgstr ""
     52
     53#: Spam_BLIP.php:513
     54msgid "Data records TTL:"
     55msgstr ""
     56
     57#: Spam_BLIP.php:518
     58msgid "Maximum data records:"
    4759msgstr ""
    4860
    4961#: Spam_BLIP.php:523
    50 msgid "General Options"
    51 msgstr ""
    52 
    53 #: Spam_BLIP.php:536
    54 msgid "Keep data:"
    55 msgstr ""
    56 
    57 #: Spam_BLIP.php:541
    58 msgid "Use data:"
    59 msgstr ""
    60 
    61 #: Spam_BLIP.php:547
    62 msgid "Data records TTL:"
    63 msgstr ""
    64 
    65 #: Spam_BLIP.php:552
    66 msgid "Maximum data records:"
    67 msgstr ""
    68 
    69 #: Spam_BLIP.php:557
    7062msgid "Store (and use) non-hit addresses:"
    7163msgstr ""
    7264
    73 #: Spam_BLIP.php:566
     65#: Spam_BLIP.php:532
    7466msgid "Database Options"
    7567msgstr ""
    7668
    77 #: Spam_BLIP.php:574
     69#: Spam_BLIP.php:540
    7870msgid "Use the included widget:"
    7971msgstr ""
    8072
    81 #: Spam_BLIP.php:579
     73#: Spam_BLIP.php:545
    8274msgid "Log bad IP addresses:"
    8375msgstr ""
    8476
    85 #: Spam_BLIP.php:584
     77#: Spam_BLIP.php:550
    8678msgid "Log blacklisted IP addresses:"
    8779msgstr ""
    8880
    89 #: Spam_BLIP.php:589
    90 msgid "Bail out on blacklisted IP:"
    91 msgstr ""
    92 
    93 #: Spam_BLIP.php:598
     81#: Spam_BLIP.php:559
    9482msgid "Miscellaneous Options"
    9583msgstr ""
    9684
    97 #: Spam_BLIP.php:606
     85#: Spam_BLIP.php:567
    9886msgid "Active and inactive blacklist domains:"
    9987msgstr ""
    10088
    101 #: Spam_BLIP.php:611
     89#: Spam_BLIP.php:572
    10290msgid "Active and inactive user blacklist:"
    10391msgstr ""
    10492
    105 #: Spam_BLIP.php:616
     93#: Spam_BLIP.php:577
    10694msgid "Active and inactive user whitelist:"
    10795msgstr ""
    10896
    109 #: Spam_BLIP.php:625
     97#: Spam_BLIP.php:586
    11098msgid "Advanced Options"
    11199msgstr ""
    112100
     101#: Spam_BLIP.php:595
     102msgid "Delete setup options on uninstall:"
     103msgstr ""
     104
     105#: Spam_BLIP.php:600
     106msgid "Delete database table on uninstall:"
     107msgstr ""
     108
     109#: Spam_BLIP.php:609
     110msgid "Plugin Install Settings"
     111msgstr ""
     112
     113#: Spam_BLIP.php:633
     114msgid "Spam BLIP Plugin"
     115msgstr ""
     116
    113117#: Spam_BLIP.php:634
    114 msgid "Delete setup options on uninstall:"
    115 msgstr ""
    116 
    117 #: Spam_BLIP.php:639
    118 msgid "Delete database table on uninstall:"
    119 msgstr ""
    120 
    121 #: Spam_BLIP.php:648
    122 msgid "Plugin Install Settings"
    123 msgstr ""
    124 
    125 #: Spam_BLIP.php:672
    126 msgid "Spam BLIP Plugin"
    127 msgstr ""
    128 
    129 #: Spam_BLIP.php:673
    130118msgid "Spam BLIP Configuration Settings"
    131119msgstr ""
     
    135123#. callback ''
    136124#. 'hook_suffix' callback array
    137 #: Spam_BLIP.php:679
     125#: Spam_BLIP.php:640
    138126msgid "<em>Spam BLIP</em> Plugin Settings"
    139127msgstr ""
    140128
    141 #: Spam_BLIP.php:680
     129#: Spam_BLIP.php:641
    142130msgid "Options controlling <em>Spam BLIP</em> functions."
    143131msgstr ""
    144132
    145 #: Spam_BLIP.php:681 Spam_BLIP.php:743
     133#: Spam_BLIP.php:642 Spam_BLIP.php:704
    146134msgid "Save Settings"
    147135msgstr ""
    148136
    149 #: Spam_BLIP.php:695
     137#: Spam_BLIP.php:656
    150138msgid "Section introductions"
    151139msgstr ""
     
    156144#. interface label from the WP core, so if possible
    157145#. use the WP core translation for that (likewise "Help").
    158 #: Spam_BLIP.php:723
     146#: Spam_BLIP.php:684
    159147#, possible-php-format
    160148msgid ""
     
    180168msgstr ""
    181169
    182 #: Spam_BLIP.php:742 Spam_BLIP.php:2326
     170#: Spam_BLIP.php:703 Spam_BLIP.php:2219
    183171msgid "Show verbose introductions"
    184172msgstr ""
    185173
    186174#. TRANSLATORS: all '%s' are labels of checkbox options
    187 #: Spam_BLIP.php:747
     175#: Spam_BLIP.php:708
    188176#, possible-php-format
    189177msgid ""
     
    224212msgstr ""
    225213
    226 #: Spam_BLIP.php:781 Spam_BLIP.php:2357
     214#: Spam_BLIP.php:742 Spam_BLIP.php:2236
    227215msgid "Check blacklist for user registration"
    228216msgstr ""
    229217
    230 #: Spam_BLIP.php:782 Spam_BLIP.php:2364
     218#: Spam_BLIP.php:743 Spam_BLIP.php:2243
    231219msgid "Whitelist TOR addresses"
    232220msgstr ""
    233221
    234 #: Spam_BLIP.php:783 Spam_BLIP.php:2535
     222#: Spam_BLIP.php:744 Spam_BLIP.php:2414
    235223msgid "Log blacklist hits"
    236224msgstr ""
    237225
    238 #: Spam_BLIP.php:784 Spam_BLIP.php:2542
     226#: Spam_BLIP.php:745
    239227msgid "Bail (wp_die()) on blacklist hits"
    240228msgstr ""
    241229
    242 #: Spam_BLIP.php:792
     230#: Spam_BLIP.php:753
    243231#, possible-php-format
    244232msgid ""
     
    251239msgstr ""
    252240
    253 #: Spam_BLIP.php:798
     241#: Spam_BLIP.php:759
    254242msgid "For more information:"
    255243msgstr ""
    256244
    257 #: Spam_BLIP.php:813 Spam_BLIP.php:833
     245#: Spam_BLIP.php:774 Spam_BLIP.php:794
    258246msgid "Overview"
    259247msgstr ""
    260248
    261 #: Spam_BLIP.php:821 Spam_BLIP.php:834
     249#: Spam_BLIP.php:782 Spam_BLIP.php:795
    262250msgid "Tips"
    263251msgstr ""
    264252
    265 #: Spam_BLIP.php:957
     253#: Spam_BLIP.php:918
    266254msgid "Settings"
    267255msgstr ""
    268256
    269 #: Spam_BLIP.php:1465
     257#: Spam_BLIP.php:1389
    270258#, possible-php-format
    271259msgid "bad TTL option: \"%s\""
    272260msgstr ""
    273261
    274 #: Spam_BLIP.php:1499
     262#: Spam_BLIP.php:1423
    275263#, possible-php-format
    276264msgid "bad maximum: \"%s\""
    277265msgstr ""
    278266
    279 #: Spam_BLIP.php:1517
     267#: Spam_BLIP.php:1441
    280268msgid "whitelist"
    281269msgstr ""
    282270
    283 #: Spam_BLIP.php:1518
     271#: Spam_BLIP.php:1442
    284272msgid "blacklist"
    285273msgstr ""
     
    288276#. 'whitelist' or 'blacklist', and
    289277#. %2$s is an IP4 dotted quad address
    290 #: Spam_BLIP.php:1573
     278#: Spam_BLIP.php:1497
    291279#, possible-php-format
    292280msgid "bad user %1$s address set: \"%2$s\""
     
    294282
    295283#. record error for WP
    296 #: Spam_BLIP.php:1625
     284#: Spam_BLIP.php:1549
    297285#, possible-php-format
    298286msgid "bad blacklist domain set: \"%s\""
    299287msgstr ""
    300288
    301 #: Spam_BLIP.php:1695
     289#: Spam_BLIP.php:1616
    302290#, possible-php-format
    303291msgid "bad key in option validation: \"%s\""
    304292msgstr ""
    305293
    306 #: Spam_BLIP.php:1744
     294#: Spam_BLIP.php:1665
    307295#, possible-php-format
    308296msgid "%u setting updated successfully"
     
    311299msgstr[1] ""
    312300
    313 #: Spam_BLIP.php:1747
     301#: Spam_BLIP.php:1668
    314302#, possible-php-format
    315303msgid "One (%d) setting updated"
     
    318306msgstr[1] ""
    319307
    320 #: Spam_BLIP.php:1780 Spam_BLIP.php:1887 Spam_BLIP.php:1986
    321 #: Spam_BLIP.php:2071 Spam_BLIP.php:2195
     308#: Spam_BLIP.php:1701 Spam_BLIP.php:1793 Spam_BLIP.php:1892
     309#: Spam_BLIP.php:1964 Spam_BLIP.php:2088
    322310msgid "Introduction:"
    323311msgstr ""
    324312
    325 #: Spam_BLIP.php:1783
     313#: Spam_BLIP.php:1704
    326314msgid ""
    327315"The \"Show verbose introductions\"\n"
     
    335323msgstr ""
    336324
    337 #: Spam_BLIP.php:1793
    338 msgid ""
    339 "The \"Blacklist check for comments\" option \n"
    340 "\t\t\tenables the main functionality of the plugin. When\n"
    341 "\t\t\t<em>WordPress</em> core code checks whether comments\n"
    342 "\t\t\tare open or closed, this plugin will check the connecting\n"
    343 "\t\t\tIP address against DNS-based blacklists of weblog\n"
    344 "\t\t\tcomment spammers, and if it is found, will tell\n"
    345 "\t\t\t<em>WordPress</em> that comments are\n"
    346 "\t\t\tclosed."
    347 msgstr ""
    348 
    349 #: Spam_BLIP.php:1803
    350 msgid ""
    351 "The \"Blacklist check for pings\" option \n"
    352 "\t\t\tis similar to \"Blacklist check for comments\",\n"
    353 "\t\t\tbut for pings."
    354 msgstr ""
    355 
    356 #: Spam_BLIP.php:1808
     325#: Spam_BLIP.php:1714
    357326msgid ""
    358327"The \"Blacklist check user registrations\"\n"
     
    367336msgstr ""
    368337
    369 #: Spam_BLIP.php:1819
     338#: Spam_BLIP.php:1725
    370339msgid ""
    371340"The \"Whitelist TOR exit nodes\" option \n"
     
    387356msgstr ""
    388357
    389 #: Spam_BLIP.php:1837
     358#: Spam_BLIP.php:1743
    390359msgid ""
    391360"With \"Check existing comment spam\"\n"
     
    401370msgstr ""
    402371
    403 #: Spam_BLIP.php:1849
     372#: Spam_BLIP.php:1755
    404373msgid ""
    405374"With \"Check but do <em>not</em> reject\"\n"
     
    411380msgstr ""
    412381
    413 #: Spam_BLIP.php:1864 Spam_BLIP.php:1971 Spam_BLIP.php:2056
    414 #: Spam_BLIP.php:2179 Spam_BLIP.php:2223
     382#: Spam_BLIP.php:1770 Spam_BLIP.php:1877 Spam_BLIP.php:1949
     383#: Spam_BLIP.php:2072 Spam_BLIP.php:2116
    415384msgid "Go forward to save button."
    416385msgstr ""
    417386
    418 #: Spam_BLIP.php:1873
     387#: Spam_BLIP.php:1779
    419388#, possible-php-format
    420389msgid "(There is %u record in the database table)"
     
    423392msgstr[1] ""
    424393
    425 #: Spam_BLIP.php:1895
     394#: Spam_BLIP.php:1801
    426395msgid ""
    427396"These options enable, disable or configure\n"
     
    431400msgstr ""
    432401
    433 #: Spam_BLIP.php:1901
     402#: Spam_BLIP.php:1807
    434403msgid ""
    435404"The \"Keep data\" option enables recording of\n"
     
    440409msgstr ""
    441410
    442 #: Spam_BLIP.php:1908
     411#: Spam_BLIP.php:1814
    443412msgid ""
    444413"The \"Use data\" option enables a check in the\n"
     
    448417
    449418#. if ( self::userecdata_enable )
    450 #: Spam_BLIP.php:1913
     419#: Spam_BLIP.php:1819
    451420msgid ""
    452421"These options configure\n"
     
    457426
    458427#. if ( self::userecdata_enable )
    459 #: Spam_BLIP.php:1920
     428#: Spam_BLIP.php:1826
    460429msgid ""
    461430"\"Data records TTL\" sets an expiration time for\n"
     
    477446msgstr ""
    478447
    479 #: Spam_BLIP.php:1938
     448#: Spam_BLIP.php:1844
    480449msgid ""
    481450"The \"Maximum data records\" option limits how\n"
     
    490459msgstr ""
    491460
    492 #: Spam_BLIP.php:1949
     461#: Spam_BLIP.php:1855
    493462msgid ""
    494463"The \"Store (and use) non-hit addresses\"\n"
     
    507476msgstr ""
    508477
    509 #: Spam_BLIP.php:1973 Spam_BLIP.php:2058 Spam_BLIP.php:2181
    510 #: Spam_BLIP.php:2225
     478#: Spam_BLIP.php:1879 Spam_BLIP.php:1951 Spam_BLIP.php:2074
     479#: Spam_BLIP.php:2118
    511480msgid "Go back to top (General section)."
    512481msgstr ""
    513482
    514 #: Spam_BLIP.php:1989
     483#: Spam_BLIP.php:1895
    515484msgid ""
    516485"The \"Use the included widget\" option controls\n"
     
    527496msgstr ""
    528497
    529 #: Spam_BLIP.php:2002
     498#: Spam_BLIP.php:1908
    530499msgid ""
    531500"The \"Log bad IP addresses\" option enables\n"
     
    555524msgstr ""
    556525
    557 #: Spam_BLIP.php:2028
     526#: Spam_BLIP.php:1934
    558527msgid ""
    559528"\"Log blacklisted IP addresses\" selects logging\n"
     
    565534msgstr ""
    566535
    567 #: Spam_BLIP.php:2036
    568 msgid ""
    569 "The \"Bail out on blacklisted IP\"\n"
    570 "\t\t\toption will have the plugin terminate the blog output\n"
    571 "\t\t\twhen the connecting IP address is blacklisted. The\n"
    572 "\t\t\tdefault is to only disable comments, and allow the\n"
    573 "\t\t\tpage to be produced normally. This option will save\n"
    574 "\t\t\tsome amount of network load,\n"
    575 "\t\t\tand spammers do not want or need your\n"
    576 "\t\t\tcontent anyway, but if there is a rare false positive,\n"
    577 "\t\t\tthe visitor, also a spam victim in this case, will\n"
    578 "\t\t\tmiss your content.\n"
    579 "\t\t\t"
    580 msgstr ""
    581 
    582 #: Spam_BLIP.php:2074
     536#: Spam_BLIP.php:1967
    583537msgid ""
    584538"The \"Active and inactive blacklist domains\"\n"
     
    598552msgstr ""
    599553
    600 #: Spam_BLIP.php:2090
     554#: Spam_BLIP.php:1983
    601555msgid ""
    602556"Each \"Active and inactive blacklist domains\"\n"
     
    638592msgstr ""
    639593
    640 #: Spam_BLIP.php:2128
     594#: Spam_BLIP.php:2021
    641595msgid ""
    642596"The \"Active and inactive user blacklist\"\n"
     
    684638msgstr ""
    685639
    686 #: Spam_BLIP.php:2198
     640#: Spam_BLIP.php:2091
    687641msgid ""
    688642"This section includes optional\n"
     
    698652msgstr ""
    699653
    700 #: Spam_BLIP.php:2210
     654#: Spam_BLIP.php:2103
    701655msgid ""
    702656"The \"Delete setup options\" option and the\n"
     
    706660msgstr ""
    707661
    708 #: Spam_BLIP.php:2343
    709 msgid "Check blacklist for comments"
    710 msgstr ""
    711 
    712 #: Spam_BLIP.php:2350
    713 msgid "Check blacklist for pings"
    714 msgstr ""
    715 
    716 #: Spam_BLIP.php:2371
     662#: Spam_BLIP.php:2250
    717663msgid "Store non-hit addresses for repeats"
    718664msgstr ""
    719665
    720 #: Spam_BLIP.php:2378
     666#: Spam_BLIP.php:2257
    721667msgid "Check address in existing comments"
    722668msgstr ""
    723669
    724 #: Spam_BLIP.php:2385
     670#: Spam_BLIP.php:2264
    725671msgid "Pass (do not reject) hits"
    726672msgstr ""
    727673
    728 #: Spam_BLIP.php:2392
     674#: Spam_BLIP.php:2271
    729675msgid "Store blacklist lookup results"
    730676msgstr ""
    731677
    732 #: Spam_BLIP.php:2399
     678#: Spam_BLIP.php:2278
    733679msgid "Use stored blacklist lookup results"
    734680msgstr ""
    735681
    736 #: Spam_BLIP.php:2406
     682#: Spam_BLIP.php:2285
    737683msgid "Set \"Time To Live\" of database records"
    738684msgstr ""
    739685
    740 #: Spam_BLIP.php:2410
     686#: Spam_BLIP.php:2289
    741687#, possible-php-format
    742688msgid "One hour, %s seconds"
    743689msgstr ""
    744690
    745 #: Spam_BLIP.php:2412
     691#: Spam_BLIP.php:2291
    746692#, possible-php-format
    747693msgid "Six hours, %s seconds"
    748694msgstr ""
    749695
    750 #: Spam_BLIP.php:2414
     696#: Spam_BLIP.php:2293
    751697#, possible-php-format
    752698msgid "Twelve hours, %s seconds"
    753699msgstr ""
    754700
    755 #: Spam_BLIP.php:2416
     701#: Spam_BLIP.php:2295
    756702#, possible-php-format
    757703msgid "One day, %s seconds"
    758704msgstr ""
    759705
    760 #: Spam_BLIP.php:2418
     706#: Spam_BLIP.php:2297
    761707#, possible-php-format
    762708msgid "One week, %s seconds"
    763709msgstr ""
    764710
    765 #: Spam_BLIP.php:2420
     711#: Spam_BLIP.php:2299
    766712#, possible-php-format
    767713msgid "Two weeks, %s seconds"
    768714msgstr ""
    769715
    770 #: Spam_BLIP.php:2422
     716#: Spam_BLIP.php:2301
    771717#, possible-php-format
    772718msgid "Four weeks, %s seconds"
    773719msgstr ""
    774720
    775 #: Spam_BLIP.php:2424
     721#: Spam_BLIP.php:2303
    776722msgid "Set a value in seconds:"
    777723msgstr ""
    778724
    779 #: Spam_BLIP.php:2469
     725#: Spam_BLIP.php:2348
    780726msgid "Set number of database records to keep"
    781727msgstr ""
    782728
    783 #: Spam_BLIP.php:2473
     729#: Spam_BLIP.php:2352
    784730msgid "Ten (10)"
    785731msgstr ""
    786732
    787 #: Spam_BLIP.php:2474
     733#: Spam_BLIP.php:2353
    788734msgid "Fifty (50)"
    789735msgstr ""
    790736
    791 #: Spam_BLIP.php:2475
     737#: Spam_BLIP.php:2354
    792738msgid "One hundred (100)"
    793739msgstr ""
    794740
    795 #: Spam_BLIP.php:2476
     741#: Spam_BLIP.php:2355
    796742msgid "Two hundred (200)"
    797743msgstr ""
    798744
    799 #: Spam_BLIP.php:2477
     745#: Spam_BLIP.php:2356
    800746msgid "Five hundred (500)"
    801747msgstr ""
    802748
    803 #: Spam_BLIP.php:2478
     749#: Spam_BLIP.php:2357
    804750msgid "One thousand (1000)"
    805751msgstr ""
    806752
    807 #: Spam_BLIP.php:2479
     753#: Spam_BLIP.php:2358
    808754msgid "Set a value:"
    809755msgstr ""
    810756
    811 #: Spam_BLIP.php:2521
     757#: Spam_BLIP.php:2400
    812758msgid "Enable the included widget"
    813759msgstr ""
    814760
    815 #: Spam_BLIP.php:2528
     761#: Spam_BLIP.php:2407
    816762msgid "Log bad addresses in \"REMOTE_ADDR\""
    817763msgstr ""
     
    819765#. TRANSLATORS: these are labels above textarea elements
    820766#. do not use html entities
    821 #: Spam_BLIP.php:2592
     767#: Spam_BLIP.php:2464
    822768msgid "Active User Whitelist:"
    823769msgstr ""
    824770
    825 #: Spam_BLIP.php:2593
     771#: Spam_BLIP.php:2465
    826772msgid "Inactive User Whitelist:"
    827773msgstr ""
     
    831777#. '<<' and '>>' should suggest movement left and right
    832778#. do not use html entities
    833 #: Spam_BLIP.php:2604 Spam_BLIP.php:2676
     779#: Spam_BLIP.php:2476 Spam_BLIP.php:2548
    834780msgid "Move address right >>"
    835781msgstr ""
    836782
    837 #: Spam_BLIP.php:2605 Spam_BLIP.php:2677
     783#: Spam_BLIP.php:2477 Spam_BLIP.php:2549
    838784msgid "<< Move address left"
    839785msgstr ""
     
    841787#. TRANSLATORS: these are labels above textarea elements
    842788#. do not use html entities
    843 #: Spam_BLIP.php:2664
     789#: Spam_BLIP.php:2536
    844790msgid "Active User Blacklist:"
    845791msgstr ""
    846792
    847 #: Spam_BLIP.php:2665
     793#: Spam_BLIP.php:2537
    848794msgid "Inactive User Blacklist:"
    849795msgstr ""
     
    851797#. TRANSLATORS: these are labels above textarea elements
    852798#. do not use html entities
    853 #: Spam_BLIP.php:2745
     799#: Spam_BLIP.php:2617
    854800msgid "Active DNS Blacklists:"
    855801msgstr ""
    856802
    857 #: Spam_BLIP.php:2746
     803#: Spam_BLIP.php:2618
    858804msgid "Inactive DNS Blacklists:"
    859805msgstr ""
     
    863809#. '<<' and '>>' should suggest movement left and right
    864810#. do not use html entities
    865 #: Spam_BLIP.php:2757
     811#: Spam_BLIP.php:2629
    866812msgid "Move line right >>"
    867813msgstr ""
    868814
    869 #: Spam_BLIP.php:2758
     815#: Spam_BLIP.php:2630
    870816msgid "<< Move line left"
    871817msgstr ""
    872818
    873 #: Spam_BLIP.php:2774
     819#: Spam_BLIP.php:2646
    874820msgid "Permanently delete plugin settings"
    875821msgstr ""
    876822
    877 #: Spam_BLIP.php:2781
     823#: Spam_BLIP.php:2653
    878824msgid "Permanently delete database table (stored data)"
    879825msgstr ""
    880826
    881 #: Spam_BLIP.php:2938
     827#: Spam_BLIP.php:2803
    882828msgid "cannot allocate BL check object"
    883829msgstr ""
     
    886832#. in response to blacklisted IP address
    887833#. TODO: make message text an option
    888 #: Spam_BLIP.php:3058 Spam_BLIP.php:3115 Spam_BLIP.php:3153
    889 #: Spam_BLIP.php:3785
     834#: Spam_BLIP.php:2905 Spam_BLIP.php:2936 Spam_BLIP.php:3443
    890835msgid "Sorry, but no, thank you."
    891836msgstr ""
    892837
    893 #: Spam_BLIP.php:3281
     838#: Spam_BLIP.php:2948
    894839#, possible-php-format
    895840msgid ""
     
    897842msgstr ""
    898843
    899 #: Spam_BLIP.php:3283
     844#: Spam_BLIP.php:2950
    900845#, possible-php-format
    901846msgid "Invalid remote address; \"REMOTE_ADDR\" contains \"%s\""
     
    903848
    904849#. TRANSLATORS: word for ietf/iana reserved network
    905 #: Spam_BLIP.php:3309
     850#: Spam_BLIP.php:3029
    906851msgid "RESERVED"
    907852msgstr ""
    908853
    909854#. TRANSLATORS: word for ietf/iana loopback network
    910 #: Spam_BLIP.php:3311
     855#: Spam_BLIP.php:3031
    911856msgid "LOOPBACK"
    912857msgstr ""
     
    915860#. see comments above.
    916861#. %2$s is an IPv4 dotted quad address
    917 #: Spam_BLIP.php:3316
     862#: Spam_BLIP.php:3036
    918863#, possible-php-format
    919864msgid "Got %1$s IPv4 address \"%2$s\" in \"REMOTE_ADDR\"."
     
    921866
    922867#. TRANSLATORS: see "TRANSLATORS: %1$s is type..."
    923 #: Spam_BLIP.php:3420 Spam_BLIP.php:3491 Spam_BLIP.php:3552
    924 #: Spam_BLIP.php:3606
     868#: Spam_BLIP.php:3089 Spam_BLIP.php:3149 Spam_BLIP.php:3210
     869#: Spam_BLIP.php:3264
    925870msgid "pings"
    926871msgstr ""
    927872
    928873#. TRANSLATORS: see "TRANSLATORS: %1$s is type..."
    929 #: Spam_BLIP.php:3422 Spam_BLIP.php:3493 Spam_BLIP.php:3554
    930 #: Spam_BLIP.php:3608
     874#: Spam_BLIP.php:3091 Spam_BLIP.php:3151 Spam_BLIP.php:3212
     875#: Spam_BLIP.php:3266
    931876msgid "comments"
    932877msgstr ""
     
    937882#. %4$s is IP4 blacklist lookup result
    938883#. %5$f is lookup time in seconds (float)
    939 #: Spam_BLIP.php:3435
     884#: Spam_BLIP.php:3103
    940885#, possible-php-format
    941886msgid ""
    942887"%1$s denied for address %2$s, list at \"%3$s\", result %4$s in %5$f"
    943 msgstr ""
    944 
    945 #. TRANSLATORS: %1$s is type "comments" or "pings"
    946 #. %2$s is IP4 address dotted quad
    947 #. %3$f is lookup time in seconds (float)
    948 #: Spam_BLIP.php:3445
    949 #, possible-php-format
    950 msgid "%1$s denied for address %2$s in %3$f"
    951888msgstr ""
    952889
     
    954891#. %2$s is IP4 address dotted quad
    955892#. %3$f is is time (float) used in option check
    956 #: Spam_BLIP.php:3502
     893#: Spam_BLIP.php:3160
    957894#, possible-php-format
    958895msgid ""
     
    963900#. %2$s is IP4 address dotted quad
    964901#. %3$f is is time (float) used in option check
    965 #: Spam_BLIP.php:3563
     902#: Spam_BLIP.php:3221
    966903#, possible-php-format
    967904msgid ""
     
    976913#. %5$u is integer number of times seen (hitcount)
    977914#. %6$f is is time (float) used in database check
    978 #: Spam_BLIP.php:3621
     915#: Spam_BLIP.php:3279
    979916#, possible-php-format
    980917msgid ""
     
    989926#. TRANSLATORS: %1$s is IP4 address; %2$u is the
    990927#. number of times adress was seen previously
    991 #: Spam_BLIP.php:3717
     928#: Spam_BLIP.php:3375
    992929#, possible-php-format
    993930msgid ""
     
    998935#. TRANSLATORS: %s is IP4 address; DNS is the
    999936#. domain name system
    1000 #: Spam_BLIP.php:3757
     937#: Spam_BLIP.php:3415
    1001938#, possible-php-format
    1002939msgid "Found \"%s\" to be a tor exit, by DNS -- passed per option"
     
    1004941
    1005942#. Label shown on widgets page
    1006 #: Spam_BLIP.php:4481
     943#: Spam_BLIP.php:4139
    1007944msgid "Spam BLIP"
    1008945msgstr ""
    1009946
    1010947#. Description shown under label shown on widgets page
    1011 #: Spam_BLIP.php:4483
     948#: Spam_BLIP.php:4141
    1012949msgid ""
    1013950"Display comment and ping spam hit information, and database table row "
     
    1015952msgstr ""
    1016953
    1017 #: Spam_BLIP.php:4574
     954#: Spam_BLIP.php:4232
    1018955msgid "Options:"
    1019956msgstr ""
    1020957
    1021 #: Spam_BLIP.php:4580
    1022 msgid "Checking for comment spam"
    1023 msgstr ""
    1024 
    1025 #: Spam_BLIP.php:4585
    1026 msgid "Checking for ping spam"
    1027 msgstr ""
    1028 
    1029 #: Spam_BLIP.php:4590
     958#: Spam_BLIP.php:4238
    1030959msgid "Checking user registration"
    1031960msgstr ""
    1032961
    1033 #: Spam_BLIP.php:4595
     962#: Spam_BLIP.php:4243
    1034963msgid "Checking in saved spam"
    1035964msgstr ""
    1036965
    1037 #: Spam_BLIP.php:4600
    1038 msgid "Bailing out on hits"
    1039 msgstr ""
    1040 
    1041 #: Spam_BLIP.php:4605
     966#: Spam_BLIP.php:4248
    1042967msgid "Saving non-hits"
    1043968msgstr ""
    1044969
    1045 #: Spam_BLIP.php:4610
     970#: Spam_BLIP.php:4253
    1046971msgid "Whitelisting TOR exits"
    1047972msgstr ""
    1048973
    1049 #: Spam_BLIP.php:4615
     974#: Spam_BLIP.php:4258
    1050975msgid "Not rejecting hits"
    1051976msgstr ""
    1052977
    1053 #: Spam_BLIP.php:4623
     978#: Spam_BLIP.php:4266
    1054979msgid "Records:"
    1055980msgstr ""
    1056981
    1057 #: Spam_BLIP.php:4639
     982#: Spam_BLIP.php:4282
    1058983#, possible-php-format
    1059984msgid "%d address listed"
     
    1062987msgstr[1] ""
    1063988
    1064 #: Spam_BLIP.php:4646
     989#: Spam_BLIP.php:4289
    1065990#, possible-php-format
    1066991msgid "%d user whitelist address"
     
    1069994msgstr[1] ""
    1070995
    1071 #: Spam_BLIP.php:4653
     996#: Spam_BLIP.php:4296
    1072997#, possible-php-format
    1073998msgid "%d user blacklist address"
     
    10761001msgstr[1] ""
    10771002
    1078 #: Spam_BLIP.php:4660
     1003#: Spam_BLIP.php:4303
    10791004#, possible-php-format
    10801005msgid "%d non-hit address"
     
    10831008msgstr[1] ""
    10841009
    1085 #: Spam_BLIP.php:4667
     1010#: Spam_BLIP.php:4310
    10861011#, possible-php-format
    10871012msgid "%d tor exit node"
     
    10901015msgstr[1] ""
    10911016
    1092 #: Spam_BLIP.php:4674
     1017#: Spam_BLIP.php:4317
    10931018#, possible-php-format
    10941019msgid "%d address in the past hour"
     
    10971022msgstr[1] ""
    10981023
    1099 #: Spam_BLIP.php:4681
     1024#: Spam_BLIP.php:4324
    11001025#, possible-php-format
    11011026msgid "%d new address in the past hour"
     
    11041029msgstr[1] ""
    11051030
    1106 #: Spam_BLIP.php:4688
     1031#: Spam_BLIP.php:4331
    11071032#, possible-php-format
    11081033msgid "%d address in the past day"
     
    11111036msgstr[1] ""
    11121037
    1113 #: Spam_BLIP.php:4695
     1038#: Spam_BLIP.php:4338
    11141039#, possible-php-format
    11151040msgid "%d new address in the past day"
     
    11181043msgstr[1] ""
    11191044
    1120 #: Spam_BLIP.php:4702
     1045#: Spam_BLIP.php:4345
    11211046#, possible-php-format
    11221047msgid "%d address in the past week"
     
    11251050msgstr[1] ""
    11261051
    1127 #: Spam_BLIP.php:4709
     1052#: Spam_BLIP.php:4352
    11281053#, possible-php-format
    11291054msgid "%d new address in the past week"
     
    11321057msgstr[1] ""
    11331058
    1134 #: Spam_BLIP.php:4716
     1059#: Spam_BLIP.php:4359
    11351060#, possible-php-format
    11361061msgid "%d hit in all records"
     
    11391064msgstr[1] ""
    11401065
    1141 #: Spam_BLIP.php:4729
     1066#: Spam_BLIP.php:4372
    11421067#, possible-php-format
    11431068msgid ""
     
    11491074msgstr ""
    11501075
    1151 #: Spam_BLIP.php:4807
     1076#: Spam_BLIP.php:4450
    11521077msgid "Widget title:"
    11531078msgstr ""
    11541079
    1155 #: Spam_BLIP.php:4822
     1080#: Spam_BLIP.php:4465
    11561081msgid "Caption:"
    11571082msgstr ""
    11581083
    1159 #: Spam_BLIP.php:4837
     1084#: Spam_BLIP.php:4480
    11601085msgid "Show <em>Spam BLIP</em> options:&nbsp;"
    11611086msgstr ""
    11621087
    1163 #: Spam_BLIP.php:4850
     1088#: Spam_BLIP.php:4493
    11641089msgid "Show <em>Spam BLIP</em> link:&nbsp;"
    11651090msgstr ""
  • spam-blip/tags/1.0.7.1/readme.txt

    r1228069 r1397813  
    44Tags: anti-spam, comment spam, spam comments, blog spam, spam, blog, comment, comments, content, links, network
    55Requires at least: 3.0.2
    6 Tested up to: 4.3
    7 Stable tag: 1.0.6
     6Tested up to: 4.5
     7Stable tag: 1.0.7.1
    88Text Domain: spambl_l10n
    99License: GPLv3 or later
     
    115115== Changelog ==
    116116
     117= 1.0.7.1 =
     118* Correct error in repository checkin of 1.0.7.
     119
     120= 1.0.7 =
     121* Check with WordPress 4.5.
     122* Widget update for theme preview selective refresh.
     123* Simplify by removing options for comments/pings_open, and
     124  bailout.
     125
    117126= 1.0.6 =
    118127* Check with WordPress 4.3.
     
    172181== Upgrade Notice ==
    173182
     183= 1.0.7.1 =
     184* Correct error in repository checkin of 1.0.7.
     185
     186= 1.0.7 =
     187* Check with WordPress 4.5.
     188* Widget update for theme preview selective refresh.
     189* Simplify by removing options for comments/pings_open, and
     190  bailout.
     191
    174192= 1.0.6 =
    175193* Check with WordPress 4.3.
  • spam-blip/trunk/ChkBL_0_0_1.inc.php

    r990173 r1397813  
    4141class ChkBL_0_0_1 {
    4242    // help detect class name conflicts; called by using code
    43     private static $evh_opt_id = 0xED00AA33;
     43    const evh_opt_id = 0xED00AA33;
    4444    public static function id_token () {
    45         return self::$evh_opt_id;
     45        return self::evh_opt_id;
    4646    }
    4747
     
    5858    // it is what it is.
    5959    protected static $defdom = array(
     60        // only 127.0.0.1 known (Note: *not* *.2)
     61        // Quote from URL below: ``You may use this RBL list
     62        // free of charge, currently without limit and I intend
     63        // to keep it that way.''
     64        // http://www.usenix.org.uk/content/rbl.html
     65        // Update 06-2014: looks like s5h has changed to using
     66        // 127.0.0.2, although web page says nothing (at all
     67        // about returns) -- so, change to 127.0.0.3 and use
     68        // the '&' op.
     69        array('all.s5h.net', '127.0.0.3', '3,&'),
    6070        // list.blogspambl.com has example code that only tests
    6171        // for 127., but seems to always return 127.0.0.2
     
    6373        array('list.blogspambl.com', '127.0.0.2', '1, I; 2 ,I; 3 ,I;'),
    6474        // only 127.0.0.2 known
    65         // http://spam-champuru.livedoor.com/dnsbl/
    66         array('dnsbl.spam-champuru.livedoor.com', '127.0.0.2', null),
    67         // only 127.0.0.1 known (Note: *not* *.2)
    68         // Quote from URL below: ``You may use this RBL list
    69         // free of charge, currently without limit and I intend
    70         // to keep it that way.''
    71         // http://www.usenix.org.uk/content/rbl.html
    72         // Update 06-2014: looks like s5h has changes to using
    73         // 127.0.0.2, although web page says nothing (at all
    74         // about returns) -- so, change to 127.0.0.3 and use
    75         // the '&' op.
    76         array('all.s5h.net', '127.0.0.3', '3,&'),
    77         // has been tried, but at end of list, therefore not
    78         // really evaluated -- but, has given hits
    79         // http://bbq.uso800.net/code.html
    80         // Update 2013/12/27: has had enough testing that I think
    81         // it should be in the default array
    82         array('niku.2ch.net', '127.0.0.2', null)
     75        // http://bsb.empty.us/ OR http://bsb.spamlookup.net/
     76        array('bsb.empty.us', '127.0.0.2', null),
    8377    );
    8478
     
    117111        // only 127.0.0.2 known
    118112        // http://bsb.empty.us/ OR http://bsb.spamlookup.net/
    119         array('bsb.empty.us', '127.0.0.2', null),
     113        //array('bsb.empty.us', '127.0.0.2', null),
    120114        // has been tried, but at end of list, therefore not
    121115        // really evaluated -- but, has given hits
     
    123117        // Update 2013/12/27: has had enough testing that I think
    124118        // it should be in the default array
     119        // Update 2016/03/31: possibly defunct
    125120        //array('niku.2ch.net', '127.0.0.2', null)
     121        // 2016/03/31 -- not sure what's up with
     122        // spam-champuru.livedoor.com -- not hits in a long time, and
     123        // http://blog.livedoor.com/ seems to be a food thing.
     124        // only 127.0.0.2 known
     125        // http://spam-champuru.livedoor.com/dnsbl/
     126        array('dnsbl.spam-champuru.livedoor.com', '127.0.0.2', null),
    126127    );
    127128
  • spam-blip/trunk/Makefile

    r1225166 r1397813  
    22# License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html)
    33
    4 PRJVERS = 1.0.6
     4PRJVERS = 1.0.7.1
    55PRJSTEM = Spam_BLIP
    66PRJNAME = $(PRJSTEM)-$(PRJVERS)
     
    1111
    1212SRCS = ${PRJSTEM}.php \
     13    BLCheckResult.inc.php \
    1314    Options_0_0_2b.inc.php \
    1415    OptField_0_0_2b.inc.php \
     
    6465${JSBIN}: ${JSSRC}
    6566    O=$@; I=$${O%%.*}.js; \
     67    (R=`which ruby` && $$R -e "require 'uglifier'; printf '%s', Uglifier.compile(open('""$$I""', 'r'))" > "$$O" 2>/dev/null ) \
     68    || \
    6669    (P=`which perl` && $$P -e 'use JavaScript::Minifier::XS qw(minify); print minify(join("",<>))' < "$$I" > "$$O" 2>/dev/null ) \
    6770    || \
  • spam-blip/trunk/NetMisc_0_0_1.inc.php

    r897320 r1397813  
    4141class NetMisc_0_0_1 {
    4242    // help detect class name conflicts; called by using code
    43     private static $evh_opt_id = 0xED00AA33;
     43    const evh_opt_id = 0xED00AA33;
    4444    public static function id_token () {
    45         return self::$evh_opt_id;
     45        return self::evh_opt_id;
    4646    }
    4747
  • spam-blip/trunk/OptField_0_0_2b.inc.php

    r795546 r1397813  
    3838class OptField_0_0_2b {
    3939    // help detect class name conflicts; called by using code
    40     // const evh_opt_id = 0xED00AA33; // N.G. < 5.3
    41     private static $evh_opt_id = 0xED00AA33;
     40    const evh_opt_id = 0xED00AA33;
    4241    public static function id_token () {
    43         return self::$evh_opt_id;
     42        return self::evh_opt_id;
    4443    }
    4544
  • spam-blip/trunk/OptPage_0_0_2b.inc.php

    r795546 r1397813  
    3838class OptPage_0_0_2b {
    3939    // help detect class name conflicts; called by using code
    40     // const evh_opt_id = 0xED00AA33; // N.G. < 5.3
    41     private static $evh_opt_id = 0xED00AA33;
     40    const evh_opt_id = 0xED00AA33;
    4241    public static function id_token () {
    43         return self::$evh_opt_id;
     42        return self::evh_opt_id;
    4443    }
    4544
  • spam-blip/trunk/OptSection_0_0_2b.inc.php

    r795546 r1397813  
    3838class OptSection_0_0_2b {
    3939    // help detect class name conflicts; called by using code
    40     // const evh_opt_id = 0xED00AA33; // N.G. < 5.3
    41     private static $evh_opt_id = 0xED00AA33;
     40    const evh_opt_id = 0xED00AA33;
    4241    public static function id_token () {
    43         return self::$evh_opt_id;
     42        return self::evh_opt_id;
    4443    }
    4544
  • spam-blip/trunk/Options_0_0_2b.inc.php

    r795546 r1397813  
    4545class Options_0_0_2b {
    4646    // help detect class name conflicts; called by using code
    47     // const evh_opt_id = 0xED00AA33; // N.G. < 5.3
    48     private static $evh_opt_id = 0xED00AA33;
     47    const evh_opt_id = 0xED00AA33;
    4948    public static function id_token () {
    50         return self::$evh_opt_id;
     49        return self::evh_opt_id;
    5150    }
    5251
  • spam-blip/trunk/Spam_BLIP.php

    r1271364 r1397813  
    44Plugin URI: //agalena.nfshost.com/b1/software/spam-blip-wordpress-comment-spam-plugin/
    55Description: Stop comment spam before it is posted.
    6 Version: 1.0.6
     6Version: 1.0.7.1
    77Author: Ed Hynan
    88Author URI: //agalena.nfshost.com/b1/
     
    1212
    1313/*
    14  *      Spam_BLIP.php
    15  *      
    16  *      Copyright 2013 Ed Hynan <edhynan@gmail.com>
    17  *      
    18  *      This program is free software; you can redistribute it and/or modify
    19  *      it under the terms of the GNU General Public License as published by
    20  *      the Free Software Foundation; specifically version 3 of the License.
    21  *      
    22  *      This program is distributed in the hope that it will be useful,
    23  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
    24  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    25  *      GNU General Public License for more details.
    26  *      
    27  *      You should have received a copy of the GNU General Public License
    28  *      along with this program; if not, write to the Free Software
    29  *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
    30  *      MA 02110-1301, USA.|g
     14 * Spam_BLIP.php
     15 *
     16 * Copyright 2013 Ed Hynan <edhynan@gmail.com>
     17 *
     18 * This program is free software; you can redistribute it and/or modify
     19 * it under the terms of the GNU General Public License as published by
     20 * the Free Software Foundation; specifically version 3 of the License.
     21 *
     22 * This program is distributed in the hope that it will be useful,
     23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     25 * GNU General Public License for more details.
     26 *
     27 * You should have received a copy of the GNU General Public License
     28 * along with this program; if not, write to the Free Software
     29 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
     30 * MA 02110-1301, USA.|g
    3131 */
    3232
     
    117117 * the bargain-price namespace -- note that use of class does
    118118 * not imply commitment to rigorous OOP methodology
    119  * (no 'class Int {
    120  *          int v;
    121  *          Int(int val = 0) : v(val) {}
    122  *          operator int() const {return v;}
    123  *          // . . .
    124  * };', thank you.)
    125119 */
    126120if ( ! class_exists('Spam_BLIP_class') ) :
     121spamblip_paranoid_require_class("BLCheckResult");
     122
    127123class Spam_BLIP_class {
    128124    // for debugging: set false for release
     
    131127    // web page as of release
    132128    const plugin_webpage = '//agalena.nfshost.com/b1/software/spam-blip-wordpress-comment-spam-plugin/';
     129   
     130    // this version
     131    const plugin_version = '1.0.7.1';
    133132   
    134133    // the widget class name
     
    145144    // this is hidden in settings page; used w/ JS for 'screen options'
    146145    const optscreen1 = 'screen_opts_1';
    147     // filter comments_open?
    148     const optcommflt = 'commflt';
    149     // filter pings_open?
    150     const optpingflt = 'pingflt';
    151146    // filter new user registration (optionally required to comment)?
    152147    const optregiflt = 'regiflt';
     
    173168    // log blacklist hits?
    174169    const optbliplog = 'log_hit';
    175     // bail out (wp_die()) on blacklist hits?
    176     const optbailout = 'bailout';
    177170    // optional active RBL domains
    178171    const opteditrbl = 'sp_bl_editrbl';
     
    203196    // this is hidden in settings page; used w/ JS for 'screen options'
    204197    const defscreen1 = 'true';
    205     // filter comments_open?
    206     const defcommflt = 'true';
    207     // filter pingss_open?
    208     const defpingflt = 'true';
    209198    // filter new user registration (optionally required to comment)?
    210199    const defregiflt = 'false';
     
    236225    // log blacklist hits?
    237226    const defbliplog = 'false';
    238     // bail out (wp_die()) on blacklist hits?
    239     const defbailout = 'false';
    240227    // optional active RBL domains
    241228    const defeditrbl = '';
     
    278265    protected $ipchk_done = false;
    279266
    280     // array of rbl lookup result is put here for reference
    281     // across callback methods; or set with result from
    282     // data store lookup as array(true||false)
    283     protected $rbl_result;
    284     // set array(true||false) when a data store lookup has been done
    285     // but not rbl
    286     protected $dbl_result;
     267    // rbl lookup result is put here for reference
     268    // across callback methods; instance of class BLCheckResult
     269    protected $the_result;
    287270
    288271    // if true do data store maintenance in shutdown hook
     
    322305        $this->settings_js = plugins_url($t, $pf);
    323306       
    324         $this->rbl_result = false;
    325         $this->dbl_result = false;
     307        $this->the_result = new BLCheckResult();
    326308        $this->do_db_maintain = false;
    327309        $this->ipchk = new IPReservedCheck_0_0_1();
     
    378360                self::optverbose => self::defverbose,
    379361                self::optscreen1 => self::defscreen1,
    380                 self::optcommflt => self::defcommflt,
    381                 self::optpingflt => self::defpingflt,
    382362                self::optregiflt => self::defregiflt,
    383363                self::opttorpass => self::deftorpass,
     
    390370                self::optipnglog => self::defipnglog,
    391371                self::optbliplog => self::defbliplog,
    392                 self::optbailout => self::defbailout,
    393372                self::optdelopts => self::defdelopts,
    394373                self::optdelstor => self::defdelstor
     
    399378            self::optverbose => self::defverbose,
    400379            self::optscreen1 => self::defscreen1,
    401             self::optcommflt => self::defcommflt,
    402             self::optpingflt => self::defpingflt,
    403380            self::optregiflt => self::defregiflt,
    404381            self::opttorpass => self::deftorpass,
     
    413390            self::optipnglog => self::defipnglog,
    414391            self::optbliplog => self::defbliplog,
    415             self::optbailout => self::defbailout,
    416392            self::opteditrbl => self::defeditrbl,
    417393            self::opteditrbr => self::defeditrbr,
     
    486462                $items[self::optverbose],
    487463                array($this, 'put_verbose_opt'));
    488         $fields[$nf++] = new $Cf(self::optcommflt,
    489                 self::wt(__('Blacklist check for comments:', 'spambl_l10n')),
    490                 self::optcommflt,
    491                 $items[self::optcommflt],
    492                 array($this, 'put_comments_opt'));
    493         $fields[$nf++] = new $Cf(self::optpingflt,
    494                 self::wt(__('Blacklist check for pings:', 'spambl_l10n')),
    495                 self::optpingflt,
    496                 $items[self::optpingflt],
    497                 array($this, 'put_pings_opt'));
    498464        $fields[$nf++] = new $Cf(self::optregiflt,
    499465                self::wt(__('Blacklist check user registrations:', 'spambl_l10n')),
     
    586552                $items[self::optbliplog],
    587553                array($this, 'put_bliplog_opt'));
    588         $fields[$nf++] = new $Cf(self::optbailout,
    589                 self::wt(__('Bail out on blacklisted IP:', 'spambl_l10n')),
    590                 self::optbailout,
    591                 $items[self::optbailout],
    592                 array($this, 'put_bailout_opt'));
    593554
    594555        // misc
     
    1027988            add_action('pre_comment_on_post', $aa, 100);
    1028989   
    1029             $aa = array($this, 'action_comment_closed');
    1030             add_action('comment_closed', $aa, 100);
    1031    
    1032             $aa = array($this, 'filter_comments_open');
    1033             add_filter('comments_open', $aa, 100);
    1034    
    1035             $aa = array($this, 'filter_pings_open');
    1036             add_filter('pings_open', $aa, 100);
    1037    
    1038990            // optional check on new registrations
    1039991            if ( self::check_filter_user_regi() ) {
    1040                 $aa = array($this, 'filter_user_regi');
    1041                 add_filter('register', $aa, 100);
    1042992                $aa = array($this, 'action_user_regi');
    1043993                add_action('login_form_register', $aa, 100);
     
    13301280        return (int)time();
    13311281    }
    1332 
    1333     // get future epoch timestamp for next noon or midnight
    1334     // $tm should generally be time() now, or leave it null
    1335     // if $local is true then get local offset value, else UTC
    1336     // if $noon is false get next midnight, else next noon
    1337     /**
    1338      * COMMENTED: this was to be used setting up the WP cron
    1339      * schedule, but since I can get *nothing* but 'hourly'
    1340      * to work, this is pointless -- it remains here just in case . . .
    1341     public static function tm_next_12meridian(
    1342         $tm = null, $local = true, $noon = false
    1343         ) {
    1344         if ( $tm === null ) {
    1345             $tm = time();
    1346         }
    1347         $t = $tm - ($tm % 86400) + ($noon ? 43200 : 86400);
    1348         // can happen for noon:
    1349         if ( $t < $tm ) {
    1350             $t += 86400;
    1351         }
    1352         if ( $local ) {
    1353             $t -= idate("Z", $tm);
    1354         }
    1355         return $t;
    1356     }
    1357     */
    13581282
    13591283    // optional additional response to unexpected REMOTE_ADDR;
     
    16641588                    break;
    16651589                case self::optverbose:
    1666                 case self::optcommflt:
    1667                 case self::optpingflt:
    16681590                case self::optregiflt:
    16691591                case self::opttorpass:
     
    16741596                case self::optipnglog:
    16751597                case self::optbliplog:
    1676                 case self::optbailout:
    16771598                case self::optdelopts:
    16781599                case self::optdelstor:
     
    17911712        printf('<p>%s</p>%s', $t, "\n");
    17921713
    1793         $t = self::wt(__('The "Blacklist check for comments" option
    1794             enables the main functionality of the plugin. When
    1795             <em>WordPress</em> core code checks whether comments
    1796             are open or closed, this plugin will check the connecting
    1797             IP address against DNS-based blacklists of weblog
    1798             comment spammers, and if it is found, will tell
    1799             <em>WordPress</em> that comments are
    1800             closed.', 'spambl_l10n'));
    1801         printf('<p>%s</p>%s', $t, "\n");
    1802 
    1803         $t = self::wt(__('The "Blacklist check for pings" option
    1804             is similar to "Blacklist check for comments",
    1805             but for pings.', 'spambl_l10n'));
    1806         printf('<p>%s</p>%s', $t, "\n");
    1807 
    18081714        $t = self::wt(__('The "Blacklist check user registrations"
    18091715            option enables the blacklist checks before the
     
    20321938            enable this temporarily to see the effect the plugin
    20331939            has had.', 'spambl_l10n'));
    2034         printf('<p>%s</p>%s', $t, "\n");
    2035 
    2036         $t = self::wt(__('The "Bail out on blacklisted IP"
    2037             option will have the plugin terminate the blog output
    2038             when the connecting IP address is blacklisted. The
    2039             default is to only disable comments, and allow the
    2040             page to be produced normally. This option will save
    2041             some amount of network load,
    2042             and spammers do not want or need your
    2043             content anyway, but if there is a rare false positive,
    2044             the visitor, also a spam victim in this case, will
    2045             miss your content.
    2046             ', 'spambl_l10n'));
    20471940        printf('<p>%s</p>%s', $t, "\n");
    20481941
     
    23392232    }
    23402233
    2341     // callback, rbl filter comments?
    2342     public function put_comments_opt($a) {
    2343         $tt = self::wt(__('Check blacklist for comments', 'spambl_l10n'));
    2344         $k = self::optcommflt;
    2345         $this->put_single_checkbox($a, $k, $tt);
    2346     }
    2347 
    2348     // callback, rbl filter pings?
    2349     public function put_pings_opt($a) {
    2350         $tt = self::wt(__('Check blacklist for pings', 'spambl_l10n'));
    2351         $k = self::optpingflt;
    2352         $this->put_single_checkbox($a, $k, $tt);
    2353     }
    2354 
    23552234    // callback, rbl filter user registration?
    23562235    public function put_regi_opt($a) {
     
    25352414        $tt = self::wt(__('Log blacklist hits', 'spambl_l10n'));
    25362415        $k = self::optbliplog;
    2537         $this->put_single_checkbox($a, $k, $tt);
    2538     }
    2539 
    2540     // callback, die blacklist hits?
    2541     public function put_bailout_opt($a) {
    2542         $tt = self::wt(__('Bail (wp_die()) on blacklist hits', 'spambl_l10n'));
    2543         $k = self::optbailout;
    25442416        $this->put_single_checkbox($a, $k, $tt);
    25452417    }
     
    28292701    // for whether to die on BL hits
    28302702    public static function get_bailout_option() {
    2831         return self::opt_by_name(self::optbailout);
     2703        // bailout option removed
     2704        //return self::opt_by_name(self::optbailout);
     2705        return 'true';
    28322706    }
    28332707
     
    28562730    }
    28572731
    2858     // should the filter_comments_open() rbl check be done
    2859     public static function get_comments_open_option() {
    2860         return self::opt_by_name(self::optcommflt);
    2861     }
    2862 
    2863     // should the filter_pings_open() rbl check be done
    2864     public static function get_pings_open_option() {
    2865         return self::opt_by_name(self::optpingflt);
    2866     }
    2867 
    28682732    // should the action_user_regi() rbl check be done
    28692733    public static function get_user_regi_option() {
     
    29362800       
    29372801        if ( ! $this->chkbl ) {
    2938             self::errlog(__('cannot allocate BL check object', 'spambl_l10n'));
     2802            self::errlog(
     2803                __('cannot allocate BL check object', 'spambl_l10n'));
    29392804            return false;
    29402805        }
    29412806       
    29422807        $ret = false;
    2943         // The simple check is not needed here
    2944         if ( true ) {
    2945             $this->rbl_result = $this->chkbl->check_all($addr, 1);
    2946             if ( ! empty($this->rbl_result) ) {
    2947                 $ret = $this->rbl_result[0][2];
    2948             } else {
    2949                 // place false in empty array
    2950                 $this->rbl_result[] = false;
    2951             }
     2808
     2809        $result = $this->chkbl->check_all($addr, 1);
     2810        if ( ! empty($result) ) {
     2811            // result is an array of 1, since 1 was passed to check_all
     2812            $result = $result[0];
     2813            $da = $this->chkbl->get_dom_array();
     2814            $dnsbl = new DNSBLCheckResult(
     2815                $result[2], $result[1], $da[$result[0]][0]);
     2816           
     2817            $this->the_result->type = "DNSBL";
     2818            $this->the_result->dat  = $dnsbl;
     2819            $ret = $dnsbl->is_hit;
    29522820        } else {
    2953             // in ctor $rbl_result is assigned false, so if
    2954             // other code finds it false, this code has not
    2955             // been reached
    2956             $this->rbl_result = array();
    2957             $ret = $this->chkbl->check_simple($addr);
    2958             // DEVEL: remove
    2959             if ( false && $addr === '192.168.1.187' ) {
    2960                 $ret = true;
    2961             }
    2962             // simple case: put result in [0]
    2963             $this->rbl_result[] = $ret;
     2821            // place false in empty array
     2822            $this->the_result->type = false;
    29642823        }
    29652824       
     
    29702829    // null if no previous result, else the
    29712830    // boolean result (true||false)
    2972     public function get_rbl_result() {
    2973         if ( ! is_array($this->rbl_result) ) {
     2831    public function get_rbl_result($check = false, $t = 'comments') {
     2832        if ( $this->the_result->type === null ) {
     2833            if ( $check ) {
     2834                $this->do_db_bl_check(true, $t) ;
     2835                return $this->get_rbl_result();
     2836            }
    29742837            return null;
    29752838        }
    2976         if ( is_array($this->rbl_result[0]) ) {
    2977             return $this->rbl_result[0][2];
    2978         }
    2979         return $this->rbl_result[0];
    2980     }
    2981 
    2982     // helper: get internal, non-BL result, return:
    2983     // null if no previous result, else the
    2984     // boolean result (true||false)
    2985     public function get_dbl_result() {
    2986         if ( ! is_array($this->dbl_result) ) {
    2987             return null;
    2988         }
    2989         return $this->dbl_result[0];
     2839        if ( $this->the_result->type === false ) {
     2840            return false;
     2841        }
     2842
     2843        if ( $this->the_result->type === "DNSBL" ) {
     2844            return $this->the_result->dat->is_hit;
     2845        }
     2846        return $this->the_result->dat;
    29902847    }
    29912848
     
    30182875    // This action is called from the last 'else' in
    30192876    // and if/else chain starting with a test of comments_open()
    3020     // which applies filter 'comments_open', see filter_comments_open()
    3021     // below. If comments are open, this gets called. DNS RBL
     2877    // which applies filter 'comments_open'.
     2878    // If comments are open, this gets called. DNS RBL
    30222879    // lookup is done here because the wait for result will
    30232880    // only affect the commenter, not every page load. A real
     
    30312888    // not get through in those cases.
    30322889    public function action_pre_comment_on_post($comment_post_ID) {
    3033         if ( self::get_comments_open_option() != 'true' ) {
    3034             return;
    3035         }       
    3036 
    3037         self::dbglog('enter ' . __FUNCTION__);
     2890        self::dbglog("enter method '" . __FUNCTION__ . "'");
    30382891
    30392892        // was rbl check called already? if so,
    30402893        // use stored result
    3041         $prev = $this->get_rbl_result();
    3042        
    3043         // if not done already
    3044         if ( $prev === null ) {
    3045             $this->do_db_bl_check(true, 'comments') ;
    3046             $prev = $this->get_rbl_result();
    3047         }
     2894        $prev = $this->get_rbl_result(true, 'comments');
    30482895       
    30492896        if ( $prev !== false ) {
     
    30602907    }
    30612908
    3062     // this action is invoked in wp-trackback.php, last action
    3063     // before trackback_response(0); just after
    3064     // wp_new_comment($commentdata), so it is too late
    3065     // to prevent spam -- *but* pings_open() is called earlier
    3066     // in the block of code, and that is filtered, so it's OK.
    3067     //public function action_trackback_post($insert_ID) {
    3068         //if ( self::get_pings_open_option() != 'true' ) {
    3069             //return;
    3070         //}     
    3071 
    3072         //self::dbglog('enter ' . __FUNCTION__);
    3073 
    3074         //// was rbl check called already? if so,
    3075         //// use stored result
    3076         //$prev = $this->get_rbl_result();
    3077        
    3078         //// if not done already
    3079         //if ( $prev === null ) {
    3080             //$this->do_db_bl_check(true, 'pings') ;
    3081             //$prev = $this->get_rbl_result();
    3082         //}
    3083        
    3084         //if ( $prev !== false ) {
    3085             //if ( self::get_rej_not_option() == 'true' ) {
    3086                 //self::dbglog('no-reject option, in ' . __FUNCTION__);
    3087                 //return;
    3088             //}
    3089            
    3090             //self::dbglog('BAILING FROM ' . __FUNCTION__);
    3091             //// TRANSLATORS: polite rejection message
    3092             //// in response to blacklisted IP address
    3093             //wp_die(__('Sorry, but no, thank you.', 'spambl_l10n'));
    3094         //}
    3095     //}
    3096 
    3097     // add_action('comment_closed', $scf, 1);
    3098     // This gets called if comments_open(), filtered below,
    3099     // yields not true. The block ends with wp_die(), so it is
    3100     // not needed here, and would exclude subsequent hooks if
    3101     // done here. An additional message might be printed, even
    3102     // though there's not much point to it
    3103     public function action_comment_closed($comment_post_ID) {
    3104         if ( self::get_comments_open_option() != 'true' ) {
    3105             return;
    3106         }
    3107        
    3108         if ( self::get_rej_not_option() == 'true' ) {
    3109             return;
    3110         }
    3111        
    3112         if ( $this->get_dbl_result() === true ) {
    3113             // TRANSLATORS: polite rejection message
    3114             // in response to blacklisted IP address
    3115             echo __('Sorry, but no, thank you.', 'spambl_l10n') .'<hr>';
    3116         }
    3117     }
    3118 
    31192909    // add_action('login_form_' . 'register', $scf, 1) -- wp-login.php;
    31202910    // This gets called if on new user registration, and a site
     
    31222912    // pertinent to comment spam.
    31232913    public function action_user_regi() {
     2914        self::dbglog("enter method '" . __FUNCTION__ . "'");
    31242915        if ( self::get_user_regi_option() != 'true' ) {
    31252916            return;
     
    31302921        }
    31312922
    3132         self::dbglog('enter ' . __FUNCTION__);
    3133 
    31342923        // was rbl check called already? if so,
    31352924        // use stored result
    3136         $prev = $this->get_rbl_result();
    3137        
    3138         // if not done already
    3139         if ( $prev === null ) {
    3140             $this->do_db_bl_check(true, 'comments') ;
    3141             $prev = $this->get_rbl_result();
    3142         }
     2925        $prev = $this->get_rbl_result(true, 'comments');
    31432926       
    31442927        if ( $prev !== false ) {
     
    31532936            wp_die(__('Sorry, but no, thank you.', 'spambl_l10n'));
    31542937        }
    3155     }
    3156 
    3157     // add_filter('register', $scf, 1);
    3158     // NOTE: called for each register-link that may display.
    3159     // This should not be used for the DNS RBL lookup because
    3160     // waiting for the response can caused a noticeable stall
    3161     // of page loading in client.
    3162     // action_user_regi is used for the RBL lookup;
    3163     // see comment there.
    3164     // OTOH, this filter will look in the hit db, which is fast,
    3165     // and nip it in the bud early if a hit is found.
    3166     public function filter_user_regi($link) {
    3167         if ( self::get_user_regi_option() != 'true' ) {
    3168             return $link;
    3169         }
    3170 
    3171         if ( ! self::check_filter_user_regi() ) {
    3172             return $link;
    3173         }
    3174 
    3175         self::dbglog('enter ' . __FUNCTION__);
    3176 
    3177         // was rbl check called already? if so,
    3178         // use stored result
    3179         $prev = $this->get_dbl_result();
    3180        
    3181         // if not done already
    3182         if ( $prev === null ) {
    3183             // false limits check: no DNS
    3184             $this->do_db_bl_check(true, 'comments', false) ;
    3185             $prev = $this->get_dbl_result();
    3186         }
    3187        
    3188         // if already done, but not a hit
    3189         if (  $prev === false ) {
    3190             return $link;
    3191         }
    3192 
    3193         // already got a hit on this IP addr
    3194         // DO NOT be put alternate content in $link: the caller
    3195         // prepends and appends elements such as '<li>', and replacing
    3196         // those might have unpleasant results -- OTOH, the caller
    3197         // also conditionally uses the empty string, so it may
    3198         // be considered an appropriate return
    3199         if ( self::get_rej_not_option() == 'true' ) {
    3200             self::dbglog('no-reject option, in ' . __FUNCTION__);
    3201             return $link;
    3202         }       
    3203         $link = '';
    3204         return $link;
    3205     }
    3206 
    3207     // add_filter('comments_open', $scf, 1);
    3208     // NOTE: this may/will be called many times per page,
    3209     // for each comment link on page.
    3210     // This should not be used for the DNS RBL lookup because
    3211     // waiting for the response can caused a noticeable stall
    3212     // of page loading in client.
    3213     // action_pre_comment_on_post is used for the RBL lookup;
    3214     // see comment there.
    3215     // OTOH, this filter will look in the hit db, which is fast,
    3216     // and nip it in the bud early if a hit is found.
    3217     public function filter_comments_open($open) {
    3218         if ( self::get_comments_open_option() != 'true' ) {
    3219             return $open;
    3220         }       
    3221 
    3222         // was data store check called already? if so,
    3223         // use stored result
    3224         $prev = $this->get_dbl_result();
    3225        
    3226         // if not done already
    3227         if ( $prev === null ) {
    3228             // false limits check: no DNS
    3229             return $this->do_db_bl_check($open, 'comments', false);
    3230         }
    3231        
    3232         // if already done, but not a hit
    3233         if (  $prev === false ) {
    3234             return $open;
    3235         }
    3236 
    3237         // already got a hit on this IP addr       
    3238         if ( self::get_rej_not_option() == 'true' ) {
    3239             self::dbglog('no-reject option, in ' . __FUNCTION__);
    3240             return $open;
    3241         }       
    3242         return false;
    3243     }
    3244 
    3245     // add_filter('pings_open', $scf, 1);
    3246     public function filter_pings_open($open) {
    3247         if ( self::get_pings_open_option() != 'true' ) {
    3248             return $open;
    3249         }       
    3250 
    3251         // was rbl check called already? if so,
    3252         // use stored result
    3253         $prev = $this->get_rbl_result();
    3254        
    3255         // if not done already
    3256         if ( $prev === null ) {
    3257             return $this->do_db_bl_check($open, 'pings');
    3258         }
    3259        
    3260         // if already done, but not a hit
    3261         if ( $prev === false ) {
    3262             return $open;
    3263         }
    3264 
    3265         // already got a hit on this IP addr       
    3266         if ( self::get_rej_not_option() == 'true' ) {
    3267             self::dbglog('no-reject option, in ' . __FUNCTION__);
    3268             return $open;
    3269         }       
    3270         return false;
    32712938    }
    32722939
     
    32832950                __('Invalid remote address; "REMOTE_ADDR" contains "%s"', 'spambl_l10n');
    32842951            self::errlog(sprintf($fmt, $addr));
     2952            $this->the_result->type = false;
    32852953            return $def;
    32862954        }
     
    32932961        if ( $this->chk_user_whitelist($addr, $statype, $pretime) ) {
    32942962            // set the result; checked in various places
    3295             $this->rbl_result = array(false);
    3296             // flag this like db check w a hit
    3297             $this->dbl_result = array(false);
     2963            $this->the_result->type = "WHITELIST";
     2964            $this->the_result->dat  = false;
    32982965            return $def;
     2966        }
     2967
     2968        $ret = false; // redundant, safe
     2969
     2970        // optional check in user blacklist
     2971        if ( ! $ret &&
     2972            $this->chk_user_blacklist($addr, $statype, $pretime) ) {
     2973            // set the result; checked in various places
     2974            $this->the_result->type = "BLACKLIST";
     2975            $this->the_result->dat  = true;
     2976            $ret = true;
     2977        }
     2978
     2979        // optional check in WP stored comments
     2980        if ( ! $ret &&
     2981            $this->chk_comments($addr, $statype, (int)$pretime) ) {
     2982            // set the result; checked in various places
     2983            $this->the_result->type = "COMMENTS";
     2984            $this->the_result->dat  = true;
     2985            $ret = true;
     2986        }
     2987
     2988        // option to whitelist addresses that TOR lists as exit nodes
     2989        // or that have been previously checked and were not hits (non)
     2990        // this is allowed a pass only if the comment check above
     2991        // did not hit; this way an addr whiltelisted here previously
     2992        // is not let past again if user marked the comment as spam --
     2993        // also the check above changes the 'lasttype' in our table
     2994        // to the $stattype arg ('comments' or 'pings')
     2995        if ( ! $ret &&
     2996            $this->tor_nonhit_opt_whitelist($addr, $rbl) ) {
     2997            // set the result; checked in various places
     2998            $this->the_result->type = "TOREXIT";
     2999            $this->the_result->dat  = false;
     3000            return $def;
     3001        }
     3002       
     3003        // optional data store check
     3004        if ( ! $ret &&
     3005            $this->chk_db_4_hit($addr, $statype, $pretime) ) {
     3006            $this->the_result->type = "HITSDB";
     3007            $this->the_result->dat  = true;
     3008            $ret = true;
     3009        }
     3010
     3011        // got hit above?
     3012        if ( $ret ) {
     3013            // optionally die
     3014            self::hit_optional_bailout($addr, $statype);
     3015            // Just say NO! (to Nancy)
     3016            return false;
     3017        } else {
     3018            $this->the_result->type = false;
    32993019        }
    33003020
     
    33203040                $this->handle_REMOTE_ADDR_error($ret);
    33213041            }
    3322             // can't continue; set result false
    3323             $this->rbl_result = array(false);
    3324             $this->dbl_result = array(false);
     3042            // can't continue; leave result false
    33253043            return $def;
    3326         }
    3327 
    3328         $ret = false; // redundant, safe
    3329 
    3330         // optional check in user blacklist
    3331         if ( ! $ret &&
    3332             $this->chk_user_blacklist($addr, $statype, $pretime) ) {
    3333             $ret = true;
    3334         }
    3335 
    3336         // optional check in WP stored comments
    3337         if ( ! $ret &&
    3338             $this->chk_comments($addr, $statype, (int)$pretime) ) {
    3339             $ret = true;
    3340         }
    3341 
    3342         // option to whitelist addresses that TOR lists as exit nodes
    3343         // or that have been previously checked and were not hits (non)
    3344         // this is allowed a pass only if the comment check above
    3345         // did not hit; this way an addr whiltelisted here previously
    3346         // is not let past again if user marked the comment as spam --
    3347         // also the check above changes the 'lasttype' in our table
    3348         // to the $stattype arg ('comments' or 'pings')
    3349         if ( ! $ret &&
    3350             $this->tor_nonhit_opt_whitelist($addr, $rbl) ) {
    3351             // set the result; checked in various places
    3352             $this->rbl_result = array(false);
    3353             // flag this like db check w/o a hit
    3354             $this->dbl_result = array(false);
    3355             return $def;
    3356         }
    3357        
    3358         // optional data store check
    3359         if ( ! $ret &&
    3360             $this->chk_db_4_hit($addr, $statype, $pretime) ) {
    3361             $ret = true;
    3362         }
    3363 
    3364         // got hit above?
    3365         if ( $ret ) {
    3366             // set the result; checked in various places
    3367             $this->rbl_result = array(true);
    3368             // flag this like db check w a hit
    3369             $this->dbl_result = array(true);
    3370             // optionally die
    3371             self::hit_optional_bailout($addr, $statype);
    3372             // Just say NO! (to Nancy)
    3373             return false;
    33743044        }
    33753045
     
    33773047        // wanted, for calls that should not wait on DNS
    33783048        if ( $rbl !== true ) {
    3379             $this->dbl_result = array(false);
    33803049            return $def;
    33813050        }
     
    34253094                ($statype === 'comments' ? $ctxt : $statype);
    34263095
    3427             if ( is_array($this->rbl_result[0]) ) {
    3428                 $doms = $this->chkbl->get_dom_array();
    3429                 $fmt =
    3430                     // TRANSLATORS: %1$s is type "comments" or "pings"
    3431                     // %2$s is IP4 address dotted quad
    3432                     // %3$s is DNS blacklist lookup domain
    3433                     // %4$s is IP4 blacklist lookup result
    3434                     // %5$f is lookup time in seconds (float)
    3435                     __('%1$s denied for address %2$s, list at "%3$s", result %4$s in %5$f', 'spambl_l10n');
    3436                 $fmt = sprintf($fmt, $dtxt, $addr,
    3437                     $doms[ $this->rbl_result[0][0] ][0],
    3438                     $this->rbl_result[0][1], $difftime);
    3439                 self::errlog($fmt);
    3440             } else {
    3441                 $fmt =
    3442                     // TRANSLATORS: %1$s is type "comments" or "pings"
    3443                     // %2$s is IP4 address dotted quad
    3444                     // %3$f is lookup time in seconds (float)
    3445                     __('%1$s denied for address %2$s in %3$f', 'spambl_l10n');
    3446                 $fmt = sprintf($fmt, $dtxt, $addr, $difftime);
    3447                 self::errlog($fmt);
    3448             }
     3096            $rdat = $this->the_result->dat;
     3097            $fmt =
     3098                // TRANSLATORS: %1$s is type "comments" or "pings"
     3099                // %2$s is IP4 address dotted quad
     3100                // %3$s is DNS blacklist lookup domain
     3101                // %4$s is IP4 blacklist lookup result
     3102                // %5$f is lookup time in seconds (float)
     3103                __('%1$s denied for address %2$s, list at "%3$s", result %4$s in %5$f', 'spambl_l10n');
     3104            $fmt = sprintf($fmt, $dtxt, $addr,
     3105                $rdat->dns_dom, $rdat->dns_ret, $difftime);
     3106            self::errlog($fmt);
    34493107        }       
    34503108       
     
    44824140        // Description shown under label shown on widgets page
    44834141        $desc = __('Display comment and ping spam hit information, and database table row count', 'spambl_l10n');
    4484         $opts = array('classname' => $cl, 'description' => $desc);
     4142        $opts = array(
     4143            'classname' => $cl,
     4144            'description' => $desc,
     4145            'customize_selective_refresh' => true
     4146        );
    44854147
    44864148        // control opts width affects the parameters form,
     
    45154177
    45164178        $ud  = $this->plinst->get_usedata_option();
    4517         $bc  = $this->plinst->get_comments_open_option();
    4518         $bp  = $this->plinst->get_pings_open_option();
    4519         $inf = false;
    4520         if ( $ud != 'false' && ($bc != 'false' || $bp != 'false') ) {
     4179        if ( $ud != 'false' ) {
    45214180            $inf = $this->plinst->get_db_info();
    45224181        }
    4523        
     4182
    45244183        // note *no default* for title; allow empty title so that
    45254184        // user may place this below another widget with
     
    45424201            $br  = $this->plinst->get_user_regi_option();
    45434202            $tw  = $this->plinst->get_torwhite_option();
    4544             $bo  = $this->plinst->get_bailout_option();
    45454203            $ce  = $this->plinst->get_chkexist_option();
    45464204            $rn  = $this->plinst->get_rec_non_option();
    45474205            $ps  = $this->plinst->get_rej_not_option();
    45484206            $showopt = false;
    4549             if ( $bc != 'false' || $bp != 'false' || $br != 'false' ||
    4550                 $tw != 'false' || $ps != 'false' ||
    4551                 $bo != 'false' || $ce != 'false' || $rn != 'false' ) {
    4552                 $showopt = true;
     4207            if ( $br != 'false' ||
     4208                 $tw != 'false' || $ps != 'false' ||
     4209                $ce != 'false' || $rn != 'false' ) {
     4210                 $showopt = true;
    45534211            }
    45544212        }
     
    45764234            echo "\n\t<ul>";
    45774235
    4578             if ( $bc != 'false' ) {
    4579                 printf("\n\t\t<li>%s</li>",
    4580                     $wt(__('Checking for comment spam', 'spambl_l10n'))
    4581                 );
    4582             }
    4583             if ( $bp != 'false' ) {
    4584                 printf("\n\t\t<li>%s</li>",
    4585                     $wt(__('Checking for ping spam', 'spambl_l10n'))
    4586                 );
    4587             }
    45884236            if ( $br != 'false' ) {
    45894237                printf("\n\t\t<li>%s</li>",
     
    45944242                printf("\n\t\t<li>%s</li>",
    45954243                    $wt(__('Checking in saved spam', 'spambl_l10n'))
    4596                 );
    4597             }
    4598             if ( $bo != 'false' ) {
    4599                 printf("\n\t\t<li>%s</li>",
    4600                     $wt(__('Bailing out on hits', 'spambl_l10n'))
    46014244                );
    46024245            }
  • spam-blip/trunk/js/screens.min.js

    r897320 r1397813  
    1 var evhplg_ctl_screenopt=function(id_chk){this.chk=document.getElementById(id_chk);this.ihid=document.getElementById('screen_opts_1_ini');this.chk.spbl=this;this.chk.addEventListener('click',this.clk,false);};evhplg_ctl_screenopt.prototype={chk:null,hid:null,ihid:null,all:{},add:function(id){this.all[id]=document.getElementById(id);if(this.ihid!=null){this.chk.checked=this.ihid.value=='false'?'':'CHECKED';this.tog(this.chk.checked?false:true);}
    2 this.hid=document.getElementById('screen_opts_1');},tog:function(ch){var dis=ch?"none":"block";for(var k in this.all){this.all[k].style.display=dis;}},clk:function(){this.spbl.tog(this.checked?false:true);if(this.spbl.hid!=null){this.spbl.hid.value=this.checked?'true':'false';}
    3 return false;}};var evhplg_obj_screenopt={};function addto_evhplg_obj_screenopt(id,target){if(evhplg_obj_screenopt[id]==undefined)
    4 evhplg_obj_screenopt[id]=new evhplg_ctl_screenopt(id);evhplg_obj_screenopt[id].add(target);};var evhplg_ctl_textpair=function(id_tl,id_tr,id_bl,id_br,dbg){this.tx_l=document.getElementById(id_tl);this.tx_l.spbl=this;this.tx_l.addEventListener('dblclick',this.clk_tx,false);this.tx_r=document.getElementById(id_tr);this.tx_r.spbl=this;this.tx_r.addEventListener('dblclick',this.clk_tx,false);this.bt_l=document.getElementById(id_bl);this.bt_l.spbl=this;this.bt_l.addEventListener('click',this.clk_btl,false);this.bt_r=document.getElementById(id_br);this.bt_r.spbl=this;this.bt_r.addEventListener('click',this.clk_btr,false);if(dbg!==null&&dbg!=""){this.dbg=document.getElementById(dbg);}};evhplg_ctl_textpair.prototype={tx_l:null,tx_r:null,bt_l:null,bt_r:null,clk_btl:function(){var ctl=this.spbl;var fr=ctl.tx_l;var to=ctl.tx_r;var r=ctl.movcur(fr,to);if(r)
    5 to.focus();return r;},clk_btr:function(){var ctl=this.spbl;var to=ctl.tx_l;var fr=ctl.tx_r;var r=ctl.movcur(fr,to);if(r)
    6 to.focus();return r;},clk_tx:function(){var ctl=this.spbl;ctl.selcur(this);this.focus();},movcur:function(fr,to){l=this.cutcur(fr);if(l!==false){return this.putcur(to,l);}
    7 return false;},cutcur:function(tx){this.selcur(tx);var t,s,e,v=this.sanitx(tx.value);if(!(s=tx.selectionStart))
    8 s=0;if(!(e=tx.selectionEnd)&&e!==0)
    9 e=s;if(e<s){t=s;s=e;e=t;}
    10 if(s===e){return false;}
    11 t=v.slice(s,e);tx.value=v.slice(0,s)+v.substring(e);return t;},putcur:function(tx,val){var s,v=this.sanitx(tx.value);if(!(s=tx.selectionStart))
    12 s=0;while(s>0){if(v.charAt(s)==="\n"){++s;break;}
    13 --s;}
    14 tx.value=v.slice(0,s)+this.sanitx(val)+v.substring(s);tx.selectionStart=s;tx.selectionEnd=s+val.length;return true;},selcur:function(tx){var s,e,v=tx.value;if(!(s=tx.selectionStart))
    15 s=0;if(!(e=tx.selectionEnd))
    16 e=s;if(e<s)
    17 s=e;var p=s,l=v.length;while(--p>=0){if(v.charAt(p)==="\n"){break;}}
    18 s=p+1;p=e=s;while(++p<l){if(v.charAt(p)==="\n"){break;}}
    19 e=p;if(e<l){e++;}
    20 tx.selectionStart=s;tx.selectionEnd=e;},sanitx:function(tx){var l=tx.length;if(l<1||tx.charAt(l-1)=="\n"){return tx;}
    21 return tx+"\n";},dbg:null,dbg_msg:function(msg){if(this.dbg!==null){this.dbg.innerHTML+='<br/>'+msg;}}};var evhplg_ctl_textpair_objmap={form_1:null,form_2:null,form_3:null,form_4:null,form_5:null,form_6:null,fpo:null};
     1function addto_evhplg_obj_screenopt(t,e){void 0==evhplg_obj_screenopt[t]&&(evhplg_obj_screenopt[t]=new evhplg_ctl_screenopt(t)),evhplg_obj_screenopt[t].add(e)}var evhplg_ctl_screenopt=function(t){this.chk=document.getElementById(t),this.ihid=document.getElementById("screen_opts_1_ini"),this.chk.spbl=this,this.chk.addEventListener("click",this.clk,!1)};evhplg_ctl_screenopt.prototype={chk:null,hid:null,ihid:null,all:{},add:function(t){this.all[t]=document.getElementById(t),null!=this.ihid&&(this.chk.checked="false"==this.ihid.value?"":"CHECKED",this.tog(this.chk.checked?!1:!0)),this.hid=document.getElementById("screen_opts_1")},tog:function(t){var e=t?"none":"block";for(var l in this.all)this.all[l].style.display=e},clk:function(){return this.spbl.tog(this.checked?!1:!0),null!=this.spbl.hid&&(this.spbl.hid.value=this.checked?"true":"false"),!1}};var evhplg_obj_screenopt={},evhplg_ctl_textpair=function(t,e,l,n,i){this.tx_l=document.getElementById(t),this.tx_l.spbl=this,this.tx_l.addEventListener("dblclick",this.clk_tx,!1),this.tx_r=document.getElementById(e),this.tx_r.spbl=this,this.tx_r.addEventListener("dblclick",this.clk_tx,!1),this.bt_l=document.getElementById(l),this.bt_l.spbl=this,this.bt_l.addEventListener("click",this.clk_btl,!1),this.bt_r=document.getElementById(n),this.bt_r.spbl=this,this.bt_r.addEventListener("click",this.clk_btr,!1),null!==i&&""!=i&&(this.dbg=document.getElementById(i))};evhplg_ctl_textpair.prototype={tx_l:null,tx_r:null,bt_l:null,bt_r:null,clk_btl:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(e,l);return n&&l.focus(),n},clk_btr:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(l,e);return n&&e.focus(),n},clk_tx:function(){var t=this.spbl;t.selcur(this),this.focus()},movcur:function(t,e){return l=this.cutcur(t),l!==!1?this.putcur(e,l):!1},cutcur:function(t){this.selcur(t);var e,l,n,i=this.sanitx(t.value);return(l=t.selectionStart)||(l=0),(n=t.selectionEnd)||0===n||(n=l),l>n&&(e=l,l=n,n=e),l===n?!1:(e=i.slice(l,n),t.value=i.slice(0,l)+i.substring(n),e)},putcur:function(t,e){var l,n=this.sanitx(t.value);for((l=t.selectionStart)||(l=0);l>0;){if("\n"===n.charAt(l)){++l;break}--l}return t.value=n.slice(0,l)+this.sanitx(e)+n.substring(l),t.selectionStart=l,t.selectionEnd=l+e.length,!0},selcur:function(t){var e,l,n=t.value;(e=t.selectionStart)||(e=0),(l=t.selectionEnd)||(l=e),e>l&&(e=l);for(var i=e,s=n.length;--i>=0&&"\n"!==n.charAt(i););for(e=i+1,i=l=e;++i<s&&"\n"!==n.charAt(i););l=i,s>l&&l++,t.selectionStart=e,t.selectionEnd=l},sanitx:function(t){var e=t.length;return 1>e||"\n"==t.charAt(e-1)?t:t+"\n"},dbg:null,dbg_msg:function(t){null!==this.dbg&&(this.dbg.innerHTML+="<br/>"+t)}};var evhplg_ctl_textpair_objmap={form_1:null,form_2:null,form_3:null,form_4:null,form_5:null,form_6:null,fpo:null};
  • spam-blip/trunk/locale/spambl_l10n-en_US.po

    r1225166 r1397813  
    1 # Spam_BLIP 1.0.6 Pot Source
     1# Spam_BLIP 1.0.7.1 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the Spam_BLIP package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Spam_BLIP 1.0.6\n"
     9"Project-Id-Version: Spam_BLIP 1.0.7.1\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2015-08-19 09:54-0400\n"
    12 "PO-Revision-Date: 2015-08-19 09:54 EDT\n"
     11"POT-Creation-Date: 2016-04-17 11:07-0400\n"
     12"PO-Revision-Date: 2016-04-17 11:07 EDT\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
     
    1919"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    2020
    21 #: Spam_BLIP.php:484
     21#: Spam_BLIP.php:460
    2222msgid "Show verbose introductions:"
    2323msgstr "Show verbose introductions:"
    2424
    25 #: Spam_BLIP.php:489
    26 msgid "Blacklist check for comments:"
    27 msgstr "Blacklist check for comments:"
    28 
    29 #: Spam_BLIP.php:494
    30 msgid "Blacklist check for pings:"
    31 msgstr "Blacklist check for pings:"
    32 
    33 #: Spam_BLIP.php:499
     25#: Spam_BLIP.php:465
    3426msgid "Blacklist check user registrations:"
    3527msgstr "Blacklist check user registrations:"
    3628
    37 #: Spam_BLIP.php:504
     29#: Spam_BLIP.php:470
    3830msgid "Whitelist (pass) TOR exit nodes:"
    3931msgstr "Whitelist (pass) TOR exit nodes:"
    4032
    41 #: Spam_BLIP.php:509
     33#: Spam_BLIP.php:475
    4234msgid "Check existing comment spam:"
    4335msgstr "Check existing comment spam:"
    4436
    45 #: Spam_BLIP.php:514
     37#: Spam_BLIP.php:480
    4638msgid "Check but do <em>not</em> reject:"
    4739msgstr "Check but do <em>not</em> reject:"
    4840
    49 #: Spam_BLIP.php:523
     41#: Spam_BLIP.php:489
    5042msgid "General Options"
    5143msgstr "General Options"
    5244
    53 #: Spam_BLIP.php:536
     45#: Spam_BLIP.php:502
    5446msgid "Keep data:"
    5547msgstr "Keep data:"
    5648
    57 #: Spam_BLIP.php:541
     49#: Spam_BLIP.php:507
    5850msgid "Use data:"
    5951msgstr "Use data:"
    6052
    61 #: Spam_BLIP.php:547
     53#: Spam_BLIP.php:513
    6254msgid "Data records TTL:"
    6355msgstr "Data records TTL:"
    6456
    65 #: Spam_BLIP.php:552
     57#: Spam_BLIP.php:518
    6658msgid "Maximum data records:"
    6759msgstr "Maximum data records:"
    6860
    69 #: Spam_BLIP.php:557
     61#: Spam_BLIP.php:523
    7062msgid "Store (and use) non-hit addresses:"
    7163msgstr "Store (and use) non-hit addresses:"
    7264
    73 #: Spam_BLIP.php:566
     65#: Spam_BLIP.php:532
    7466msgid "Database Options"
    7567msgstr "Database Options"
    7668
    77 #: Spam_BLIP.php:574
     69#: Spam_BLIP.php:540
    7870msgid "Use the included widget:"
    7971msgstr "Use the included widget:"
    8072
    81 #: Spam_BLIP.php:579
     73#: Spam_BLIP.php:545
    8274msgid "Log bad IP addresses:"
    8375msgstr "Log bad IP addresses:"
    8476
    85 #: Spam_BLIP.php:584
     77#: Spam_BLIP.php:550
    8678msgid "Log blacklisted IP addresses:"
    8779msgstr "Log blacklisted IP addresses:"
    8880
    89 #: Spam_BLIP.php:589
    90 msgid "Bail out on blacklisted IP:"
    91 msgstr "Bail out on blacklisted IP:"
    92 
    93 #: Spam_BLIP.php:598
     81#: Spam_BLIP.php:559
    9482msgid "Miscellaneous Options"
    9583msgstr "Miscellaneous Options"
    9684
    97 #: Spam_BLIP.php:606
     85#: Spam_BLIP.php:567
    9886msgid "Active and inactive blacklist domains:"
    9987msgstr "Active and inactive blacklist domains:"
    10088
    101 #: Spam_BLIP.php:611
     89#: Spam_BLIP.php:572
    10290msgid "Active and inactive user blacklist:"
    10391msgstr "Active and inactive user blacklist:"
    10492
    105 #: Spam_BLIP.php:616
     93#: Spam_BLIP.php:577
    10694msgid "Active and inactive user whitelist:"
    10795msgstr "Active and inactive user whitelist:"
    10896
    109 #: Spam_BLIP.php:625
     97#: Spam_BLIP.php:586
    11098msgid "Advanced Options"
    11199msgstr "Advanced Options"
    112100
    113 #: Spam_BLIP.php:634
     101#: Spam_BLIP.php:595
    114102msgid "Delete setup options on uninstall:"
    115103msgstr "Delete setup options on uninstall:"
    116104
    117 #: Spam_BLIP.php:639
     105#: Spam_BLIP.php:600
    118106msgid "Delete database table on uninstall:"
    119107msgstr "Delete database table on uninstall:"
    120108
    121 #: Spam_BLIP.php:648
     109#: Spam_BLIP.php:609
    122110msgid "Plugin Install Settings"
    123111msgstr "Plugin Install Settings"
    124112
    125 #: Spam_BLIP.php:672
     113#: Spam_BLIP.php:633
    126114msgid "Spam BLIP Plugin"
    127115msgstr "Spam BLIP Plugin"
    128116
    129 #: Spam_BLIP.php:673
     117#: Spam_BLIP.php:634
    130118msgid "Spam BLIP Configuration Settings"
    131119msgstr "Spam BLIP Configuration Settings"
     
    135123#. callback ''
    136124#. 'hook_suffix' callback array
    137 #: Spam_BLIP.php:679
     125#: Spam_BLIP.php:640
    138126msgid "<em>Spam BLIP</em> Plugin Settings"
    139127msgstr "<em>Spam BLIP</em> Plugin Settings"
    140128
    141 #: Spam_BLIP.php:680
     129#: Spam_BLIP.php:641
    142130msgid "Options controlling <em>Spam BLIP</em> functions."
    143131msgstr "Options controlling <em>Spam BLIP</em> functions."
    144132
    145 #: Spam_BLIP.php:681 Spam_BLIP.php:743
     133#: Spam_BLIP.php:642 Spam_BLIP.php:704
    146134msgid "Save Settings"
    147135msgstr "Save Settings"
    148136
    149 #: Spam_BLIP.php:695
     137#: Spam_BLIP.php:656
    150138msgid "Section introductions"
    151139msgstr "Section introductions"
     
    156144#. interface label from the WP core, so if possible
    157145#. use the WP core translation for that (likewise "Help").
    158 #: Spam_BLIP.php:723
     146#: Spam_BLIP.php:684
    159147#, possible-php-format
    160148msgid ""
     
    199187"\t\t\t</p>"
    200188
    201 #: Spam_BLIP.php:742 Spam_BLIP.php:2326
     189#: Spam_BLIP.php:703 Spam_BLIP.php:2219
    202190msgid "Show verbose introductions"
    203191msgstr "Show verbose introductions"
    204192
    205193#. TRANSLATORS: all '%s' are labels of checkbox options
    206 #: Spam_BLIP.php:747
     194#: Spam_BLIP.php:708
    207195#, possible-php-format
    208196msgid ""
     
    277265"\t\t\t</p>"
    278266
    279 #: Spam_BLIP.php:781 Spam_BLIP.php:2357
     267#: Spam_BLIP.php:742 Spam_BLIP.php:2236
    280268msgid "Check blacklist for user registration"
    281269msgstr "Check blacklist for user registration"
    282270
    283 #: Spam_BLIP.php:782 Spam_BLIP.php:2364
     271#: Spam_BLIP.php:743 Spam_BLIP.php:2243
    284272msgid "Whitelist TOR addresses"
    285273msgstr "Whitelist TOR addresses"
    286274
    287 #: Spam_BLIP.php:783 Spam_BLIP.php:2535
     275#: Spam_BLIP.php:744 Spam_BLIP.php:2414
    288276msgid "Log blacklist hits"
    289277msgstr "Log blacklist hits"
    290278
    291 #: Spam_BLIP.php:784 Spam_BLIP.php:2542
     279#: Spam_BLIP.php:745
    292280msgid "Bail (wp_die()) on blacklist hits"
    293281msgstr "Bail (wp_die()) on blacklist hits"
    294282
    295 #: Spam_BLIP.php:792
     283#: Spam_BLIP.php:753
    296284#, possible-php-format
    297285msgid ""
     
    310298"\t\t\t</p>"
    311299
    312 #: Spam_BLIP.php:798
     300#: Spam_BLIP.php:759
    313301msgid "For more information:"
    314302msgstr "For more information:"
    315303
    316 #: Spam_BLIP.php:813 Spam_BLIP.php:833
     304#: Spam_BLIP.php:774 Spam_BLIP.php:794
    317305msgid "Overview"
    318306msgstr "Overview"
    319307
    320 #: Spam_BLIP.php:821 Spam_BLIP.php:834
     308#: Spam_BLIP.php:782 Spam_BLIP.php:795
    321309msgid "Tips"
    322310msgstr "Tips"
    323311
    324 #: Spam_BLIP.php:957
     312#: Spam_BLIP.php:918
    325313msgid "Settings"
    326314msgstr "Settings"
    327315
    328 #: Spam_BLIP.php:1465
     316#: Spam_BLIP.php:1389
    329317#, possible-php-format
    330318msgid "bad TTL option: \"%s\""
    331319msgstr "bad TTL option: \"%s\""
    332320
    333 #: Spam_BLIP.php:1499
     321#: Spam_BLIP.php:1423
    334322#, possible-php-format
    335323msgid "bad maximum: \"%s\""
    336324msgstr "bad maximum: \"%s\""
    337325
    338 #: Spam_BLIP.php:1517
     326#: Spam_BLIP.php:1441
    339327msgid "whitelist"
    340328msgstr "whitelist"
    341329
    342 #: Spam_BLIP.php:1518
     330#: Spam_BLIP.php:1442
    343331msgid "blacklist"
    344332msgstr "blacklist"
     
    347335#. 'whitelist' or 'blacklist', and
    348336#. %2$s is an IP4 dotted quad address
    349 #: Spam_BLIP.php:1573
     337#: Spam_BLIP.php:1497
    350338#, possible-php-format
    351339msgid "bad user %1$s address set: \"%2$s\""
     
    353341
    354342#. record error for WP
    355 #: Spam_BLIP.php:1625
     343#: Spam_BLIP.php:1549
    356344#, possible-php-format
    357345msgid "bad blacklist domain set: \"%s\""
    358346msgstr "bad blacklist domain set: \"%s\""
    359347
    360 #: Spam_BLIP.php:1695
     348#: Spam_BLIP.php:1616
    361349#, possible-php-format
    362350msgid "bad key in option validation: \"%s\""
    363351msgstr "bad key in option validation: \"%s\""
    364352
    365 #: Spam_BLIP.php:1744
     353#: Spam_BLIP.php:1665
    366354#, possible-php-format
    367355msgid "%u setting updated successfully"
     
    370358msgstr[1] "%u settings updated successfully"
    371359
    372 #: Spam_BLIP.php:1747
     360#: Spam_BLIP.php:1668
    373361#, possible-php-format
    374362msgid "One (%d) setting updated"
     
    377365msgstr[1] "Some settings (%d) updated"
    378366
    379 #: Spam_BLIP.php:1780 Spam_BLIP.php:1887 Spam_BLIP.php:1986
    380 #: Spam_BLIP.php:2071 Spam_BLIP.php:2195
     367#: Spam_BLIP.php:1701 Spam_BLIP.php:1793 Spam_BLIP.php:1892
     368#: Spam_BLIP.php:1964 Spam_BLIP.php:2088
    381369msgid "Introduction:"
    382370msgstr "Introduction:"
    383371
    384 #: Spam_BLIP.php:1783
     372#: Spam_BLIP.php:1704
    385373msgid ""
    386374"The \"Show verbose introductions\"\n"
     
    402390"\t\t\tselected."
    403391
    404 #: Spam_BLIP.php:1793
    405 msgid ""
    406 "The \"Blacklist check for comments\" option \n"
    407 "\t\t\tenables the main functionality of the plugin. When\n"
    408 "\t\t\t<em>WordPress</em> core code checks whether comments\n"
    409 "\t\t\tare open or closed, this plugin will check the connecting\n"
    410 "\t\t\tIP address against DNS-based blacklists of weblog\n"
    411 "\t\t\tcomment spammers, and if it is found, will tell\n"
    412 "\t\t\t<em>WordPress</em> that comments are\n"
    413 "\t\t\tclosed."
    414 msgstr ""
    415 "The \"Blacklist check for comments\" option \n"
    416 "\t\t\tenables the main functionality of the plugin. When\n"
    417 "\t\t\t<em>WordPress</em> core code checks whether comments\n"
    418 "\t\t\tare open or closed, this plugin will check the connecting\n"
    419 "\t\t\tIP address against DNS-based blacklists of weblog\n"
    420 "\t\t\tcomment spammers, and if it is found, will tell\n"
    421 "\t\t\t<em>WordPress</em> that comments are\n"
    422 "\t\t\tclosed."
    423 
    424 #: Spam_BLIP.php:1803
    425 msgid ""
    426 "The \"Blacklist check for pings\" option \n"
    427 "\t\t\tis similar to \"Blacklist check for comments\",\n"
    428 "\t\t\tbut for pings."
    429 msgstr ""
    430 "The \"Blacklist check for pings\" option \n"
    431 "\t\t\tis similar to \"Blacklist check for comments\",\n"
    432 "\t\t\tbut for pings."
    433 
    434 #: Spam_BLIP.php:1808
     392#: Spam_BLIP.php:1714
    435393msgid ""
    436394"The \"Blacklist check user registrations\"\n"
     
    454412"\t\t\tdefault."
    455413
    456 #: Spam_BLIP.php:1819
     414#: Spam_BLIP.php:1725
    457415msgid ""
    458416"The \"Whitelist TOR exit nodes\" option \n"
     
    490448"\t\t\tdefense."
    491449
    492 #: Spam_BLIP.php:1837
     450#: Spam_BLIP.php:1743
    493451msgid ""
    494452"With \"Check existing comment spam\"\n"
     
    514472"\t\t\tThe default is true."
    515473
    516 #: Spam_BLIP.php:1849
     474#: Spam_BLIP.php:1755
    517475msgid ""
    518476"With \"Check but do <em>not</em> reject\"\n"
     
    530488"\t\t\t"
    531489
    532 #: Spam_BLIP.php:1864 Spam_BLIP.php:1971 Spam_BLIP.php:2056
    533 #: Spam_BLIP.php:2179 Spam_BLIP.php:2223
     490#: Spam_BLIP.php:1770 Spam_BLIP.php:1877 Spam_BLIP.php:1949
     491#: Spam_BLIP.php:2072 Spam_BLIP.php:2116
    534492msgid "Go forward to save button."
    535493msgstr "Go forward to save button."
    536494
    537 #: Spam_BLIP.php:1873
     495#: Spam_BLIP.php:1779
    538496#, possible-php-format
    539497msgid "(There is %u record in the database table)"
     
    542500msgstr[1] "(There are %u records in the database table)"
    543501
    544 #: Spam_BLIP.php:1895
     502#: Spam_BLIP.php:1801
    545503msgid ""
    546504"These options enable, disable or configure\n"
     
    554512"\t\t\tstored data before DNS lookup."
    555513
    556 #: Spam_BLIP.php:1901
     514#: Spam_BLIP.php:1807
    557515msgid ""
    558516"The \"Keep data\" option enables recording of\n"
     
    568526"\t\t\tenabled.)"
    569527
    570 #: Spam_BLIP.php:1908
     528#: Spam_BLIP.php:1814
    571529msgid ""
    572530"The \"Use data\" option enables a check in the\n"
     
    579537
    580538#. if ( self::userecdata_enable )
    581 #: Spam_BLIP.php:1913
     539#: Spam_BLIP.php:1819
    582540msgid ""
    583541"These options configure\n"
     
    592550
    593551#. if ( self::userecdata_enable )
    594 #: Spam_BLIP.php:1920
     552#: Spam_BLIP.php:1826
    595553msgid ""
    596554"\"Data records TTL\" sets an expiration time for\n"
     
    628586"\t\t\tperformed, expired records are removed."
    629587
    630 #: Spam_BLIP.php:1938
     588#: Spam_BLIP.php:1844
    631589msgid ""
    632590"The \"Maximum data records\" option limits how\n"
     
    650608"\t\t\tbeing trimmed back to the number set here"
    651609
    652 #: Spam_BLIP.php:1949
     610#: Spam_BLIP.php:1855
    653611msgid ""
    654612"The \"Store (and use) non-hit addresses\"\n"
     
    680638"\t\t\tThe default is false."
    681639
    682 #: Spam_BLIP.php:1973 Spam_BLIP.php:2058 Spam_BLIP.php:2181
    683 #: Spam_BLIP.php:2225
     640#: Spam_BLIP.php:1879 Spam_BLIP.php:1951 Spam_BLIP.php:2074
     641#: Spam_BLIP.php:2118
    684642msgid "Go back to top (General section)."
    685643msgstr "Go back to top (General section)."
    686644
    687 #: Spam_BLIP.php:1989
     645#: Spam_BLIP.php:1895
    688646msgid ""
    689647"The \"Use the included widget\" option controls\n"
     
    711669"\t\t\t"
    712670
    713 #: Spam_BLIP.php:2002
     671#: Spam_BLIP.php:1908
    714672msgid ""
    715673"The \"Log bad IP addresses\" option enables\n"
     
    763721"\t\t\t"
    764722
    765 #: Spam_BLIP.php:2028
     723#: Spam_BLIP.php:1934
    766724msgid ""
    767725"\"Log blacklisted IP addresses\" selects logging\n"
     
    779737"\t\t\thas had."
    780738
    781 #: Spam_BLIP.php:2036
    782 msgid ""
    783 "The \"Bail out on blacklisted IP\"\n"
    784 "\t\t\toption will have the plugin terminate the blog output\n"
    785 "\t\t\twhen the connecting IP address is blacklisted. The\n"
    786 "\t\t\tdefault is to only disable comments, and allow the\n"
    787 "\t\t\tpage to be produced normally. This option will save\n"
    788 "\t\t\tsome amount of network load,\n"
    789 "\t\t\tand spammers do not want or need your\n"
    790 "\t\t\tcontent anyway, but if there is a rare false positive,\n"
    791 "\t\t\tthe visitor, also a spam victim in this case, will\n"
    792 "\t\t\tmiss your content.\n"
    793 "\t\t\t"
    794 msgstr ""
    795 "The \"Bail out on blacklisted IP\"\n"
    796 "\t\t\toption will have the plugin terminate the blog output\n"
    797 "\t\t\twhen the connecting IP address is blacklisted. The\n"
    798 "\t\t\tdefault is to only disable comments, and allow the\n"
    799 "\t\t\tpage to be produced normally. This option will save\n"
    800 "\t\t\tsome amount of network load,\n"
    801 "\t\t\tand spammers do not want or need your\n"
    802 "\t\t\tcontent anyway, but if there is a rare false positive,\n"
    803 "\t\t\tthe visitor, also a spam victim in this case, will\n"
    804 "\t\t\tmiss your content.\n"
    805 "\t\t\t"
    806 
    807 #: Spam_BLIP.php:2074
     739#: Spam_BLIP.php:1967
    808740msgid ""
    809741"The \"Active and inactive blacklist domains\"\n"
     
    837769"\t\t\t"
    838770
    839 #: Spam_BLIP.php:2090
     771#: Spam_BLIP.php:1983
    840772msgid ""
    841773"Each \"Active and inactive blacklist domains\"\n"
     
    913845"\t\t\t"
    914846
    915 #: Spam_BLIP.php:2128
     847#: Spam_BLIP.php:2021
    916848msgid ""
    917849"The \"Active and inactive user blacklist\"\n"
     
    1001933"\t\t\t"
    1002934
    1003 #: Spam_BLIP.php:2198
     935#: Spam_BLIP.php:2091
    1004936msgid ""
    1005937"This section includes optional\n"
     
    1025957"\t\t\tthese data might be a good idea."
    1026958
    1027 #: Spam_BLIP.php:2210
     959#: Spam_BLIP.php:2103
    1028960msgid ""
    1029961"The \"Delete setup options\" option and the\n"
     
    1037969"\t\t\t"
    1038970
    1039 #: Spam_BLIP.php:2343
    1040 msgid "Check blacklist for comments"
    1041 msgstr "Check blacklist for comments"
    1042 
    1043 #: Spam_BLIP.php:2350
    1044 msgid "Check blacklist for pings"
    1045 msgstr "Check blacklist for pings"
    1046 
    1047 #: Spam_BLIP.php:2371
     971#: Spam_BLIP.php:2250
    1048972msgid "Store non-hit addresses for repeats"
    1049973msgstr "Store non-hit addresses for repeats"
    1050974
    1051 #: Spam_BLIP.php:2378
     975#: Spam_BLIP.php:2257
    1052976msgid "Check address in existing comments"
    1053977msgstr "Check address in existing comments"
    1054978
    1055 #: Spam_BLIP.php:2385
     979#: Spam_BLIP.php:2264
    1056980msgid "Pass (do not reject) hits"
    1057981msgstr "Pass (do not reject) hits"
    1058982
    1059 #: Spam_BLIP.php:2392
     983#: Spam_BLIP.php:2271
    1060984msgid "Store blacklist lookup results"
    1061985msgstr "Store blacklist lookup results"
    1062986
    1063 #: Spam_BLIP.php:2399
     987#: Spam_BLIP.php:2278
    1064988msgid "Use stored blacklist lookup results"
    1065989msgstr "Use stored blacklist lookup results"
    1066990
    1067 #: Spam_BLIP.php:2406
     991#: Spam_BLIP.php:2285
    1068992msgid "Set \"Time To Live\" of database records"
    1069993msgstr "Set \"Time To Live\" of database records"
    1070994
    1071 #: Spam_BLIP.php:2410
     995#: Spam_BLIP.php:2289
    1072996#, possible-php-format
    1073997msgid "One hour, %s seconds"
    1074998msgstr "One hour, %s seconds"
    1075999
    1076 #: Spam_BLIP.php:2412
     1000#: Spam_BLIP.php:2291
    10771001#, possible-php-format
    10781002msgid "Six hours, %s seconds"
    10791003msgstr "Six hours, %s seconds"
    10801004
    1081 #: Spam_BLIP.php:2414
     1005#: Spam_BLIP.php:2293
    10821006#, possible-php-format
    10831007msgid "Twelve hours, %s seconds"
    10841008msgstr "Twelve hours, %s seconds"
    10851009
    1086 #: Spam_BLIP.php:2416
     1010#: Spam_BLIP.php:2295
    10871011#, possible-php-format
    10881012msgid "One day, %s seconds"
    10891013msgstr "One day, %s seconds"
    10901014
    1091 #: Spam_BLIP.php:2418
     1015#: Spam_BLIP.php:2297
    10921016#, possible-php-format
    10931017msgid "One week, %s seconds"
    10941018msgstr "One week, %s seconds"
    10951019
    1096 #: Spam_BLIP.php:2420
     1020#: Spam_BLIP.php:2299
    10971021#, possible-php-format
    10981022msgid "Two weeks, %s seconds"
    10991023msgstr "Two weeks, %s seconds"
    11001024
    1101 #: Spam_BLIP.php:2422
     1025#: Spam_BLIP.php:2301
    11021026#, possible-php-format
    11031027msgid "Four weeks, %s seconds"
    11041028msgstr "Four weeks, %s seconds"
    11051029
    1106 #: Spam_BLIP.php:2424
     1030#: Spam_BLIP.php:2303
    11071031msgid "Set a value in seconds:"
    11081032msgstr "Set a value in seconds:"
    11091033
    1110 #: Spam_BLIP.php:2469
     1034#: Spam_BLIP.php:2348
    11111035msgid "Set number of database records to keep"
    11121036msgstr "Set number of database records to keep"
    11131037
    1114 #: Spam_BLIP.php:2473
     1038#: Spam_BLIP.php:2352
    11151039msgid "Ten (10)"
    11161040msgstr "Ten (10)"
    11171041
    1118 #: Spam_BLIP.php:2474
     1042#: Spam_BLIP.php:2353
    11191043msgid "Fifty (50)"
    11201044msgstr "Fifty (50)"
    11211045
    1122 #: Spam_BLIP.php:2475
     1046#: Spam_BLIP.php:2354
    11231047msgid "One hundred (100)"
    11241048msgstr "One hundred (100)"
    11251049
    1126 #: Spam_BLIP.php:2476
     1050#: Spam_BLIP.php:2355
    11271051msgid "Two hundred (200)"
    11281052msgstr "Two hundred (200)"
    11291053
    1130 #: Spam_BLIP.php:2477
     1054#: Spam_BLIP.php:2356
    11311055msgid "Five hundred (500)"
    11321056msgstr "Five hundred (500)"
    11331057
    1134 #: Spam_BLIP.php:2478
     1058#: Spam_BLIP.php:2357
    11351059msgid "One thousand (1000)"
    11361060msgstr "One thousand (1000)"
    11371061
    1138 #: Spam_BLIP.php:2479
     1062#: Spam_BLIP.php:2358
    11391063msgid "Set a value:"
    11401064msgstr "Set a value:"
    11411065
    1142 #: Spam_BLIP.php:2521
     1066#: Spam_BLIP.php:2400
    11431067msgid "Enable the included widget"
    11441068msgstr "Enable the included widget"
    11451069
    1146 #: Spam_BLIP.php:2528
     1070#: Spam_BLIP.php:2407
    11471071msgid "Log bad addresses in \"REMOTE_ADDR\""
    11481072msgstr "Log bad addresses in \"REMOTE_ADDR\""
     
    11501074#. TRANSLATORS: these are labels above textarea elements
    11511075#. do not use html entities
    1152 #: Spam_BLIP.php:2592
     1076#: Spam_BLIP.php:2464
    11531077msgid "Active User Whitelist:"
    11541078msgstr "Active User Whitelist:"
    11551079
    1156 #: Spam_BLIP.php:2593
     1080#: Spam_BLIP.php:2465
    11571081msgid "Inactive User Whitelist:"
    11581082msgstr "Inactive User Whitelist:"
     
    11621086#. '<<' and '>>' should suggest movement left and right
    11631087#. do not use html entities
    1164 #: Spam_BLIP.php:2604 Spam_BLIP.php:2676
     1088#: Spam_BLIP.php:2476 Spam_BLIP.php:2548
    11651089msgid "Move address right >>"
    11661090msgstr "Move address right >>"
    11671091
    1168 #: Spam_BLIP.php:2605 Spam_BLIP.php:2677
     1092#: Spam_BLIP.php:2477 Spam_BLIP.php:2549
    11691093msgid "<< Move address left"
    11701094msgstr "<< Move address left"
     
    11721096#. TRANSLATORS: these are labels above textarea elements
    11731097#. do not use html entities
    1174 #: Spam_BLIP.php:2664
     1098#: Spam_BLIP.php:2536
    11751099msgid "Active User Blacklist:"
    11761100msgstr "Active User Blacklist:"
    11771101
    1178 #: Spam_BLIP.php:2665
     1102#: Spam_BLIP.php:2537
    11791103msgid "Inactive User Blacklist:"
    11801104msgstr "Inactive User Blacklist:"
     
    11821106#. TRANSLATORS: these are labels above textarea elements
    11831107#. do not use html entities
    1184 #: Spam_BLIP.php:2745
     1108#: Spam_BLIP.php:2617
    11851109msgid "Active DNS Blacklists:"
    11861110msgstr "Active DNS Blacklists:"
    11871111
    1188 #: Spam_BLIP.php:2746
     1112#: Spam_BLIP.php:2618
    11891113msgid "Inactive DNS Blacklists:"
    11901114msgstr "Inactive DNS Blacklists:"
     
    11941118#. '<<' and '>>' should suggest movement left and right
    11951119#. do not use html entities
    1196 #: Spam_BLIP.php:2757
     1120#: Spam_BLIP.php:2629
    11971121msgid "Move line right >>"
    11981122msgstr "Move line right >>"
    11991123
    1200 #: Spam_BLIP.php:2758
     1124#: Spam_BLIP.php:2630
    12011125msgid "<< Move line left"
    12021126msgstr "<< Move line left"
    12031127
    1204 #: Spam_BLIP.php:2774
     1128#: Spam_BLIP.php:2646
    12051129msgid "Permanently delete plugin settings"
    12061130msgstr "Permanently delete plugin settings"
    12071131
    1208 #: Spam_BLIP.php:2781
     1132#: Spam_BLIP.php:2653
    12091133msgid "Permanently delete database table (stored data)"
    12101134msgstr "Permanently delete database table (stored data)"
    12111135
    1212 #: Spam_BLIP.php:2938
     1136#: Spam_BLIP.php:2803
    12131137msgid "cannot allocate BL check object"
    12141138msgstr "cannot allocate BL check object"
     
    12171141#. in response to blacklisted IP address
    12181142#. TODO: make message text an option
    1219 #: Spam_BLIP.php:3058 Spam_BLIP.php:3115 Spam_BLIP.php:3153
    1220 #: Spam_BLIP.php:3785
     1143#: Spam_BLIP.php:2905 Spam_BLIP.php:2936 Spam_BLIP.php:3443
    12211144msgid "Sorry, but no, thank you."
    12221145msgstr "Sorry, but no, thank you."
    12231146
    1224 #: Spam_BLIP.php:3281
     1147#: Spam_BLIP.php:2948
    12251148#, possible-php-format
    12261149msgid ""
     
    12291152"Got IP version 6 address \"%s\"; sorry, only IP4 handled currently"
    12301153
    1231 #: Spam_BLIP.php:3283
     1154#: Spam_BLIP.php:2950
    12321155#, possible-php-format
    12331156msgid "Invalid remote address; \"REMOTE_ADDR\" contains \"%s\""
     
    12351158
    12361159#. TRANSLATORS: word for ietf/iana reserved network
    1237 #: Spam_BLIP.php:3309
     1160#: Spam_BLIP.php:3029
    12381161msgid "RESERVED"
    12391162msgstr "RESERVED"
    12401163
    12411164#. TRANSLATORS: word for ietf/iana loopback network
    1242 #: Spam_BLIP.php:3311
     1165#: Spam_BLIP.php:3031
    12431166msgid "LOOPBACK"
    12441167msgstr "LOOPBACK"
     
    12471170#. see comments above.
    12481171#. %2$s is an IPv4 dotted quad address
    1249 #: Spam_BLIP.php:3316
     1172#: Spam_BLIP.php:3036
    12501173#, possible-php-format
    12511174msgid "Got %1$s IPv4 address \"%2$s\" in \"REMOTE_ADDR\"."
     
    12531176
    12541177#. TRANSLATORS: see "TRANSLATORS: %1$s is type..."
    1255 #: Spam_BLIP.php:3420 Spam_BLIP.php:3491 Spam_BLIP.php:3552
    1256 #: Spam_BLIP.php:3606
     1178#: Spam_BLIP.php:3089 Spam_BLIP.php:3149 Spam_BLIP.php:3210
     1179#: Spam_BLIP.php:3264
    12571180msgid "pings"
    12581181msgstr "pings"
    12591182
    12601183#. TRANSLATORS: see "TRANSLATORS: %1$s is type..."
    1261 #: Spam_BLIP.php:3422 Spam_BLIP.php:3493 Spam_BLIP.php:3554
    1262 #: Spam_BLIP.php:3608
     1184#: Spam_BLIP.php:3091 Spam_BLIP.php:3151 Spam_BLIP.php:3212
     1185#: Spam_BLIP.php:3266
    12631186msgid "comments"
    12641187msgstr "comments"
     
    12691192#. %4$s is IP4 blacklist lookup result
    12701193#. %5$f is lookup time in seconds (float)
    1271 #: Spam_BLIP.php:3435
     1194#: Spam_BLIP.php:3103
    12721195#, possible-php-format
    12731196msgid ""
     
    12751198msgstr ""
    12761199"%1$s denied for address %2$s, list at \"%3$s\", result %4$s in %5$f"
    1277 
    1278 #. TRANSLATORS: %1$s is type "comments" or "pings"
    1279 #. %2$s is IP4 address dotted quad
    1280 #. %3$f is lookup time in seconds (float)
    1281 #: Spam_BLIP.php:3445
    1282 #, possible-php-format
    1283 msgid "%1$s denied for address %2$s in %3$f"
    1284 msgstr "%1$s denied for address %2$s in %3$f"
    12851200
    12861201#. TRANSLATORS: %1$s is type "comments" or "pings"
    12871202#. %2$s is IP4 address dotted quad
    12881203#. %3$f is is time (float) used in option check
    1289 #: Spam_BLIP.php:3502
     1204#: Spam_BLIP.php:3160
    12901205#, possible-php-format
    12911206msgid ""
     
    12971212#. %2$s is IP4 address dotted quad
    12981213#. %3$f is is time (float) used in option check
    1299 #: Spam_BLIP.php:3563
     1214#: Spam_BLIP.php:3221
    13001215#, possible-php-format
    13011216msgid ""
     
    13111226#. %5$u is integer number of times seen (hitcount)
    13121227#. %6$f is is time (float) used in database check
    1313 #: Spam_BLIP.php:3621
     1228#: Spam_BLIP.php:3279
    13141229#, possible-php-format
    13151230msgid ""
     
    13281243#. TRANSLATORS: %1$s is IP4 address; %2$u is the
    13291244#. number of times adress was seen previously
    1330 #: Spam_BLIP.php:3717
     1245#: Spam_BLIP.php:3375
    13311246#, possible-php-format
    13321247msgid ""
     
    13391254#. TRANSLATORS: %s is IP4 address; DNS is the
    13401255#. domain name system
    1341 #: Spam_BLIP.php:3757
     1256#: Spam_BLIP.php:3415
    13421257#, possible-php-format
    13431258msgid "Found \"%s\" to be a tor exit, by DNS -- passed per option"
     
    13451260
    13461261#. Label shown on widgets page
    1347 #: Spam_BLIP.php:4481
     1262#: Spam_BLIP.php:4139
    13481263msgid "Spam BLIP"
    13491264msgstr "Spam BLIP"
    13501265
    13511266#. Description shown under label shown on widgets page
    1352 #: Spam_BLIP.php:4483
     1267#: Spam_BLIP.php:4141
    13531268msgid ""
    13541269"Display comment and ping spam hit information, and database table row "
     
    13581273"count"
    13591274
    1360 #: Spam_BLIP.php:4574
     1275#: Spam_BLIP.php:4232
    13611276msgid "Options:"
    13621277msgstr "Options:"
    13631278
    1364 #: Spam_BLIP.php:4580
    1365 msgid "Checking for comment spam"
    1366 msgstr "Checking for comment spam"
    1367 
    1368 #: Spam_BLIP.php:4585
    1369 msgid "Checking for ping spam"
    1370 msgstr "Checking for ping spam"
    1371 
    1372 #: Spam_BLIP.php:4590
     1279#: Spam_BLIP.php:4238
    13731280msgid "Checking user registration"
    13741281msgstr "Checking user registration"
    13751282
    1376 #: Spam_BLIP.php:4595
     1283#: Spam_BLIP.php:4243
    13771284msgid "Checking in saved spam"
    13781285msgstr "Checking in saved spam"
    13791286
    1380 #: Spam_BLIP.php:4600
    1381 msgid "Bailing out on hits"
    1382 msgstr "Bailing out on hits"
    1383 
    1384 #: Spam_BLIP.php:4605
     1287#: Spam_BLIP.php:4248
    13851288msgid "Saving non-hits"
    13861289msgstr "Saving non-hits"
    13871290
    1388 #: Spam_BLIP.php:4610
     1291#: Spam_BLIP.php:4253
    13891292msgid "Whitelisting TOR exits"
    13901293msgstr "Whitelisting TOR exits"
    13911294
    1392 #: Spam_BLIP.php:4615
     1295#: Spam_BLIP.php:4258
    13931296msgid "Not rejecting hits"
    13941297msgstr "Not rejecting hits"
    13951298
    1396 #: Spam_BLIP.php:4623
     1299#: Spam_BLIP.php:4266
    13971300msgid "Records:"
    13981301msgstr "Records:"
    13991302
    1400 #: Spam_BLIP.php:4639
     1303#: Spam_BLIP.php:4282
    14011304#, possible-php-format
    14021305msgid "%d address listed"
     
    14051308msgstr[1] "%d addresses listed"
    14061309
    1407 #: Spam_BLIP.php:4646
     1310#: Spam_BLIP.php:4289
    14081311#, possible-php-format
    14091312msgid "%d user whitelist address"
     
    14121315msgstr[1] "%d user whitelist addresses"
    14131316
    1414 #: Spam_BLIP.php:4653
     1317#: Spam_BLIP.php:4296
    14151318#, possible-php-format
    14161319msgid "%d user blacklist address"
     
    14191322msgstr[1] "%d user blacklist addresses"
    14201323
    1421 #: Spam_BLIP.php:4660
     1324#: Spam_BLIP.php:4303
    14221325#, possible-php-format
    14231326msgid "%d non-hit address"
     
    14261329msgstr[1] "%d non-hit addresses"
    14271330
    1428 #: Spam_BLIP.php:4667
     1331#: Spam_BLIP.php:4310
    14291332#, possible-php-format
    14301333msgid "%d tor exit node"
     
    14331336msgstr[1] "%d tor exit nodes"
    14341337
    1435 #: Spam_BLIP.php:4674
     1338#: Spam_BLIP.php:4317
    14361339#, possible-php-format
    14371340msgid "%d address in the past hour"
     
    14401343msgstr[1] "%d addresses in the past hour"
    14411344
    1442 #: Spam_BLIP.php:4681
     1345#: Spam_BLIP.php:4324
    14431346#, possible-php-format
    14441347msgid "%d new address in the past hour"
     
    14471350msgstr[1] "%d new addresses in the past hour"
    14481351
    1449 #: Spam_BLIP.php:4688
     1352#: Spam_BLIP.php:4331
    14501353#, possible-php-format
    14511354msgid "%d address in the past day"
     
    14541357msgstr[1] "%d addresses in the past day"
    14551358
    1456 #: Spam_BLIP.php:4695
     1359#: Spam_BLIP.php:4338
    14571360#, possible-php-format
    14581361msgid "%d new address in the past day"
     
    14611364msgstr[1] "%d new addresses in the past day"
    14621365
    1463 #: Spam_BLIP.php:4702
     1366#: Spam_BLIP.php:4345
    14641367#, possible-php-format
    14651368msgid "%d address in the past week"
     
    14681371msgstr[1] "%d addresses in the past week"
    14691372
    1470 #: Spam_BLIP.php:4709
     1373#: Spam_BLIP.php:4352
    14711374#, possible-php-format
    14721375msgid "%d new address in the past week"
     
    14751378msgstr[1] "%d new addresses in the past week"
    14761379
    1477 #: Spam_BLIP.php:4716
     1380#: Spam_BLIP.php:4359
    14781381#, possible-php-format
    14791382msgid "%d hit in all records"
     
    14821385msgstr[1] "total of %d hits in all records"
    14831386
    1484 #: Spam_BLIP.php:4729
     1387#: Spam_BLIP.php:4372
    14851388#, possible-php-format
    14861389msgid ""
     
    14971400"\t\t\t\t</p>"
    14981401
    1499 #: Spam_BLIP.php:4807
     1402#: Spam_BLIP.php:4450
    15001403msgid "Widget title:"
    15011404msgstr "Widget title:"
    15021405
    1503 #: Spam_BLIP.php:4822
     1406#: Spam_BLIP.php:4465
    15041407msgid "Caption:"
    15051408msgstr "Caption:"
    15061409
    1507 #: Spam_BLIP.php:4837
     1410#: Spam_BLIP.php:4480
    15081411msgid "Show <em>Spam BLIP</em> options:&nbsp;"
    15091412msgstr "Show <em>Spam BLIP</em> options:&nbsp;"
    15101413
    1511 #: Spam_BLIP.php:4850
     1414#: Spam_BLIP.php:4493
    15121415msgid "Show <em>Spam BLIP</em> link:&nbsp;"
    15131416msgstr "Show <em>Spam BLIP</em> link:&nbsp;"
  • spam-blip/trunk/locale/spambl_l10n.pot

    r1225166 r1397813  
    1 # Spam_BLIP 1.0.6 Pot Source
     1# Spam_BLIP 1.0.7.1 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the Spam_BLIP package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Spam_BLIP 1.0.6\n"
     9"Project-Id-Version: Spam_BLIP 1.0.7.1\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2015-08-19 09:54-0400\n"
     11"POT-Creation-Date: 2016-04-17 11:07-0400\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1919"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    2020
    21 #: Spam_BLIP.php:484
     21#: Spam_BLIP.php:460
    2222msgid "Show verbose introductions:"
    2323msgstr ""
    2424
     25#: Spam_BLIP.php:465
     26msgid "Blacklist check user registrations:"
     27msgstr ""
     28
     29#: Spam_BLIP.php:470
     30msgid "Whitelist (pass) TOR exit nodes:"
     31msgstr ""
     32
     33#: Spam_BLIP.php:475
     34msgid "Check existing comment spam:"
     35msgstr ""
     36
     37#: Spam_BLIP.php:480
     38msgid "Check but do <em>not</em> reject:"
     39msgstr ""
     40
    2541#: Spam_BLIP.php:489
    26 msgid "Blacklist check for comments:"
    27 msgstr ""
    28 
    29 #: Spam_BLIP.php:494
    30 msgid "Blacklist check for pings:"
    31 msgstr ""
    32 
    33 #: Spam_BLIP.php:499
    34 msgid "Blacklist check user registrations:"
    35 msgstr ""
    36 
    37 #: Spam_BLIP.php:504
    38 msgid "Whitelist (pass) TOR exit nodes:"
    39 msgstr ""
    40 
    41 #: Spam_BLIP.php:509
    42 msgid "Check existing comment spam:"
    43 msgstr ""
    44 
    45 #: Spam_BLIP.php:514
    46 msgid "Check but do <em>not</em> reject:"
     42msgid "General Options"
     43msgstr ""
     44
     45#: Spam_BLIP.php:502
     46msgid "Keep data:"
     47msgstr ""
     48
     49#: Spam_BLIP.php:507
     50msgid "Use data:"
     51msgstr ""
     52
     53#: Spam_BLIP.php:513
     54msgid "Data records TTL:"
     55msgstr ""
     56
     57#: Spam_BLIP.php:518
     58msgid "Maximum data records:"
    4759msgstr ""
    4860
    4961#: Spam_BLIP.php:523
    50 msgid "General Options"
    51 msgstr ""
    52 
    53 #: Spam_BLIP.php:536
    54 msgid "Keep data:"
    55 msgstr ""
    56 
    57 #: Spam_BLIP.php:541
    58 msgid "Use data:"
    59 msgstr ""
    60 
    61 #: Spam_BLIP.php:547
    62 msgid "Data records TTL:"
    63 msgstr ""
    64 
    65 #: Spam_BLIP.php:552
    66 msgid "Maximum data records:"
    67 msgstr ""
    68 
    69 #: Spam_BLIP.php:557
    7062msgid "Store (and use) non-hit addresses:"
    7163msgstr ""
    7264
    73 #: Spam_BLIP.php:566
     65#: Spam_BLIP.php:532
    7466msgid "Database Options"
    7567msgstr ""
    7668
    77 #: Spam_BLIP.php:574
     69#: Spam_BLIP.php:540
    7870msgid "Use the included widget:"
    7971msgstr ""
    8072
    81 #: Spam_BLIP.php:579
     73#: Spam_BLIP.php:545
    8274msgid "Log bad IP addresses:"
    8375msgstr ""
    8476
    85 #: Spam_BLIP.php:584
     77#: Spam_BLIP.php:550
    8678msgid "Log blacklisted IP addresses:"
    8779msgstr ""
    8880
    89 #: Spam_BLIP.php:589
    90 msgid "Bail out on blacklisted IP:"
    91 msgstr ""
    92 
    93 #: Spam_BLIP.php:598
     81#: Spam_BLIP.php:559
    9482msgid "Miscellaneous Options"
    9583msgstr ""
    9684
    97 #: Spam_BLIP.php:606
     85#: Spam_BLIP.php:567
    9886msgid "Active and inactive blacklist domains:"
    9987msgstr ""
    10088
    101 #: Spam_BLIP.php:611
     89#: Spam_BLIP.php:572
    10290msgid "Active and inactive user blacklist:"
    10391msgstr ""
    10492
    105 #: Spam_BLIP.php:616
     93#: Spam_BLIP.php:577
    10694msgid "Active and inactive user whitelist:"
    10795msgstr ""
    10896
    109 #: Spam_BLIP.php:625
     97#: Spam_BLIP.php:586
    11098msgid "Advanced Options"
    11199msgstr ""
    112100
     101#: Spam_BLIP.php:595
     102msgid "Delete setup options on uninstall:"
     103msgstr ""
     104
     105#: Spam_BLIP.php:600
     106msgid "Delete database table on uninstall:"
     107msgstr ""
     108
     109#: Spam_BLIP.php:609
     110msgid "Plugin Install Settings"
     111msgstr ""
     112
     113#: Spam_BLIP.php:633
     114msgid "Spam BLIP Plugin"
     115msgstr ""
     116
    113117#: Spam_BLIP.php:634
    114 msgid "Delete setup options on uninstall:"
    115 msgstr ""
    116 
    117 #: Spam_BLIP.php:639
    118 msgid "Delete database table on uninstall:"
    119 msgstr ""
    120 
    121 #: Spam_BLIP.php:648
    122 msgid "Plugin Install Settings"
    123 msgstr ""
    124 
    125 #: Spam_BLIP.php:672
    126 msgid "Spam BLIP Plugin"
    127 msgstr ""
    128 
    129 #: Spam_BLIP.php:673
    130118msgid "Spam BLIP Configuration Settings"
    131119msgstr ""
     
    135123#. callback ''
    136124#. 'hook_suffix' callback array
    137 #: Spam_BLIP.php:679
     125#: Spam_BLIP.php:640
    138126msgid "<em>Spam BLIP</em> Plugin Settings"
    139127msgstr ""
    140128
    141 #: Spam_BLIP.php:680
     129#: Spam_BLIP.php:641
    142130msgid "Options controlling <em>Spam BLIP</em> functions."
    143131msgstr ""
    144132
    145 #: Spam_BLIP.php:681 Spam_BLIP.php:743
     133#: Spam_BLIP.php:642 Spam_BLIP.php:704
    146134msgid "Save Settings"
    147135msgstr ""
    148136
    149 #: Spam_BLIP.php:695
     137#: Spam_BLIP.php:656
    150138msgid "Section introductions"
    151139msgstr ""
     
    156144#. interface label from the WP core, so if possible
    157145#. use the WP core translation for that (likewise "Help").
    158 #: Spam_BLIP.php:723
     146#: Spam_BLIP.php:684
    159147#, possible-php-format
    160148msgid ""
     
    180168msgstr ""
    181169
    182 #: Spam_BLIP.php:742 Spam_BLIP.php:2326
     170#: Spam_BLIP.php:703 Spam_BLIP.php:2219
    183171msgid "Show verbose introductions"
    184172msgstr ""
    185173
    186174#. TRANSLATORS: all '%s' are labels of checkbox options
    187 #: Spam_BLIP.php:747
     175#: Spam_BLIP.php:708
    188176#, possible-php-format
    189177msgid ""
     
    224212msgstr ""
    225213
    226 #: Spam_BLIP.php:781 Spam_BLIP.php:2357
     214#: Spam_BLIP.php:742 Spam_BLIP.php:2236
    227215msgid "Check blacklist for user registration"
    228216msgstr ""
    229217
    230 #: Spam_BLIP.php:782 Spam_BLIP.php:2364
     218#: Spam_BLIP.php:743 Spam_BLIP.php:2243
    231219msgid "Whitelist TOR addresses"
    232220msgstr ""
    233221
    234 #: Spam_BLIP.php:783 Spam_BLIP.php:2535
     222#: Spam_BLIP.php:744 Spam_BLIP.php:2414
    235223msgid "Log blacklist hits"
    236224msgstr ""
    237225
    238 #: Spam_BLIP.php:784 Spam_BLIP.php:2542
     226#: Spam_BLIP.php:745
    239227msgid "Bail (wp_die()) on blacklist hits"
    240228msgstr ""
    241229
    242 #: Spam_BLIP.php:792
     230#: Spam_BLIP.php:753
    243231#, possible-php-format
    244232msgid ""
     
    251239msgstr ""
    252240
    253 #: Spam_BLIP.php:798
     241#: Spam_BLIP.php:759
    254242msgid "For more information:"
    255243msgstr ""
    256244
    257 #: Spam_BLIP.php:813 Spam_BLIP.php:833
     245#: Spam_BLIP.php:774 Spam_BLIP.php:794
    258246msgid "Overview"
    259247msgstr ""
    260248
    261 #: Spam_BLIP.php:821 Spam_BLIP.php:834
     249#: Spam_BLIP.php:782 Spam_BLIP.php:795
    262250msgid "Tips"
    263251msgstr ""
    264252
    265 #: Spam_BLIP.php:957
     253#: Spam_BLIP.php:918
    266254msgid "Settings"
    267255msgstr ""
    268256
    269 #: Spam_BLIP.php:1465
     257#: Spam_BLIP.php:1389
    270258#, possible-php-format
    271259msgid "bad TTL option: \"%s\""
    272260msgstr ""
    273261
    274 #: Spam_BLIP.php:1499
     262#: Spam_BLIP.php:1423
    275263#, possible-php-format
    276264msgid "bad maximum: \"%s\""
    277265msgstr ""
    278266
    279 #: Spam_BLIP.php:1517
     267#: Spam_BLIP.php:1441
    280268msgid "whitelist"
    281269msgstr ""
    282270
    283 #: Spam_BLIP.php:1518
     271#: Spam_BLIP.php:1442
    284272msgid "blacklist"
    285273msgstr ""
     
    288276#. 'whitelist' or 'blacklist', and
    289277#. %2$s is an IP4 dotted quad address
    290 #: Spam_BLIP.php:1573
     278#: Spam_BLIP.php:1497
    291279#, possible-php-format
    292280msgid "bad user %1$s address set: \"%2$s\""
     
    294282
    295283#. record error for WP
    296 #: Spam_BLIP.php:1625
     284#: Spam_BLIP.php:1549
    297285#, possible-php-format
    298286msgid "bad blacklist domain set: \"%s\""
    299287msgstr ""
    300288
    301 #: Spam_BLIP.php:1695
     289#: Spam_BLIP.php:1616
    302290#, possible-php-format
    303291msgid "bad key in option validation: \"%s\""
    304292msgstr ""
    305293
    306 #: Spam_BLIP.php:1744
     294#: Spam_BLIP.php:1665
    307295#, possible-php-format
    308296msgid "%u setting updated successfully"
     
    311299msgstr[1] ""
    312300
    313 #: Spam_BLIP.php:1747
     301#: Spam_BLIP.php:1668
    314302#, possible-php-format
    315303msgid "One (%d) setting updated"
     
    318306msgstr[1] ""
    319307
    320 #: Spam_BLIP.php:1780 Spam_BLIP.php:1887 Spam_BLIP.php:1986
    321 #: Spam_BLIP.php:2071 Spam_BLIP.php:2195
     308#: Spam_BLIP.php:1701 Spam_BLIP.php:1793 Spam_BLIP.php:1892
     309#: Spam_BLIP.php:1964 Spam_BLIP.php:2088
    322310msgid "Introduction:"
    323311msgstr ""
    324312
    325 #: Spam_BLIP.php:1783
     313#: Spam_BLIP.php:1704
    326314msgid ""
    327315"The \"Show verbose introductions\"\n"
     
    335323msgstr ""
    336324
    337 #: Spam_BLIP.php:1793
    338 msgid ""
    339 "The \"Blacklist check for comments\" option \n"
    340 "\t\t\tenables the main functionality of the plugin. When\n"
    341 "\t\t\t<em>WordPress</em> core code checks whether comments\n"
    342 "\t\t\tare open or closed, this plugin will check the connecting\n"
    343 "\t\t\tIP address against DNS-based blacklists of weblog\n"
    344 "\t\t\tcomment spammers, and if it is found, will tell\n"
    345 "\t\t\t<em>WordPress</em> that comments are\n"
    346 "\t\t\tclosed."
    347 msgstr ""
    348 
    349 #: Spam_BLIP.php:1803
    350 msgid ""
    351 "The \"Blacklist check for pings\" option \n"
    352 "\t\t\tis similar to \"Blacklist check for comments\",\n"
    353 "\t\t\tbut for pings."
    354 msgstr ""
    355 
    356 #: Spam_BLIP.php:1808
     325#: Spam_BLIP.php:1714
    357326msgid ""
    358327"The \"Blacklist check user registrations\"\n"
     
    367336msgstr ""
    368337
    369 #: Spam_BLIP.php:1819
     338#: Spam_BLIP.php:1725
    370339msgid ""
    371340"The \"Whitelist TOR exit nodes\" option \n"
     
    387356msgstr ""
    388357
    389 #: Spam_BLIP.php:1837
     358#: Spam_BLIP.php:1743
    390359msgid ""
    391360"With \"Check existing comment spam\"\n"
     
    401370msgstr ""
    402371
    403 #: Spam_BLIP.php:1849
     372#: Spam_BLIP.php:1755
    404373msgid ""
    405374"With \"Check but do <em>not</em> reject\"\n"
     
    411380msgstr ""
    412381
    413 #: Spam_BLIP.php:1864 Spam_BLIP.php:1971 Spam_BLIP.php:2056
    414 #: Spam_BLIP.php:2179 Spam_BLIP.php:2223
     382#: Spam_BLIP.php:1770 Spam_BLIP.php:1877 Spam_BLIP.php:1949
     383#: Spam_BLIP.php:2072 Spam_BLIP.php:2116
    415384msgid "Go forward to save button."
    416385msgstr ""
    417386
    418 #: Spam_BLIP.php:1873
     387#: Spam_BLIP.php:1779
    419388#, possible-php-format
    420389msgid "(There is %u record in the database table)"
     
    423392msgstr[1] ""
    424393
    425 #: Spam_BLIP.php:1895
     394#: Spam_BLIP.php:1801
    426395msgid ""
    427396"These options enable, disable or configure\n"
     
    431400msgstr ""
    432401
    433 #: Spam_BLIP.php:1901
     402#: Spam_BLIP.php:1807
    434403msgid ""
    435404"The \"Keep data\" option enables recording of\n"
     
    440409msgstr ""
    441410
    442 #: Spam_BLIP.php:1908
     411#: Spam_BLIP.php:1814
    443412msgid ""
    444413"The \"Use data\" option enables a check in the\n"
     
    448417
    449418#. if ( self::userecdata_enable )
    450 #: Spam_BLIP.php:1913
     419#: Spam_BLIP.php:1819
    451420msgid ""
    452421"These options configure\n"
     
    457426
    458427#. if ( self::userecdata_enable )
    459 #: Spam_BLIP.php:1920
     428#: Spam_BLIP.php:1826
    460429msgid ""
    461430"\"Data records TTL\" sets an expiration time for\n"
     
    477446msgstr ""
    478447
    479 #: Spam_BLIP.php:1938
     448#: Spam_BLIP.php:1844
    480449msgid ""
    481450"The \"Maximum data records\" option limits how\n"
     
    490459msgstr ""
    491460
    492 #: Spam_BLIP.php:1949
     461#: Spam_BLIP.php:1855
    493462msgid ""
    494463"The \"Store (and use) non-hit addresses\"\n"
     
    507476msgstr ""
    508477
    509 #: Spam_BLIP.php:1973 Spam_BLIP.php:2058 Spam_BLIP.php:2181
    510 #: Spam_BLIP.php:2225
     478#: Spam_BLIP.php:1879 Spam_BLIP.php:1951 Spam_BLIP.php:2074
     479#: Spam_BLIP.php:2118
    511480msgid "Go back to top (General section)."
    512481msgstr ""
    513482
    514 #: Spam_BLIP.php:1989
     483#: Spam_BLIP.php:1895
    515484msgid ""
    516485"The \"Use the included widget\" option controls\n"
     
    527496msgstr ""
    528497
    529 #: Spam_BLIP.php:2002
     498#: Spam_BLIP.php:1908
    530499msgid ""
    531500"The \"Log bad IP addresses\" option enables\n"
     
    555524msgstr ""
    556525
    557 #: Spam_BLIP.php:2028
     526#: Spam_BLIP.php:1934
    558527msgid ""
    559528"\"Log blacklisted IP addresses\" selects logging\n"
     
    565534msgstr ""
    566535
    567 #: Spam_BLIP.php:2036
    568 msgid ""
    569 "The \"Bail out on blacklisted IP\"\n"
    570 "\t\t\toption will have the plugin terminate the blog output\n"
    571 "\t\t\twhen the connecting IP address is blacklisted. The\n"
    572 "\t\t\tdefault is to only disable comments, and allow the\n"
    573 "\t\t\tpage to be produced normally. This option will save\n"
    574 "\t\t\tsome amount of network load,\n"
    575 "\t\t\tand spammers do not want or need your\n"
    576 "\t\t\tcontent anyway, but if there is a rare false positive,\n"
    577 "\t\t\tthe visitor, also a spam victim in this case, will\n"
    578 "\t\t\tmiss your content.\n"
    579 "\t\t\t"
    580 msgstr ""
    581 
    582 #: Spam_BLIP.php:2074
     536#: Spam_BLIP.php:1967
    583537msgid ""
    584538"The \"Active and inactive blacklist domains\"\n"
     
    598552msgstr ""
    599553
    600 #: Spam_BLIP.php:2090
     554#: Spam_BLIP.php:1983
    601555msgid ""
    602556"Each \"Active and inactive blacklist domains\"\n"
     
    638592msgstr ""
    639593
    640 #: Spam_BLIP.php:2128
     594#: Spam_BLIP.php:2021
    641595msgid ""
    642596"The \"Active and inactive user blacklist\"\n"
     
    684638msgstr ""
    685639
    686 #: Spam_BLIP.php:2198
     640#: Spam_BLIP.php:2091
    687641msgid ""
    688642"This section includes optional\n"
     
    698652msgstr ""
    699653
    700 #: Spam_BLIP.php:2210
     654#: Spam_BLIP.php:2103
    701655msgid ""
    702656"The \"Delete setup options\" option and the\n"
     
    706660msgstr ""
    707661
    708 #: Spam_BLIP.php:2343
    709 msgid "Check blacklist for comments"
    710 msgstr ""
    711 
    712 #: Spam_BLIP.php:2350
    713 msgid "Check blacklist for pings"
    714 msgstr ""
    715 
    716 #: Spam_BLIP.php:2371
     662#: Spam_BLIP.php:2250
    717663msgid "Store non-hit addresses for repeats"
    718664msgstr ""
    719665
    720 #: Spam_BLIP.php:2378
     666#: Spam_BLIP.php:2257
    721667msgid "Check address in existing comments"
    722668msgstr ""
    723669
    724 #: Spam_BLIP.php:2385
     670#: Spam_BLIP.php:2264
    725671msgid "Pass (do not reject) hits"
    726672msgstr ""
    727673
    728 #: Spam_BLIP.php:2392
     674#: Spam_BLIP.php:2271
    729675msgid "Store blacklist lookup results"
    730676msgstr ""
    731677
    732 #: Spam_BLIP.php:2399
     678#: Spam_BLIP.php:2278
    733679msgid "Use stored blacklist lookup results"
    734680msgstr ""
    735681
    736 #: Spam_BLIP.php:2406
     682#: Spam_BLIP.php:2285
    737683msgid "Set \"Time To Live\" of database records"
    738684msgstr ""
    739685
    740 #: Spam_BLIP.php:2410
     686#: Spam_BLIP.php:2289
    741687#, possible-php-format
    742688msgid "One hour, %s seconds"
    743689msgstr ""
    744690
    745 #: Spam_BLIP.php:2412
     691#: Spam_BLIP.php:2291
    746692#, possible-php-format
    747693msgid "Six hours, %s seconds"
    748694msgstr ""
    749695
    750 #: Spam_BLIP.php:2414
     696#: Spam_BLIP.php:2293
    751697#, possible-php-format
    752698msgid "Twelve hours, %s seconds"
    753699msgstr ""
    754700
    755 #: Spam_BLIP.php:2416
     701#: Spam_BLIP.php:2295
    756702#, possible-php-format
    757703msgid "One day, %s seconds"
    758704msgstr ""
    759705
    760 #: Spam_BLIP.php:2418
     706#: Spam_BLIP.php:2297
    761707#, possible-php-format
    762708msgid "One week, %s seconds"
    763709msgstr ""
    764710
    765 #: Spam_BLIP.php:2420
     711#: Spam_BLIP.php:2299
    766712#, possible-php-format
    767713msgid "Two weeks, %s seconds"
    768714msgstr ""
    769715
    770 #: Spam_BLIP.php:2422
     716#: Spam_BLIP.php:2301
    771717#, possible-php-format
    772718msgid "Four weeks, %s seconds"
    773719msgstr ""
    774720
    775 #: Spam_BLIP.php:2424
     721#: Spam_BLIP.php:2303
    776722msgid "Set a value in seconds:"
    777723msgstr ""
    778724
    779 #: Spam_BLIP.php:2469
     725#: Spam_BLIP.php:2348
    780726msgid "Set number of database records to keep"
    781727msgstr ""
    782728
    783 #: Spam_BLIP.php:2473
     729#: Spam_BLIP.php:2352
    784730msgid "Ten (10)"
    785731msgstr ""
    786732
    787 #: Spam_BLIP.php:2474
     733#: Spam_BLIP.php:2353
    788734msgid "Fifty (50)"
    789735msgstr ""
    790736
    791 #: Spam_BLIP.php:2475
     737#: Spam_BLIP.php:2354
    792738msgid "One hundred (100)"
    793739msgstr ""
    794740
    795 #: Spam_BLIP.php:2476
     741#: Spam_BLIP.php:2355
    796742msgid "Two hundred (200)"
    797743msgstr ""
    798744
    799 #: Spam_BLIP.php:2477
     745#: Spam_BLIP.php:2356
    800746msgid "Five hundred (500)"
    801747msgstr ""
    802748
    803 #: Spam_BLIP.php:2478
     749#: Spam_BLIP.php:2357
    804750msgid "One thousand (1000)"
    805751msgstr ""
    806752
    807 #: Spam_BLIP.php:2479
     753#: Spam_BLIP.php:2358
    808754msgid "Set a value:"
    809755msgstr ""
    810756
    811 #: Spam_BLIP.php:2521
     757#: Spam_BLIP.php:2400
    812758msgid "Enable the included widget"
    813759msgstr ""
    814760
    815 #: Spam_BLIP.php:2528
     761#: Spam_BLIP.php:2407
    816762msgid "Log bad addresses in \"REMOTE_ADDR\""
    817763msgstr ""
     
    819765#. TRANSLATORS: these are labels above textarea elements
    820766#. do not use html entities
    821 #: Spam_BLIP.php:2592
     767#: Spam_BLIP.php:2464
    822768msgid "Active User Whitelist:"
    823769msgstr ""
    824770
    825 #: Spam_BLIP.php:2593
     771#: Spam_BLIP.php:2465
    826772msgid "Inactive User Whitelist:"
    827773msgstr ""
     
    831777#. '<<' and '>>' should suggest movement left and right
    832778#. do not use html entities
    833 #: Spam_BLIP.php:2604 Spam_BLIP.php:2676
     779#: Spam_BLIP.php:2476 Spam_BLIP.php:2548
    834780msgid "Move address right >>"
    835781msgstr ""
    836782
    837 #: Spam_BLIP.php:2605 Spam_BLIP.php:2677
     783#: Spam_BLIP.php:2477 Spam_BLIP.php:2549
    838784msgid "<< Move address left"
    839785msgstr ""
     
    841787#. TRANSLATORS: these are labels above textarea elements
    842788#. do not use html entities
    843 #: Spam_BLIP.php:2664
     789#: Spam_BLIP.php:2536
    844790msgid "Active User Blacklist:"
    845791msgstr ""
    846792
    847 #: Spam_BLIP.php:2665
     793#: Spam_BLIP.php:2537
    848794msgid "Inactive User Blacklist:"
    849795msgstr ""
     
    851797#. TRANSLATORS: these are labels above textarea elements
    852798#. do not use html entities
    853 #: Spam_BLIP.php:2745
     799#: Spam_BLIP.php:2617
    854800msgid "Active DNS Blacklists:"
    855801msgstr ""
    856802
    857 #: Spam_BLIP.php:2746
     803#: Spam_BLIP.php:2618
    858804msgid "Inactive DNS Blacklists:"
    859805msgstr ""
     
    863809#. '<<' and '>>' should suggest movement left and right
    864810#. do not use html entities
    865 #: Spam_BLIP.php:2757
     811#: Spam_BLIP.php:2629
    866812msgid "Move line right >>"
    867813msgstr ""
    868814
    869 #: Spam_BLIP.php:2758
     815#: Spam_BLIP.php:2630
    870816msgid "<< Move line left"
    871817msgstr ""
    872818
    873 #: Spam_BLIP.php:2774
     819#: Spam_BLIP.php:2646
    874820msgid "Permanently delete plugin settings"
    875821msgstr ""
    876822
    877 #: Spam_BLIP.php:2781
     823#: Spam_BLIP.php:2653
    878824msgid "Permanently delete database table (stored data)"
    879825msgstr ""
    880826
    881 #: Spam_BLIP.php:2938
     827#: Spam_BLIP.php:2803
    882828msgid "cannot allocate BL check object"
    883829msgstr ""
     
    886832#. in response to blacklisted IP address
    887833#. TODO: make message text an option
    888 #: Spam_BLIP.php:3058 Spam_BLIP.php:3115 Spam_BLIP.php:3153
    889 #: Spam_BLIP.php:3785
     834#: Spam_BLIP.php:2905 Spam_BLIP.php:2936 Spam_BLIP.php:3443
    890835msgid "Sorry, but no, thank you."
    891836msgstr ""
    892837
    893 #: Spam_BLIP.php:3281
     838#: Spam_BLIP.php:2948
    894839#, possible-php-format
    895840msgid ""
     
    897842msgstr ""
    898843
    899 #: Spam_BLIP.php:3283
     844#: Spam_BLIP.php:2950
    900845#, possible-php-format
    901846msgid "Invalid remote address; \"REMOTE_ADDR\" contains \"%s\""
     
    903848
    904849#. TRANSLATORS: word for ietf/iana reserved network
    905 #: Spam_BLIP.php:3309
     850#: Spam_BLIP.php:3029
    906851msgid "RESERVED"
    907852msgstr ""
    908853
    909854#. TRANSLATORS: word for ietf/iana loopback network
    910 #: Spam_BLIP.php:3311
     855#: Spam_BLIP.php:3031
    911856msgid "LOOPBACK"
    912857msgstr ""
     
    915860#. see comments above.
    916861#. %2$s is an IPv4 dotted quad address
    917 #: Spam_BLIP.php:3316
     862#: Spam_BLIP.php:3036
    918863#, possible-php-format
    919864msgid "Got %1$s IPv4 address \"%2$s\" in \"REMOTE_ADDR\"."
     
    921866
    922867#. TRANSLATORS: see "TRANSLATORS: %1$s is type..."
    923 #: Spam_BLIP.php:3420 Spam_BLIP.php:3491 Spam_BLIP.php:3552
    924 #: Spam_BLIP.php:3606
     868#: Spam_BLIP.php:3089 Spam_BLIP.php:3149 Spam_BLIP.php:3210
     869#: Spam_BLIP.php:3264
    925870msgid "pings"
    926871msgstr ""
    927872
    928873#. TRANSLATORS: see "TRANSLATORS: %1$s is type..."
    929 #: Spam_BLIP.php:3422 Spam_BLIP.php:3493 Spam_BLIP.php:3554
    930 #: Spam_BLIP.php:3608
     874#: Spam_BLIP.php:3091 Spam_BLIP.php:3151 Spam_BLIP.php:3212
     875#: Spam_BLIP.php:3266
    931876msgid "comments"
    932877msgstr ""
     
    937882#. %4$s is IP4 blacklist lookup result
    938883#. %5$f is lookup time in seconds (float)
    939 #: Spam_BLIP.php:3435
     884#: Spam_BLIP.php:3103
    940885#, possible-php-format
    941886msgid ""
    942887"%1$s denied for address %2$s, list at \"%3$s\", result %4$s in %5$f"
    943 msgstr ""
    944 
    945 #. TRANSLATORS: %1$s is type "comments" or "pings"
    946 #. %2$s is IP4 address dotted quad
    947 #. %3$f is lookup time in seconds (float)
    948 #: Spam_BLIP.php:3445
    949 #, possible-php-format
    950 msgid "%1$s denied for address %2$s in %3$f"
    951888msgstr ""
    952889
     
    954891#. %2$s is IP4 address dotted quad
    955892#. %3$f is is time (float) used in option check
    956 #: Spam_BLIP.php:3502
     893#: Spam_BLIP.php:3160
    957894#, possible-php-format
    958895msgid ""
     
    963900#. %2$s is IP4 address dotted quad
    964901#. %3$f is is time (float) used in option check
    965 #: Spam_BLIP.php:3563
     902#: Spam_BLIP.php:3221
    966903#, possible-php-format
    967904msgid ""
     
    976913#. %5$u is integer number of times seen (hitcount)
    977914#. %6$f is is time (float) used in database check
    978 #: Spam_BLIP.php:3621
     915#: Spam_BLIP.php:3279
    979916#, possible-php-format
    980917msgid ""
     
    989926#. TRANSLATORS: %1$s is IP4 address; %2$u is the
    990927#. number of times adress was seen previously
    991 #: Spam_BLIP.php:3717
     928#: Spam_BLIP.php:3375
    992929#, possible-php-format
    993930msgid ""
     
    998935#. TRANSLATORS: %s is IP4 address; DNS is the
    999936#. domain name system
    1000 #: Spam_BLIP.php:3757
     937#: Spam_BLIP.php:3415
    1001938#, possible-php-format
    1002939msgid "Found \"%s\" to be a tor exit, by DNS -- passed per option"
     
    1004941
    1005942#. Label shown on widgets page
    1006 #: Spam_BLIP.php:4481
     943#: Spam_BLIP.php:4139
    1007944msgid "Spam BLIP"
    1008945msgstr ""
    1009946
    1010947#. Description shown under label shown on widgets page
    1011 #: Spam_BLIP.php:4483
     948#: Spam_BLIP.php:4141
    1012949msgid ""
    1013950"Display comment and ping spam hit information, and database table row "
     
    1015952msgstr ""
    1016953
    1017 #: Spam_BLIP.php:4574
     954#: Spam_BLIP.php:4232
    1018955msgid "Options:"
    1019956msgstr ""
    1020957
    1021 #: Spam_BLIP.php:4580
    1022 msgid "Checking for comment spam"
    1023 msgstr ""
    1024 
    1025 #: Spam_BLIP.php:4585
    1026 msgid "Checking for ping spam"
    1027 msgstr ""
    1028 
    1029 #: Spam_BLIP.php:4590
     958#: Spam_BLIP.php:4238
    1030959msgid "Checking user registration"
    1031960msgstr ""
    1032961
    1033 #: Spam_BLIP.php:4595
     962#: Spam_BLIP.php:4243
    1034963msgid "Checking in saved spam"
    1035964msgstr ""
    1036965
    1037 #: Spam_BLIP.php:4600
    1038 msgid "Bailing out on hits"
    1039 msgstr ""
    1040 
    1041 #: Spam_BLIP.php:4605
     966#: Spam_BLIP.php:4248
    1042967msgid "Saving non-hits"
    1043968msgstr ""
    1044969
    1045 #: Spam_BLIP.php:4610
     970#: Spam_BLIP.php:4253
    1046971msgid "Whitelisting TOR exits"
    1047972msgstr ""
    1048973
    1049 #: Spam_BLIP.php:4615
     974#: Spam_BLIP.php:4258
    1050975msgid "Not rejecting hits"
    1051976msgstr ""
    1052977
    1053 #: Spam_BLIP.php:4623
     978#: Spam_BLIP.php:4266
    1054979msgid "Records:"
    1055980msgstr ""
    1056981
    1057 #: Spam_BLIP.php:4639
     982#: Spam_BLIP.php:4282
    1058983#, possible-php-format
    1059984msgid "%d address listed"
     
    1062987msgstr[1] ""
    1063988
    1064 #: Spam_BLIP.php:4646
     989#: Spam_BLIP.php:4289
    1065990#, possible-php-format
    1066991msgid "%d user whitelist address"
     
    1069994msgstr[1] ""
    1070995
    1071 #: Spam_BLIP.php:4653
     996#: Spam_BLIP.php:4296
    1072997#, possible-php-format
    1073998msgid "%d user blacklist address"
     
    10761001msgstr[1] ""
    10771002
    1078 #: Spam_BLIP.php:4660
     1003#: Spam_BLIP.php:4303
    10791004#, possible-php-format
    10801005msgid "%d non-hit address"
     
    10831008msgstr[1] ""
    10841009
    1085 #: Spam_BLIP.php:4667
     1010#: Spam_BLIP.php:4310
    10861011#, possible-php-format
    10871012msgid "%d tor exit node"
     
    10901015msgstr[1] ""
    10911016
    1092 #: Spam_BLIP.php:4674
     1017#: Spam_BLIP.php:4317
    10931018#, possible-php-format
    10941019msgid "%d address in the past hour"
     
    10971022msgstr[1] ""
    10981023
    1099 #: Spam_BLIP.php:4681
     1024#: Spam_BLIP.php:4324
    11001025#, possible-php-format
    11011026msgid "%d new address in the past hour"
     
    11041029msgstr[1] ""
    11051030
    1106 #: Spam_BLIP.php:4688
     1031#: Spam_BLIP.php:4331
    11071032#, possible-php-format
    11081033msgid "%d address in the past day"
     
    11111036msgstr[1] ""
    11121037
    1113 #: Spam_BLIP.php:4695
     1038#: Spam_BLIP.php:4338
    11141039#, possible-php-format
    11151040msgid "%d new address in the past day"
     
    11181043msgstr[1] ""
    11191044
    1120 #: Spam_BLIP.php:4702
     1045#: Spam_BLIP.php:4345
    11211046#, possible-php-format
    11221047msgid "%d address in the past week"
     
    11251050msgstr[1] ""
    11261051
    1127 #: Spam_BLIP.php:4709
     1052#: Spam_BLIP.php:4352
    11281053#, possible-php-format
    11291054msgid "%d new address in the past week"
     
    11321057msgstr[1] ""
    11331058
    1134 #: Spam_BLIP.php:4716
     1059#: Spam_BLIP.php:4359
    11351060#, possible-php-format
    11361061msgid "%d hit in all records"
     
    11391064msgstr[1] ""
    11401065
    1141 #: Spam_BLIP.php:4729
     1066#: Spam_BLIP.php:4372
    11421067#, possible-php-format
    11431068msgid ""
     
    11491074msgstr ""
    11501075
    1151 #: Spam_BLIP.php:4807
     1076#: Spam_BLIP.php:4450
    11521077msgid "Widget title:"
    11531078msgstr ""
    11541079
    1155 #: Spam_BLIP.php:4822
     1080#: Spam_BLIP.php:4465
    11561081msgid "Caption:"
    11571082msgstr ""
    11581083
    1159 #: Spam_BLIP.php:4837
     1084#: Spam_BLIP.php:4480
    11601085msgid "Show <em>Spam BLIP</em> options:&nbsp;"
    11611086msgstr ""
    11621087
    1163 #: Spam_BLIP.php:4850
     1088#: Spam_BLIP.php:4493
    11641089msgid "Show <em>Spam BLIP</em> link:&nbsp;"
    11651090msgstr ""
  • spam-blip/trunk/readme.txt

    r1228069 r1397813  
    44Tags: anti-spam, comment spam, spam comments, blog spam, spam, blog, comment, comments, content, links, network
    55Requires at least: 3.0.2
    6 Tested up to: 4.3
    7 Stable tag: 1.0.6
     6Tested up to: 4.5
     7Stable tag: 1.0.7.1
    88Text Domain: spambl_l10n
    99License: GPLv3 or later
     
    115115== Changelog ==
    116116
     117= 1.0.7.1 =
     118* Correct error in repository checkin of 1.0.7.
     119
     120= 1.0.7 =
     121* Check with WordPress 4.5.
     122* Widget update for theme preview selective refresh.
     123* Simplify by removing options for comments/pings_open, and
     124  bailout.
     125
    117126= 1.0.6 =
    118127* Check with WordPress 4.3.
     
    172181== Upgrade Notice ==
    173182
     183= 1.0.7.1 =
     184* Correct error in repository checkin of 1.0.7.
     185
     186= 1.0.7 =
     187* Check with WordPress 4.5.
     188* Widget update for theme preview selective refresh.
     189* Simplify by removing options for comments/pings_open, and
     190  bailout.
     191
    174192= 1.0.6 =
    175193* Check with WordPress 4.3.
Note: See TracChangeset for help on using the changeset viewer.