Re: [tbm@cyrius.com: Re: Speaker directory]
On Fri, Jan 09, 2004 at 08:03:22PM -0800, Matt Kraai wrote: On Sat, Jan 10, 2004 at 01:02:48AM +0100, Denis Barbier wrote: On Fri, Jan 09, 2004 at 01:54:03AM -0800, Matt Kraai wrote: [...] Look at http://www.debian.org/events/speakers/ Ideally, it would say topic when there's 1 topic, and topics when there are multiple. However, I'm not sure if this is easily possible. This is not trivial, a new ngettext tag must be added to mp4h to handle plural forms. Should I file a wishlist bug against mp4h? Sure, this is a good idea if you want me not to forget about it ;) Denis
Re: [tbm@cyrius.com: Re: Speaker directory]
On Sat, Jan 10, 2004 at 03:02:16PM +0100, Gerfried Fuchs wrote: * Denis Barbier [EMAIL PROTECTED] [2004-01-10 01:02]: On Fri, Jan 09, 2004 at 01:54:03AM -0800, Matt Kraai wrote: [...] Look at http://www.debian.org/events/speakers/ Ideally, it would say topic when there's 1 topic, and topics when there are multiple. However, I'm not sure if this is easily possible. This is not trivial, a new ngettext tag must be added to mp4h to handle plural forms. Shouldn't be somehow possible to count the embedded topic tags in the topics container and perl print Topic . ($count == 1) ? : s or something like that should be doable, shouldn't it? Yes it would work for English and most European languages, but please read info ngettext to learn why handling of plural forms cannot be done this way. Denis
Re: [tbm@cyrius.com: Re: Speaker directory]
* Denis Barbier [EMAIL PROTECTED] [2004-01-10 01:02]: On Fri, Jan 09, 2004 at 01:54:03AM -0800, Matt Kraai wrote: [...] Look at http://www.debian.org/events/speakers/ Ideally, it would say topic when there's 1 topic, and topics when there are multiple. However, I'm not sure if this is easily possible. This is not trivial, a new ngettext tag must be added to mp4h to handle plural forms. Shouldn't be somehow possible to count the embedded topic tags in the topics container and perl print Topic . ($count == 1) ? : s or something like that should be doable, shouldn't it? Btw., the layout of the topics doesn't look too well to me, I would rather even say it kind of sucks. I am thinking of working out a patch for it, though. Currently it seems like the speakers form their own paragraph and the topic titles doesn't really belong to it. Maybe a (invisible) table around it would suffice, like this: Current: #v+ Name: Russell Coker Email:[EMAIL PROTECTED] Previous Talks: http://www.coker.com.au/~russell/talks.html Languages: English Location: Melbourne, Australia Topics: Security Enhanced (SE) Linux Name: Bdale Garbee Email:[EMAIL PROTECTED] Previous Talks: http://www.gag.com/~bdale/talks Languages: English Location: Colorado, USA Topics: History of Debian Introduction to Debian Porting Debian Debian and HP #v- Proposed: #v+ Name: Russell Coker Email: [EMAIL PROTECTED] Previous Talks: http://www.coker.com.au/~russell/talks.html Languages: English Location: Melbourne, Australia Topic: Security Enhanced (SE) Linux Name: Bdale Garbee Email: [EMAIL PROTECTED] Previous Talks: http://www.gag.com/~bdale/talks Languages: English Location: Colorado, USA Topics: History of Debian Introduction to Debian Porting Debian Debian and HP #v- Or maybe right-align the th part and valign center the Topic(s) part. What do you think? So long, Alfie -- Aquariophile ist iptables eigentlich nur ein tool zum verhindern von aussenkonnecti,erungen auf gewissen ports oder ist iptables eine firewall? maxx ist ein packet filter Aquariophile maxx: also der verhindert pings? -- #debian.de signature.asc Description: Digital signature
Re: [tbm@cyrius.com: Re: Speaker directory]
* Gerfried Fuchs [EMAIL PROTECTED] [2004-01-10 15:02]: * Denis Barbier [EMAIL PROTECTED] [2004-01-10 01:02]: On Fri, Jan 09, 2004 at 01:54:03AM -0800, Matt Kraai wrote: [...] Look at http://www.debian.org/events/speakers/ Ideally, it would say topic when there's 1 topic, and topics when there are multiple. However, I'm not sure if this is easily possible. This is not trivial, a new ngettext tag must be added to mp4h to handle plural forms. Shouldn't be somehow possible to count the embedded topic tags in the topics container and perl print Topic . ($count == 1) ? : s or something like that should be doable, shouldn't it? Uhm, nonsense, of course I meant print ($count == 1) ? gettextTopic/gettext : gettextTopics/gettext; But you get the idea. So long, Alfie -- Richard had noticed that events were cowards: they didn't occur singly, but instead they would run in packs and leap out at him all at once. -- Neil Gaiman, Neverwhere signature.asc Description: Digital signature
[tbm@cyrius.com: Re: Speaker directory]
Howdy, Would one of the WML experts please help me with this? - Forwarded message from Martin Michlmayr [EMAIL PROTECTED] - From: Martin Michlmayr [EMAIL PROTECTED] Subject: Re: Speaker directory Date: Wed, 7 Jan 2004 19:49:59 + To: Matt Kraai [EMAIL PROTECTED] Look at http://www.debian.org/events/speakers/ Ideally, it would say topic when there's 1 topic, and topics when there are multiple. However, I'm not sure if this is easily possible. -- Martin Michlmayr [EMAIL PROTECTED] - End forwarded message - -- Matt Kraai [EMAIL PROTECTED]
Re: [tbm@cyrius.com: Re: Speaker directory]
On Fri, Jan 09, 2004 at 01:54:03AM -0800, Matt Kraai wrote: [...] Look at http://www.debian.org/events/speakers/ Ideally, it would say topic when there's 1 topic, and topics when there are multiple. However, I'm not sure if this is easily possible. This is not trivial, a new ngettext tag must be added to mp4h to handle plural forms. Denis
Re: [tbm@cyrius.com: Re: Speaker directory]
On Sat, Jan 10, 2004 at 01:02:48AM +0100, Denis Barbier wrote: On Fri, Jan 09, 2004 at 01:54:03AM -0800, Matt Kraai wrote: [...] Look at http://www.debian.org/events/speakers/ Ideally, it would say topic when there's 1 topic, and topics when there are multiple. However, I'm not sure if this is easily possible. This is not trivial, a new ngettext tag must be added to mp4h to handle plural forms. Should I file a wishlist bug against mp4h? -- Matt Kraai [EMAIL PROTECTED]