O: wml

2006-09-27 Thread Denis Barbier
Hi,

wml has a new upstream for several months, but I did not manage to
dedicate time to work on it for Debian.  It is unlikely that this
will change soon, so I will orphan it (and all related packages).
If someone on this list is interested, please drop me a note,
otherwise I will orphan it in few days.
Thanks.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: HTML mistake in webpage

2006-08-17 Thread Denis Barbier
On Thu, Aug 17, 2006 at 08:02:42PM +0200, Frans Pop wrote:
 On Thursday 17 August 2006 18:44, Leen Besselink wrote:
  lia name=n1These changes are documented in the development
  version of the a
  href=http://d-i.alioth.debian.org/manual/;installation
  guide/a./li
  /ol
 
 Actually, it is not nested. The original has:
 lia name=n1/These changes ...
 
 I have changed this to:
 lia name=n1 /These changes ...
 
 I expect this will fix it when the pages are next generated.

No, wml will still remove the slash, you have to write a name=n1/a

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Commiting the French DWN 2006/31

2006-08-08 Thread Denis Barbier
On Mon, Aug 07, 2006 at 06:24:26PM +0200, Frédéric Bothamy wrote:
 Hello,
 
 Could someone with write access to the CVS please commit the attached
 new file for webwml/french/News/weekly/2006/31/index.wml with the
 following log message:
 
   Initial translation [Frédéric Bothamy]
   Proofreading [Stéphane Blondon, Florentin Duneau, Simon Paillard]

Done, thanks.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Commit some french translations of news

2006-08-08 Thread Denis Barbier
On Tue, Aug 08, 2006 at 12:39:12AM +0200, Simon Paillard wrote:
 Hi,
 
 Can someone commit the attached files in webwml/french/News/2006 with
 the following log message :
 
 Initial translation [Simon Paillard]
 Proofreading [Stephane Blondon, Gregory Colpart, Florentin Duneau, Philippe 
 Piette, ciol]

Done, thanks.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mass editing and xhtml vs. HTML

2006-03-19 Thread Denis Barbier
On Sun, Mar 19, 2006 at 03:56:40PM +0100, Jutta Wrage wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi!
 
 As I have seen that a few pages use xhtml closing tags, a note about  
 editing those files with vi and making mass changes (all languages  
 for one page at the same time).
 
 for example I want to take the br tag.
 
 Sometimes it is necessary to replace it by somehting like li, dd  
 or whatever to make a page which is not layouted by br, $nbsp; and  
 others. Replacing something like tag and /tag is quite easy and  
 quick using cw (change word) in vi(m). But if there are files in  
 between using tag/  this will not work. Time to edit files  
 increases a lot.
 
 You might think: heh, she can use just :1,$s/old/new/g
[...]

It might also be: What is she writing about? ;)
Please give examples, I did not understand your point at all.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mass editing and xhtml vs. HTML

2006-03-19 Thread Denis Barbier
On Sun, Mar 19, 2006 at 08:27:53PM +0100, Jutta Wrage wrote:
[...]
 This still works on multiple files, if edited with */devel/debian- 
 instealler/errata.wml eg. one action forward through all files, next  
 backwords, next forward... until done. build, review and validate,  
 commit.
 This is quite fast and I edited a lot of files (2000?, more?) this  
 way always having to spend more time, if these br / and other xhtml  
 tags where there in one of the files.

 I think all languages should have the same markup beside a few  
 language specific things.

You are trying to update translations along with original pages.
This is very nice, so if some languages make this task harder,
you should not worry and let translators update their pages.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: tidy-warnings, here name attributes

2006-03-14 Thread Denis Barbier
On Tue, Mar 14, 2006 at 08:43:26PM +0100, Jutta Wrage wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi!
 
 With now all pages valid HTML it might be time to get back to the  
 tidy warnings.
 
 Most of them are in devel/people.$lang.html.
 
 I did not find any reference to them, so it migth be no problem to  
 change the content of the attribute to something valid (in this case  
 eliminating the whitespaces).
 
 Does anybody know, if the anchors are referenced from somewhere  
 outside? They would still point to the page but not to the name.

I doubt so, but in any case this can be fixed afterwards.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Removal of http://www.debian.org/intl/l10n/templates/

2006-03-10 Thread Denis Barbier
Hi,

mostly all packages have switched to po-debconf, so I plan
removing all pages under http://www.debian.org/intl/l10n/templates/
next week, translating packages listed there is a waste of time.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: http://www.debian.org/intl/l10n/ popularity sorting?

2006-01-25 Thread Denis Barbier
On Wed, Jan 25, 2006 at 05:08:59AM -0800, Matt Kraai wrote:
 On Tue, Jan 24, 2006 at 11:04:38PM +0100, Denis Barbier wrote:
  On Tue, Jan 24, 2006 at 01:13:22PM +0100, Claus Hindsgaul wrote:
   Hi,
   
   One year ago I started a thread (1) suggesting that the po file lists in
   the translation statistics should be sorted after popularity statistics.
   This would help translators prioritize their work.
   
   At that time Denis Barbier lacked a sorted list of SOURCE packages from
   the popularity contest. Such a list was later added by request from
   Martin Quinson and has been available at popcon.debian.org for some time
   now.
   
   I hope the idea has not been dropped nor forgotten - and if a day
   eventually will have 25 hours somebody will have the time and pleasure
   to implement it :-)
  
  Thanks for the reminder, Claus ;)
  It should happen soon now.  Webmasters, please apply this patch against
  cron/lessoften so that packages can be sorted according to their popcon
  score.
 
 Done.

Thanks Matt.

Claus, everything is now in place and pages will be updated soon.
I changed the text on these pages to explain this new sorting order,
but packages will be really sorted when the popcon file is dowloaded
by the lessoften script, which is run only once a day.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: http://www.debian.org/intl/l10n/ popularity sorting?

2006-01-24 Thread Denis Barbier
On Tue, Jan 24, 2006 at 01:13:22PM +0100, Claus Hindsgaul wrote:
 Hi,
 
 One year ago I started a thread (1) suggesting that the po file lists in
 the translation statistics should be sorted after popularity statistics.
 This would help translators prioritize their work.
 
 At that time Denis Barbier lacked a sorted list of SOURCE packages from
 the popularity contest. Such a list was later added by request from
 Martin Quinson and has been available at popcon.debian.org for some time
 now.
 
 I hope the idea has not been dropped nor forgotten - and if a day
 eventually will have 25 hours somebody will have the time and pleasure
 to implement it :-)

Thanks for the reminder, Claus ;)
It should happen soon now.  Webmasters, please apply this patch against
cron/lessoften so that packages can be sorted according to their popcon
score.  When this is done, I will change the text on these pages and will
patch Makefiles.
Thanks.

Denis
--- lessoften.orig  2006-01-24 22:45:10.0 +0100
+++ lessoften   2006-01-24 22:49:50.0 +0100
@@ -38,6 +38,7 @@
 wget -q -N http://people.debian.org/~pmachard/l10n/material/data/unstable.gz 
