[debexpo-devel] [debexpo/master] Added packages/section.mako template that I should have included last commit.

Christoph Haas email at christoph-haas.de
Tue Jun 17 12:37:22 CEST 2008


On Dienstag, 17. Juni 2008, debexpo commit messages wrote:
>  debexpo/templates/packages/section.mako |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
>  create mode 100644 debexpo/templates/packages/section.mako
>
> diff --git a/debexpo/templates/packages/section.mako
> b/debexpo/templates/packages/section.mako new file mode 100644
> index 0000000..39770f1
> --- /dev/null
> +++ b/debexpo/templates/packages/section.mako
> @@ -0,0 +1,10 @@
> +# -*- coding: utf-8 -*-
> +<%inherit file="list.mako"/>
> +
> +<%def name="main()">
> +
> +<h1>${ _('Packages in section %s' % c.section) }</h1>

Nitpick... :) I'm no i18n guru but shouldn't that be...

_('Packages in section %s') % (c.section,)

Otherwise the _() function would have to know about all the sections.

Kindly
 Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://workaround.org/pipermail/debexpo-devel/attachments/20080617/b9759698/attachment.pgp 


More information about the debexpo-devel mailing list