Changeset 5476


Ignore:
Timestamp:
03/30/10 16:23:08 (10 years ago)
Author:
plg
Message:

feature 1557: add i18n (and l10n for en_UK+fr_FR) on new strings for plugin
management.

Location:
trunk
Files:
3 edited

Legend:

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

    r5475 r5476  
    99  <legend> 
    1010  {if $plugin_state == 'active'} 
    11   Active Plugins 
     11  {'Active Plugins'|@translate} 
    1212 
    1313  {elseif $plugin_state == 'inactive'} 
    14   Inactive Plugins 
     14  {'Inactive Plugins'|@translate} 
    1515 
    1616  {elseif $plugin_state == 'uninstalled'} 
    17   Uninstalled Plugins 
     17  {'Uninstalled Plugins'|@translate} 
    1818 
    1919  {elseif $plugin_state == 'missing'} 
    20   Missing Plugins 
     20  {'Missing Plugins'|@translate} 
    2121 
    2222  {/if} 
     
    4949        </td> 
    5050        <td> 
    51           Version {$plugin.VERSION} 
     51          {'Version'|@translate} {$plugin.VERSION} 
    5252    {if not empty($plugin.AUTHOR)} 
    53           | By  
    5453      {if not empty($plugin.AUTHOR_URL)} 
    55           <a href="{$plugin.AUTHOR_URL}">{$plugin.AUTHOR}</a> 
     54        {assign var='author' value='<a href="%s">%s</a>'|@sprintf:$plugin.AUTHOR_URL:$plugin.AUTHOR} 
    5655      {else} 
    57           {$plugin.AUTHOR} 
     56        {assign var='author' value=$plugin.AUTHOR} 
    5857      {/if} 
     58          | {'By %s'|@translate|@sprintf:$author} 
    5959    {/if} 
    6060 
    6161    {if not empty($plugin.VISIT_URL)} 
    62           | <a class="externalLink" href="{$plugin.VISIT_URL}">Visit plugin site</a> 
     62          | <a class="externalLink" href="{$plugin.VISIT_URL}">{'Visit plugin site'|@translate}</a> 
    6363    {/if} 
    6464        </td> 
  • trunk/language/en_UK/admin.lang.php

    r5453 r5476  
    762762$lang['Bound Theme'] = 'Bound Theme'; 
    763763$lang['Allow rating'] = "Allow rating"; 
     764$lang['Select at least one comment'] = 'Select at least one comment'; 
     765$lang['Active Plugins'] = 'Active Plugins'; 
     766$lang['Inactive Plugins'] = 'Inactive Plugins'; 
     767$lang['Missing Plugins'] = 'Missing Plugins'; 
     768$lang['Uninstalled Plugins'] = 'Uninstalled Plugins'; 
     769$lang['By %s'] = 'By %s'; 
     770$lang['Visit plugin site'] = 'Visit plugin site'; 
    764771?> 
  • trunk/language/fr_FR/admin.lang.php

    r5453 r5476  
    765765$lang['Bound Theme'] = 'Thème rattaché'; 
    766766$lang['Allow rating'] = "Permettre les notations"; 
     767$lang['Select at least one comment'] = 'Sélectionnez au moins un commentaire'; 
     768$lang['Active Plugins'] = 'Plugins activés'; 
     769$lang['Inactive Plugins'] = 'Plugins désactivés'; 
     770$lang['Missing Plugins'] = 'Plugins manquants'; 
     771$lang['Uninstalled Plugins'] = 'Plugins non installés'; 
     772$lang['By %s'] = 'Par %s'; 
     773$lang['Visit plugin site'] = 'Visitez le site du plugin'; 
    767774?> 
Note: See TracChangeset for help on using the changeset viewer.