|| { echo couldn't fetch data/unstable!  $crondir/lessoften.log; exit 1; }
 gunzip -c -f unstable.gz  unstable.gluck
 ln -sf $crondir/datafiles/unstable.gluck 
$webtopdir/webwml/english/international/l10n/data/unstable.gluck
+wget -q -N http://popcon.debian.org/source/by_inst  ln -sf 
$crondir/datafiles/by_inst 
$webtopdir/webwml/english/international/l10n/data/popcon
 
 # cleanup
 rm -f unstable.gz


Re: Splitting up debian.css for the web pages and include quotes

2005-12-15 Thread Denis Barbier
On Tue, Dec 13, 2005 at 11:43:37AM +0100, Jutta Wrage wrote:
 Am 13.12.2005 um 10:30 schrieb Denis Barbier:
 
 Please have a look at the current debian.css, French quotes have been
 fixed this way.  Nested quotation marks for French look also wrong to
 me, I will send a message to our mailing list to discuss it.
 
 Can you please ask then to verify, that there are really browsers not  
 showing the space between quotation mark and text in the test page?  
 All of my browsers have no difficulties with it.

Thanks for having fixed French quotes.  We discussed nested quotes
on our mailing list, and for now our preferred solution is:

  div[lang=fr] q:before { content: \00AB\00A0; }
  div[lang=fr] q:after { content: \00A0\00BB; }
  div[lang=fr] q q:before { content: \201C; }
  div[lang=fr] q q:after { content: \201D; }

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Splitting up debian.css for the web pages and include quotes

2005-12-13 Thread Denis Barbier
On Tue, Dec 13, 2005 at 12:20:36AM +0100, Jutta Wrage wrote:
[...]
 For the quotes, I have done a completely new page on my web-site:
 
 http://www.witch.westfalen.de/csstest/quotes/quotes.html
 
 This page contains all quotation marks, I have found somewhere  
 (mostly Wikipedia) for now. To do that, I had to remove the language  
 from html header and I hope, that works for everyone.
 
 German l10n group has already decided, which quotation mark  
 alternative to take in a first step. For the other languages, I will  
 add the first alternative, if there are more possibilities and you  
 have no objections.

Found in 
http://en.wikipedia.org/wiki/Quotation_mark#Angled_quotation_marks_in_various_European_languages
  
   Some languages, such as French or Italian, use angle quotation marks
   (chevrons or guillemets or duck-foot quotes) and add a quarter-em
   space (officially) (U+2005, #8197;) within the quotes. However,
   virtually all countries that have this rule now use the non-breaking
   space, because the difference between a non-breaking space and a
   four-per-em is virtually imperceptible, and the quarter-em is
   virtually always omitted in non-Unicode fonts. Even more commonly,
   people just put a normal space between the quotation marks because
   the non-break is not accessible through their keyboard layout. [Note:
   full-width non-breaking spaces have been used in examples for
   technical reasons] 

Please have a look at the current debian.css, French quotes have been
fixed this way.  Nested quotation marks for French look also wrong to
me, I will send a message to our mailing list to discuss it.

Anyway I do not understand why you spend time on finding those
quotation marks for all languages; this is translators' job, simply
put debian.css files under their directory and they will take care
of it.
Thanks.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Splitting up debian.css for the web pages and include quotes

2005-12-13 Thread Denis Barbier
On Tue, Dec 13, 2005 at 11:43:37AM +0100, Jutta Wrage wrote:
 Please have a look at the current debian.css, French quotes have been
 fixed this way.  Nested quotation marks for French look also wrong to
 me, I will send a message to our mailing list to discuss it.
 
 Can you please ask then to verify, that there are really browsers not  
 showing the space between quotation mark and text in the test page?  
 All of my browsers have no difficulties with it.

As explained in the link I posted, this is also a font issue.  See
  http://people.debian.org/~barbier/tmp/ff.png

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Splitting up debian.css for the web pages and include quotes

2005-12-13 Thread Denis Barbier
On Tue, Dec 13, 2005 at 11:54:55AM +0100, Keld Jørn Simonsen wrote:
 I have done some work on X keyboards, I did the main stuff for da, sv, no fi 
 keyboards.
 
 We could ensure that the characters needed are available easily on each
 respecitve national keyboard. I am also involved in ISO keyboard 
 standardisation
 (SC35/WG1) and via that channel I got the info that the EU are asking for
 a specific set of characters to be available for inputting for all public
 service desks in the EU. I would like to look into that.
 
 Also, I am involved in a new standard for describing keyboards. I would like
 to have some machine parsable format, probably in XML, and then with 
 conversion tools to
 X and others. Could somebody help me with writing such a standards spec?

Hi,

xkb at listserv.bat.ru is a mailing list dedicated to XKB implementations,
your message will surely get some attention there.
Archives are available at http://listserv.bat.ru/xkb/List.html

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: get_recent_list and future dsa-1xxx

2005-12-03 Thread Denis Barbier
On Fri, Dec 02, 2005 at 07:28:13AM -0800, Matt Kraai wrote:
 On Fri, Dec 02, 2005 at 01:00:30PM +0100, Thomas Huriaux wrote:
  Matt Kraai [EMAIL PROTECTED] (21/11/2005):
   On Thu, Nov 17, 2005 at 04:08:03PM +0100, Thomas Huriaux wrote:
In a few months, the DSAs will have four digits. With the current
sorting method (lexically), we will have the following sorting scheme:
  dsa-1000 dsa-1001 dsa-998 dsa-999
Can somebody confirm that there is no problem if I apply the attached
patch? (it sorts numerically instead of lexically).
   
   In my quick testing,
   
dsa-1001 = dsa-999
   
   returns 0, not 1.  Doesn't this cause your patch to break?
  
  Indeed, it does not give at all the expected results (I don't know
  exactly why I got what I wanted the first time I tried).
  Please have a look at the attached patch, it seems to work better but
  it is a little bit hackish.
 
 It's OK with me if it works, though I'd guess one of the Perl experts
 could come up with a more elegant solution.

I talked to Thomas on IRC, and our conclusion was that this patch
does its job without breaking other usage of get_recent_list. We
tried to find a better one without success.
So it should indeed be committed, and other people can afterwards
rewrite it if they want.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Quote signs in debian css - solution for all languages in sight

2005-10-08 Thread Denis Barbier
On Fri, Oct 07, 2005 at 11:58:23PM +0200, Jutta Wrage wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi!
 
 Seems I have found something working with all browsers for the  
 quotes. I am preparing example pages and will tell you when they are  
 online on my website. Nested quotes will be supported and quotes  
 follow the language of the page.

I had another look at specs and it seems to me that these instances
of q tags are wrong and should be replaced by cite.  If you
look at http://www.w3.org/MarkUp/ source HTML, this is indeed how
they refer to books.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Quote signs in debian css - solution for all languages in sight

2005-10-08 Thread Denis Barbier
On Sat, Oct 08, 2005 at 01:36:59PM +0200, Jutta Wrage wrote:
 look at http://www.w3.org/MarkUp/ source HTML, this is indeed how
 they refer to books.
 
 cite is the source of a quotation/quote block.
 
 So, if you are citing from a book, the source goes into cite tag,  
 but not the citation.
 
 I have thought over the problem with book titles mentioned in the  
 text without quoting them. There seems to be no real good solution.
 If you write mr Smith presented his new book Go To Nirvana the  
 book title really is no cite (source of a quotation), but the authos  
 nam may be. Here the book title itself may be a quotation while Live  
 is nothing, says Mr Smith in his new book Go To Nirvana Mr Smith  
 and the book title are source of the quotation and can go to cite.  

As said in my previous mail, http://www.w3.org/MarkUp/ contains
sentences similar to
  mr Smith presented his new book citeGo To Nirvana/cite

 This point of few is also presented in browser behaviour. Cite never  
 is surrounde by quotes while mentioning a book title in a text  
 normally means setting it in quotes.

Right, and translator teams can then choose how to render it according
to national typographic rules.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Invalid HTML-Tags

2005-10-07 Thread Denis Barbier
On Fri, Oct 07, 2005 at 11:39:55AM +0200, Jutta Wrage wrote:
 But if you really want me to add optional ending tags, always, why  
 walking through the tree, I must say: I am not willingly to be an  
 edidor slave.

I thought that XHTML Strict was your target, and HTML 4.01 Strict
only a milestone, hence my mail about these optional ending tags.
Sorry for the confusion.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Invalid HTML-Tags

2005-10-07 Thread Denis Barbier
On Fri, Oct 07, 2005 at 11:38:43AM +0200, Jutta Wrage wrote:
 The solution for the quotes is already found and seems to work in  
 nealy all browsers.
 
 q:lang(fr), q:lang(de) {
 quotes: '«' '»' ;
 }

Is there a way to let debian.css include debian-fr.css when language
is set to fr?
IMO it is always better to have seperate language dependent content.

Please note also that if non-ASCII characters are added to debian.css,
they must be UTF-8 encoded (so that text can be added for any language),
and charset=UTF-8 attribute must be added to link tags.  I did not
check whether it works, though.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Invalid HTML-Tags

2005-10-06 Thread Denis Barbier
On Thu, Oct 06, 2005 at 08:43:35PM +0200, Jutta Wrage wrote:
 Beside that, It cannot really be a problem having some wrong quotes  
 on old pages for some weeks until a soulution is found (may be the  
 solution is filing bugs against browsers representing quotes wrong).

I fail to see why you absolutely need to modify those 12 files, this
is a very minor issue compared with all the missing end tags.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#325190: www.debian.org: Patches for HTML 4 strict

2005-08-26 Thread Denis Barbier
On Fri, Aug 26, 2005 at 07:45:26PM +0200, Jutta Wrage wrote:
 Package: www.debian.org
 Severity: normal
 Tags: patch
 
 Hi!
 
 The set of patches applied to this mail make 17163 pages validationg with 
 HTML strict. A full build (without chinese, which does not build on
 PPC) can be seen at http://www.witch.westfalen.de/debian/dwww2/.

Hi Jutta,

Can you please enable content negociation?  When following links, eg
to the social contract, a 404 error is returned.

[...]
 If you find an issue with the patches, please do not hesitate to 
 contact me, before applying the patches.

I would also like to fix xhtml issues in templates files, so I will
take this opportunity to commit both your changes and mine within
a couple of days, unless of course someone already commit your patch
or has objections.

 --- english/debian.css15 Aug 2005 17:59:18 -  1.29
 +++ english/debian.css26 Aug 2005 16:53:31 -
 @@ -43,19 +43,21 @@
[...]
  #pagewidth {
 - width: 100%;
 + width:100%;
   text-align: left;
  }
  
  /* now the header*/
  #header {
   margin-left: -3px;
 - width: 100%;
 + width:100%;

Are these changes really mandatary?  I prefer with spaces.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: help fixing XHTML pages

2005-08-23 Thread Denis Barbier
On Mon, Aug 22, 2005 at 04:42:46PM +0200, Frans Pop wrote:
 On Monday 22 August 2005 13:04, Tommi Vainikainen wrote:
  These files called templates you will find from
  webwml/english/template/debian directory. You probably need to adjust
  those files to use XHTML instead of what current HTML 4.01
  Transitional, and then go trough every page and check with XHTML
  validator that those are really valid XHTML.
 
 Would it be useful to do this in a branch first and make a build result 
 available on a separate website so people can test the result before 
 implementing it on www.d.o?

Not necessarily, this can be done gradually. E.g. you can add
  -D DOCTYPE=xhtml
  -W2,--expansion=0
to a .wmlrc file into any directory, and all files under this directory
will be built with XHTML doctype.  The problem is that compilation will
fail for most files, because tags have to be properly closed.  So the
first step is to fix english/template/debian/*.wml files, then test
XHTML output on a small directory.
But again, XHTML generation will fail if tags are not properly nested,
so this is a very invasive change and I am not sure that it is worth.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: http://www.debian.org/intl/l10n/templates/ does not list Romanian

2005-08-04 Thread Denis Barbier
On Wed, Aug 03, 2005 at 06:41:07PM +0200, Frans Pop wrote:
 On Wednesday 03 August 2005 17:18, Eddy Petrisor wrote:
  I have just observed that http://www.debian.org/intl/l10n/templates/
  does not list Romanian with Debconf templates.
 
  There are just a few, but would be nice to have a progress of the
  debconf translation in Romanian.
 
 The funny thing is that the page with details is still there:
 http://www.debian.org/intl/l10n/templates/ro
 But it was last generated on December 24th, 2002.

Yes, since this date, there are no more Romanian translations with old
templates style.  Usually HTML pages without sources are deleted by the
remove_stale.pl script, but it is instructed to not touch files under
/intl/l10n/.
Normally files under /intl/l10n/{templates,po,po-debconf}/ are generated
daily, so they could safely be removed if they are more than a month
old, I should have then enough time to fix these pages when they break.

Webmasters, could you please consider adding this oneliner to the
lessoften script?  (After testing that it works ;))
  find $webdir/international/l10n/{templates,po,po-debconf}/ -type f -mtime 30 
-exec rm -f {} \;

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bug#307978: Update 'sarge' and 'releases' web pages

2005-05-09 Thread Denis Barbier
On Mon, May 09, 2005 at 02:25:39AM +0200, Frédéric Bothamy wrote:
 * Javier Fernández-Sanguino Peña [EMAIL PROTECTED] [2005-05-08 23:58] :
  On Sat, May 07, 2005 at 08:08:30PM +0200, Frédéric Bothamy wrote:
   
   Could you please fix the webwml/english/releases/potato/index.wml file?
   It seems that you changed this file along the sarge/index.wml and the
   changes include diff conflicts.
   
  
  Done, sorry for the mess.
 
 Thanks, I wonder if there is a way to update translation-check for
 translation files without actually changing the english file (since it
 has already been changed) using smart_change.pl...

Hi Frédéric, the -p flag was introduced for this purpose, but it won't
work if the English file had been committed more than once.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian WWW CVS commit by thuriaux: webwml/french Bugs/server-control.wml News/199 ...

2005-04-30 Thread Denis Barbier
On Sat, Apr 30, 2005 at 05:01:37PM +0200, Denis Barbier wrote:
 On Sat, Apr 30, 2005 at 08:48:26AM -0600, Debian WWW CVS wrote:
  
  Log message:
  Fix spelling:
  
  assignement, Aix-la-chapelle, automagiquement, discution, Andalucia,
 
 Pour automagiquement, je pense que c'est fait exprès pour traduire
 automagically, qui est un jeu de mots en faisant la contraction de
 automatically et magically. Ça marche aussi en français ;)

Sorry, wrong list, it was for debian-l10n-french.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Patch for stattrans.pl

2005-04-25 Thread Denis Barbier
On Mon, Apr 25, 2005 at 04:32:45PM +0200, Luca Monducci wrote:
 Hello,
 
 please apply this trivial patch to fix the HTML in generated pages.

Committed, thanks.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: various fixes for stattrans.pl

2005-04-20 Thread Denis Barbier
On Mon, Apr 18, 2005 at 11:10:40AM +0200, Thomas Huriaux wrote:
 Hi,
 
 This patch fixes a few things in stattrans.pl:
 * fix a bug when the original no longer exists (the
   elsif ( !$version  $transversion) was never true
 * warn when translation-check version is higher than the original
   file version
 * if both english and $lang files have no translation-check header,
   assume that english is the original (instead of $lang)
 
 Can somebody check this patch and tell me if each change is ok before
 I commit it?

Your changes look fine, I have only minor comments below:

[...]
   $version{$lang/$file} = $altcvs-revision($f);
   if (!$transcheck-revision()) {
 - $original{english/$file} = $lang;
 - $transversion{english/$file} ||= 1.1;
 + $transcheckenglish = Webwml::TransCheck-new(english/$file);
 + if (!$transcheckenglish-revision() and (-e english/$file)) {
 + $transversion{$lang/$file} = 1.1;
 + $original{$lang/$file} = english;
 + } else {
 + $original{english/$file} = $lang;
 + $transversion{english/$file} ||= 1.1;
 + }

English files are processed first, so there is IMO no need to introduce
$transcheckenglish, you can instead try (not tested)
  if (-e english/$file  !defined($transversion{english/$file})) {
$transversion{$lang/$file} = 1.1;
$original{$lang/$file} = english;
  } else {
$original{english/$file} = $lang;
$transversion{english/$file} ||= 1.1;
  }
With both versions (yours and mine), $original{english/$file} is set if
english/$file does not exist, I do not know whether this causes trouble.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Lock in webwml repo prevents site update

2005-04-11 Thread Denis Barbier
Hi,

  http://www-master.debian.org/build-logs/webwml/cvs_update.log
shows
  cvs server: Updating english/News/weekly/2005/14
  cvs server: failed to create lock directory for
  `/cvs/webwml/webwml/english/News/weekly/2005/14'
  (/cvs/webwml/webwml/english/News/weekly/2005/14/#cvs.lock):
  Permission denied
  cvs server: failed to obtain dir lock in repository
  `/cvs/webwml/webwml/english/News/weekly/2005/14'
  cvs [server aborted]: read lock failed - giving up

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Faulty l10n pages

2005-04-10 Thread Denis Barbier
On Sun, Apr 10, 2005 at 04:30:33PM +0300, Matti Pöllä wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello,
 
 There seems to be something wrong with the localization pages at
 
 http://www.debian.org/international/l10n/po-debconf/pot.en.html
 
 where only a small fraction of the packages are shown.

The corrupted files on gluck have been regenerated, but synchronization
takes some time; above pages will be fixed within a couple of days.
Thanks for your report.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#302050: packages.debian.org: some new packages are not listed in DWN

2005-03-29 Thread Denis Barbier
Package: www.debian.org
Severity: minor

Hi,

my belocs-locales-data package entered unstable too late for previous
DWN, but it exited http://packages.debian.org/unstable/newpkg_main
before the current one is published.  As DWN are published on Tuesday,
it would be nice if this page was not updated the same day.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#294825: www.debian.org: patches for removing table layout from devel/index.lang.html

2005-02-22 Thread Denis Barbier
On Fri, Feb 11, 2005 at 09:07:39PM +0100, Jutta Wrage wrote:
 Package: www.debian.org
 Version: N/A; reported 2005-02-11
 Severity: normal
 Tags: patch
 
 Hi!
 
 Last weekend I prepared patches to remove table layout from the devel
 index pages. Using css for building the cards will increase
 accessibility.
 
 Could someone apply the patches to the wml files in CVS?
 
 Here the patches for the changed index pages at
 http://www.debian.org/devel/:
 
 wget http://www.witch.westfalen.de/debian/diff/develindex.diff
 
 There are single patch files for each language, too. The css is already
 prepared for that pages, so there is not need to wait with patching the
 devel index pages until the new css are on all mirrors.

I will commit this patch tomorrow if there is no objection.
Thanks for your hard work, Jutta.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#290187: www.debian.org: packages.debian.org recently got uglier in non-CSS browsers

2005-01-18 Thread Denis Barbier
On Tue, Jan 18, 2005 at 10:23:48AM +0100, Frank Lichtenheld wrote:
 On Sun, Jan 02, 2005 at 01:42:28AM -0500, Brian Sammon wrote:
  This change has happened in the past week or two, as far as I can tell; I
  look at packages.debian.org at least once or twice a week.
  When I look at a package info page with my non-CSS browser, where it used to
  display a graphical bullet color-coded to the type of dependency, now it
  just displays [dep] or [sug] or [rec].  This makes it take me longer to scan
  the page to determine which dependencies I am interested in.
  
  You can see this if you use the dillo browser.
  Has a decision been made to only support CSS browsers?
 
 In this case I wouldn't have cared to actually add the [dep], would
 I? ;)
 
 Seriously speaken it just didn't occur to me that one would think of that
 as really harder to scan (and for the non-CSS text browsers it doesn't
 makes a difference, anyway). But I see your point.
 
 What do you think about something like
 http://packages.debian.net/unstable/graphics/scribus ? I replaced the
 [dep] string with the image and put the [dep] into the alt attribute.
 It doesn't look really nice because of the linebreak after the image
 but I only can change that with CSS.

Please note also that the new layout is less Lynx-friendly because it
adds vertical space.  Entries are now in the form:
  ol
li[dep] dldtpackage name/dtddpackage description/dd/dl/li
...
  /ol
It may be replaced by
  dl
dt[dep] package name/dtddpackage description/dd
...
  /dl
where [dep] is rendered like now by an alt attribute or hidecss.

This also applies for the download table, it is much longer than before
and is pretty annoying.  In order to be usable, rows and cols have to
be swapped, i.e. display would look like
 ArchList of files   SizeInstalled size
alpha   [list of files]   200 500
 arm[list of files]   200 500
...
It is then readable with Lynx, but looks surely ugly with graphical
browsers, so you may be reluctant to perform such a change.  In this
case, please at least move this table below
  Search for other versions of package
so that we do not have to scroll down to read useful information, or
move it to a dedicated 'download' page.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Notification about outdated translations by email doesn't work

2004-12-27 Thread Denis Barbier
On Mon, Dec 27, 2004 at 11:41:49PM +0100, Juraj Kubelka wrote:
 Hi!
 
 Can you help me? I think I'm not notified about changes in webwml by
 email.
 
 There are outdated pages:
 
 http://www.debian.org/devel/website/stats/cs.html#outdated
 
 There is translator.db.pl file for Czech translations:
 
 http://cvs.debian.org/webwml/czech/international/czech/translator.db.pl?rev=1.3cvsroot=webwmlcontent-type=text/vnd.viewcvs-markup

There are no automatic notifications.  Here are files derived from our
(=French team) setup:
  * czech/international/czech/Makefile: you can commit it
  * cron-webwml-mail: this script has to be run daily on a machine with
webwml checkout (at least english, czech and Perl directories, plus
some scripts on top-level directory).  Replace address_for_orphaned_pages
by a valid address, and test this script: IIRC you can add -g flag
and replace default address (i.e. after -m flag) with yours, you
then receive all mails.

Denis
WMLBASE=../..
CUR_DIR=international/czech

include $(WMLBASE)/Make.lang

check_trans.status: FORCE
: [EMAIL PROTECTED]
echo '#  File automatically generated with the following command:'  
[EMAIL PROTECTED]
echo '#../../../check_trans.pl -C ../../.. -t perl czech  $@'  
[EMAIL PROTECTED]
echo '#  DO NOT EDIT!'  [EMAIL PROTECTED]
../../../check_trans.pl -C ../../.. -t perl czech  [EMAIL PROTECTED]
if [ -f $@ ]; then \
cmp $@ [EMAIL PROTECTED] /dev/null 21 \
|| mv [EMAIL PROTECTED] $@; \
else \
mv [EMAIL PROTECTED] $@; \
fi
-rm -f [EMAIL PROTECTED] /dev/null 21

.PHONY: FORCE

#! /bin/sh -e

#   cron-webwml-mail:  send notification mails to translators

d1=`date +%d`
d2=`date +%w`
if   [ x$d1 == x1 ] ; then
   freq=1;
elif [ x$d2 == x5 ] ; then
   freq=2;
else
   freq=3;
fi

cd webwml
cvs -q update -P -d
make -C czech/international/czech check_trans.status
./check_trans.pl -Q -q -m address_for_orphaned_pages -n $freq -c iso-8859-2 
czech



Re: RSS on w.d.o/security/index.en.html

2004-12-25 Thread Denis Barbier
On Sat, Dec 25, 2004 at 11:54:55AM +0100, Peter Karlsson wrote:
  There is also something strange on
http://www.debian.org/security/dsa-long.en.rdf
  the description about dsa-614 is not identical to what is found in
  dsa-614.wml, and AFAICT it can not have been generated from any version
  of this file in CVS.
 
 What's wrong with it?

Hmmm, I was confused by updating French translation of DSA 608.
Anyway, it looks like I was not the only one being confused, dsa-614.wml
should certainly be modified by:
 -pLuke infamous41md discoverd multiple vulnerabilities in xzgv, a
 +pinfamous41md discovered multiple vulnerabilities in xzgv, a

Denis



RSS on w.d.o/security/index.en.html

2004-12-24 Thread Denis Barbier
Hi,

http://www.debian.org/security/index.en.html looks pretty bad with lynx
because RSS feeds have long titles, can they be shortened?

There is also something strange on
  http://www.debian.org/security/dsa-long.en.rdf
the description about dsa-614 is not identical to what is found in
dsa-614.wml, and AFAICT it can not have been generated from any version
of this file in CVS.

Denis



Re: html page from wml?

2004-12-20 Thread Denis Barbier
On Mon, Dec 20, 2004 at 10:13:52PM +0100, Stanislav Valasek wrote:
[...]
 But make gives me folloving error:
  make
 /home/valasek/Praca/webwml_all/slovak/Makefile:1:
 /home/valasek/Praca/webwml_all/slovak/Makefile: Too many open files
 make: *** No targets.  Stop.
 
 Kernel value is set to: fs.file-max = 47435.
 
 Or for slovak directory:
 [EMAIL PROTECTED]:~/Praca/webwml_all$ make slovak
 make: Nothing to be done for `slovak'
 
 Could you please point me to what I am doing wrong?

Your webwml_all directory has to be renamed into webwml.

Denis



Re: html page from wml?

2004-12-20 Thread Denis Barbier
On Mon, Dec 20, 2004 at 11:17:53PM +0100, Stanislav Valasek wrote:
  Your webwml_all directory has to be renamed into webwml.
 Your webwml_all directory has to be renamed into webwml.
 Done but the same output:
 [EMAIL PROTECTED]:~/Downloads/webwml$ make slovak
 make: Nothing to be done for `slovak'.
 
 Did I use make with correct parameter and in correct directory?

  $ cd slovak
  $ make
or
  $ make -C slovak

Denis



Re: Patch debian-www with css

2004-12-15 Thread Denis Barbier
On Wed, Dec 15, 2004 at 03:22:30AM +0100, Frédéric Bothamy wrote:
 Here are two remarks/complaints:
 
 - the CD pages don't validate any more

Fixed now.

Denis



Re: Patch debian-www with css

2004-12-15 Thread Denis Barbier
On Wed, Dec 15, 2004 at 02:30:39AM +0100, Jutta Wrage wrote:
 
 Am Montag, 13.12.04 um 23:26 Uhr schrieb Denis Barbier:
 
 http://www.debian.org/devel/index.en.html
 http://www.witch.westfalen.de/debian/dwww/devel/index.en.html
 
 There is on the main page an ugly white ruler with black on white
 settings.  Otherwise it looks good.
 
 I meant white on black, sorry.
 
 The hr below the first paragraph?

No, there is on the main page a vertical ruler between the left menu and
main contents, here is a snapshot when viewing your page:
  http://people.debian.org/~barbier/tmp/moz.gif

Denis



Re: Patch debian-www with css

2004-12-14 Thread Denis Barbier
On Sun, Dec 05, 2004 at 02:26:08PM +0100, Jutta Wrage wrote:
[...]
 Feel free to apply the patch and include the debian.css file. I can 
 send it by mail, if you do not want to fetch it from the above url.
 
 I'll leave everything in place here. So if you want later changes, I 
 can make them and send you a new patch. The css file should be handled 
 carfully by those working on the server as changes may be harmful.

D'oh, I did not notice that Frank committed your patch days ago.
This is the problem with smooth upgrades, one does not notice when
things change ;)
As there have been no complaints so far, I guess that it is time to go
further and now propose navigation/layout/accessibility changes to see
if we can improve the current web site.

Denis



Re: Patch debian-www with css

2004-12-13 Thread Denis Barbier
On Tue, Dec 07, 2004 at 05:42:08PM -0600, Manoj Srivastava wrote:
 On Sun, 5 Dec 2004 21:32:32 +0100, Denis Barbier [EMAIL PROTECTED] said: 
 
  I build all English pages after applying Jutta's patch, available at
 http://people.debian.org/~barbier/juttaw/
  Please test these pages, I am willing to commit this patch soon.
 
   I was wondering how the vote pages would show up (since they
  contain custom css), but unfortunately they do not seem to have been
  rendered. 
 
  Not Found
  The requested URL /~barbier/juttaw/vote/ was not found on this server.
 
   Do the vote pages turn out OK? Including the stats for
  previous votes?

These files are now generated, but Jutta's pages at
  http://www.witch.westfalen.de/debian/dwww/vote/
should be more up-to-date.

Denis



Re: Patch debian-www with css

2004-12-13 Thread Denis Barbier
On Sun, Dec 12, 2004 at 02:13:42PM +0100, Jutta Wrage wrote:
[...]
 Can you please compare the next two URLS:
 
 http://www.debian.org/devel/index.en.html
 http://www.witch.westfalen.de/debian/dwww/devel/index.en.html

There is on the main page an ugly white ruler with black on white
settings.  Otherwise it looks good.

Denis



Re: Patch debian-www with css

2004-12-13 Thread Denis Barbier
On Mon, Dec 13, 2004 at 10:30:42PM +0100, Denis Barbier wrote:
 On Sun, Dec 12, 2004 at 02:13:42PM +0100, Jutta Wrage wrote:
 [...]
  Can you please compare the next two URLS:
  
  http://www.debian.org/devel/index.en.html
  http://www.witch.westfalen.de/debian/dwww/devel/index.en.html
 
 There is on the main page an ugly white ruler with black on white
 settings.  Otherwise it looks good.

I meant white on black, sorry.

Denis



Re: Patch debian-www with css

2004-12-09 Thread Denis Barbier
[Frank Lichtenheld]
 On Thu, Dec 09, 2004 at 02:51:17AM +0100, Frank Lichtenheld wrote:
  On Tue, Dec 07, 2004 at 10:41:59PM +0100, Denis Barbier wrote:
   And a new new version:  I removed the style tag, it seems quite
   useless, and added a missing p in languages.wml.
 
  I applied the patch at my working copy and my general test pages
  are now build with it. See http://higgs.djpig.de/debian-www/
 
  A few notes:
  http://higgs.djpig.de/debian-www/index.en.html: In my browser, the
   Devolpers' Corner in the navbar is wider than the actual navbar.

 This problem is really ugly for the German front page as I just had to
 realize (http://higgs.djpig.de/debian-www/index.de.html). I hesitate
 to apply the patch therefor...

[Sorry for breaking this thread by using this webmail]

IMO there are 2 distinct problems: CSS and HTML.  If only CSS needs to be
fixed, there is no reason to not apply the patch and fix debian.css later,
this can be done very quickly.  OTOH if HTML needs to be fixed, it is
better to update the patch in order to minimize full builds.  But I do not
know just now to which category these problems belong, so I leave the
decision to you ;)

--
Denis



Re: Patch debian-www with css

2004-12-09 Thread Denis Barbier
On Thu, Dec 09, 2004 at 01:36:45PM +0100, Frank Lichtenheld wrote:
 On Thu, Dec 09, 2004 at 02:51:17AM +0100, Frank Lichtenheld wrote:
  On Tue, Dec 07, 2004 at 10:41:59PM +0100, Denis Barbier wrote:
   And a new new version:  I removed the style tag, it seems quite
   useless, and added a missing p in languages.wml.
  
  I applied the patch at my working copy and my general test pages
  are now build with it. See http://higgs.djpig.de/debian-www/
  
  A few notes:
  http://higgs.djpig.de/debian-www/index.en.html: In my browser, the
   Devolpers' Corner in the navbar is wider than the actual navbar.
 
 This problem is really ugly for the German front page as I just had to
 realize (http://higgs.djpig.de/debian-www/index.de.html). I hesitate
 to apply the patch therefor...

Leftcol width (and thus maincol left-margin) should certainly be language
dependent.  Can we deal with several CSS (and how?), or do we have to
provide a whole CSS file per language?

Denis



Re: Patch debian-www with css

2004-12-09 Thread Denis Barbier
On Fri, Dec 10, 2004 at 12:22:29AM +0100, Jutta Wrage wrote:
 
 Am Freitag, 10.12.04 um 00:09 Uhr schrieb Denis Barbier:
 
 Leftcol width (and thus maincol left-margin) should certainly be 
 language
 dependent.  Can we deal with several CSS (and how?), or do we have to
 provide a whole CSS file per language?
 
 We fixed that a bit.
 But I'll search for a better solution. The width should be auto without 
 the maincol moving down, if possible.

You cannot set a width for leftcol which works for all languages, so
I am pretty sure that we will need some debian.lang.css files when
default values are not good.
How are we supposed to load several CSS files?

Denis



Re: Errors in WML build logs

2004-12-07 Thread Denis Barbier
On Mon, Dec 06, 2004 at 07:13:33PM -0800, Matt Kraai wrote:
 On Fri, Dec 03, 2004 at 08:10:44PM +0100, Denis Barbier wrote:
  there are several strange errors in WML build logs, it looks like
  some installed HTML files do not have the right permissions or
  owner.
  Could someone with access to www-master please have a look?
  I will check */searchtmpl/search.wml, there are other failures
  with these files.
  It seems also that latest builds did not occur, no idea why.
  In case it runs again, a backup of current WML log is available at
http://people.debian.org/~barbier/wml_run.log.gz
 
 Has this been fixed?

Yes, thanks.

Denis



Re: Patch debian-www with css

2004-12-07 Thread Denis Barbier
On Sun, Dec 05, 2004 at 11:11:24PM +0100, Frank Lichtenheld wrote:
 On Sun, Dec 05, 2004 at 02:26:08PM +0100, Jutta Wrage wrote:
  Thanks to those Developers looking into the pages (especially if they 
  did not get worse  for blind people)!
  
  Feel free to apply the patch and include the debian.css file. I can 
  send it by mail, if you do not want to fetch it from the above url.
 
 Two short comments to the patch (also discussed on IRC):
 
 1) There are some empty style/style in it, I think they can be
 removed,
 2) The path to the debian.css should begin with $(HOME) or something
 like that, in the patch it is abolute.

