Changeset 38

Show
Ignore:
Timestamp:
02/17/07 19:37:31 (5 years ago)
Author:
yann
Message:

All options text can be translated

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp_iminr.php

    r37 r38  
    8989function wp_iminr_admin() { 
    9090    if (function_exists('add_options_page')) { 
    91         add_options_page('iMinR for WorldPress', 'iMinR', 8, basename(__FILE__), 'wp_iminr_options'); 
     91        add_options_page(__('iMinR for WorldPress'), 'iMinR', 8, basename(__FILE__), 'wp_iminr_options'); 
    9292    } 
    9393} 
     
    135135                <fieldset class="options" name="integration"> 
    136136                        <legend><?php _e('Tracker integration', 'wp_iminr') ?></legend> 
    137                         <p>Enable JavaScript inclusion or copy this code in your template to activate iMinR for this site : <code>&lt;?php iMinR(); ?></code></p> 
     137                        <p><?php _e('Enable JavaScript inclusion or copy this code in your template to activate iMinR for this site : <code>&lt;?php iMinR(); ?></code> ', 'wp_iminr') ?></p> 
    138138                         
    139139                        <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 
     
    151151                                                <small><?php _e('By checking this radio button JavaScript will be included in meta (if template implemente this option).', 'wp_iminr') ?></small> 
    152152                                                <br /><input type="text" name="js_in_meta_before" id="js_in_meta_before" value="<?php echo wp_iminr_get_option('js_in_meta_before'); ?>" size="25" /> 
    153                                                 iMinR 
     153                                                <img src="" alt="iMinR" /> 
    154154                                                <input type="text" name="js_in_meta_after" id="js_in_meta_after" value="<?php echo wp_iminr_get_option('js_in_meta_after'); ?>" size="25" /> 
    155155                                                <br /><small><?php _e('This tags inclose iMinR javascript, useful with logo.', 'wp_iminr') ?></small> 
     
    162162                                                <small><?php _e('By checking this radio button JavaScript will be included in footer.', 'wp_iminr') ?></small> 
    163163                                                <br /><input type="text" name="js_in_footer_before" id="js_in_footer_before" value="<?php echo wp_iminr_get_option('js_in_footer_before'); ?>" size="25" /> 
    164                                                 iMinR 
     164                                                <img src="" alt="iMinR" /> 
    165165                                                <input type="text" name="js_in_footer_after" id="js_in_footer_after" value="<?php echo wp_iminr_get_option('js_in_footer_after'); ?>" size="25" /> 
    166166                                                <br /><small><?php _e('This tags inclose iMinR javascript, useful with logo.', 'wp_iminr') ?></small>