diff --git a/admin/themes/default/template/tags.tpl b/admin/themes/default/template/tags.tpl index aabd36b20..09d000c86 100644 --- a/admin/themes/default/template/tags.tpl +++ b/admin/themes/default/template/tags.tpl @@ -150,7 +150,7 @@ $("#searchInput").on( "keydown", function() { {/if}
{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}
+{$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}
diff --git a/themes/default/template/menubar_tags.tpl b/themes/default/template/menubar_tags.tpl index 975d7eb09..d1a672837 100644 --- a/themes/default/template/menubar_tags.tpl +++ b/themes/default/template/menubar_tags.tpl @@ -5,7 +5,7 @@ {strip} + + "{$tag.U_ADD}" title="{$tag.counter|@translate_dec:'%d photo is also linked to current tags':'%d photos are also linked to current tags'}" rel="nofollow">+ {else} "{$tag.URL}" title="{'display photos linked to this tag'|@translate}"> {/if} diff --git a/themes/default/template/month_calendar.tpl b/themes/default/template/month_calendar.tpl index 904570a10..e2713346c 100644 --- a/themes/default/template/month_calendar.tpl +++ b/themes/default/template/month_calendar.tpl @@ -12,7 +12,7 @@ {else} {foreach from=$bar.items item=item} - l10n_dec('%d photo', '%d photos', $item.NB_IMAGES)}"{/if}> + {if isset($item.URL)} {$item.LABEL} {else} @@ -68,7 +68,7 @@ TABLE.calMonth TBODY TD, TABLE.calMonth TBODY TD DIV.calImg {ldelim}
{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}
+{$COMMENT_COUNT|@translate_dec:'%d comment':'%d comments'}