Ignore:
Timestamp:
Oct 19, 2013, 1:04:11 PM (11 years ago)
Author:
mistic100
Message:

feature 2978: remove useless sprintf in the core

File:
1 edited

Legend:

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

    r24980 r25005  
    291291      <legend>{'Select files'|@translate}</legend>
    292292 
    293     {if isset($original_resize_maxheight)}<p class="uploadInfo">{'The picture dimensions will be reduced to %dx%d pixels.'|@translate|@sprintf:$original_resize_maxwidth:$original_resize_maxheight}</p>{/if}
     293    {if isset($original_resize_maxheight)}<p class="uploadInfo">{'The picture dimensions will be reduced to %dx%d pixels.'|@translate:$original_resize_maxwidth:$original_resize_maxheight}</p>{/if}
    294294
    295295    <p id="uploadWarningsSummary">{$upload_max_filesize_shorthand}B. {$upload_file_types}. {if isset($max_upload_resolution)}{$max_upload_resolution}Mpx{/if} <a class="icon-info-circled-1 showInfo" title="{'Learn more'|@translate}"></a></p>
    296296
    297297    <p id="uploadWarnings">
    298 {'Maximum file size: %sB.'|@translate|@sprintf:$upload_max_filesize_shorthand}
    299 {'Allowed file types: %s.'|@translate|@sprintf:$upload_file_types}
     298{'Maximum file size: %sB.'|@translate:$upload_max_filesize_shorthand}
     299{'Allowed file types: %s.'|@translate:$upload_file_types}
    300300  {if isset($max_upload_resolution)}
    301 {'Approximate maximum resolution: %dM pixels (that\'s %dx%d pixels).'|@translate|@sprintf:$max_upload_resolution:$max_upload_width:$max_upload_height}
     301{'Approximate maximum resolution: %dM pixels (that\'s %dx%d pixels).'|@translate:$max_upload_resolution:$max_upload_width:$max_upload_height}
    302302  {/if}
    303303    </p>
     
    311311      </div>
    312312
    313     <p id="uploadModeInfos">{'You are using the Browser uploader. Try the <a href="%s">Flash uploader</a> instead.'|@translate|@sprintf:$switch_url}</p>
     313    <p id="uploadModeInfos">{'You are using the Browser uploader. Try the <a href="%s">Flash uploader</a> instead.'|@translate:$switch_url}</p>
    314314
    315315{elseif $upload_mode eq 'multiple'}
     
    318318    <div id="fileQueue" style="display:none"></div>
    319319
    320     <p id="uploadModeInfos">{'You are using the Flash uploader. Problems? Try the <a href="%s">Browser uploader</a> instead.'|@translate|@sprintf:$switch_url}</p>
     320    <p id="uploadModeInfos">{'You are using the Flash uploader. Problems? Try the <a href="%s">Browser uploader</a> instead.'|@translate:$switch_url}</p>
    321321
    322322{/if}
     
    346346
    347347<div id="uploadProgress" style="display:none">
    348 {'Photo %s of %s'|@translate|@sprintf:'<span id="progressCurrent">1</span>':'<span id="progressMax">10</span>'}
     348{'Photo %s of %s'|@translate:'<span id="progressCurrent">1</span>':'<span id="progressMax">10</span>'}
    349349<br>
    350350<div id="progressbar"></div>
Note: See TracChangeset for help on using the changeset viewer.