Mercurial > kallithea
diff rhodecode/templates/changelog/changelog.html @ 2312:f6d57d055d1e beta
Improved i18n on changelog and user group administration pages.
author | Vincent Duvert <vincent@duvert.net> |
---|---|
date | Sun, 20 May 2012 11:27:10 +0200 |
parents | f1467dfcf093 |
children | d3f1b71099ab a15e0ddeed7f |
line wrap: on
line diff
--- a/rhodecode/templates/changelog/changelog.html Sun May 20 10:49:53 2012 +0200 +++ b/rhodecode/templates/changelog/changelog.html Sun May 20 11:27:10 2012 +0200 @@ -11,7 +11,8 @@ » ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} » - ${_('Changelog')} - ${_('showing ')} ${c.size if c.size <= c.total_cs else c.total_cs} ${_('out of')} ${c.total_cs} ${_('revisions')} + <% size = c.size if c.size <= c.total_cs else c.total_cs %> + ${_('Changelog')} - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)} </%def> <%def name="page_nav()">