* Gerfried Fuchs <email@example.com> [2004-01-10 15:02]: > * Denis Barbier <firstname.lastname@example.org> [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) ? "<gettext>Topic</gettext>" : "<gettext>Topics</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"
Description: Digital signature