Ignore:
Timestamp:
Mar 2, 2010, 3:54:22 PM (14 years ago)
Author:
nikrou
Message:

Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals

Todo : managing plugins in the same way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/configuration.tpl

    r3445 r5021  
    33
    44<div class="titrePage">
    5   <h2>{'title_configuration'|@translate} {$TABSHEET_TITLE}</h2>
     5  <h2>{'Piwigo configuration'|@translate} {$TABSHEET_TITLE}</h2>
    66</div>
    77
     
    7070    <li>
    7171      <label>
    72         <span class="property">{'obligatory_user_mail_address'|@translate}</span>
     72        <span class="property">{'Mail address is obligatory for all users'|@translate}</span>
    7373        <input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if}>
    7474      </label>
     
    7777    <li>
    7878      <label>
    79         <span class="property">{'Email administrators when a new user registers'|@translate}</span>
     79        <span class="property">{'Email admins when a new user registers'|@translate}</span>
    8080        <input type="checkbox" name="email_admin_on_new_user" {if ($main.email_admin_on_new_user)}checked="checked"{/if}>
    8181      </label>
     
    9090  <ul>
    9191      <li>
    92         <label><span class="property">{'conf_history_guest'|@translate}</span><input type="checkbox" name="history_guest" {if ($history.history_guest)}checked="checked"{/if}></label>
     92        <label><span class="property">{'Save page visits by guests'|@translate}</span><input type="checkbox" name="history_guest" {if ($history.history_guest)}checked="checked"{/if}></label>
    9393      </li>
    9494
    9595      <li>
    96         <label><span class="property">{'conf_history_user'|@translate}</span><input type="checkbox" name="log" {if ($history.log)}checked="checked"{/if}></label>
     96        <label><span class="property">{'Save page visits by users'|@translate}</span><input type="checkbox" name="log" {if ($history.log)}checked="checked"{/if}></label>
    9797      </li>
    9898
    9999      <li>
    100         <label><span class="property">{'conf_history_admin'|@translate}</span><input type="checkbox" name="history_admin" {if ($history.history_admin)}checked="checked"{/if}></label>
     100        <label><span class="property">{'Save page visits by administrators'|@translate}</span><input type="checkbox" name="history_admin" {if ($history.history_admin)}checked="checked"{/if}></label>
    101101      </li>
    102102  </ul>
     
    133133    <li>
    134134      <label>
    135         <span class="property">{'Email administrators when a valid comment is entered'|@translate}</span>
     135        <span class="property">{'Email admins when a valid comment is entered'|@translate}</span>
    136136        <input type="checkbox" name="email_admin_on_comment" {if ($comments.email_admin_on_comment)}checked="checked"{/if}>
    137137      </label>
     
    140140    <li>
    141141      <label>
    142         <span class="property">{'Email administrators when a comment requires validation'|@translate}</span>
     142        <span class="property">{'Email admins when a comment requires validation'|@translate}</span>
    143143        <input type="checkbox" name="email_admin_on_comment_validation" {if ($comments.email_admin_on_comment_validation)}checked="checked"{/if}>
    144144      </label>
     
    189189    <li>
    190190      <label>
    191         <span class="property">{'Email administrators when a picture is uploaded'|@translate}</span>
     191        <span class="property">{'Email admins when a picture is uploaded'|@translate}</span>
    192192        <input type="checkbox" name="email_admin_on_picture_uploaded" {if ($upload.email_admin_on_picture_uploaded)}checked="checked"{/if}>
    193193      </label>
Note: See TracChangeset for help on using the changeset viewer.