Plugin Directory

Changeset 325708


Ignore:
Timestamp:
12/23/2010 05:45:27 PM (15 years ago)
Author:
coimbra
Message:

Added internationalization files

Location:
nospampti/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nospampti/trunk/nospampti.php

    r289394 r325708  
    33Plugin Name: NOSpam PTI
    44Plugin URI: http://projetoseti.com.br/
     5
    56Description: NOSpamPTI eliminates the span in your comment box for free, idea by Nando Vieira
    6 Version: 1.0
     7Version: 2.0
    78Author: Rodrigo Coimbra
    89Author URI: http://projetoseti.com.br/
     
    2829        $count = $wpdb->get_var("select count(*) from $wpdb->comments where comment_post_id = {$post_id} and comment_approved = '1'");   
    2930        $wpdb->query("update $wpdb->posts set comment_count = {$count} where ID = {$post_id}");
    30         wp_die(__('Desculpe, resposta incorreta.'));
     31        wp_die(__('Sorry, wrong answer.'));
    3132    }
    3233}
     
    4647    $hash = md5($challenge);
    4748   
    48     $question = "Quanto é {$n1} + {$n2}?";
     49    $question = __("Which the sum of: {$n1} + {$n2}");
    4950    $field = sprintf('<p><label for="challenge">%s</label> <input type="hidden" name="challenge_hash" value="%s" /> <input type="text" name="challenge" id="challenge" size="2" /></p>', $question, $hash);
    5051    echo $field;
  • nospampti/trunk/readme.txt

    r289423 r325708  
    44Tags: comments, spam, free antispam,
    55Requires at least: 2.0.2
    6 Tested up to: 3.0.1
     6Tested up to: 3.1
    77Stable tag: 1.0
    88
     
    4343== Changelog ==
    4444
     45= 2.0 =
     46* Added internationalization files
     47
    4548= 1.0 =
    4649* Adjustments in screenshot.
Note: See TracChangeset for help on using the changeset viewer.