Dotclear

Changeset 538


Ignore:
Timestamp:
10/28/08 12:07:04 (15 years ago)
Author:
Moe
google:author:
appears
Message:

robotsTxt 0.1-beta2 :

  • added french localization
Location:
plugins/robotsTxt
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/robotsTxt/_define.php

    r535 r538  
    2525/* Description*/                "robots.txt file generator", 
    2626/* Author */                    "William Dauchy and contributors", 
    27 /* Version */                   '0.1-beta1', 
     27/* Version */                   '0.1-beta2', 
    2828/* Permissions */               'contentadmin' 
    2929                    ); 
  • plugins/robotsTxt/index.php

    r535 r538  
    163163  else 
    164164    { 
    165       echo 'robotsTxt is now unactive'; 
     165      echo __('robotsTxt is now unactive'); 
    166166    } 
    167167  exit; 
     
    331331      </fieldset> 
    332332      <fieldset> 
    333         <legend>General</legend> 
     333        <legend><?php echo(__('General')); ?></legend> 
    334334     <table class="maximal"> 
    335335       <tbody> 
     
    337337           <td> 
    338338             <?php echo form::radio(array('defaultRule', 'allowAll'), 'allow', ($defaultRule == true ? true : false)); ?> 
    339                 <label for="allowAll" class="classic">Allow all robots (recommended)</label> 
     339                <label for="allowAll" class="classic"><?php echo(__('Allow all robots (recommended)')); ?></label> 
    340340           </td> 
    341341           <td> 
    342342             <?php echo form::radio(array('defaultRule', 'disallowAll'), 'disallow', ($defaultRule == true ? false : true)); ?> 
    343           <label for="disallowAll" class="classic">Block all robots</label> 
     343          <label for="disallowAll" class="classic"><?php echo(__('Block all robots')); ?></label> 
    344344           </td> 
    345345         </tr> 
     
    366366      <form method="get" action="<?php http::getSelfURI(); ?>" id="addRule"> 
    367367     <fieldset> 
    368           <legend>Rule</legend> 
     368          <legend><?php echo(__('Rule')); ?></legend> 
    369369          <p class="field"> 
    370             <label for="userAgent" class="classic">User-agent:</label> 
     370            <label for="userAgent" class="classic"><?php echo(__('User-agent:')); ?></label> 
    371371         <?php echo form::field('userAgent', 40, 128, '*'); ?> 
    372372       </p> 
    373373       <p class="field"> 
    374          <label for="ruleAction" class="classic">Action:</label> 
    375          <?php echo form::combo('ruleAction', array('Allow' => 'allow', 'Disallow' => 'disallow')); ?> 
     374         <label for="ruleAction" class="classic"><?php echo(__('Action:')); ?></label> 
     375         <?php echo form::combo('ruleAction', array(__('Allow') => 'allow', __('Disallow') => 'disallow')); ?> 
    376376          </p> 
    377377          <p class="field"> 
    378             <label for="actionValue" class="classic">Action value:</label> 
     378            <label for="actionValue" class="classic"><?php echo(__('Action value:')); ?></label> 
    379379         <?php echo form::field('actionValue', 40, 128, ''); ?> 
    380380          </p> 
     
    386386      </form> 
    387387      <fieldset> 
    388         <legend>Result</legend> 
     388        <legend><?php echo(__('Result')); ?></legend> 
    389389     <div class="contentToChange"> 
    390390        <p><?php displayRobotsTxt($rules, $sitemapUrl, $defaultRule, $sitemapUrlActive); ?></p> 
     
    395395      <div class="help-content"> 
    396396        <h2><?php echo(__('Help')); ?></h2> 
    397      <p><?php echo(__('If the plugin is activated, you will be able to see the result at http://yourdomaine/robots.txt')); ?></p> 
    398      <p><?php echo(__('You could see differences between your configuration and the result. To resolve it, erase the dotclear cache.')) ?></p> 
    399      <p><?php echo(__('More about robots.txt on <a title="robotstxt.org" href="http://www.robotstxt.org/">robotstxt.org</a>.')) ?></p> 
     397     <p><?php echo(__('If the plugin is activated, you will be able to see the result at http://yourdomain/robots.txt')); ?></p> 
     398     <p><?php echo(__('You could see differences between your configuration and the result. To resolve it, erase the Dotclear cache.')); ?></p> 
     399     <p><?php printf(__('More about robots.txt on %s.'),'<a title="robotstxt.org" href="http://www.robotstxt.org/">robotstxt.org</a>'); ?></p> 
    400400      </div> 
    401401    </div> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map