Mercurial > hg
view templates/atom/changelogentry.tmpl @ 9837:b13474cd1496
record: handle translated prompt correctly
The prompt function would return 'y' or 'n' untranslated. This should
therefore not be compared to _('y') and _('n'). However, it turns out
that prompt could just as well return a good old Boolean.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 11 Nov 2009 22:53:01 +0100 |
parents | 3b93032516b3 |
children |
line wrap: on
line source
<entry> <title>{desc|strip|firstline|strip|escape|nonempty}</title> <id>{urlbase}{url}#changeset-{node}</id> <link href="{urlbase}{url}rev/{node|short}"/> <author> <name>{author|person|escape}</name> <email>{author|email|obfuscate}</email> </author> <updated>{date|rfc3339date}</updated> <published>{date|rfc3339date}</published> <content type="xhtml"> <div xmlns="http://www.w3.org/1999/xhtml"> <pre xml:space="preserve">{desc|escape|nonempty}</pre> </div> </content> </entry>