Plugin Directory

Changeset 337384


Ignore:
Timestamp:
01/26/2011 10:07:33 AM (15 years ago)
Author:
Haotik
Message:

language preparing textdomain

Location:
protwitter/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • protwitter/trunk/admin/protwitter_options.php

    r238226 r337384  
    66
    77        ?>
    8         <div class="updated"><p><strong><?php _e('Options saved.' ); ?></strong></p></div>
     8        <div class="updated"><p><strong><?php _e('Options saved.' , 'protwitter'); ?></strong></p></div>
    99        <?php
    1010    } else {
     
    1515
    1616<div class="wrap">
    17     <?php    echo "<h2>" . __( 'Pro Twitter Options', 'protwitter_trdom' ) . "</h2>"; ?>
     17    <?php    echo "<h2>" . __( 'Pro Twitter Options', 'protwitter_trdom' , 'protwitter') . "</h2>"; ?>
    1818    <form name="protwitter_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
    1919        <input type="hidden" name="protwitter_hidden" value="Y">   
    2020               
    21         <?php    echo "<h4>" . __( 'Pro Twitter Options Settings', 'protwitter_trdom' ) . "</h4>"; ?>
     21        <?php    echo "<h4>" . __( 'Pro Twitter Options Settings', 'protwitter_trdom' , 'protwitter') . "</h4>"; ?>
    2222       
    23         <p><?php _e("Your Twitter ID: " ); ?><input type="text" name="protwitter_twitter_id" value="<?php echo $twitter_id; ?>" size="20"><?php _e(" ex: twitter" ); ?></p>
     23        <p><?php _e("Your Twitter ID: " , 'protwitter'); ?><input type="text" name="protwitter_twitter_id" value="<?php echo $twitter_id; ?>" size="20"><?php _e(" ex: twitter" , 'protwitter'); ?></p>
    2424       
    2525           
    2626        <p class="submit">
    27         <input type="submit" name="Submit" value="<?php _e('Update Options', 'protwitter_trdom' ) ?>" />
     27        <input type="submit" name="Submit" value="<?php _e('Update Options', 'protwitter_trdom' , 'protwitter') ?>" />
    2828        </p>
    2929    </form>
  • protwitter/trunk/admin/protwitter_tweet_this.php

    r271163 r337384  
    2424        update_option('protwitter_tweet_this_option6', $protwitter_tweet_this_option6);
    2525        ?>
    26         <div class="updated"><p><strong><?php _e('Options saved.' ); ?></strong></p></div>
     26        <div class="updated"><p><strong><?php _e('Options saved.' , 'protwitter'); ?></strong></p></div>
    2727        <?php
    2828    } else {
     
    4242
    4343<div class="wrap">
    44     <?php    echo "<h2>" . __( 'Pro Twitter - Tweet this', 'protwitter_tweet_this' ) . "</h2>"; ?>
     44    <?php    echo "<h2>" . __( 'Pro Twitter - Tweet this', 'protwitter_tweet_this' , 'protwitter') . "</h2>"; ?>
    4545    <form name="protwitter_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
    4646        <input type="hidden" name="protwitter_hidden" value="Y">   
    4747                   
    48         <?php    echo "<h4>" . __( 'Display Settings', 'protwitter_tweet_this' ) . "</h4>"; ?>
     48        <?php    echo "<h4>" . __( 'Display Settings', 'protwitter_tweet_this' , 'protwitter') . "</h4>"; ?>
    4949       
    5050
    51         <p> You can add @'s and hashtags to "Tweet Text," i.e. "@Haotikus [TITLE] [URL] #plugins." </p>
    52         <p><?php _e("Tweet Text : " ); ?><input type="text" name="protwitter_tweet_this_tweet_text" value="<?php echo $protwitter_tweet_this_tweet_text; ?>" size="50"></p>
    53 
    54         <p><?php _e("Add Text after image : " ); ?><input type="text" name="protwitter_tweet_this_link_text" value="<?php echo $protwitter_tweet_this_link_text; ?>" size="20">
    55         <?php _e("Title : " ); ?><input type="text" name="protwitter_tweet_this_link_title" value="<?php echo $protwitter_tweet_this_link_title; ?>" size="20"></p>
     51        <p><?php _e("You can add @'s and hashtags to \"Tweet Text,\" i.e. \"@Haotikus [TITLE] [URL] #plugins.\" ", 'protwitter'); ?></p>
     52        <p><?php _e("Tweet Text : " , 'protwitter'); ?><input type="text" name="protwitter_tweet_this_tweet_text" value="<?php echo $protwitter_tweet_this_tweet_text; ?>" size="50"></p>
     53
     54        <p><?php _e("Add Text after image : " , 'protwitter'); ?><input type="text" name="protwitter_tweet_this_link_text" value="<?php echo $protwitter_tweet_this_link_text; ?>" size="20">
     55        <?php _e("Title : " , 'protwitter'); ?><input type="text" name="protwitter_tweet_this_link_title" value="<?php echo $protwitter_tweet_this_link_title; ?>" size="20"></p>
    5656
    5757
     
    198198    </table>
    199199   
    200     <?php    echo "<h4>" . __( 'Advanced Options', 'protwitter_tweet_this' ) . "</h4>"; ?>
     200    <?php    echo "<h4>" . __( 'Advanced Options', 'protwitter_tweet_this' , 'protwitter') . "</h4>"; ?>
    201201       
    202202
     
    217217           
    218218        <p class="submit">
    219         <input type="submit" name="Submit" value="<?php _e('Update Options', 'protwitter_tweet_this' ) ?>" />
     219        <input type="submit" name="Submit" value="<?php _e('Update Options', 'protwitter_tweet_this' , 'protwitter') ?>" />
    220220        </p>
    221221    </form>
  • protwitter/trunk/admin/protwitter_twitter_counter.php

    r238226 r337384  
    55        update_option('protwitter_template_id', $template_id);
    66        ?>
    7         <div class="updated"><p><strong><?php _e('Options saved.' ); ?></strong></p></div>
     7        <div class="updated"><p><strong><?php _e('Options saved.' , 'protwitter'); ?></strong></p></div>
    88        <?php
    99    } else {
     
    1414
    1515<div class="wrap">
    16     <?php    echo "<h2>" . __( 'Pro Twitter - Counter Options', 'protwitter_trdom' ) . "</h2>"; ?>
     16    <?php    echo "<h2>" . __( 'Pro Twitter - Counter Options', 'protwitter_trdom' , 'protwitter') . "</h2>"; ?>
    1717    <form name="protwitter_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
    1818        <input type="hidden" name="protwitter_hidden" value="Y">   
    1919                   
    20         <?php    echo "<h4>" . __( 'Display Settings', 'protwitter_trdom' ) . "</h4>"; ?>
     20        <?php    echo "<h4>" . __( 'Display Settings', 'protwitter_trdom' , 'protwitter') . "</h4>"; ?>
    2121        <p>
    2222        <?php
     
    453453           
    454454        <p class="submit">
    455         <input type="submit" name="Submit" value="<?php _e('Update Options', 'protwitter_trdom' ) ?>" />
     455        <input type="submit" name="Submit" value="<?php _e('Update Options', 'protwitter_trdom' , 'protwitter') ?>" />
    456456        </p>
    457457    </form>
  • protwitter/trunk/protwitter.php

    r271163 r337384  
    2121
    2222//  error_reporting(E_ALL);
     23
     24load_plugin_textdomain('protwitter','wp-content/plugins/protwitter');
    2325
    2426
Note: See TracChangeset for help on using the changeset viewer.