Changeset 5570


Ignore:
Timestamp:
Apr 2, 2010, 12:11:55 PM (14 years ago)
Author:
plg
Message:

bug 1550: add a default message when there is no new plugin/theme/language
available.

Location:
trunk
Files:
5 edited

Legend:

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

    r5493 r5570  
    3838{/foreach}
    3939</table>
     40{else}
     41<p>{'There is no other language available.'|@translate}</p>
    4042{/if}
  • trunk/admin/themes/default/template/plugins_new.tpl

    r5516 r5570  
    3030</div>
    3131
     32{if not empty($plugins)}
    3233<fieldset>
    3334<legend></legend>
     
    6667{/foreach}
    6768</fieldset>
     69{else}
     70<p>{'There is no other plugin available.'|@translate}</p>
     71{/if}
  • trunk/admin/themes/default/template/themes_new.tpl

    r5186 r5570  
    33</div>
    44
    5 {if isset($themes)}
     5{if not empty($new_themes)}
    66<div class="themeBoxes">
    77{foreach from=$new_themes item=theme name=themes_loop}
     
    1313{/foreach}
    1414</div> <!-- themeBoxes -->
     15{else}
     16<p>{'There is no other theme available.'|@translate}</p>
    1517{/if}
  • trunk/language/en_UK/admin.lang.php

    r5564 r5570  
    760760$lang['User Upload'] = 'User Upload';
    761761$lang['Virtual Links'] = 'Virtual Links';
     762$lang['There is no other language available.'] = 'There is no other language available.';
     763$lang['There is no other plugin available.'] = 'There is no other plugin available.';
     764$lang['There is no other theme available.'] = 'There is no other theme available.';
    762765?>
  • trunk/language/fr_FR/admin.lang.php

    r5565 r5570  
    763763$lang['User Upload'] = 'Ajout utilisateur';
    764764$lang['Virtual Links'] = 'Liens virtuels';
     765$lang['There is no other language available.'] = 'Il n\'y a pas d\'autre langue disponible.';
     766$lang['There is no other plugin available.'] = 'Il n\'y a pas d\'autre plugin disponible.';
     767$lang['There is no other theme available.'] = 'Il n\'y a pas d\'autre thème disponible.';
    765768?>
Note: See TracChangeset for help on using the changeset viewer.