Changeset 7835


Ignore:
Timestamp:
Nov 22, 2010, 9:20:27 AM (13 years ago)
Author:
LucMorizur
Message:

Translations of new template

Location:
extensions/event_cats
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/template/autolog_new.tpl

    r7832 r7835  
    319319        _ implement PHP ;
    320320        _ commit, and drink a pint!
     321      {''|@translate}
    321322    -->
    322323  *}
    323324 
    324325  <fieldset>
    325     <legend style = "font-weight:bold;">Date de validité</legend>
     326    <legend style = "font-weight:bold;">{'Validity date'|@translate}</legend>
    326327    <table style = "margin-left: 0px; text-align:left;">
    327328      <tr>
     
    331332            <label for = "ec_valid_date_on_id">
    332333              <input type = "checkbox" name = "ec_valid_date_on" id = "ec_valid_date_on_id">
    333               Activer
     334              {'Activate'|@translate}
    334335            </label>
    335336          </p>
    336337          <p style = "text-align:left;">
    337             <input id = "ec_date_today_btn_id" type = "button" value = "Aujourd'hui" onclick = "">
     338            <input id = "ec_date_today_btn_id" type = "button" value = "{'Now + 2 mn'|@translate}"
     339             class = "submit" title = "{'Now button tooltip'|@translate}" onclick = "">
    338340          </p>
    339341          <p style = "text-align:left;">
     
    350352            </select>
    351353            <input id = "ec_validity_year_id" name = "ec_validity_year" type = "text" size = "4" maxlength = "4">
    352             <input id = "ec_validity_time_id" name = "ec_validity_time" type = "text" size = "5" maxlength = "5">
     354            <input id = "ec_validity_time_id" name = "ec_validity_time" type = "text" size = "5" maxlength = "5" title = "{'Hours field tooltip'|@translate}">
    353355            <input id = "ec_linked_date_id" name = "ec_linked_date_id" type = "hidden" size = "10" disabled = "disabled">
    354356          </p>
    355357          <p style = "text-align:left;">
    356             <input id = "ec_date_add_btn_id" type = "button" value = "Ajouter"
     358            <input id = "ec_date_add_btn_id" type = "button" value = "{'Add'|@translate}" title = "{'Add button tooltip'|@translate}" class = "submit"
    357359             onclick = "ec_add_time(document.getElementById('ec_date_add_val_id').value, document.getElementById('ec_date_add_kind_id').selectedIndex);">&nbsp;
    358360            <input id = "ec_date_add_val_id" type = "text" size = "5" maxlength = "5" value = "">&nbsp;
    359361            <select id = "ec_date_add_kind_id" name = "ec_date_add_kind">
    360               <option label = "minute(s)" value = "minutes">minute(s)</option>
    361               <option label = "heure(s)"  value = "hours"  >heure(s)</option>
    362               <option label = "jour(s)"   value = "days"   >jour(s)</option>
    363               <option label = "mois"      value = "months" >mois</option>
    364               <option label = "année(s)"  value = "years"  >année(s)</option>
     362              <option label = "{'Minutes'|@translate}" value = "minutes">{'Minutes'|@translate}</option>
     363              <option label = "{'Hours'|@translate}"   value = "hours"  >{'Hours'|@translate}</option>
     364              <option label = "{'Days'|@translate}"    value = "days"   >{'Days'|@translate}</option>
     365              <option label = "{'Months'|@translate}"  value = "months" >{'Months'|@translate}</option>
     366              <option label = "{'Years'|@translate}"   value = "years"  >{'Years'|@translate}</option>
    365367            </select>
    366368          </p>
     
    369371              <tr>
    370372                <td style = "text-align:right; vertical-align:top; font-weight:bold;">
    371                   <label for = "ec_notify_id">
     373                  <label for = "ec_notify_id" title = "{'Notify label tooltip'|@translate}">
    372374                    <input type = "checkbox" name = "ec_notify" id = "ec_notify_id" disabled = "disabled">
    373                     Lorsque le code<br>
    374                     a expiré, notifier
     375                    {'Do notify'|@translate}
    375376                  </label>
    376377                </td>
     
    380381                      <label for = "ec_notify_user_id">
    381382                        <input type = "checkbox" name = "ec_notify_user" id = "ec_notify_user_id">
    382                         l'utilisateur
     383                        {'The user'|@translate}
    383384                      </label>
    384385                    </li>
     
    386387                      <label for = "ec_notify_webm_id">
    387388                        <input type = "checkbox" name = "ec_notify_webm" id = "ec_notify_webm_id">
    388                         le webmestre
     389                        {'The webmaster'|@translate}
    389390                      </label>
    390391                    </li>
     
    392393                      <label for = "ec_notify_admins_id">
    393394                        <input type = "checkbox" name = "ec_notify_admins" id = "ec_notify_admins_id">
    394                         tous les administrateurs
     395                        {'All administrators'|@translate}
    395396                      </label>
    396397                    </li>
     
    401402          </p>
    402403          <p style = "display:none;">
    403             <!-- jQuery datepicker : voir http://fr.piwigo.org/forum/viewtopic.php?id=19042 -->
     404            <!-- jQuery datepicker: see (french) http://fr.piwigo.org/forum/viewtopic.php?id=19042 -->
    404405            <select id = "ec_min_day_id" name = "ec_min_day">
    405406              <option value = "0">--</option>
    406407              {section name=day start=1 loop=32}
    407                 <option value = "{$smarty.section.day.index}" {if $smarty.section.day.index == 14} selected = "selected" {/if} >
     408                <option value = "{$smarty.section.day.index}">
    408409                  {$smarty.section.day.index}
    409410                </option>
     
    411412            </select>
    412413            <select id = "ec_min_month_id" name = "ec_min_month">
    413               {html_options options=$month_list selected=11}
     414              {html_options options=$month_list}
    414415            </select>
    415             <input id = "ec_min_year_id" name = "ec_min_year" type = "text" size = "4" maxlength = "4" value = "2010" >
     416            <input id = "ec_min_year_id" name = "ec_min_year" type = "text" size = "4" maxlength = "4">
    416417            <input id = "ec_min_date_id" name = "ec_min_date_id" type = "hidden" size = "10" disabled = "disabled">
    417418          </p>
    418           {* <!-- For tests purpose ; must be removed --> *}
     419          {* <!-- For tests purpose; must be removed --> *}
    419420          <p style = "text-align:left;">
    420421            <span id = "ec_span_tst_id"></span>
    421422          </p>
    422           {* <!-- /For tests purpose ; must be removed --> *}
     423          {* <!-- /For tests purpose; must be removed --> *}
    423424        </td>
    424425       
     
    429430            <tr>
    430431              <td style = "text-align:right; vertical-align:top; font-weight:bold;">
    431                 Page à affecter au<br>
    432                 code une fois expiré
     432                {'Page once code outdated'|@translate}
    433433              </td>
    434434              <td style = "text-align:left;">
  • extensions/event_cats/language/en_UK/plugin.lang.php

    r7832 r7835  
    8080$lang['Home']                      = 'Home';
    8181$lang['Access denied']             = 'Access denied';
     82$lang['Validity date']             = 'Validity date';
     83$lang['Activate']                  = 'Activate';
     84$lang['Now + 2 mn']                = 'Now + 2 mn';
     85$lang['Now button tooltip']        = 'Validity period can\'t be less than 1 mn. Considering processing time, 2 mn are required here.';
     86$lang['Hours field tooltip']       = 'Format: hh:mm or h:m';
     87$lang['Add']                       = 'Add';
     88$lang['Add button tooltip']        = 'Add following period to above selected date';
     89$lang['Minutes']                   = 'minute(s)';
     90$lang['Hours']                     = 'hour(s)';
     91$lang['Days']                      = 'day(s)';
     92$lang['Months']                    = 'month(s)';
     93$lang['Years']                     = 'year(s)';
     94$lang['Do notify']                 = 'When the code has<br>expired, notify';
     95$lang['Notify label tooltip']      = 'This checkbox is ticked when one of the next checkboxes is';
     96$lang['The user']                  = 'the user';
     97$lang['The webmaster']             = 'the webmaster';
     98$lang['All administrators']        = 'all administrators';
     99$lang['Page once code outdated']   = 'Page to use once<br>the code has expired';
    82100
    83101// Duplication page
  • extensions/event_cats/language/fr_FR/plugin.lang.php

    r7833 r7835  
    8080$lang['Home']                      = 'Accueil';
    8181$lang['Access denied']             = 'Accès refusé';
     82$lang['Validity date']             = 'Date de validité';
     83$lang['Activate']                  = 'Activer';
     84$lang['Now + 2 mn']                = 'Maintenant + 2 mn';
     85$lang['Now button tooltip']        = 'La période de validité est forcément d\'au moins 1 mn. Avec les temps de traitement, 2 mn sont nécessaires ici.';
     86$lang['Hours field tooltip']       = 'Format : hh:mm ou h:m';
     87$lang['Add']                       = 'Ajouter';
     88$lang['Add button tooltip']        = 'Ajouter la période de temps choisie à la date ci-dessus';
     89$lang['Minutes']                   = 'minute(s)';
     90$lang['Hours']                     = 'heure(s)';
     91$lang['Days']                      = 'jour(s)';
     92$lang['Months']                    = 'mois';
     93$lang['Years']                     = 'année(s)';
     94$lang['Do notify']                 = 'Lorsque le code<br>a expiré, notifier';
     95$lang['Notify label tooltip']      = 'Cette case est cochée lorsqu\'une des cases ci-contre l\'est';
     96$lang['The user']                  = 'l\'utilisateur';
     97$lang['The webmaster']             = 'le webmestre';
     98$lang['All administrators']        = 'tous les administrateurs';
     99$lang['Page once code outdated']   = 'Page à affecter au<br>code une fois expiré';
    82100
    83101// Duplication page
Note: See TracChangeset for help on using the changeset viewer.