[Cdd-commits] r858 - in cdd/trunk/webtools: . po templates
CDD Subversion Commit
noreply at alioth.debian.org
Thu Jun 26 06:52:45 UTC 2008
Author: tille
Date: Thu Jun 26 06:52:45 2008
New Revision: 858
Modified:
cdd/trunk/webtools/cddtasktools.py
cdd/trunk/webtools/po/cdd-webtools.pot
cdd/trunk/webtools/po/da.po
cdd/trunk/webtools/po/de.po
cdd/trunk/webtools/po/fr.po
cdd/trunk/webtools/po/it.po
cdd/trunk/webtools/po/pt.po
cdd/trunk/webtools/tasks.py
cdd/trunk/webtools/templates/tasks.xhtml
cdd/trunk/webtools/templates/tasks_idx.xhtml
Log:
List of languages which are available at bottom line.
Modified: cdd/trunk/webtools/cddtasktools.py
==============================================================================
--- cdd/trunk/webtools/cddtasktools.py (original)
+++ cdd/trunk/webtools/cddtasktools.py Thu Jun 26 06:52:45 2008
@@ -29,7 +29,7 @@
BASEURL = 'http://ftp.debian.org/'
# SVNHOST = 'svn+ssh://svn.debian.org'
SVNHOST = 'svn://svn.debian.org'
-KEYSTOIGNORE = ( 'Architecture', 'Leaf', 'NeedConfig', 'Note', 'Section' )
+KEYSTOIGNORE = ( 'Architecture', 'Leaf', 'NeedConfig', 'Note', 'Section', 'Needconfig')
GLOBALCACHE = "/var/cache/cdd/"
DDTPURL = "http://ddtp.debian.net/debian/dists/"
DDTPDIR = "/i18n/Translation-"
@@ -575,7 +575,10 @@
if key not in KEYSTOIGNORE:
# Also ignore keys starting with X[A-Z]-
if not re.compile("^X[A-Z]*-").search(key):
- print "Unknown key '%s': %s" % (key, stanza[key])
+ try:
+ print "Unknown key '%s': %s in file %s" % (key, stanza[key], self.taskfile)
+ except:
+ print "Unknown key '%s' with problematic value in file %s." % (key, self.taskfile)
if dep != None:
if dep.dep_strength != 'Ignore' and dep.dep_strength != 'Avoid':
self.dependencies[self._FindDependencyType(dep)].append(dep)
Modified: cdd/trunk/webtools/po/cdd-webtools.pot
==============================================================================
--- cdd/trunk/webtools/po/cdd-webtools.pot (original)
+++ cdd/trunk/webtools/po/cdd-webtools.pot Thu Jun 26 06:52:45 2008
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: cdd-webtools 0.1.1\n"
"Report-Msgid-Bugs-To: debian-custom at lists.debian.org\n"
-"POT-Creation-Date: 2008-06-23 15:13+0200\n"
+"POT-Creation-Date: 2008-06-26 08:33+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -16,49 +16,49 @@
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:73
+#: tasks.py:74
msgid "Maintainer"
msgstr ""
-#: tasks.py:74
+#: tasks.py:75
msgid "Responsible"
msgstr ""
-#: tasks.py:75
+#: tasks.py:76
msgid "License"
msgstr ""
-#: tasks.py:76
+#: tasks.py:77
msgid "Version"
msgstr ""
-#: tasks.py:77
+#: tasks.py:78
msgid "Summary"
msgstr ""
-#: tasks.py:78
+#: tasks.py:79
msgid "Last update:"
msgstr ""
-#: tasks.py:79
+#: tasks.py:80
msgid "Official Debian package"
msgstr ""
-#: tasks.py:80
+#: tasks.py:81
msgid "Unofficial Debian package"
msgstr ""
-#: tasks.py:81
+#: tasks.py:82
msgid "Debian package not available"
msgstr ""
-#: tasks.py:82
+#: tasks.py:83
msgid ""
"For a better overview of the project's availability as a Debian package, "
"each head row has a color code according to this scheme:"
msgstr ""
-#: tasks.py:83
+#: tasks.py:84
#, python-format
msgid ""
"If you discover a project which looks like a good candidate for %s\n"
@@ -68,7 +68,7 @@
"href=\"mailto:%s\">%s mailing list</a>"
msgstr ""
-#: tasks.py:87
+#: tasks.py:88
#, python-format
msgid ""
"The list to the right includes various software projects which are of some "
@@ -77,59 +77,68 @@
"which can sensibly add to a high quality Custom Debian Distribution."
msgstr ""
-#: tasks.py:88
+#: tasks.py:89
msgid "Tasks page"
msgstr ""
-#: tasks.py:89
+#: tasks.py:90
msgid "Project"
msgstr ""
-#: tasks.py:93
+#: tasks.py:91
+msgid "This page is also available in the following languages:"
+msgstr ""
+
+#: tasks.py:92
+#, python-format
+msgid "How to set <a href=\"%s\">the default document language</a>"
+msgstr ""
+
+#: tasks.py:99
msgid ""
"Green: The project is <a href=\"#official-debs\">available as an official "
"Debian package</a>"
msgstr ""
-#: tasks.py:94
+#: tasks.py:100
msgid ""
"Yellow: The project is <a href=\"#unofficial-debs\">available as an "
"unofficial Debian package</a>"
msgstr ""
-#: tasks.py:95
+#: tasks.py:101
msgid ""
"Red: The project is <a href=\"#prospective-debs\">not (yet) available as a "
"Debian package</a>"
msgstr ""
-#: tasks.py:100
+#: tasks.py:106
msgid "Official"
msgstr ""
-#: tasks.py:101
+#: tasks.py:107
msgid "Unofficial"
msgstr ""
-#: tasks.py:102
+#: tasks.py:108
msgid "Prospective"
msgstr ""
-#: tasks.py:105
+#: tasks.py:111
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:106
+#: tasks.py:112
msgid ""
"Experimental or unofficial Debian packages, projects with packaging stuff in "
"SVN"
msgstr ""
-#: tasks.py:107
+#: tasks.py:113
msgid "Debian packages not available"
msgstr ""
-#: tasks.py:109
+#: tasks.py:115
msgid "Packages"
msgstr ""
Modified: cdd/trunk/webtools/po/da.po
==============================================================================
--- cdd/trunk/webtools/po/da.po (original)
+++ cdd/trunk/webtools/po/da.po Thu Jun 26 06:52:45 2008
@@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: cdd-webtools 0.1.1\n"
"Report-Msgid-Bugs-To: debian-custom at lists.debian.org\n"
- "POT-Creation-Date: 2008-06-23 15:13+0200\n"
+ "POT-Creation-Date: 2008-06-26 08:33+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -15,48 +15,48 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:73
+#: tasks.py:74
msgid "Maintainer"
msgstr ""
-#: tasks.py:74
+#: tasks.py:75
msgid "Responsible"
msgstr ""
-#: tasks.py:75
+#: tasks.py:76
msgid "License"
msgstr ""
-#: tasks.py:76
+#: tasks.py:77
msgid "Version"
msgstr ""
-#: tasks.py:77
+#: tasks.py:78
msgid "Summary"
msgstr ""
-#: tasks.py:78
+#: tasks.py:79
msgid "Last update:"
msgstr ""
-#: tasks.py:79
+#: tasks.py:80
msgid "Official Debian package"
msgstr ""
-#: tasks.py:80
+#: tasks.py:81
msgid "Unofficial Debian package"
msgstr ""
-#: tasks.py:81
+#: tasks.py:82
msgid "Debian package not available"
msgstr ""
-#: tasks.py:82
+#: tasks.py:83
msgid "For a better overview of the project's availability as a Debian package, each head row "
"has a color code according to this scheme:"
msgstr ""
-#: tasks.py:83
+#: tasks.py:84
#, python-format
msgid "If you discover a project which looks like a good candidate for %s\n"
" to you, or if you have prepared an inofficial Debian "
@@ -65,7 +65,7 @@
"s\">%s mailing list</a>"
msgstr ""
-#: tasks.py:87
+#: tasks.py:88
#, python-format
msgid "The list to the right includes various software projects which are of some interest to "
"the %s Project. Currently, only a few of them are available as Debian packages. It is our "
@@ -73,54 +73,63 @@
"Custom Debian Distribution."
msgstr ""
-#: tasks.py:88
+#: tasks.py:89
msgid "Tasks page"
msgstr ""
-#: tasks.py:89
+#: tasks.py:90
msgid "Project"
msgstr ""
-#: tasks.py:93
+#: tasks.py:91
+msgid "This page is also available in the following languages:"
+msgstr ""
+
+#: tasks.py:92
+#, python-format
+msgid "How to set <a href=\"%s\">the default document language</a>"
+msgstr ""
+
+#: tasks.py:99
msgid "Green: The project is <a href=\"#official-debs\">available as an official Debian package</"
"a>"
msgstr ""
-#: tasks.py:94
+#: tasks.py:100
msgid "Yellow: The project is <a href=\"#unofficial-debs\">available as an unofficial Debian "
"package</a>"
msgstr ""
-#: tasks.py:95
+#: tasks.py:101
msgid "Red: The project is <a href=\"#prospective-debs\">not (yet) available as a Debian "
"package</a>"
msgstr ""
-#: tasks.py:100
+#: tasks.py:106
msgid "Official"
msgstr ""
-#: tasks.py:101
+#: tasks.py:107
msgid "Unofficial"
msgstr ""
-#: tasks.py:102
+#: tasks.py:108
msgid "Prospective"
msgstr ""
-#: tasks.py:105
+#: tasks.py:111
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:106
+#: tasks.py:112
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
msgstr ""
-#: tasks.py:107
+#: tasks.py:113
msgid "Debian packages not available"
msgstr ""
-#: tasks.py:109
+#: tasks.py:115
msgid "Packages"
msgstr ""
Modified: cdd/trunk/webtools/po/de.po
==============================================================================
--- cdd/trunk/webtools/po/de.po (original)
+++ cdd/trunk/webtools/po/de.po Thu Jun 26 06:52:45 2008
@@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: debian-custom at lists.debian.org\n"
- "POT-Creation-Date: 2008-06-23 15:13+0200\n"
+ "POT-Creation-Date: 2008-06-26 08:33+0200\n"
"PO-Revision-Date: 2008-02-17 17:13:51+0200\n"
"Last-Translator: Steffen Möller, Andreas Tille <{moeller,tille}@debian.org>\n"
"Language-Team: German <de at li.org>\n"
@@ -15,49 +15,49 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:73
+#: tasks.py:74
msgid "Maintainer"
msgstr "Betreuer"
-#: tasks.py:74
+#: tasks.py:75
msgid "Responsible"
msgstr "Verantwortlich"
-#: tasks.py:75
+#: tasks.py:76
msgid "License"
msgstr "Lizenz"
-#: tasks.py:76
+#: tasks.py:77
msgid "Version"
msgstr "Version"
-#: tasks.py:77
+#: tasks.py:78
msgid "Summary"
msgstr "Zusammenfassung"
-#: tasks.py:78
+#: tasks.py:79
msgid "Last update:"
msgstr "Zuletzt aktualisiert:"
-#: tasks.py:79
+#: tasks.py:80
msgid "Official Debian package"
msgstr "Offizielles Debianpaket"
-#: tasks.py:80
+#: tasks.py:81
msgid "Unofficial Debian package"
msgstr "Inoffizielles Debianpaket"
-#: tasks.py:81
+#: tasks.py:82
msgid "Debian package not available"
msgstr "Debianpaket nicht verfügbar"
-#: tasks.py:82
+#: tasks.py:83
msgid "For a better overview of the project's availability as a Debian package, each head row "
"has a color code according to this scheme:"
msgstr "Um einen besseren Überblick über die Verfügbarkeit der Projekte als Debian Paket zu "
"geben, hat jede Kopfzeile einen Farbcode entsprechend diesem Schema:"
-#: tasks.py:83
+#: tasks.py:84
#, python-format
msgid "If you discover a project which looks like a good candidate for %s\n"
" to you, or if you have prepared an inofficial Debian "
@@ -68,7 +68,7 @@
"Sie ein inoffizielles Debianpaket erstellt haben, zögern Sie bitte nicht eine "
"Beschreibung des Projekts an die <a href=\"mailto:%s\">%s Mailingliste</a> zu schicken."
-#: tasks.py:87
+#: tasks.py:88
#, python-format
msgid "The list to the right includes various software projects which are of some interest to "
"the %s Project. Currently, only a few of them are available as Debian packages. It is our "
@@ -80,57 +80,66 @@
"qualitativ hochwertigeCustom Debian Distribution (interne Anpassung von Debian an "
"spezielle Bedürfnisse) zu erstellen."
-#: tasks.py:88
+#: tasks.py:89
msgid "Tasks page"
msgstr "Aufgaben"
-#: tasks.py:89
+#: tasks.py:90
msgid "Project"
msgstr "Projekt"
-#: tasks.py:93
+#: tasks.py:91
+msgid "This page is also available in the following languages:"
+msgstr "Diese Seite gibt es auch in den folgenden Sprachen:"
+
+#: tasks.py:92
+#, python-format
+msgid "How to set <a href=\"%s\">the default document language</a>"
+msgstr "Wie stellt man <a href=\"%s\">die Standardsprache</a> ein"
+
+#: tasks.py:99
msgid "Green: The project is <a href=\"#official-debs\">available as an official Debian package</"
"a>"
msgstr "Grün: Das Projekt <a href=\"#official-debs\">ist als ein offizielles Debianpaket "
"verfügbar</a>"
-#: tasks.py:94
+#: tasks.py:100
msgid "Yellow: The project is <a href=\"#unofficial-debs\">available as an unofficial Debian "
"package</a>"
msgstr "Gelb: Das Projekt <a href=\"#unofficial-debs\">ist als ein inoffizielles Debianpaket "
"verfügbar</a>"
-#: tasks.py:95
+#: tasks.py:101
msgid "Red: The project is <a href=\"#prospective-debs\">not (yet) available as a Debian "
"package</a>"
msgstr "Rot: Das Projekt <a href=\"#prospective-debs\">ist (noch) nicht als Debianpaket "
"verfügbar</a>"
-#: tasks.py:100
+#: tasks.py:106
msgid "Official"
msgstr "Offiziell"
-#: tasks.py:101
+#: tasks.py:107
msgid "Unofficial"
msgstr "Inoffiziell"
-#: tasks.py:102
+#: tasks.py:108
msgid "Prospective"
msgstr "Voraussichtlich"
-#: tasks.py:105
+#: tasks.py:111
msgid "Official Debian packages"
msgstr "Offizielle Debianpakete"
-#: tasks.py:106
+#: tasks.py:112
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
-msgstr ""
+msgstr "Experimentelle oder inoffizielle Debianpakete, Projekte mit Code zum Paketieren im SVN"
-#: tasks.py:107
+#: tasks.py:113
msgid "Debian packages not available"
msgstr "Debianpakete nicht verfügbar"
-#: tasks.py:109
+#: tasks.py:115
msgid "Packages"
msgstr "Pakete"
@@ -138,7 +147,8 @@
msgid "Help us to see Debian used by medical practicioners and researchers! Join us on the <a "
"href=\"http://alioth.debian.org/projects/debian-med\">Alioth page</a>."
msgstr "Hilf uns dabei, Debian für Ärzte und Forscher attraktiv zu machen!\n"
- "Du kannst dem Projekt auf der <a href=\"http://alioth.debian.org/projects/debian-med\">Alioth Seite</a> beitreten."
+ "Du kannst dem Projekt auf der <a href=\"http://alioth.debian.org/projects/debian-med"
+ "\">Alioth Seite</a> beitreten."
#: ../bug_details.tmpl:8 ../bugs.tmpl:7 ../ddtp.tmpl:7 ../ddtp_details.tmpl:8 ../locales.php:7
#: ../tasks.tmpl:8 ../tasks_idx.tmpl:8
Modified: cdd/trunk/webtools/po/fr.po
==============================================================================
--- cdd/trunk/webtools/po/fr.po (original)
+++ cdd/trunk/webtools/po/fr.po Thu Jun 26 06:52:45 2008
@@ -10,7 +10,7 @@
msgid ""
msgstr "Project-Id-Version: messages\n"
"Report-Msgid-Bugs-To: debian-custom at lists.debian.org\n"
- "POT-Creation-Date: 2008-06-23 15:13+0200\n"
+ "POT-Creation-Date: 2008-06-26 08:33+0200\n"
"PO-Revision-Date: 2007-10-07 10:38+0900\n"
"Last-Translator: Charles Plessy <charles-debian-nospam at plessy.org>\n"
"Language-Team: français <fr at li.org.example>\n"
@@ -19,49 +19,49 @@
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
-#: tasks.py:73
+#: tasks.py:74
msgid "Maintainer"
msgstr ""
-#: tasks.py:74
+#: tasks.py:75
msgid "Responsible"
msgstr ""
-#: tasks.py:75
+#: tasks.py:76
msgid "License"
msgstr ""
-#: tasks.py:76
+#: tasks.py:77
msgid "Version"
msgstr ""
-#: tasks.py:77
+#: tasks.py:78
#, fuzzy
msgid "Summary"
msgstr "résumé"
-#: tasks.py:78
+#: tasks.py:79
msgid "Last update:"
msgstr ""
-#: tasks.py:79
+#: tasks.py:80
msgid "Official Debian package"
msgstr ""
-#: tasks.py:80
+#: tasks.py:81
msgid "Unofficial Debian package"
msgstr ""
-#: tasks.py:81
+#: tasks.py:82
msgid "Debian package not available"
msgstr ""
-#: tasks.py:82
+#: tasks.py:83
msgid "For a better overview of the project's availability as a Debian package, each head row "
"has a color code according to this scheme:"
msgstr ""
-#: tasks.py:83
+#: tasks.py:84
#, python-format
msgid "If you discover a project which looks like a good candidate for %s\n"
" to you, or if you have prepared an inofficial Debian "
@@ -70,7 +70,7 @@
"s\">%s mailing list</a>"
msgstr ""
-#: tasks.py:87
+#: tasks.py:88
#, python-format
msgid "The list to the right includes various software projects which are of some interest to "
"the %s Project. Currently, only a few of them are available as Debian packages. It is our "
@@ -78,55 +78,64 @@
"Custom Debian Distribution."
msgstr ""
-#: tasks.py:88
+#: tasks.py:89
#, fuzzy
msgid "Tasks page"
msgstr "Localisation"
-#: tasks.py:89
+#: tasks.py:90
msgid "Project"
msgstr ""
-#: tasks.py:93
+#: tasks.py:91
+msgid "This page is also available in the following languages:"
+msgstr ""
+
+#: tasks.py:92
+#, python-format
+msgid "How to set <a href=\"%s\">the default document language</a>"
+msgstr ""
+
+#: tasks.py:99
msgid "Green: The project is <a href=\"#official-debs\">available as an official Debian package</"
"a>"
msgstr ""
-#: tasks.py:94
+#: tasks.py:100
msgid "Yellow: The project is <a href=\"#unofficial-debs\">available as an unofficial Debian "
"package</a>"
msgstr ""
-#: tasks.py:95
+#: tasks.py:101
msgid "Red: The project is <a href=\"#prospective-debs\">not (yet) available as a Debian "
"package</a>"
msgstr ""
-#: tasks.py:100
+#: tasks.py:106
msgid "Official"
msgstr ""
-#: tasks.py:101
+#: tasks.py:107
msgid "Unofficial"
msgstr ""
-#: tasks.py:102
+#: tasks.py:108
msgid "Prospective"
msgstr ""
-#: tasks.py:105
+#: tasks.py:111
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:106
+#: tasks.py:112
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
msgstr ""
-#: tasks.py:107
+#: tasks.py:113
msgid "Debian packages not available"
msgstr ""
-#: tasks.py:109
+#: tasks.py:115
#, fuzzy
msgid "Packages"
msgstr "Liens"
Modified: cdd/trunk/webtools/po/it.po
==============================================================================
--- cdd/trunk/webtools/po/it.po (original)
+++ cdd/trunk/webtools/po/it.po Thu Jun 26 06:52:45 2008
@@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: debian-custom at lists.debian.org\n"
- "POT-Creation-Date: 2008-06-23 15:13+0200\n"
+ "POT-Creation-Date: 2008-06-26 08:33+0200\n"
"PO-Revision-Date: 2008-02-17 13:30+0100\n"
"Last-Translator: David Paleino <d.paleino at gmail.com>\n"
"Language-Team: Italian <it at li.org>\n"
@@ -15,52 +15,52 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:73
+#: tasks.py:74
msgid "Maintainer"
msgstr ""
-#: tasks.py:74
+#: tasks.py:75
msgid "Responsible"
msgstr "Responsabile"
-#: tasks.py:75
+#: tasks.py:76
msgid "License"
msgstr ""
-#: tasks.py:76
+#: tasks.py:77
#, fuzzy
msgid "Version"
msgstr "Revisione"
-#: tasks.py:77
+#: tasks.py:78
#, fuzzy
msgid "Summary"
msgstr "riassunto"
-#: tasks.py:78
+#: tasks.py:79
#, fuzzy
msgid "Last update:"
msgstr "Ultimo aggiornamento"
-#: tasks.py:79
+#: tasks.py:80
msgid "Official Debian package"
msgstr ""
-#: tasks.py:80
+#: tasks.py:81
msgid "Unofficial Debian package"
msgstr ""
-#: tasks.py:81
+#: tasks.py:82
msgid "Debian package not available"
msgstr "pacchetto Debian non disponibile"
-#: tasks.py:82
+#: tasks.py:83
msgid "For a better overview of the project's availability as a Debian package, each head row "
"has a color code according to this scheme:"
msgstr "Per una migliore visione d'insieme della disponibilità del progetto come pacchetto "
"Debian, ogni riga ha un colore codificato secondo il seguente schema:"
-#: tasks.py:83
+#: tasks.py:84
#, fuzzy, python-format
msgid "If you discover a project which looks like a good candidate for %s\n"
" to you, or if you have prepared an inofficial Debian "
@@ -71,7 +71,7 @@
"preparato un pacchetto Debian non ufficiale, non esitare a mandare una descrizione di "
"quel progetto alla %smailing list Debian-Med%s"
-#: tasks.py:87
+#: tasks.py:88
#, python-format
msgid "The list to the right includes various software projects which are of some interest to "
"the %s Project. Currently, only a few of them are available as Debian packages. It is our "
@@ -79,58 +79,67 @@
"Custom Debian Distribution."
msgstr ""
-#: tasks.py:88
+#: tasks.py:89
msgid "Tasks page"
msgstr "Tasks della CDD"
-#: tasks.py:89
+#: tasks.py:90
msgid "Project"
msgstr ""
-#: tasks.py:93
+#: tasks.py:91
+msgid "This page is also available in the following languages:"
+msgstr ""
+
+#: tasks.py:92
+#, python-format
+msgid "How to set <a href=\"%s\">the default document language</a>"
+msgstr ""
+
+#: tasks.py:99
#, fuzzy
msgid "Green: The project is <a href=\"#official-debs\">available as an official Debian package</"
"a>"
msgstr "Verde: Il progetto è %sdisponibile come pacchetto Debian ufficiale%s"
-#: tasks.py:94
+#: tasks.py:100
#, fuzzy
msgid "Yellow: The project is <a href=\"#unofficial-debs\">available as an unofficial Debian "
"package</a>"
msgstr "Giallo: Il progetto è %sdisponibile come pacchetto Debian non ufficiale%s"
-#: tasks.py:95
+#: tasks.py:101
#, fuzzy
msgid "Red: The project is <a href=\"#prospective-debs\">not (yet) available as a Debian "
"package</a>"
msgstr "Rosso: Il progetto %snon è (ancora) disponibile come pacchetto Debian%s"
-#: tasks.py:100
+#: tasks.py:106
msgid "Official"
msgstr ""
-#: tasks.py:101
+#: tasks.py:107
msgid "Unofficial"
msgstr ""
-#: tasks.py:102
+#: tasks.py:108
msgid "Prospective"
msgstr ""
-#: tasks.py:105
+#: tasks.py:111
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:106
+#: tasks.py:112
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
msgstr ""
-#: tasks.py:107
+#: tasks.py:113
#, fuzzy
msgid "Debian packages not available"
msgstr "pacchetto Debian non disponibile"
-#: tasks.py:109
+#: tasks.py:115
#, fuzzy
msgid "Packages"
msgstr "pagine"
Modified: cdd/trunk/webtools/po/pt.po
==============================================================================
--- cdd/trunk/webtools/po/pt.po (original)
+++ cdd/trunk/webtools/po/pt.po Thu Jun 26 06:52:45 2008
@@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: debian-custom at lists.debian.org\n"
- "POT-Creation-Date: 2008-06-23 15:13+0200\n"
+ "POT-Creation-Date: 2008-06-26 08:33+0200\n"
"PO-Revision-Date: 2008-02-10 21:36-0300\n"
"Last-Translator: Nelson A. de Oliveira <naoliv at debian.org>\n"
"Language-Team: Debian i10n Português <debian-l10n-portuguese at lists.debian.org>\n"
@@ -15,51 +15,51 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:73
+#: tasks.py:74
msgid "Maintainer"
msgstr ""
-#: tasks.py:74
+#: tasks.py:75
msgid "Responsible"
msgstr ""
-#: tasks.py:75
+#: tasks.py:76
msgid "License"
msgstr ""
-#: tasks.py:76
+#: tasks.py:77
#, fuzzy
msgid "Version"
msgstr "Revisão"
-#: tasks.py:77
+#: tasks.py:78
#, fuzzy
msgid "Summary"
msgstr "sumário"
-#: tasks.py:78
+#: tasks.py:79
#, fuzzy
msgid "Last update:"
msgstr "Última atualização"
-#: tasks.py:79
+#: tasks.py:80
msgid "Official Debian package"
msgstr ""
-#: tasks.py:80
+#: tasks.py:81
msgid "Unofficial Debian package"
msgstr ""
-#: tasks.py:81
+#: tasks.py:82
msgid "Debian package not available"
msgstr ""
-#: tasks.py:82
+#: tasks.py:83
msgid "For a better overview of the project's availability as a Debian package, each head row "
"has a color code according to this scheme:"
msgstr ""
-#: tasks.py:83
+#: tasks.py:84
#, python-format
msgid "If you discover a project which looks like a good candidate for %s\n"
" to you, or if you have prepared an inofficial Debian "
@@ -68,7 +68,7 @@
"s\">%s mailing list</a>"
msgstr ""
-#: tasks.py:87
+#: tasks.py:88
#, python-format
msgid "The list to the right includes various software projects which are of some interest to "
"the %s Project. Currently, only a few of them are available as Debian packages. It is our "
@@ -76,56 +76,65 @@
"Custom Debian Distribution."
msgstr ""
-#: tasks.py:88
+#: tasks.py:89
#, fuzzy
msgid "Tasks page"
msgstr "Página de traduções"
-#: tasks.py:89
+#: tasks.py:90
msgid "Project"
msgstr ""
-#: tasks.py:93
+#: tasks.py:91
+msgid "This page is also available in the following languages:"
+msgstr ""
+
+#: tasks.py:92
+#, python-format
+msgid "How to set <a href=\"%s\">the default document language</a>"
+msgstr ""
+
+#: tasks.py:99
msgid "Green: The project is <a href=\"#official-debs\">available as an official Debian package</"
"a>"
msgstr ""
-#: tasks.py:94
+#: tasks.py:100
msgid "Yellow: The project is <a href=\"#unofficial-debs\">available as an unofficial Debian "
"package</a>"
msgstr ""
-#: tasks.py:95
+#: tasks.py:101
msgid "Red: The project is <a href=\"#prospective-debs\">not (yet) available as a Debian "
"package</a>"
msgstr ""
-#: tasks.py:100
+#: tasks.py:106
msgid "Official"
msgstr ""
-#: tasks.py:101
+#: tasks.py:107
msgid "Unofficial"
msgstr ""
-#: tasks.py:102
+#: tasks.py:108
msgid "Prospective"
msgstr ""
-#: tasks.py:105
+#: tasks.py:111
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:106
+#: tasks.py:112
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
msgstr ""
-#: tasks.py:107
+#: tasks.py:113
#, fuzzy
msgid "Debian packages not available"
msgstr "status das traduções"
-#: tasks.py:109
+#: tasks.py:115
#, fuzzy
msgid "Packages"
msgstr "links"
Modified: cdd/trunk/webtools/tasks.py
==============================================================================
--- cdd/trunk/webtools/tasks.py (original)
+++ cdd/trunk/webtools/tasks.py Thu Jun 26 06:52:45 2008
@@ -33,6 +33,7 @@
data = cdeps.data
data['tasks'] = cdeps.GetTaskDescDict()
data['taskskeys'] = cdeps.metapackagekeys
+data['languages'] = languages
# Define directories used
current_dir = os.path.dirname(__file__)
@@ -87,8 +88,12 @@
data['description'] = _("The list to the right includes various software projects which are of some interest to the %s Project. Currently, only a few of them are available as Debian packages. It is our goal, however, to include all software in %s which can sensibly add to a high quality Custom Debian Distribution.") % (data['projectname'], data['projectname'])
data['gtstrTasksPage'] = _('Tasks page')
data['gtstrProject'] = _('Project')
+ data['langavail'] = _('This page is also available in the following languages:')
+ data['howtosetlang'] = _('How to set <a href="%s">the default document language</a>')
+ data['howtosetlang'] = Markup(data['howtosetlang'] % ('http://www.debian.org/intro/cn.%s.html' % lang))
if data['advertising'] != None:
- data['projectadvertising'] = _(data['advertising']) # Hopefully translation will work this way ...
+ advertising = data['advertising']
+ data['projectadvertising'] = _(advertising) # Hopefully translation will work this way ...
print "DEBUG", data['projectadvertising'], data['advertising']
COLORCODES = { 'official' : _('Green: The project is <a href="#official-debs">available as an official Debian package</a>'),
@@ -158,7 +163,12 @@
template = loader.load('tasks.xhtml')
f = open(outputfile, "w")
- print >> f, template.generate(**data).render('xhtml')
+ try:
+ print >> f, template.generate(**data).render('xhtml')
+ except UnicodeDecodeError, errtxt:
+ print >> stderr, \
+ "Some critical encoding problem occured when trying to render task %s for lang %s.\n%s" \
+ % (task, lang, errtxt)
f.close()
Modified: cdd/trunk/webtools/templates/tasks.xhtml
==============================================================================
--- cdd/trunk/webtools/templates/tasks.xhtml (original)
+++ cdd/trunk/webtools/templates/tasks.xhtml Thu Jun 26 06:52:45 2008
@@ -96,6 +96,16 @@
</td>
</tr>
</table>
-<address>${updatetimestamp}</address>
+<div id="footer">
+ <hr class="hidecss" />
+<p>${langavail}</p>
+<py:for each="l in languages">
+ <span py:if="lang != l" class="navpara">
+ <a href="${task}.html.${l}" title="${l}" hreflang="${l}" lang="${l}" rel="alternate">${l}</a>
+ </span>
+</py:for>
+<p>${howtosetlang}</p>
+ <address>${updatetimestamp}</address>
+</div>
</body>
</html>
Modified: cdd/trunk/webtools/templates/tasks_idx.xhtml
==============================================================================
--- cdd/trunk/webtools/templates/tasks_idx.xhtml (original)
+++ cdd/trunk/webtools/templates/tasks_idx.xhtml Thu Jun 26 06:52:45 2008
@@ -51,6 +51,17 @@
</div>
</td>
</tr>
+<div id="footer">
+ <hr class="hidecss" />
+<p>${langavail}</p>
+<py:for each="l in languages">
+ <span py:if="lang != l" class="navpara">
+ <a href="index.html.${l}" title="${l}" hreflang="${l}" lang="${l}" rel="alternate">${l}</a>
+ </span>
+</py:for>
+<p>${howtosetlang}</p>
+ <address>${updatetimestamp}</address>
+</div>
</table>
</body>
</html>
More information about the Cdd-commits
mailing list