Ignore:
Timestamp:
Jun 25, 2013, 5:46:39 AM (11 years ago)
Author:
rvelices
Message:

use |translate and |sprintf instead of pwg->l10n ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/configuration.tpl

    r23384 r23526  
    4242  <ul>
    4343    <li>
    44      
     44
    4545        <label for="gallery_title">{'Gallery title'|@translate}</label>
    4646      <br>
     
    4949
    5050    <li>
    51      
     51
    5252        <label for="page_banner">{'Page banner'|@translate}</label>
    5353      <br>
     
    101101      {html_options name="week_starts_on" options=$main.week_starts_on_options selected=$main.week_starts_on_options_selected}</label>
    102102    </li>
    103    
     103
    104104    <li>
    105105        <label>{'Default photos order'|@translate}</label>
    106        
     106
    107107        {foreach from=$main.order_by item=order}
    108         <span class="filter {if isset($ORDER_BY_IS_CUSTOM)}transparent{/if}">         
     108        <span class="filter {if isset($ORDER_BY_IS_CUSTOM)}transparent{/if}">
    109109          <select name="order_by[]" {if isset($ORDER_BY_IS_CUSTOM)}disabled{/if}>
    110110            {html_options options=$main.order_by_options selected=$order}
     
    113113        </span>
    114114        {/foreach}
    115        
     115
    116116        {if !isset($ORDER_BY_IS_CUSTOM)}
    117117          <a class="addFilter">{'Add a criteria'|@translate}</a>
     
    120120        {/if}
    121121    </li>
    122    
     122
    123123{if !isset($ORDER_BY_IS_CUSTOM)}
    124124{footer_script require='jquery'}
     
    141141    updateAddFilterLink();
    142142  });
    143  
     143
    144144  $(".removeFilter").css('display', '');
    145145  $(".filter:first .removeFilter").css('display', 'none');
     
    150150    $(this).prev('span.filter').clone().insertBefore($(this));
    151151    $(this).prev('span.filter').children('select[name="order_by[]"]').val('');
    152    
     152
    153153    fields++;
    154154    updateRemoveFilterTrigger();
    155155    updateAddFilterLink();
    156156  });
    157  
     157
    158158  updateRemoveFilterTrigger();
    159159  updateAddFilterLink();
     
    197197    </li>
    198198  </ul>
    199  
     199
    200200  <ul id="comments_param_warp"{if not ($comments.activate_comments)} style="display:none;"{/if}>
    201201    <li>
     
    212212      </label>
    213213    </li>
    214    
     214
    215215    <li>
    216216      <label>
     
    228228      </label>
    229229    </li>
    230    
     230
    231231    <li>
    232232      <label>
     
    235235      </label>
    236236    </li>
    237    
     237
    238238    <li>
    239239      <label>
     
    601601      <label>
    602602        <input type="checkbox" name="menubar_filter_icon" {if ($display.menubar_filter_icon)}checked="checked"{/if}>
    603         {'display only recently posted photos'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}
    604       </label>
    605     </li>   
    606    
     603                                {'Activate icon "%s"'|@translate|@sprintf:('display only recently posted photos'|@translate|@ucfirst)}
     604      </label>
     605    </li>
     606
    607607    <li>
    608608      <label>
     
    615615      <label>
    616616        <input type="checkbox" name="index_sort_order_input" {if ($display.index_sort_order_input)}checked="checked"{/if}>
    617         {'Sort order'|@translate|@string_format:$pwg->l10n('Activate icon "%s"')}
     617                                {'Activate icon "%s"'|@translate|@sprintf:('Sort order'|@translate)}
    618618      </label>
    619619    </li>
     
    622622      <label>
    623623        <input type="checkbox" name="index_flat_icon" {if ($display.index_flat_icon)}checked="checked"{/if}>
    624         {'display all photos in all sub-albums'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}
     624                                {'Activate icon "%s"'|@translate|@sprintf:('display all photos in all sub-albums'|@translate|@ucfirst)}
    625625      </label>
    626626    </li>
     
    629629      <label>
    630630        <input type="checkbox" name="index_posted_date_icon" {if ($display.index_posted_date_icon)}checked="checked"{/if}>
    631         {'display a calendar by posted date'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}
     631                                {'Activate icon "%s"'|@translate|@sprintf:('display a calendar by posted date'|@translate|@ucfirst)}
    632632      </label>
    633633    </li>
     
    636636      <label>
    637637        <input type="checkbox" name="index_created_date_icon" {if ($display.index_created_date_icon)}checked="checked"{/if}>
    638         {'display a calendar by creation date'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}
     638                                {'Activate icon "%s"'|@translate|@sprintf:('display a calendar by creation date'|@translate|@ucfirst)}
    639639      </label>
    640640    </li>
     
    643643      <label>
    644644        <input type="checkbox" name="index_slideshow_icon" {if ($display.index_slideshow_icon)}checked="checked"{/if}>
    645         {'slideshow'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}
    646       </label>
    647     </li>
    648    
     645                                {'Activate icon "%s"'|@translate|@sprintf:('slideshow'|@translate|@ucfirst)}
     646      </label>
     647    </li>
     648
    649649    <li>
    650650      <label>
     
    662662      <label>
    663663        <input type="checkbox" name="picture_slideshow_icon" {if ($display.picture_slideshow_icon)}checked="checked"{/if}>
    664         {'slideshow'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}
     664                                {'Activate icon "%s"'|@translate|@sprintf:('slideshow'|@translate|@ucfirst)}
    665665      </label>
    666666    </li>
     
    669669      <label>
    670670        <input type="checkbox" name="picture_metadata_icon" {if ($display.picture_metadata_icon)}checked="checked"{/if}>
    671         {'Show file metadata'|@translate|@string_format:$pwg->l10n('Activate icon "%s"')}
     671                                {'Activate icon "%s"'|@translate|@sprintf:('Show file metadata'|@translate)}
    672672      </label>
    673673    </li>
     
    676676      <label>
    677677        <input type="checkbox" name="picture_download_icon" {if ($display.picture_download_icon)}checked="checked"{/if}>
    678         {'Download this file'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}
     678                                {'Activate icon "%s"'|@translate|@sprintf:('Download this file'|@translate|@ucfirst)}
    679679      </label>
    680680    </li>
     
    683683      <label>
    684684        <input type="checkbox" name="picture_favorite_icon" {if ($display.picture_favorite_icon)}checked="checked"{/if}>
    685         {'add this photo to your favorites'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')}
     685                                {'Activate icon "%s"'|@translate|@sprintf:('add this photo to your favorites'|@translate|@ucfirst)}
    686686      </label>
    687687    </li>
     
    700700      </label>
    701701    </li>
    702    
     702
    703703    <li>
    704704      <label>
Note: See TracChangeset for help on using the changeset viewer.