aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-30 14:23:08 +0000
committerplegall <plg@piwigo.org>2010-03-30 14:23:08 +0000
commit1fa18d9b05964b3f921407231d9291c54d8df594 (patch)
tree5afde00ca34aea26f6b4a485368d3d5e5a7e384f
parent68167d3ecf2f024c74407fb1bd6a13fd0d5565f3 (diff)
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
-rw-r--r--admin/themes/default/template/plugins_list.tpl18
-rw-r--r--language/en_UK/admin.lang.php7
-rw-r--r--language/fr_FR/admin.lang.php7
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 @@
<fieldset>
<legend>
{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}
</legend>
@@ -48,18 +48,18 @@
{/if}
</td>
<td>
- Version {$plugin.VERSION}
+ {'Version'|@translate} {$plugin.VERSION}
{if not empty($plugin.AUTHOR)}
- | By
{if not empty($plugin.AUTHOR_URL)}
- <a href="{$plugin.AUTHOR_URL}">{$plugin.AUTHOR}</a>
+ {assign var='author' value='<a href="%s">%s</a>'|@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)}
- | <a class="externalLink" href="{$plugin.VISIT_URL}">Visit plugin site</a>
+ | <a class="externalLink" href="{$plugin.VISIT_URL}">{'Visit plugin site'|@translate}</a>
{/if}
</td>
</tr>
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';
?>