From 1fa18d9b05964b3f921407231d9291c54d8df594 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 30 Mar 2010 14:23:08 +0000 Subject: feature 1557: add i18n (and l10n for en_UK+fr_FR) on new strings for plugin management. git-svn-id: http://piwigo.org/svn/trunk@5476 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/plugins_list.tpl | 18 +++++++++--------- language/en_UK/admin.lang.php | 7 +++++++ language/fr_FR/admin.lang.php | 7 +++++++ 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/admin/themes/default/template/plugins_list.tpl b/admin/themes/default/template/plugins_list.tpl index 6b7241237..d6a8364ee 100644 --- a/admin/themes/default/template/plugins_list.tpl +++ b/admin/themes/default/template/plugins_list.tpl @@ -8,16 +8,16 @@
{if $plugin_state == 'active'} - Active Plugins + {'Active Plugins'|@translate} {elseif $plugin_state == 'inactive'} - Inactive Plugins + {'Inactive Plugins'|@translate} {elseif $plugin_state == 'uninstalled'} - Uninstalled Plugins + {'Uninstalled Plugins'|@translate} {elseif $plugin_state == 'missing'} - Missing Plugins + {'Missing Plugins'|@translate} {/if} @@ -48,18 +48,18 @@ {/if} - Version {$plugin.VERSION} + {'Version'|@translate} {$plugin.VERSION} {if not empty($plugin.AUTHOR)} - | By {if not empty($plugin.AUTHOR_URL)} - {$plugin.AUTHOR} + {assign var='author' value='%s'|@sprintf:$plugin.AUTHOR_URL:$plugin.AUTHOR} {else} - {$plugin.AUTHOR} + {assign var='author' value=$plugin.AUTHOR} {/if} + | {'By %s'|@translate|@sprintf:$author} {/if} {if not empty($plugin.VISIT_URL)} - | Visit plugin site + | {'Visit plugin site'|@translate} {/if} diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index 53faf8c4e..da0eda3d5 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -761,4 +761,11 @@ $lang['Impossible to deactivate this theme, you need at least one theme.'] = 'Im $lang['Webmaster status is required.'] = 'Webmaster status is required.'; $lang['Bound Theme'] = 'Bound Theme'; $lang['Allow rating'] = "Allow rating"; +$lang['Select at least one comment'] = 'Select at least one comment'; +$lang['Active Plugins'] = 'Active Plugins'; +$lang['Inactive Plugins'] = 'Inactive Plugins'; +$lang['Missing Plugins'] = 'Missing Plugins'; +$lang['Uninstalled Plugins'] = 'Uninstalled Plugins'; +$lang['By %s'] = 'By %s'; +$lang['Visit plugin site'] = 'Visit plugin site'; ?> diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index d7acaa339..3b4e9687b 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -764,4 +764,11 @@ $lang['Impossible to deactivate this theme, you need at least one theme.'] = 'Im $lang['Webmaster status is required.'] = 'Vous devez avoir le status de "webmaster".'; $lang['Bound Theme'] = 'Thème rattaché'; $lang['Allow rating'] = "Permettre les notations"; +$lang['Select at least one comment'] = 'Sélectionnez au moins un commentaire'; +$lang['Active Plugins'] = 'Plugins activés'; +$lang['Inactive Plugins'] = 'Plugins désactivés'; +$lang['Missing Plugins'] = 'Plugins manquants'; +$lang['Uninstalled Plugins'] = 'Plugins non installés'; +$lang['By %s'] = 'Par %s'; +$lang['Visit plugin site'] = 'Visitez le site du plugin'; ?> -- cgit v1.2.3