diff options
author | mistic100 <mistic@piwigo.org> | 2013-10-19 11:04:11 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-10-19 11:04:11 +0000 |
commit | 2f08283864615990a47ef8b3995ab88402eda478 (patch) | |
tree | 6720eff124c37c877910cc25296958ebc1015cb9 /admin/themes_installed.php | |
parent | 139ffe3712b8c9a9ea4cd731d3fdb509463867dc (diff) |
feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes_installed.php')
-rw-r--r-- | admin/themes_installed.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/themes_installed.php b/admin/themes_installed.php index 8371edc48..07c9f3bf4 100644 --- a/admin/themes_installed.php +++ b/admin/themes_installed.php @@ -121,8 +121,8 @@ foreach ($themes->fs_themes as $theme_id => $fs_theme) { $tpl_theme['ACTIVABLE'] = false; - $tpl_theme['ACTIVABLE_TOOLTIP'] = sprintf( - l10n('Impossible to activate this theme, the parent theme is missing: %s'), + $tpl_theme['ACTIVABLE_TOOLTIP'] = l10n( + 'Impossible to activate this theme, the parent theme is missing: %s', $missing_parent ); } @@ -136,8 +136,8 @@ foreach ($themes->fs_themes as $theme_id => $fs_theme) { $tpl_theme['DELETABLE'] = false; - $tpl_theme['DELETE_TOOLTIP'] = sprintf( - l10n('Impossible to delete this theme. Other themes depends on it: %s'), + $tpl_theme['DELETE_TOOLTIP'] = l10n( + 'Impossible to delete this theme. Other themes depends on it: %s', implode(', ', $children) ); } |