On Fri, 06 Jun 2008 07:00:36 +0000, tille@alioth.debian.org wrote: > Author: tille > Date: 2008-06-06 07:00:34 +0000 (Fri, 06 Jun 2008) > New Revision: 1978 > > Removed: > trunk/community/infrastructure/scripts/update-tasks_using_Tools > Modified: > trunk/community/infrastructure/scripts/cddtasktools.py > trunk/community/infrastructure/scripts/update-tasks > trunk/community/website/tasks.tmpl > trunk/community/website/tasks_idx.tmpl > Log: > Get rid of all fixed Debian-Med strings in the template to make it usable for > other CDDs. Note: This breaks current i18n strings but the request from > others was strong enough to go for this quick and dirty solution. I'm > lacking the skill to correctly wrap Template and PHP i18n. The rewrite of > the task generating pages with better i18n is in progress... IMHO a better approach would have been to use "parameters" inside i18n strings. That is, instead of: > - <?=_("The list to the right includes > various software projects which are of some interest to the Debian-Med > Project.")?> > + <?=_("The list to the right includes > various software projects which are of some interest for")?> <em > node="con:CDD"></em>. i.e. instead of: "The list to the right includes various software projects which are of some interest to the Debian-Med Project." we could use something like "The list to the right includes various software projects which are of some interest for %project." And that would be handled by PHP (and, well, a single sentence wouldn't be split up in different strings...) If you have enough time, please work on my hints. Otherwise, I hope I'll find some time during lunch-time, wait for my commits ;) Kindly, David -- . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
Attachment:
signature.asc
Description: PGP signature