Ignore:
Timestamp:
Jun 24, 2013, 1:23:50 AM (11 years ago)
Author:
mistic100
Message:

display unused strings as useless

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/plugin_lang_analysis/template/analysis.tpl

    r23472 r23488  
    8888      <td>
    8989        {$string|htmlspecialchars}
    90         {if isset($data.warnings)}<span class="iconpla-attention-circled tiptip" title="{'<br>'|@implode:$data.warning}"></span>{/if}
     90        {if isset($data.warnings)}<span class="iconpla-attention-circled tiptip" title="{'<br>'|@implode:$data.warnings}"></span>{/if}
    9191      </td>
    9292      {if $data.is_admin}<td class="text-admin">{'Admin'|@translate}</td>
     
    111111        <td></td>
    112112      </tr>
     113    {foreachelse}
     114      <tr class="file string-{$data.stat} useless">
     115        <td></td>
     116        <td><i>{'Unused'|@translate}</i></td>
     117        {'<td></td>'|str_repeat:(3+$PLA_LANG_FILES|@count)}
     118      </tr>
    113119    {/foreach} {* <!-- end file --> *}
    114120  {/foreach} {* <!-- end string --> *}
     
    119125      <th></th>
    120126      <th>{'%d strings : %d missing and %d useless.'|@translate|sprintf:$PLA_COUNTS.total:$PLA_COUNTS.missing:$PLA_COUNTS.useless}</th>
    121       <th></th>
    122     {foreach from=$PLA_LANG_FILES item=path key=lang_file}
    123       <th></th>
    124     {/foreach}
    125       <th></th>
    126       <th></th>
     127      {'<th></th>'|str_repeat:(3+$PLA_LANG_FILES|@count)}
    127128    </tr>
    128129  </tfoot>
Note: See TracChangeset for help on using the changeset viewer.