# HG changeset patch # User Marcin Kuzminski # Date 2012-11-18 20:27:41 # Node ID 02bbd574fa1448995acba0eee56c0953cb7d1297 # Parent 83159d73b13b37f7614beec2512c79bf497d0179 Changed affected to changed, sounds better, and added ungettext translations for this diff --git a/rhodecode/templates/changeset/changeset.html b/rhodecode/templates/changeset/changeset.html --- a/rhodecode/templates/changeset/changeset.html +++ b/rhodecode/templates/changeset/changeset.html @@ -108,9 +108,9 @@ % if c.limited_diff: - ${_('%s files affected:') % (len(c.changeset.affected_files))} + ${ungettext('%s file changed','%s files changed',len(c.changeset.affected_files)) % (len(c.changeset.affected_files))}: % else: - ${_('%s files affected with %s insertions and %s deletions:') % (len(c.changeset.affected_files),c.lines_added,c.lines_deleted)} + ${ungettext('%s file changed with %s insertions and %s deletions','%s files changed with %s insertions and %s deletions', len(c.changeset.affected_files)) % (len(c.changeset.affected_files),c.lines_added,c.lines_deleted)}: %endif