Here is an updated patch.  It will surely be applied on Thursday,
but before that I will duplicate current templates files so that
nm.debian.org does not get affected by these changes.  We did not have
time yet to check that they do not break nm.d.o and this is not trivial.
Martin, could you please check if these changes have no bad impact on
nm.d.o?

Denis



Re: Patch debian-www with css

2004-12-07 Thread Denis Barbier
On Tue, Dec 07, 2004 at 07:54:58AM +0100, Denis Barbier wrote:
 Here is an updated patch.

Yep.

Denis
Index: basic.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/basic.wml,v
retrieving revision 1.78
diff -u -r1.78 basic.wml
--- basic.wml   2 Dec 2004 21:01:42 -   1.78
+++ basic.wml   5 Dec 2004 12:47:03 -
@@ -26,16 +26,22 @@
   meta name=Generator content=WML $(WML_VERSION) /
   meta name=Modified  content=$(WML_GEN_ISOTIME) /
 {#style#}
+link href=$(HOME)/debian.css rel=stylesheet type=text/css /
+style type=text/css media=all /
 /head
-body text=#00 bgcolor=#FF link=$(LINK:-#FF) 
vlink=$(VLINK:-#800080) alink=$(ALINK:-#FF)
+body
 
 $(NONAVBAR:+# )#use wml::debian::navbar
-
+div id=outer
+div id=inner
 {#body#}
-
+/div !-- end inner --
+div id=footer
 {#pre_footer#}
 #use wml::debian::footer NOCOMMENTS=$(NOCOMMENTS) 
NOCOPYRIGHT=$(NOCOPYRIGHT)
 {#post_footer#}
+/div !-- end footer --
+/div !-- end outer --
 /body
 :}
 /html
Index: common_tags.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/common_tags.wml,v
retrieving revision 1.8
diff -u -r1.8 common_tags.wml
--- common_tags.wml 7 Nov 2003 16:04:14 -   1.8
+++ common_tags.wml 5 Dec 2004 12:47:04 -
@@ -1,4 +1,5 @@
 define-tag hrlinehr noshade width=100% size=1 //define-tag
+define-tag hrlinehiddenhr class =hidecss //define-tag
 
 define-tag urla href=%0%0/a/define-tag
 define-tag newsurlurl %0 //define-tag
Index: consultant.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/consultant.wml,v
retrieving revision 1.54
diff -u -r1.54 consultant.wml
--- consultant.wml  2 Dec 2004 21:01:42 -   1.54
+++ consultant.wml  5 Dec 2004 12:47:04 -
@@ -16,7 +16,7 @@
 {#check_trans#}
 
 {#pre_footer#:
-hrline/
+hrlinehidden/
 
 returnconsult/
 
Index: header.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/header.wml,v
retrieving revision 1.10
diff -u -r1.10 header.wml
--- header.wml  2 Dec 2004 21:01:43 -   1.10
+++ header.wml  5 Dec 2004 12:47:06 -
@@ -22,5 +22,7 @@
   meta name=Generator content=WML $(WML_VERSION) /
   meta name=Modified  content=$(WML_GEN_ISOTIME) /
 {#style#}
+link href=$(HOME)/debian/debian.css rel=stylesheet type=text/css /
+style type=text/css media=all /
 /head
-body text=#00 bgcolor=#FF link=$(LINK:-#FF) 
vlink=$(VLINK:-#800080) alink=$(ALINK:-#FF)
+body
Index: languages.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/languages.wml,v
retrieving revision 1.131
diff -u -r1.131 languages.wml
--- languages.wml   1 Dec 2004 23:55:41 -   1.131
+++ languages.wml   5 Dec 2004 12:47:07 -
@@ -158,10 +158,10 @@
   # printf STDERR join(', ', @used_langs);
 
   if ($rel_dir eq   $file eq sitemap) { # special case for the site map
-$str .= \n;
 $str .= !--UdmComment--\n;
-$str .= q{gettextThis page is also available in the following 
languages:/gettext}.\n;
-$str .= br /\n;
+$str .= p\n;
+$str .= q{gettextThis page is also available in the following 
languages:/gettext}./p\n;
+$str .= p class=\navpara\\n;
 foreach (keys %langs) {
   if ($_ ne lc($cur_lang) or $cur_lang eq Chinese) {
 $sorted_langs{$selflang{$_}} = $_;
@@ -171,21 +171,23 @@
   $cur_lang = $sorted_langs{$_};
   $tooltip = $trans{$CUR_ISO_LANG}{$cur_lang};
   if ($cur_lang ne chinese) {
-$str .= a href=\$file.$langs{$cur_lang}.html\ title=\$tooltip\ 
hreflang=\$langs{$cur_lang}\ lang=\$langs{$cur_lang}\ rel=\alternate\$_;
-$str .= nbsp;($translit{$cur_lang}) if defined $translit{$cur_lang};
-$str .= /anbsp;\n;
+$str .=  a href=\$file.$langs{$cur_lang}.html\ title=\$tooltip\ 
hreflang=\$langs{$cur_lang}\ lang=\$langs{$cur_lang}\ rel=\alternate\$_;
+$str .= nbsp;($translit{$cur_lang}) if defined $translit{$cur_lang};
+$str .= /a\n;
   } else {
-$str .= a href=\$file.$langs{$cur_lang}-cn.html\ title=\$tooltip 
(CNc/)\ hreflang=\$langs{$cur_lang}-CN\ lang=\$langs{$cur_lang}-CN\ 
rel=\alternate\ style=\white-space: nowrap\$_(#31616;)/anbsp;\n;
-$str .= a href=\$file.$langs{$cur_lang}-hk.html\ title=\$tooltip 
(HKc/)\ hreflang=\$langs{$cur_lang}-HK\ lang=\$langs{$cur_lang}-HK\ 
rel=\alternate\ style=\white-space: nowrap\$_(HK)/anbsp;\n;
-$str .= a href=\$file.$langs{$cur_lang}-tw.html\ title=\$tooltip 
(TWc/)\ hreflang=\$langs{$cur_lang}-TW\ lang=\$langs{$cur_lang}-TW\ 
rel=\alternate\ style=\white-space: nowrap\$_(#32321;)/anbsp;\n;
+$str .=  a href=\$file.$langs{$cur_lang}-cn.html\ title=\$tooltip 
(CNc/)\ hreflang=\$langs{$cur_lang}-CN\ lang=\$langs{$cur_lang}-CN\ 
rel

Re: Patch debian-www with css

2004-12-07 Thread Denis Barbier
On Tue, Dec 07, 2004 at 01:27:17PM +0100, Frank Lichtenheld wrote:
 On Tue, Dec 07, 2004 at 07:54:58AM +0100, Denis Barbier wrote:
  Here is an updated patch.  It will surely be applied on Thursday,
  but before that I will duplicate current templates files so that
  nm.debian.org does not get affected by these changes.  We did not have
  time yet to check that they do not break nm.d.o and this is not trivial.
  Martin, could you please check if these changes have no bad impact on
  nm.d.o?
 
 Given the small userbase of nm.debian.org, can't we just apply
 it and fix problems then?

Fine by me, Cc'ing Martin to ensure that he is aware.

 For me, it seems non-trivial to set up a good testing site (because of
 all the used databases). Since the webwml group has CVS write access
 to the newmaint files you or me surely could quickly fix any problems.
 In case of really grave problems we surely get a webmaster to do an
 instant rebuild, too.

I just updated newmaint/Makefile to copy debian.css into $(TARGETDIR),
we can apply the patch and see what is broken.  Jutta can help fixing
CSS bugs after 20:00 CET (IIRC, I did not log our IRC conversation),
so this patch could be applied before 15:24 CET, but unfortunately
I am at work then and can not commit.
Jutta will be busy tomorrow, and we did not want to stress Joey today,
can you (or someone else) please commit this patch on Thursday?

Denis



Re: Patch debian-www with css

2004-12-07 Thread Denis Barbier
On Tue, Dec 07, 2004 at 08:00:20AM +0100, Denis Barbier wrote:
 On Tue, Dec 07, 2004 at 07:54:58AM +0100, Denis Barbier wrote:
  Here is an updated patch.
 
 Yep.

And a new new version:  I removed the style tag, it seems quite
useless, and added a missing p in languages.wml.

Denis
Index: basic.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/basic.wml,v
retrieving revision 1.78
diff -u -r1.78 basic.wml
--- basic.wml   2 Dec 2004 21:01:42 -   1.78
+++ basic.wml   7 Dec 2004 21:31:59 -
@@ -26,16 +26,21 @@
   meta name=Generator content=WML $(WML_VERSION) /
   meta name=Modified  content=$(WML_GEN_ISOTIME) /
 {#style#}
+{#style#:link href=$(HOME)/debian.css rel=stylesheet type=text/css 
/:#style#}
 /head
-body text=#00 bgcolor=#FF link=$(LINK:-#FF) 
vlink=$(VLINK:-#800080) alink=$(ALINK:-#FF)
+body
 
 $(NONAVBAR:+# )#use wml::debian::navbar
-
+div id=outer
+div id=inner
 {#body#}
-
+/div !-- end inner --
+div id=footer
 {#pre_footer#}
 #use wml::debian::footer NOCOMMENTS=$(NOCOMMENTS) 
NOCOPYRIGHT=$(NOCOPYRIGHT)
 {#post_footer#}
+/div !-- end footer --
+/div !-- end outer --
 /body
 :}
 /html
Index: common_tags.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/common_tags.wml,v
retrieving revision 1.8
diff -u -r1.8 common_tags.wml
--- common_tags.wml 7 Nov 2003 16:04:14 -   1.8
+++ common_tags.wml 7 Dec 2004 21:31:59 -
@@ -1,4 +1,5 @@
 define-tag hrlinehr noshade width=100% size=1 //define-tag
+define-tag hrlinehiddenhr class =hidecss //define-tag
 
 define-tag urla href=%0%0/a/define-tag
 define-tag newsurlurl %0 //define-tag
Index: consultant.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/consultant.wml,v
retrieving revision 1.54
diff -u -r1.54 consultant.wml
--- consultant.wml  2 Dec 2004 21:01:42 -   1.54
+++ consultant.wml  7 Dec 2004 21:32:00 -
@@ -16,7 +16,7 @@
 {#check_trans#}
 
 {#pre_footer#:
-hrline/
+hrlinehidden/
 
 returnconsult/
 
Index: header.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/header.wml,v
retrieving revision 1.10
diff -u -r1.10 header.wml
--- header.wml  2 Dec 2004 21:01:43 -   1.10
+++ header.wml  7 Dec 2004 21:32:00 -
@@ -22,5 +22,6 @@
   meta name=Generator content=WML $(WML_VERSION) /
   meta name=Modified  content=$(WML_GEN_ISOTIME) /
 {#style#}
+{#style#:link href=$(HOME)/debian.css rel=stylesheet type=text/css 
/:#style#}
 /head
-body text=#00 bgcolor=#FF link=$(LINK:-#FF) 
vlink=$(VLINK:-#800080) alink=$(ALINK:-#FF)
+body
Index: languages.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/languages.wml,v
retrieving revision 1.131
diff -u -r1.131 languages.wml
--- languages.wml   1 Dec 2004 23:55:41 -   1.131
+++ languages.wml   7 Dec 2004 21:32:00 -
@@ -158,10 +158,10 @@
   # printf STDERR join(', ', @used_langs);
 
   if ($rel_dir eq   $file eq sitemap) { # special case for the site map
-$str .= \n;
 $str .= !--UdmComment--\n;
-$str .= q{gettextThis page is also available in the following 
languages:/gettext}.\n;
-$str .= br /\n;
+$str .= p\n;
+$str .= q{gettextThis page is also available in the following 
languages:/gettext}./p\n;
+$str .= p class=\navpara\\n;
 foreach (keys %langs) {
   if ($_ ne lc($cur_lang) or $cur_lang eq Chinese) {
 $sorted_langs{$selflang{$_}} = $_;
@@ -171,21 +171,23 @@
   $cur_lang = $sorted_langs{$_};
   $tooltip = $trans{$CUR_ISO_LANG}{$cur_lang};
   if ($cur_lang ne chinese) {
-$str .= a href=\$file.$langs{$cur_lang}.html\ title=\$tooltip\ 
hreflang=\$langs{$cur_lang}\ lang=\$langs{$cur_lang}\ rel=\alternate\$_;
+$str .=  a href=\$file.$langs{$cur_lang}.html\ title=\$tooltip\ 
hreflang=\$langs{$cur_lang}\ lang=\$langs{$cur_lang}\ rel=\alternate\$_;
 $str .= nbsp;($translit{$cur_lang}) if defined $translit{$cur_lang};
-$str .= /anbsp;\n;
+$str .= /a\n;
   } else {
-$str .= a href=\$file.$langs{$cur_lang}-cn.html\ title=\$tooltip 
(CNc/)\ hreflang=\$langs{$cur_lang}-CN\ lang=\$langs{$cur_lang}-CN\ 
rel=\alternate\ style=\white-space: nowrap\$_(#31616;)/anbsp;\n;
-$str .= a href=\$file.$langs{$cur_lang}-hk.html\ title=\$tooltip 
(HKc/)\ hreflang=\$langs{$cur_lang}-HK\ lang=\$langs{$cur_lang}-HK\ 
rel=\alternate\ style=\white-space: nowrap\$_(HK)/anbsp;\n;
-$str .= a href=\$file.$langs{$cur_lang}-tw.html\ title=\$tooltip 
(TWc/)\ hreflang=\$langs{$cur_lang}-TW\ lang=\$langs{$cur_lang}-TW\ 
rel=\alternate\ style=\white-space: nowrap\$_(#32321;)/anbsp;\n;
+$str .=  a href=\$file.$langs{$cur_lang}-cn.html\ title=\$tooltip 
(CNc

Re: Patch debian-www with css

2004-12-05 Thread Denis Barbier
On Sun, Dec 05, 2004 at 02:26:08PM +0100, Jutta Wrage wrote:
 Hi!
 
 After Denis' revision of the templates it was much easier to apply css 
 to the debian website.
 
 The css file itself will go to subdir/english and is not included in 
 the patch attached to this message.
 
 English language pages (I'll do two more today) built with patch 
 attached will be found at http://www.witch.westfalen.de/debian/dwww/ .

I build all English pages after applying Jutta's patch, available at
   http://people.debian.org/~barbier/juttaw/
Please test these pages, I am willing to commit this patch soon.

The only problems I can see are about debian.css:
  * I dislike centered text in the footer
  * Some text overlaps when using large fonts (e.g. in leftcol).
Maybe debian.css should first be committed into CVS so that we can all
work on fixing the reported issues?

 Beside replacing the menu tables by css style I created a new macro or 
 what ever it is called for a hidden hrline, which is to be seen only in 
 non-css browsers and replacing the box border for them.
 
 Another thing is the script creating the mail for Weekly News. I did 
 not touch it, but made a centered H1 for lynx again. This is because 
 Lynx does not center H1 any longer, if there are divs.

Looks good, I will carefully check that makemail.pl works fine.

Denis



Re: broken Polish translations

2004-12-04 Thread Denis Barbier
On Sat, Dec 04, 2004 at 01:12:37AM +0100, Bartosz Fenski aka fEnIo wrote:
[...]
  are 'broken'. Instead of normal html page user can see only very few 
  words about some mailing list or just a blank page...
 
 Blank page is the most common result for me.

It is likely that www-master disk is full, someone needs to remove
useless stuff, and then all empty files wrongly generated.
But few people have access to this machine.

Denis



Errors in WML build logs

2004-12-03 Thread Denis Barbier
Hi,

there are several strange errors in WML build logs, it looks like
some installed HTML files do not have the right permissions or
owner.
Could someone with access to www-master please have a look?
I will check */searchtmpl/search.wml, there are other failures
with these files.
It seems also that latest builds did not occur, no idea why.
In case it runs again, a backup of current WML log is available at
  http://people.debian.org/~barbier/wml_run.log.gz

Denis



Re: Changes in templates

2004-12-02 Thread Denis Barbier
On Thu, Dec 02, 2004 at 01:28:13AM +0100, Frank Lichtenheld wrote:
 On Thu, Dec 02, 2004 at 12:58:18AM +0100, Denis Barbier wrote:
  They will help future patches written by Jutta Wrage, and I am going to
  commit them in a day or two if there is no objection.
 
 You may need to check your patch against the modifcations I did
 today to footer.wml inventing a pre_footer diversion, too.

You are right, here are updated patches.

Denis
Index: english/template/debian/basic.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/basic.wml,v
retrieving revision 1.76
diff -u -r1.76 basic.wml
--- english/template/debian/basic.wml   15 Jan 2002 22:43:06 -  1.76
+++ english/template/debian/basic.wml   1 Dec 2004 23:24:17 -
@@ -4,9 +4,9 @@
 #use wml::debian::common_translation
 #use wml::debian::common_tags
 
-#use wml::debian::header
+#use wml::debian::header LINK=$(LINK:-FF) VLINK=$(VLINK:-800080) 
ALINK=$(ALINK:-FF)
 
-#use wml::debian::navbar
+$(NONAVBAR:+# )#use wml::debian::navbar
 
 {#body#}
 
Index: english/template/debian/cdimage.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/cdimage.wml,v
retrieving revision 1.58
diff -u -r1.58 cdimage.wml
--- english/template/debian/cdimage.wml 3 Nov 2004 13:27:58 -   1.58
+++ english/template/debian/cdimage.wml 1 Dec 2004 23:24:17 -
@@ -76,7 +76,7 @@
 # for now, use the English pictures
 define-tag cdpiclangen/define-tag
 
-#use wml::debian::header LINK=#8c4939 VLINK=#45241c ALINK=#ff2600
+#use wml::debian::basic LINK=#8c4939 VLINK=#45241c ALINK=#ff2600 
NONAVBAR=true NOCOMMENTS=true
 
 table width=100% bgcolor=#ff border=0 cellspacing=0 
cellpadding=0
   tr
@@ -123,7 +123,7 @@
 
 {#check_trans#}
 
-{#body#}
+{#mainbody#}
 
 hrline/
 
@@ -155,6 +155,4 @@
 /table
 :#post_footer#}
 
-#use wml::debian::footer NOCOMMENTS=true
-
-{#body#:
+{#mainbody#:
Index: english/template/debian/header.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/header.wml,v
retrieving revision 1.8
diff -u -r1.8 header.wml
--- english/template/debian/header.wml  1 Jun 2004 21:15:08 -   1.8
+++ english/template/debian/header.wml  1 Dec 2004 23:24:17 -
@@ -23,4 +23,4 @@
   meta name=Modified  content=$(WML_GEN_ISOTIME) /
 {#style#}
 /head
-body text=#00 bgcolor=#FF link=$(LINK:-#FF) 
vlink=$(VLINK:-#800080) alink=$(ALINK:-#FF)
+body text=#00 bgcolor=#FF link=$(LINK) vlink=$(VLINK) 
alink=$(ALINK)
--- english/template/debian/basic.wml   2004-12-01 23:38:49.0 +0100
+++ english/template/debian/basic.wml   2004-12-01 23:50:34.0 +0100
@@ -4,12 +4,40 @@
 #use wml::debian::common_translation
 #use wml::debian::common_tags
 
-#use wml::debian::header LINK=$(LINK:-FF) VLINK=$(VLINK:-800080) 
ALINK=$(ALINK:-FF)
+ifeq $(DOCTYPE) xhtml
+   !DOCTYPE html PUBLIC \-//W3C//DTD XHTML 1.0 Transitional//EN\ 
\http://ww w.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\
+   !DOCTYPE HTML PUBLIC \-//W3C//DTD HTML 4.01 Transitional//EN\
+/
+# not using [AR: dir=RTL:] because apparently the whole page was flipped
+# and this wasn't desirable for them
+html lang=$(CUR_ISO_LANG)[FA: dir=RTL:]
+{:
+head
+  meta http-equiv=Content-Type content=text/html; charset=$(CHARSET) /
+  title$(BARETITLE:*Debian -- )$(title)/title
+  link rev=made href=mailto:[EMAIL PROTECTED] /
+when $(MAINPAGE)
+  link rel=shortcut icon href=favicon.ico /
+  meta name=Keywords  content=keywords/ /
+/when
+when $(SUMMARY)
+  meta name=Description content=$(SUMMARY) /
+/when
+  meta name=Generator content=WML $(WML_VERSION) /
+  meta name=Modified  content=$(WML_GEN_ISOTIME) /
+{#style#}
+/head
+body text=#00 bgcolor=#FF link=$(LINK:-#FF) 
vlink=$(VLINK:-#800080) alink=$(ALINK:-#FF)
 
 $(NONAVBAR:+# )#use wml::debian::navbar
 
 {#body#}
 
+{#pre_footer#}
 #use wml::debian::footer NOCOMMENTS=$(NOCOMMENTS) 
NOCOPYRIGHT=$(NOCOPYRIGHT)
+{#post_footer#}
+/body
+:}
+/html
 
 {#body#:
--- english/template/debian/consultant.wml  2004-12-01 23:19:13.0 
+0100
+++ english/template/debian/consultant.wml  2004-12-01 23:15:22.0 
+0100
@@ -15,8 +15,7 @@
 
 {#check_trans#}
 
-{#mainbody#}
-
+{#pre_footer#:
 hrline/
 
 returnconsult/
@@ -27,6 +26,4 @@
 /
 
 hrline/
-
-
-{#mainbody#:
+:#pre_footer#}
--- english/template/debian/ddp.wml 2004-12-01 23:19:13.0 +0100
+++ english/template/debian/ddp.wml 2004-12-01 23:15:22.0 +0100
@@ -12,8 +12,7 @@
 h1$(title)/h1
 /
 
-{#mainbody#}
-
+{#pre_footer#:
 hrline/
 ddpcommentsto/
 
@@ -28,5 +27,5 @@
 /
 
 hrline/
+:#pre_footer#}
 
-{#mainbody#:
--- english/template/debian/event.wml   2004-12-01 23:19:13.0 +0100
+++ english/template/debian/event.wml   2004-12-01 23:15:22.0 +0100
@@ -68,10 +68,12 @@
 
 : } :
 
+{#pre_footer#:
 hrline

Re: Changes in templates

2004-12-02 Thread Denis Barbier
On Thu, Dec 02, 2004 at 08:05:48AM +0100, Denis Barbier wrote:
 On Thu, Dec 02, 2004 at 01:28:13AM +0100, Frank Lichtenheld wrote:
  On Thu, Dec 02, 2004 at 12:58:18AM +0100, Denis Barbier wrote:
   They will help future patches written by Jutta Wrage, and I am going to
   commit them in a day or two if there is no objection.
  
  You may need to check your patch against the modifcations I did
  today to footer.wml inventing a pre_footer diversion, too.
 
 You are right, here are updated patches.

After checking that everything works fine, I committed these patches.

Denis



Bug#283790: www.debian.org: /users page is getting longer and longer...

2004-12-02 Thread Denis Barbier
On Thu, Dec 02, 2004 at 09:12:56AM +0100, Adrian 'Dagurashibanipal' von Bidder 
wrote:
 On Wednesday 01 December 2004 20.48, Peter Karlsson wrote:
  Tobias Toedter:
   Your best bet is to enclose the headline with the a-tags, like this:
  
   a name=eduEducational institutions/a
 
  Even better (but incompatible with some stone-age browsers, not that we
  care much for Netscape 4 these days) is to use
 
 h2 id=eduEducational institutions/h2
 
  and get rid of the a altogether. You can put an id attribute on any
  HTML tag.
 
 Seems not to be the style of www.debian.org's html - and there already is a 
 'a name=submissions id=submissions.../a' on this very page, which I 
 haven't noticed previously.  So I have kept that style.
 
 So, perhaps somebody will commit this one?

Thanks, I have just committed a slightly different patch to take
advantage of wml::debian::toc.  Can this bug be closed?

Denis



Re: dwww with css, was: Examples Debian WWW with css

2004-11-24 Thread Denis Barbier
On Wed, Nov 24, 2004 at 02:13:08AM +0100, Jutta Wrage wrote:
 Hi Denis!
 
 Am Dienstag, 23.11.04 um 00:03 Uhr schrieb Denis Barbier:
 
 by CSS, all pages will take these changes into account.  Of course
 some other files have also to be modified in the same directory,
 but it can be done later if we have no time just now.
 It looks like you already modified HTML pages, so I can grab your
 changes and propose a patch against this file, let me know where I
 can download your modified main page.
 
 I am not ready with the screenshots yet, if you need.
 
 English and German pages are at
 
 http://www.witch.westfalen.de/debian/dwww/
 
 If links are not working there, it is a result of missing extenstions 
 and different server settings.
 
 http://www.witch.westfalen.de/debian/diff/ contains the diff against 
 webml cvs.
 
 If you totally dislike it, let me know. If you find it mostly okay and 
 want me to make changes, feel free to do.

Thanks for your hard work, here are some comments.  First, please use
'diff -u' to generate patches, this is the preferred format here.
I do not know how you managed to have div tags well formed, dealing
with all these includes files is terrific ;)
But IMO you should avoid making it even worse by adding unbalanced
tags.  For instance one could write
  ifeq $(NOLANGUAGES)  
  div id=languages
  hrline/
  := languages() :
  /div
  /
instead of adding opening tag in several files and closing tag in
footer.wml.

I am going to remove your alt=Debian Logo from navbar.wml because
this text should be translatable and I would like to keep rendering
unchanged for the moment.  Same applies for your hidden 'Main Menu'.

Another point is about the links you transformed into lists.  It will
be much easier to have your changes in if the layout is unchanged,
we will have time later to propose enhancements and modify these links.
Moreover this change breaks makemail.pl because this script assumes
that ul tags are only used for package lists.

Is the div id=outer necessary?  It seems to confuse lynx which no
more centers h1 text.

To summarize, I am going to revise your patch as described above, revert
your changes in languages.wml, but I need your help for navbar.wml,
can you please send a new div id=navbar which is a sequence of links
and has the same rendering as the current one with graphical browsers?

We should then be able to provide a patch which removes most tables but
without altering current rendering with text and graphical browsers.
Then people can get used to CSS and your other changes can be processed.

Denis



Re: Examples Debian WWW with css

2004-11-22 Thread Denis Barbier
On Mon, Nov 22, 2004 at 10:39:53PM +0100, Jutta Wrage wrote:
 
 Am Sonntag, 21.11.04 um 17:39 Uhr schrieb Denis Barbier:
 
 The main navbar is currently not a list, why did you turn it into ul?
 If you keep it as is, it is certainly possible to have layout 
 unmodified
 for text browsers.
 
 Forgot to answer that. According to accessibility guidelines it is a 
 bad idea to put something, that is a list (for example a menu or 
 selection) into one line. Blind persons see just words and phrases in 
 a line.

Again this is off-topic.  If you want to promote CSS, let replace tables
by CSS, then everybody can make his opinion, and if there are not much
complaints, let's go further.

 Another Thing are the remaining tables, now that I have included the 
 css for header and footer:
 
 According to accessibility guidelines, tables should _only_ be used 
 where one has a real table in it and _not_ for layout boxes. But the 
 main page and others are full of tables, which have only one sense: 
 making a layout. Another thing is, that tables cannot be parsed as good 
 as lists by other programs - not only by readers.
[...]

I am afraid that there is some misunderstanding.  HTML pages are
generated from templates, e.g. the main layout comes from
  
http://cvs.debian.org/webwml/english/template/debian/mainpage.wml?cvsroot=webwml
If you are able to replace tables and font commands in this file
by CSS, all pages will take these changes into account.  Of course
some other files have also to be modified in the same directory,
but it can be done later if we have no time just now.
It looks like you already modified HTML pages, so I can grab your
changes and propose a patch against this file, let me know where I
can download your modified main page.

Denis



Re: Examples Debian WWW with css

2004-11-21 Thread Denis Barbier
On Sun, Nov 21, 2004 at 02:56:33AM +0100, Jutta Wrage wrote:
[...]
 My question again: Is it accaptable for you, what I have schown on the 
 examples?
 
 One of the examples has the same look as current pages on graphical 
 browsers, but will have _no_ lists in _one_ line for test browsers, 
 which is assumed.

The main navbar is currently not a list, why did you turn it into ul?
If you keep it as is, it is certainly possible to have layout unmodified
for text browsers.

[...]
 In the cvs tree, I have found things about xhtml. That makes me ask: 
 How will the move work, as br is valid in HTML transitional and 
 strict but not in xhtml. So all tags without an endtag have to be 
 replaced at once, when moving to xhtml. In addition the page delivery 
 has not to be text/html only. Beside that IE has problems with correct 
 mime type for xhtml (which I do not carte much) that gives a lot of 
 problems. Is moving to xhtml insead of html strict such an advantage, 
 that debian people do not care these problems? xhtml does not make a 
 differenc to css usage as far as I know, though.

Your last sentence is the key point; XHTML has nothing to do with the
subject of this thread, so do not discuss this issue here and let us
focus on CSS.

HTML pages are generated from templates and some scripts, as described
in http://www.debian.org/devel/website/
Modifying the generated HTML pages to replace tables by CSS is quite
trivial, but as you notice the main problem is to have these changes
accepted.  If you have access to different browsers, you may put
screenshots online to show that rendering is identical.

Martin Schulze had a valid argument, some scripts are parsing HTML
or source files.  It is likely that they won't notice the move to CSS,
and I will check later that this is indeed the case.

Denis



Re: Examples Debian WWW with css

2004-11-21 Thread Denis Barbier
On Sun, Nov 21, 2004 at 09:10:59PM +0100, Jutta Wrage wrote:
[...]
 I fetched the cvs tree and made local changes. Takes a while for a make 
 on my local computer. As I am said there will be enough space on our 
 server, I may put the results online.
 
 Currently I am making only those changes, that a necessary for the 
 header and footer going css. It is not quite clean and If you like 
 that, I would need some help to find out, where those things are to 
 change, I did not find the source for.

 If there are scripts, which are not in the source tree and not run by 
 make or make install, I'll surely will not notice, if they fail. 
 Another thing is, that I am not sure, that I can built languages like 
 Chinese on Debian stable.

IMO building only English pages is fine.

Some pages need data fetched from scripts found in
  http://cvs.debian.org/cron/?cvsroot=webwml
Scripts under parts/ are run before every build. lessoften only daily.
So do not be afraid if some pages do not build cleanly, and do not
lose your time trying to fix them, it isn't worth.

 If someone wants to have a look later (not online yet): The pages will 
 be at
 
 http://www.witch.westfalen.de/debian/dwww/
 screenshots will be at
 http://www.witch.westfalen.de/debian/screenshots/
 
 hope I get something ready tonight.

Great, please send here your patches against english/template/debian
when they are ready.

I reviewed all *.pl files under webwml, and english/News/weekly/makemail.pl
is the only script parsing generated HTML files, so we have to check
that your changes do not break this script.

We must also check that these changes do not break nm.debian.org,
it include files from the webwml tree.

Denis



Re: Examples Debian WWW with css

2004-11-20 Thread Denis Barbier
On Fri, Nov 19, 2004 at 10:13:58PM +0100, Martin Schulze wrote:
 Mike Hommey wrote:
[...]
  1. That's still available on http://glandium.org/debian/www.html though
 the url might change in the near future since i'm heavily reorganising
 my website. It seems I did that a year ago, according to the dates of
 security alerts.
 
 The list of translations is unacceptable long due to the vertical list in
 lynx.

We could provide a language selection form to switch between available
translated pages, similar to mirror selection.

Denis



Re: Changes in Apache configuration on gluck broke the lessoften script

2004-11-17 Thread Denis Barbier
On Wed, Nov 17, 2004 at 07:00:45AM -0800, Matt Kraai wrote:
 On Thu, Oct 28, 2004 at 04:25:23PM +0200, Denis Barbier wrote:
http://gluck.debian.org/~pmachard/l10n/material/data/unstable.gz
  returns a 404, and the lessoften script aborts (the error message
  should be redirected to the log file).
  This URL worked until recently (and works if gluck is replaced by
  people), so it looks like a change was performed in Apache configuration
  files.  Can this be fixed, please?  An alternative is to s/gluck/people/
  in lessoften, but as files are generated on gluck it is IMO better to
  leave this URL point to gluck.
  And if the wget+gunzip commands could be performed, that would be
  great ;)
 
 debian-admin doesn't want users to serve content from anywhere but
 people.debian.org, so I've updated the lessoften script.

Thanks Matt,

Could you please also redirect the error message to the log file, as is
done with other echo commands?

Denis



Bug#281000: www.debian.org: http://www.debian.org/intl/l10n/po-debconf/de is outdated

2004-11-12 Thread Denis Barbier
On Sat, Nov 13, 2004 at 01:30:44AM +0200, Erik Schanze wrote:
 Package: www.debian.org
 Severity: normal
 
 Hello,
 
 the site http://www.debian.org/intl/l10n/po-debconf/de is outdated
 It was last generated on 31.10. with information from 24.10.
 Are there any activities on getting it daily up-to-date?
 What's the problem?

Someone has to replace gluck.debian.org by people.debian.org in
  http://cvs.debian.org/cron/lessoften?cvsroot=webwml
but few people have write access.
In the meantime, you can go to
  http://people.debian.org/~barbier/intl/l10n/unstable/po-debconf/de

Denis



Re: Changes in Apache configuration on gluck broke the lessoften script

2004-11-06 Thread Denis Barbier
On Thu, Oct 28, 2004 at 04:25:23PM +0200, Denis Barbier wrote:
 Hi,
 
   http://gluck.debian.org/~pmachard/l10n/material/data/unstable.gz
 returns a 404, and the lessoften script aborts (the error message
 should be redirected to the log file).
 This URL worked until recently (and works if gluck is replaced by
 people), so it looks like a change was performed in Apache configuration
 files.  Can this be fixed, please?  An alternative is to s/gluck/people/
 in lessoften, but as files are generated on gluck it is IMO better to
 leave this URL point to gluck.
 And if the wget+gunzip commands could be performed, that would be
 great ;)

Webmasters, could you please fix the lessoften script?
Thanks

Denis



Re: Problems with Ukrainian translation

2004-10-22 Thread Denis Barbier
On Fri, Oct 22, 2004 at 02:37:58PM +0300, Eugeniy Meshcheryakov wrote:
 Hello,
 
 Ukrainian translation was recently added. But there are some problemas
 with it. First one is that parts of pages that use .po files for translation 
 are
 not translated. /index.uk.html is one such page. There is menu on left
 side of it. It should be translated and it is on my machine but not on
 the web site. Have anyone an idea why it is not translated? You can see
 pages generated on my machine at http://www.cluster.kiev.ua/eugen/ .

Maybe there is no uk_UA.UTF-8 locale on www-master?

Denis



Re: DMUP violated? / Proposal: devel/website/using_cvs.wml

2004-09-04 Thread Denis Barbier
On Sat, Sep 04, 2004 at 11:19:49AM +0200, Florian Ernst wrote:
 Hello list!
 
 OK, this seems to have been quite an unfortunate start for me:
 
 as CVS allows people to work independently and in the scope they
 prefer I saw no reason not to commit my first changes in small
 blocks to make sure I solely change what I intented to change, i.e.
 I fixed a spelling error in the english page and bumped the
 translation-check header in all applicable translations using the fine
 smart_change.pl, then committed this small block.
 I knew about the debian-www-cvs mailing list but thought this is
 acceptable, after all the system is set up for many changes.

Good job, thanks.

 Apparently it was not acceptable, and at least one person was / is
 seriously annoyed by the amount of similar messages coming in, so I
 propose the attached change to devel/website/using_cvs.wml.
 
 Unfortunately things have already happened and as the very same person
 has used the term abuse please check whether I have violated the
 DMUP
[...]

This is how people work together in Debian: they believe that they have
to refer to documents instead of giving some rationale.  So yes,
changing all files with a single commit (or few ones) is much better,
but this is not a big deal.

Your patch is not very clear, at first reading I thought that you were
telling to combine spelling mistakes with content changes, which is of
course wrong.

Denis



Re: improving http://www.debian.org/intl/l10n/po-debconf/README-trans

2004-09-03 Thread Denis Barbier
On Fri, Sep 03, 2004 at 03:08:01PM +0200, Jens Nachtigall wrote:
 
  Hello,
 
  On Fri, Sep 03, 2004 at 11:52:50AM +0200, Jens Nachtigall wrote:
   ==
   4. After translating the po file you should send a copy of it at
   your a href=http://lists.debian.org/i18n.html || specific mailing
   listlanguage's mailing list/a for review (please spellcheck
   first).
 
 [...]

Our French team works this way.

  Please don't. If you have a difficult po-file, or you have some
  questions, yes, do post it. But I would object to post *every* file.
  There are so many po-files out there. If you think this is needed,
  maybe an extra list can be created?
 
  I think the l10-lists should stay on discussion. If you want
  automatic peer-review, then get the po-part of DDTP reactived.
 
 OK, then that part should not be added.

Maybe we could add a paragraph telling to get in touch with Debian
l10n lists for this language, and apply methods defined by each
translation team.

Denis



Re: Committed files with wrong charset

2004-09-02 Thread Denis Barbier
On Thu, Sep 02, 2004 at 11:02:41PM +0300, Tommi Vainikainen wrote:
 I accidentally committed two files, finnish/ports/index.wml and
 finnish/ports/freebsd/index.wml, with charset problems. Latter one was
 UTF-8 encoded, but should be ISO-8859-15. First one had some strange
 Emacs chars.
 
 My problem is that
 
 ...ports/freebsd$ cvs diff index.wml
 ...ports/freebsd$ recode utf8..latin9 index.wml
 ...ports/freebsd$ cvs diff index.wml
 
 So, cvs doesn't detect any changes after recoding file to correct
 charset. Therefore I cannnot commit correct version. What should I do?
 Remove file and add again?

That's weird.
A simpler solution is add an empty line at the end of your file.

Denis



Bug#98811: Patch for Makefile.common [Was: Re: New page for devel/website]

2004-08-25 Thread Denis Barbier
On Wed, Aug 25, 2004 at 06:21:49PM +0200, Tobias Toedter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Wednesday 25 August 2004 01:46, Denis Barbier wrote:
  On Tue, Aug 24, 2004 at 10:57:57PM +0200, Tobias Toedter wrote:
   Thanks for your detailed analysis on the matter. Maybe I was a bit
   unclear in my previous message. What I meant was that the patch should
   fix newly generated files.
 
  This is not possible, old pages may get rebuild for many reasons (like
  a change under english/template/debian),  There is no smooth transition.
 
 Ah, OK. You're of course right; unless tested, we should stay on the safe 
 side.

In fact I was wrong, there is another way: set mp4h options in .wmlrc,
they will only affect files in the given directories (and below).
This way, changes can be tested on few files.  And according to CVS
logs (about webwml/english/template/debian/basic.wml), this topic was
already discussed back in December 2001 ;)
List archives showed that this issue was discussed in #98811, Frank
Lichtenheld already worked on this topic and IIRC he filed bugs against
mp4h and wml which had been fixed.

  And if nobody tries to generate XHTML files, bugs in wml and mp4h won't
  get caught.  So the best solution is to try your patch on a test
  machine, and see how it works.
 
 Right. I'll see how far I get. Would you still be the contact person about 
 bugs in wml and friends?

You can use #98811 for discussions, and file bugs against wml or mp4h if
needed.

  I forgot the last step in my previous post: if everything runs fine, one
  has also to check generated XHTML files with various browsers to check
  how they are rendered.
 
 I've been using XHTML for all of my recent projects. Usually, modern 
 browsers have no diffculties in displaying the pages. I guess that by the 
 time we perform the switch to XHTML, every browser will easily display 
 XHTML. Anyways, this doesn't excuse us from doing a thorough check.

Here are first results; I applied the attached patch, generated
devel/website/using_cvs.en.html and checked that
  1. this file is XHTML compliant
  2. lynx -dump showa no difference (except for timestamps) on
 HTML and XHTML files.

Maybe someone could fix all files under english/devel/website/
(but not english/template/debian since all pages will then be
gratuitously rebuilt) so that we can discuss whether they could
be switched to XHTML.  When committing changes, please bump
translation-check headers since content is kept unmodified.

Denis
Index: template/debian/common_tags.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/common_tags.wml,v
retrieving revision 1.8
diff -u -r1.8 common_tags.wml
--- template/debian/common_tags.wml 7 Nov 2003 16:04:14 -   1.8
+++ template/debian/common_tags.wml 25 Aug 2004 18:36:59 -
@@ -1,4 +1,4 @@
-define-tag hrlinehr noshade width=100% size=1 //define-tag
+define-tag hrlinehr noshadeifeq $(DOCTYPE) xhtml =noshade/ 
width=100% size=1 //define-tag
 
 define-tag urla href=%0%0/a/define-tag
 define-tag newsurlurl %0 //define-tag
Index: template/debian/mirrors.wml
===
RCS file: /cvs/webwml/webwml/english/template/debian/mirrors.wml,v
retrieving revision 1.36
diff -u -r1.36 mirrors.wml
--- template/debian/mirrors.wml 14 Aug 2003 07:07:09 -  1.36
+++ template/debian/mirrors.wml 25 Aug 2004 18:37:00 -
@@ -51,6 +51,7 @@
   );
 foreach my $m (sort langcmp keys %mirrors) {
 my $s =  selected if $mirrors{$m} eq us;
+$s .= =\selected\ if $mirrors{$m} eq us  $(DOCTYPE) eq xhtml;
 perl:printoption value=\$mirrors{$m}\$s$m/option\n/perl:print
 }
 /perl\
Index: devel/website/using_cvs.wml
===
RCS file: /cvs/webwml/webwml/english/devel/website/using_cvs.wml,v
retrieving revision 1.12
diff -u -r1.12 using_cvs.wml
--- devel/website/using_cvs.wml 20 Apr 2004 09:51:39 -  1.12
+++ devel/website/using_cvs.wml 25 Aug 2004 18:37:01 -
@@ -5,7 +5,7 @@
 of the main repository. The local copies can be on the same machine,
 or across the world. Users can then modify the local copy as they
 wish and when the modified material is ready, commit the changes
-back to the main repository.
+back to the main repository./p
 
 pCVS will not let you commit a file if the copy in the main
 repository has been modified since your last update. This is
@@ -13,31 +13,31 @@
 If the modifications were to different parts than you were working
 on, the changes are silently merged. If the changes affect the same area you
 were working on, you will be warned that there is a conflict
-and you need to edit the file to fix the problem before committing.
+and you need to edit the file to fix the problem before committing./p
 
-PIn what follows anonymous access will be used as an example. If
+pIn what follows anonymous access

Re: Patch for Makefile.common [Was: Re: New page for devel/website]

2004-08-24 Thread Denis Barbier
On Tue, Aug 24, 2004 at 09:41:07PM +0200, Tobias Toedter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Tuesday 24 August 2004 20:36, Luk Claes wrote:
  I think it's a good idea to put such a page on the site.
 
  But I also think we maybe need updated validate and tidy scripts? They
  would ease the conversion and maintenance.
 
 Well, I agree in principle. However, I don't think it would be a good idea
 to check for XHTML compliance right now, because poor Alfie (who's running
 the scripts in a cron job) would be overwhelmed by the sheer amount of
 errors.
 
 I guess we should concentrate on fixing most of the outstanding issues
 before switching the scripts. For example, wml is currently optimizing
 the HTML code by removing the closing slash in e.g. br /, thus printing
 br.
 
 I think this should be fixed by applying the following patch to
 Makefile.common. Could someone please review this? Note that the expansion
 level of 3082 is what I concluded from the wml docs; I don't know whether
 Debian uses the default configuration of mp4h for the generation of the web
 pages.

This is not enough:
  1. DOCTYPE has to be changed and all files rebuild
  2. many source files have to be modified in order to be processed
 (basically they have to be XHTML compliant)
  3. generated files have to be checked by a validator to ensure that
 files are XHTML compliant
  4. contents of generated files have to be checked, displayed text
 should be identical to HTML ones
  5. this will trigger bugs in wml and/or mp4h which have to be fixed
  6. fixed packages have to be installed on www-master
IMO steps 1-5 should be performed by people interested in this
migration (on test machines, normally changes required in step 2 can
be committed because they should not break current processing), then
admins will be asked to install fixed packages and only then such a
patch could be applied.

Denis



Re: Patch for Makefile.common [Was: Re: New page for devel/website]

2004-08-24 Thread Denis Barbier
On Tue, Aug 24, 2004 at 10:57:57PM +0200, Tobias Toedter wrote:
 Thanks for your detailed analysis on the matter. Maybe I was a bit unclear 
 in my previous message. What I meant was that the patch should fix newly 
 generated files.

This is not possible, old pages may get rebuild for many reasons (like
a change under english/template/debian),  There is no smooth transition.
And if nobody tries to generate XHTML files, bugs in wml and mp4h won't
get caught.  So the best solution is to try your patch on a test
machine, and see how it works.
I forgot the last step in my previous post: if everything runs fine, one
has also to check generated XHTML files with various browsers to check
how they are rendered.

Denis



Re: Translation Coordinators -- please read (was: Re: New tag for wml -- help needed)

2004-05-10 Thread Denis Barbier
On Mon, May 10, 2004 at 02:39:21PM +0200, Gerfried Fuchs wrote:
 * Denis Barbier [EMAIL PROTECTED] [2004-05-06 22:45]:
$ grep Language-Team */po/templates.*.po 
  returns:
Arabicdoc at arabeyes.org
Catalan   debian-l10n-catalan at lists.debian.org
Frenchdebian-l10n-french at lists.debian.org
Italian   debian-l10n-italian at lists.debian.org
Japanese  debian-doc at debian.or.jp
  Other translators should fill in header fields.
 
  I wonder why this comes up in such a thread now and was never mentioned
 before...  I would have guessed this kind of hint in some of the early
 messages about the po file handling. I haven't done it for German
 because I never saw any hint in that direction and wasn't told that it
 might make sense

This was hidden in http://lists.debian.org/debian-www/2002/07/msg00096.html
  You may add any field in the header section of PO files
  to help translation coordination.
Of course if you did not know what I was talking about, this message
was pretty clueless, sorry.

  debian-l10n-german@lists.debian.org it is for German, and toddy jumped
 in to do it now for the German files, thanks.
 
  Please add the header informations to your po files.
 
  About the header itself: I now wonder if Content-Type has any influence
 at all. Will it be ignored in favor of language/.wmlrc CHARSET entry,
 or will it override it?

Content-Type field defines the encoding of each PO file.  IIRC
translators can choose any encoding they like, file content is recoded
when pages are generated.  But as conversion is performed on all web
pages, choosing the same charset as the one in .wmlrc should consume
less CPU usage.

Denis



Re: Urgent: Not all languages have been updated in the last wml run

2004-05-09 Thread Denis Barbier
On Sun, May 09, 2004 at 08:33:58AM -0300, Gustavo R. Montesino wrote:
 Em Sun, 09 May 2004 12:50:17 +0200, Tobias Toedter escreveu:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Hi,
  
  it seems that during the last run of wml not all pages were updated 
  properly 
  because of an error during the building[1].
  
  Furthermore, this seems to be related to the newly introduced gettext 
  domain 
  debian-cdd. The script fails with this message:
  *** No rule to make target `debian-cdd.mo', needed by `install-mo'.  Stop.
  
  If anyone can look into this and see what's wrong, I would be glad to know.
 
 I've added a target to makefile, so that it'll create the po file if it
 doesn't exists. It should do the trick (I've tested in the portuguese and
 english po dirs, and they work fine).
 
 I've also cheanged the update-po target, so that it will generate new po
 files when run.
 
 I was going to ask there before commit, but this seemed urgent. It would
 be good if some webmaster may please review the changes.

This is a bad idea, because when translators add or update PO files, they
already exist or are modified on www-master which causes a CVS conflict.
IMO the only solution is to add */po/foo.XX.po into CVS when adding
english/po/foo.pot
I have to go for a couple of hours and will look at it when I am back.

Denis



Re: Urgent: Not all languages have been updated in the last wml run

2004-05-09 Thread Denis Barbier
On Sun, May 09, 2004 at 03:43:47PM -0300, Gustavo R. Montesino wrote:
[...]
  This is a bad idea, because when translators add or update PO files, they
  already exist or are modified on www-master which causes a CVS conflict.
  IMO the only solution is to add */po/foo.XX.po into CVS when adding
  english/po/foo.pot
  I have to go for a couple of hours and will look at it when I am back.
  
 
 Hmmm... Because something outside of my understanding, the .po files being
 made automatically by the rule that I've added seems to be rmed after the
 build process. Although I don't know what's causing this, I think it lets
 the path open for the translators to add their own .po files when they
 wish.

No, files under CVS control must not be modified when building pages,
otherwise CVS conflict may occur on www-master.  Imagine for instance
that PO files contain a PO-Revision-Date header field, automatically
updated when building pages.  PO files in the working directory differ
from the ones stored in CVS repository.  Then a translator commits
his file, and when 'cvs update' is run on www-master, there is a
conflict and this PO file becomes invalid on www-master.

Denis



Re: Urgent: Not all languages have been updated in the last wml run

2004-05-09 Thread Denis Barbier
On Sun, May 09, 2004 at 08:37:44PM +0200, Tobias Toedter wrote:
[...]
 There's a foo.??.po file for every language in the CVS now, is this 
 sufficient for the Makefile dependencies?

Yes, your changes in 1.46 were fine.

Denis



Re: Urgent: Not all languages have been updated in the last wml run

2004-05-09 Thread Denis Barbier
On Sun, May 09, 2004 at 05:29:36PM -0300, Gustavo R. Montesino wrote:
[...]
 * Addition of a %.$(LANGUAGE).po target, so that on the build, if a given
   .po doesn't exists:
 
 - The equivalent port is copied
 - The mo is built
 - The po is deleted (I didn't add anything to get this effect, but it
   happens by some misterious motive)

I did not realize that such PO files are deleted because they are
intermediate targets.  But there was a problem with Makefile r1.48:
when a POT file is updated, PO file is overridden.  So I committed
a slightly different version of r1.49.
Thanks.

Denis



Re: New tag for wml -- help needed

2004-05-08 Thread Denis Barbier
On Sat, May 08, 2004 at 02:08:15PM +0200, Tobias Toedter wrote:
[...]
 In the meantime, the number of msgids has raised a little bit, and is now at 
 16 messages, including some longer sentences. Would you think that this is 
 still appropriate to go into the templates section, or do you think I 
 should rather create a new domain, probably called debian-med?

IMHO you can create your own domain, either debian-med or
debian-custom if some msgids can be shared with other subprojects.

Denis



Re: stattrans.pl and Chinese translation statistics

2004-05-08 Thread Denis Barbier
On Thu, Jan 29, 2004 at 07:59:57PM +, Chuan-kai Lin wrote:
 Hello,
 
 I noticed that the web site translation statistics at
 http://www.debian.org/devel/website/stats/ contains only an entry for
 zh-cn but none for zh-tw.  Would it be possible to have both zh-cn and
 zh-tw listed in the statistics?
 
 I am fully aware that since zh-cn and zh-tw are generated from the same
 set of wml sources, their statistics would be exactly the same.  The
 reason why I would like to see a separate entry for traditional Chinese
 (zh-tw) is so that we can get
 http://www.debian.org/devel/website/stats/zh-tw.html and it would
 contain links to translated zh-tw pages, which uses a different encoding
 (and more importantly, different character glyph).  This would make
 things a lot easier for translators from Taiwan and Hong Kong.

Hi,
  http://www.debian.org/devel/website/stats/zh-tw.html
is now available, and links from index page should be
there at next run, sorry for the delay.

Denis



Re: Please let the lessoften script do its job

2004-05-08 Thread Denis Barbier
On Sat, Apr 24, 2004 at 12:57:45AM +0200, Denis Barbier wrote:
 Dear webmasters,
 
 the lessoften script has never been reactivated after the break-in.
 It is needed to generate w.d.o/intl/l10n/, could someone please
 make it run?

Hi,

can a webmaster please have a look?

Denis



Re: New tag for wml -- help needed

2004-05-06 Thread Denis Barbier
On Thu, May 06, 2004 at 05:14:43PM +0200, Tobias Toedter wrote:
[...]
 I would put a file named debian-med.wml in webwml/english/template/debian, 
 to include the tag definition via #use wml::debian::debian-med in the wml 
 files.

Right.

 I'm using the gettext tag to mark repetitive strings, so translations are 
 easier. However, I don't know which gettext domain I should use. My guess 
 is that templates would be appropriate.

It depends, if you have many messages you could create your own domain.

 After this, I would add debian-med.wml to templates_FILES in the Makefile 
 in english/po, run make pot, and commit templates.pot.

Right as long as domain name is templates.

 This is what I concluded from looking at other files in the CVS, READMEs and 
 the list archive. I could not find a comprehensive guide to this procedure, 
 but if such a document exists, I'd be pleased to know about it.

There is no need for such a guide since you easily found how to do it ;)

 Is this the correct approach, or did I miss something? And last, not least: 
 after the update with make pot, how do these changes propagate to the 
 different translations? Can I make the translation teams aware of those new 
 gettext strings?

Translators will notice these additions by looking at
  http://www.debian.org/devel/website/stats/language-code.html#gettext
But if you warn them, this is even better.
  $ grep Language-Team */po/templates.*.po 
returns:
  Arabicdoc at arabeyes.org
  Catalan   debian-l10n-catalan at lists.debian.org
  Frenchdebian-l10n-french at lists.debian.org
  Italian   debian-l10n-italian at lists.debian.org
  Japanese  debian-doc at debian.or.jp
Other translators should fill in header fields.

Denis



Please let the lessoften script do its job

2004-04-23 Thread Denis Barbier
Dear webmasters,

the lessoften script has never been reactivated after the break-in.
It is needed to generate w.d.o/intl/l10n/, could someone please
make it run?

Denis



Re: devel/debian-accessibility: Proposed initial content

2004-04-06 Thread Denis Barbier
On Sun, Apr 04, 2004 at 12:07:04PM +0200, Mario Lang wrote:
 [EMAIL PROTECTED] (Denis Barbier) writes:
 
  On Sat, Apr 03, 2004 at 01:34:04AM +0200, Mario Lang wrote:
  [Please CC me, I'm not (yet?) subscribed.]
  
  Initiated by a discussion I've just had with Andreas Tille, I finally
  sat down to write up some project page describing the Debian Accessibility
  effort to enhance the visibility of the whole effort and maybe draw some 
  more
  attention towards it.
 
  Here is a patch to build valid HTML pages, and some unnecessary stuff
  is removed.
 
 Thanks.  I've incorporated this.  I've had some additional eyes (and hands)
 do some peer-review meanwhile, and some minimal wording changes were made.
 
 If there are no further objections, could someone with webwml CVS access
 please add these files?  (Note I've completely stolen the style.css file
 From ../debian-lex/, I'll not include it in this mail.)

As there has been no objection, I committed your files.

Denis



Re: devel/debian-accessibility: Proposed initial content

2004-04-03 Thread Denis Barbier
On Sat, Apr 03, 2004 at 01:34:04AM +0200, Mario Lang wrote:
 Hi.
 
 [Please CC me, I'm not (yet?) subscribed.]
 
 Initiated by a discussion I've just had with Andreas Tille, I finally
 sat down to write up some project page describing the Debian Accessibility
 effort to enhance the visibility of the whole effort and maybe draw some more
 attention towards it.

Here is a patch to build valid HTML pages, and some unnecessary stuff
is removed.

Denis
diff -ur debian-accessibility.orig/Makefile debian-accessibility/Makefile
--- debian-accessibility.orig/Makefile  2004-04-03 15:55:14.0 +0200
+++ debian-accessibility/Makefile   2004-04-03 15:57:47.0 +0200
@@ -8,6 +8,3 @@
 
 include $(WMLBASE)/Make.lang
 
-index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/template.wml \
-  $(TEMPLDIR)/recent_list.wml
-
diff -ur debian-accessibility.orig/index.wml debian-accessibility/index.wml
--- debian-accessibility.orig/index.wml 2004-04-03 15:55:20.0 +0200
+++ debian-accessibility/index.wml  2004-04-03 15:57:52.0 +0200
@@ -1,5 +1,4 @@
 #use wml::debian::template title=Debian-Accessibility
-#use wml::debian::recent_list
 {#style#:link rel=stylesheet href=style.css type=text/css /:#style#}
 
 H2Project description/H2
diff -ur debian-accessibility.orig/software.wml 
debian-accessibility/software.wml
--- debian-accessibility.orig/software.wml  2004-04-03 15:55:27.0 
+0200
+++ debian-accessibility/software.wml   2004-04-03 16:05:56.0 +0200
@@ -7,14 +7,13 @@
 h3if get-var url
 a href=get-var url name=get-var tagget-var name/a
   a name=get-var tagget-var name/a/h3
-P
   %body
-/P
 restore name tag url/
 /define-tag
 
 h2a id=speech-synthesis name=speech-synthesisSpeech Synthesis and 
related APIs/a/h2
 a11y-pkg name=EFlite tag=eflite url=http://eflite.sourceforge.net/;
+P
   A speech server for A href=#emacspeakEmacspeak/A and
   A href=#yasryasr/A (or other screen readers) that allows them to
   interface with A href=#fliteFestival Lite/A, a free text-to-speech
@@ -24,8 +23,10 @@
 P
   Due to limitations inherited from its backend, EFlite does only provide
   support for the English language at the moment.
+/P
 /a11y-pkg
 a11y-pkg name=Festival Lite tag=flite
+P
   A small fast run-time speech synthesis engine.  It is the latest
   addition to the suite of free software synthesis tools including
   University of Edinburgh's Festival Speech Synthesis System and
@@ -35,9 +36,11 @@
 /P
 P
   It currently only supports the English language.
+/P
 /a11y-pkg
 a11y-pkg name=Festival tag=festival
   url=http://www.cstr.ed.ac.uk/projects/festival/;
+P
   A general multi-lingual speech synthesis system developed
   at the A href=http://www.cstr.ed.ac.uk/;CSTR/A [iC/ientre for
   iS/ipeech iT/iechnology iR/iesearch] of
@@ -53,8 +56,10 @@
   Besides research into speech synthesis, festival is useful as a stand-alone
   speech synthesis program. It is capable of producing clearly understandable
   speech from text.
+/P
 /a11y-pkg
 a11y-pkg name=recite tag=recite
+P
   Recite is a program to do speech synthesis.  The quality of sound produced
   is not terribly good, but it should be adequate for reporting the occasional
   error message verbally.
@@ -66,9 +71,11 @@
   Recite can perform a subset of these operations, so it can be used to
   convert text into phonemes, or to produce an utterance based on vocal
   tract parameters computed by another program.
+/P
 /a11y-pkg
 a11y-pkg name=Speech Dispatcher tag=speech-dispatcher
   url=http://www.freebsoft.org/speechd;
+P
   Provides a device independent layer for speech synthesis.
   It supports various software and hardware speech synthesizers as
   backends and provides a generic layer for synthesizing speech and
@@ -79,6 +86,7 @@
   and application specific user configurations are implemented in a device
   independent way, therefore freeing the application programmer from having
   to yet again reinvent the wheel.
+/P
 /a11y-pkg
 
 H2A name=i18nspeechInternationalised Speech Synthesis/A/H2
@@ -151,6 +159,7 @@
 H2A id=emacs name=emacsScreen review extensions for Emacs/A/H2
 a11y-pkg name=Emacspeak tag=emacspeak
   url=http://emacspeak.sourceforge.net/;
+P
   A speech output system that will allow someone who cannot see
   to work directly on a UNIX system.  Once you start emacs with
   emacspeak loaded, you get spoken feedback for everything you do.  Your
@@ -159,18 +168,22 @@
   written in tcl to support the DECtalk Express and DECtalk MultiVoice
   speech synthesizers.  For other synthesizers, look for separate
   speech server packages such as emacspeak-ss or A href=#efliteeflite/A.
+/P
 /a11y-pkg
 a11y-pkg name=speechd-el tag=speechd-el
   url=http://www.freebsoft.org/speechd-el;
+P
   An Emacs client and an Elisp library to
   A href=#speech-dispatcherSpeech Dispatcher/A.  It provides a complex
   speech interface to Emacs, focused especially on (but not limited to) the
   blind and 

Re: Debian WWW CVS commit by barbier: webwml/english/template/debian language_names.wml

2004-03-15 Thread Denis Barbier
On Mon, Mar 15, 2004 at 04:40:59PM -0700, Debian WWW CVS wrote:
 CVSROOT:  /cvs/webwml
 Module name:  webwml
 Changes by:   barbier 04/03/15 16:40:59
 
 Modified files:
   english/template/debian: language_names.wml 
 
 Log message:
   s/galician/gallegan/

I reverted Jordi's change; of course he knows better than I how to
spell this language, but Gallegan is the official name found in ISO 639,
and thus iso-codes, etc.

Denis



Re: packages.debian.org has been internationalized

2004-02-16 Thread Denis Barbier
On Mon, Feb 16, 2004 at 05:39:01AM +0100, Jens Seidel wrote:
[...]
 This change is great and I vote to change all other links as well. But
 there is a small problem:
 
 $ grep -ri 'packages.debian.org.*\.html' english/ | wc
  25046604  307212
 
 More than 2500 files need an update! I can perform this using
 smart_change.pl.

No, you forgot the -l flag, there are in fact 180 files.

Denis



Re: moving search_packages form to include file

2004-02-14 Thread Denis Barbier
On Sat, Feb 14, 2004 at 12:40:46PM +0100, Frank Lichtenheld wrote:
 Hi.
 
 While working on the search_packages script I thought that it might
 be good to move the form on distrib/packages to an include file
 (like it is done for parts of the form on Bugs/index). This
 would make it easier to modify the form if the script changes.
 
 A patch plus two new files are attached. Comments welcome.
 
 I've put the gettext strings in a new distrib.pot because
 I got the impression that others.pot is getting really big and
 some splitting might be good.

Looks very good.

Denis



Bug#229657: Updates for http://www.debian.org/international/l10n/po-debconf/es

2004-01-25 Thread Denis Barbier
On Sun, Jan 25, 2004 at 09:59:33PM +0100, Javi Castelo wrote:
 Package: www.debian.org
 Severity: wishlist
 
 
 Hi please,
 
 ¿Could you update the information for that web page?

As this question gets no answer, I run the script on my own page:
 http://people.debian.org/~barbier/intl/l10n/po-debconf/es

Denis



Re: Website not building?

2004-01-23 Thread Denis Barbier
On Fri, Jan 23, 2004 at 01:51:08AM +0100, Frédéric Bothamy wrote:
 Hello,
 
 It seems that the webwml run breaks on bulgarian compilation:
 
 from current http://www-master.debian.org/build-logs/webwml/wml_run.log
 
 [...]
 make -C bulgarian install
 make[1]: Entering directory `/org/www.debian.org/webwml/bulgarian'
 make[1]: *** No rule to make target `install'.  Stop.
 make[1]: Leaving directory `/org/www.debian.org/webwml/bulgarian'
 make: *** [bulgarian-install] Error 2
 
 
 Bulgarian directory seems to lack top Makefile and every other files.

Ouch, translator removed all files, no idea why.
I just removed bulgarian from the top-level Makefile.

Denis



Re: Website not building?

2004-01-23 Thread Denis Barbier
On Fri, Jan 23, 2004 at 05:24:38PM +0100, Gerfried Fuchs wrote:
 * Frédéric Bothamy [EMAIL PROTECTED] [2004-01-23 13:25]:
  BTW could this explain the segfault in stattrans.pl ?

Strictly speaking, there is no segfault, but a division by zero.
Stattrans.pl has been fixed.

 Might be, yes.  Are there empty directories on www-master?

I guess no, some generated files should still be around.

Denis



Re: Anon pserver access (was: Re: write access in CVS server impossible.)

2004-01-13 Thread Denis Barbier
On Tue, Jan 13, 2004 at 03:02:17PM +0100, Gerfried Fuchs wrote:
 * Tommi Vainikainen [EMAIL PROTECTED] [2004-01-13 15:09]:
[...]
  Giving anonymous pserver account could be done by any DD with read
  access to webwml CVS repository by just registering new project to
  alioth and rsyncing webwml CVS repository in raw format to alioth CVS
  with cron.  After that we translators could run cvs update from alioth
  anonymously and especially run cvs diff to generate patches!  Any DD
  interested?
 
  Might be interested, but need a helping hand (and some advice if its
 worth the setup or might raise security problems).

The CVS repository could be moved to Alioth, I see no reason to rsync it.

Denis



Bug#227273: packages.debian.org: charset mismatch (always in UTF-8?)

2004-01-13 Thread Denis Barbier
On Tue, Jan 13, 2004 at 06:12:19PM +0900, Tomohiro KUBOTA wrote:
[...]
 However, in the reality, the page is written in EUC-JP.
 Because of this inconsistency, web browsers will render the page
 by assuming the page is UTF-8 and the result will be the Mojibake.
[...]

I do not know how packages.debian.org is generated, but this mismatch
may be due to how Japanese pages are encoded under webwml/japanese/.
Japanese translators decided to generate HTML pages with ISO-2022-JP
encoding, and because this is their preferred encoding, .wml files
are ISO-2022-JP as well.  Unfortunately, WML cannot handle this
encoding, so .wml files are preprocessed and recoded into EUC-JP, then
normal WML processing takes place, and output files are converted back
to ISO-2022-JP.
For this reason, mojibake occurs also for all index files which include
material from other pages (/events, /News, etc).  I am going to commit
a fix.

Denis



Re: [tbm@cyrius.com: Re: Speaker directory]

2004-01-10 Thread Denis Barbier
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]

2004-01-10 Thread Denis Barbier
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



Bug#225795: www.debian.org/international/l10n/po-debconf/xx is not updated now.

2004-01-10 Thread Denis Barbier
On Sat, Jan 10, 2004 at 03:28:11AM +0900, Hideki Yamane wrote:
[...]
  umm... http://www.debian.org/international/l10n/po-debconf/ja is 
  added its links, but not use update informaiton yet.

Sorry if I was unclear, some scripts have to be enabled, but nobody
knows when they will be again, this is out of my control.
In the meantime, data are available at
  http://people.debian.org/~barbier/intl/l10n/po-debconf/ja

Denis



Re: [tbm@cyrius.com: Re: Speaker directory]

2004-01-09 Thread Denis Barbier
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: write access in CVS server impossible.

2004-01-08 Thread Denis Barbier
On Thu, Jan 08, 2004 at 02:54:17PM +0900, Seongtae Yoo wrote:
 Hi!
 
 It seems that ssh access in CVS server is enabled.
 Korean translation group doesn't have ssh account in CVS server.
 I have sent a mail requesting ssh accout, no answer.

You could file a bugreport with a tarball containing your patches, a
Debian developer will commit them for you.  Please note also that
w.d.o/donations.ko.html and w.d.o/mirror/ftpmirror.ko.html have
encoding issues:
  $ iconv -f euc-kr -t euc-kr donations.ko.html  /dev/null
  iconv: illegal input sequence at position 8822
  $ iconv -f euc-kr -t euc-kr ftpmirror.ko.html  /dev/null
  iconv: illegal input sequence at position 6519

Denis



Bug#225795: www.debian.org/international/l10n/po-debconf/xx is not updated now.

2004-01-07 Thread Denis Barbier
On Tue, Jan 06, 2004 at 08:09:57PM +0900, Hideki Yamane wrote:
 Hi,
 
 BTW http://people.debian.org/~barbier/intl/l10n/po-debconf/ja/
 contains up-to-date stats.
 
  Yes, that's what I want. thanks Denis, I'll use it.
 
  and... one more thing, that's kind of wish. If package names links 
  to its own BTS status, we translators can check more easier that 
  translated po-debconf file is posted or not. could you think about
  it, please?

Very good idea, this has been done.
Thanks.

Denis



Re: Validation pages up and running

2003-12-24 Thread Denis Barbier
On Tue, Dec 23, 2003 at 09:12:48PM -0500, Alexander Winston wrote:
[...]
  Japanese translators requested many times that English text (at least
  text which is embedded in all languages) use plain ASCII (with entities
  if needed) and not ISO-8859-1.  Unless there is a good reason not to
  accept, I will change English files to fix these errors.
 
 Sounds good to me. Are you going to use decimal or hexadecimal entities?

I was going to use named entities, which are more mnemonic.
Anyway I won't have time to make these changes just now.

Denis



Validation pages up and running

2003-12-23 Thread Denis Barbier
Hi,

  http://people.debian.org/~barbier/tidy/
  http://people.debian.org/~barbier/validate/
are generated again.

Josip, when will you make lessoften run?  The l10n stuff is running
on gluck, I did not yet ask admins access to non-us, so you might
comment the generation of unstable.non-US (but do not remove old
files, I am not sure that everything works fine if this file is
missing).

Denis



  1   2   3   4   5   6   >