Gentoo Archives: gentoo-doc-es

From: Yos <yoswink@×××××.com>
To: Lista Gentoo Doc-Es <gentoo-doc-es@l.g.o>
Subject: [gentoo-doc-es] Actualizacion de archivos del manual. Añadiendo versión y fecha.
Date: Tue, 09 Nov 2004 23:48:13
Message-Id: 6112b49d04110915484453247@mail.gmail.com
1 A través de la lista de documentación me entero de lo siguiente:
2
3 ------------------------------------------
4 To all translation teams:
5 Update your English originals and use the script below to add their date &
6 versions to your translations, with dates formatted in your language of course.
7 Update the locale and date format as required.
8
9 Use with caution and only once.
10 Play with the following command if you need to test the date command:
11
12 echo 'November 2, 2004'|LC_ALL="fr_FR.utf8" date -d "$D" +"%e %B %Y"
13
14 """
15 #!/bin/bash
16
17 for hb in `ls hb-*xml`; do
18 if [ -f "../../en/handbook/$hb" ]; then
19 V=`grep '^<version' ../../en/handbook/$hb`
20 D=`grep '^<date' ../../en/handbook/$hb|sed "s:^<date>\\(.*\\)</date>$:\\1:"`
21 ND=`LC_ALL="fr_FR.utf8" date -d "$D" +"%e %B %Y"`
22 echo "$hb : $V $D => $ND "
23 grep -B 99 "^<sections" $hb > toto.xml
24 echo -e "\n$V\n<date>$ND</date>\n" >> toto.xml
25 grep -A 9999 "^<sections" $hb |grep -v "^<sections">> toto.xml
26 mv toto.xml $hb
27 fi
28 done
29 """
30 ------------------------------------------
31
32 Espero que Bass o Chigui pueden resolver pronto este asunto.
33 Gracias de antemano.
34
35 --
36 gentoo-doc-es@g.o mailing list