aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/menubar_categories.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-06-23 18:39:31 +0000
committerrvelices <rv-github@modusoptimus.com>2013-06-23 18:39:31 +0000
commitb93085c7fbd1ee625354f612b3af62d2dcb90402 (patch)
tree42b33391f9ef7f36836934fb4afa44c6555b91d6 /themes/default/template/menubar_categories.tpl
parent67d736e3fd0399399e554c53503a2b24f50e5a70 (diff)
Smarty3 added 'translate_dec' compilermodifier (generated code is a lot better than $pwg->l10n_dec)
git-svn-id: http://piwigo.org/svn/trunk@23476 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/menubar_categories.tpl')
-rw-r--r--themes/default/template/menubar_categories.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/template/menubar_categories.tpl b/themes/default/template/menubar_categories.tpl
index 3307bdc1e..c3c5b1c02 100644
--- a/themes/default/template/menubar_categories.tpl
+++ b/themes/default/template/menubar_categories.tpl
@@ -28,5 +28,5 @@
{/foreach}
{'</li></ul>'|@str_repeat:$ref_level}
- <p class="totalImages">{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p>
+ <p class="totalImages">{$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}</p>
</dd>