[Cdd-commits] r863 - in cdd/trunk/webtools: . po templates
CDD Subversion Commit
noreply at alioth.debian.org
Fri Jun 27 21:51:30 UTC 2008
Author: tille
Date: Fri Jun 27 21:51:29 2008
New Revision: 863
Modified:
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
Log:
Handle packages with unknown homepage correctly
Modified: cdd/trunk/webtools/po/cdd-webtools.pot
==============================================================================
--- cdd/trunk/webtools/po/cdd-webtools.pot (original)
+++ cdd/trunk/webtools/po/cdd-webtools.pot Fri Jun 27 21:51:29 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-26 08:33+0200\n"
+"POT-Creation-Date: 2008-06-26 21:46+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"
@@ -94,51 +94,55 @@
msgid "How to set <a href=\"%s\">the default document language</a>"
msgstr ""
-#: tasks.py:99
+#: tasks.py:94
+msgid "Homepage not available"
+msgstr ""
+
+#: tasks.py:104
msgid ""
"Green: The project is <a href=\"#official-debs\">available as an official "
"Debian package</a>"
msgstr ""
-#: tasks.py:100
+#: tasks.py:105
msgid ""
"Yellow: The project is <a href=\"#unofficial-debs\">available as an "
"unofficial Debian package</a>"
msgstr ""
-#: tasks.py:101
+#: tasks.py:106
msgid ""
"Red: The project is <a href=\"#prospective-debs\">not (yet) available as a "
"Debian package</a>"
msgstr ""
-#: tasks.py:106
+#: tasks.py:111
msgid "Official"
msgstr ""
-#: tasks.py:107
+#: tasks.py:112
msgid "Unofficial"
msgstr ""
-#: tasks.py:108
+#: tasks.py:113
msgid "Prospective"
msgstr ""
-#: tasks.py:111
+#: tasks.py:116
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:112
+#: tasks.py:117
msgid ""
"Experimental or unofficial Debian packages, projects with packaging stuff in "
"SVN"
msgstr ""
-#: tasks.py:113
+#: tasks.py:118
msgid "Debian packages not available"
msgstr ""
-#: tasks.py:115
+#: tasks.py:120
msgid "Packages"
msgstr ""
Modified: cdd/trunk/webtools/po/da.po
==============================================================================
--- cdd/trunk/webtools/po/da.po (original)
+++ cdd/trunk/webtools/po/da.po Fri Jun 27 21:51:29 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-26 08:33+0200\n"
+ "POT-Creation-Date: 2008-06-26 21:46+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"
@@ -90,46 +90,50 @@
msgid "How to set <a href=\"%s\">the default document language</a>"
msgstr ""
-#: tasks.py:99
+#: tasks.py:94
+msgid "Homepage not available"
+msgstr ""
+
+#: tasks.py:104
msgid "Green: The project is <a href=\"#official-debs\">available as an official Debian package</"
"a>"
msgstr ""
-#: tasks.py:100
+#: tasks.py:105
msgid "Yellow: The project is <a href=\"#unofficial-debs\">available as an unofficial Debian "
"package</a>"
msgstr ""
-#: tasks.py:101
+#: tasks.py:106
msgid "Red: The project is <a href=\"#prospective-debs\">not (yet) available as a Debian "
"package</a>"
msgstr ""
-#: tasks.py:106
+#: tasks.py:111
msgid "Official"
msgstr ""
-#: tasks.py:107
+#: tasks.py:112
msgid "Unofficial"
msgstr ""
-#: tasks.py:108
+#: tasks.py:113
msgid "Prospective"
msgstr ""
-#: tasks.py:111
+#: tasks.py:116
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:112
+#: tasks.py:117
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
msgstr ""
-#: tasks.py:113
+#: tasks.py:118
msgid "Debian packages not available"
msgstr ""
-#: tasks.py:115
+#: tasks.py:120
msgid "Packages"
msgstr ""
Modified: cdd/trunk/webtools/po/de.po
==============================================================================
--- cdd/trunk/webtools/po/de.po (original)
+++ cdd/trunk/webtools/po/de.po Fri Jun 27 21:51:29 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-26 08:33+0200\n"
+ "POT-Creation-Date: 2008-06-26 21:46+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"
@@ -97,49 +97,53 @@
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
+#: tasks.py:94
+msgid "Homepage not available"
+msgstr "Homepage nicht verfügbar"
+
+#: tasks.py:104
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:100
+#: tasks.py:105
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:101
+#: tasks.py:106
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:106
+#: tasks.py:111
msgid "Official"
msgstr "Offiziell"
-#: tasks.py:107
+#: tasks.py:112
msgid "Unofficial"
msgstr "Inoffiziell"
-#: tasks.py:108
+#: tasks.py:113
msgid "Prospective"
msgstr "Voraussichtlich"
-#: tasks.py:111
+#: tasks.py:116
msgid "Official Debian packages"
msgstr "Offizielle Debianpakete"
-#: tasks.py:112
+#: tasks.py:117
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
msgstr "Experimentelle oder inoffizielle Debianpakete, Projekte mit Code zum Paketieren im SVN"
-#: tasks.py:113
+#: tasks.py:118
msgid "Debian packages not available"
msgstr "Debianpakete nicht verfügbar"
-#: tasks.py:115
+#: tasks.py:120
msgid "Packages"
msgstr "Pakete"
Modified: cdd/trunk/webtools/po/fr.po
==============================================================================
--- cdd/trunk/webtools/po/fr.po (original)
+++ cdd/trunk/webtools/po/fr.po Fri Jun 27 21:51:29 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-26 08:33+0200\n"
+ "POT-Creation-Date: 2008-06-26 21:46+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"
@@ -96,46 +96,50 @@
msgid "How to set <a href=\"%s\">the default document language</a>"
msgstr ""
-#: tasks.py:99
+#: tasks.py:94
+msgid "Homepage not available"
+msgstr ""
+
+#: tasks.py:104
msgid "Green: The project is <a href=\"#official-debs\">available as an official Debian package</"
"a>"
msgstr ""
-#: tasks.py:100
+#: tasks.py:105
msgid "Yellow: The project is <a href=\"#unofficial-debs\">available as an unofficial Debian "
"package</a>"
msgstr ""
-#: tasks.py:101
+#: tasks.py:106
msgid "Red: The project is <a href=\"#prospective-debs\">not (yet) available as a Debian "
"package</a>"
msgstr ""
-#: tasks.py:106
+#: tasks.py:111
msgid "Official"
msgstr ""
-#: tasks.py:107
+#: tasks.py:112
msgid "Unofficial"
msgstr ""
-#: tasks.py:108
+#: tasks.py:113
msgid "Prospective"
msgstr ""
-#: tasks.py:111
+#: tasks.py:116
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:112
+#: tasks.py:117
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
msgstr ""
-#: tasks.py:113
+#: tasks.py:118
msgid "Debian packages not available"
msgstr ""
-#: tasks.py:115
+#: tasks.py:120
#, 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 Fri Jun 27 21:51:29 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-26 08:33+0200\n"
+ "POT-Creation-Date: 2008-06-26 21:46+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"
@@ -96,50 +96,55 @@
msgid "How to set <a href=\"%s\">the default document language</a>"
msgstr ""
-#: tasks.py:99
+#: tasks.py:94
+#, fuzzy
+msgid "Homepage not available"
+msgstr "pacchetto Debian non disponibile"
+
+#: tasks.py:104
#, 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:100
+#: tasks.py:105
#, 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:101
+#: tasks.py:106
#, 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:106
+#: tasks.py:111
msgid "Official"
msgstr ""
-#: tasks.py:107
+#: tasks.py:112
msgid "Unofficial"
msgstr ""
-#: tasks.py:108
+#: tasks.py:113
msgid "Prospective"
msgstr ""
-#: tasks.py:111
+#: tasks.py:116
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:112
+#: tasks.py:117
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
msgstr ""
-#: tasks.py:113
+#: tasks.py:118
#, fuzzy
msgid "Debian packages not available"
msgstr "pacchetto Debian non disponibile"
-#: tasks.py:115
+#: tasks.py:120
#, 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 Fri Jun 27 21:51:29 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-26 08:33+0200\n"
+ "POT-Creation-Date: 2008-06-26 21:46+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"
@@ -94,47 +94,52 @@
msgid "How to set <a href=\"%s\">the default document language</a>"
msgstr ""
-#: tasks.py:99
+#: tasks.py:94
+#, fuzzy
+msgid "Homepage not available"
+msgstr "status das traduções"
+
+#: tasks.py:104
msgid "Green: The project is <a href=\"#official-debs\">available as an official Debian package</"
"a>"
msgstr ""
-#: tasks.py:100
+#: tasks.py:105
msgid "Yellow: The project is <a href=\"#unofficial-debs\">available as an unofficial Debian "
"package</a>"
msgstr ""
-#: tasks.py:101
+#: tasks.py:106
msgid "Red: The project is <a href=\"#prospective-debs\">not (yet) available as a Debian "
"package</a>"
msgstr ""
-#: tasks.py:106
+#: tasks.py:111
msgid "Official"
msgstr ""
-#: tasks.py:107
+#: tasks.py:112
msgid "Unofficial"
msgstr ""
-#: tasks.py:108
+#: tasks.py:113
msgid "Prospective"
msgstr ""
-#: tasks.py:111
+#: tasks.py:116
msgid "Official Debian packages"
msgstr ""
-#: tasks.py:112
+#: tasks.py:117
msgid "Experimental or unofficial Debian packages, projects with packaging stuff in SVN"
msgstr ""
-#: tasks.py:113
+#: tasks.py:118
#, fuzzy
msgid "Debian packages not available"
msgstr "status das traduções"
-#: tasks.py:115
+#: tasks.py:120
#, fuzzy
msgid "Packages"
msgstr "links"
Modified: cdd/trunk/webtools/tasks.py
==============================================================================
--- cdd/trunk/webtools/tasks.py (original)
+++ cdd/trunk/webtools/tasks.py Fri Jun 27 21:51:29 2008
@@ -91,6 +91,7 @@
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))
+ data['nohomepage'] = _('Homepage not available')
if data['advertising'] != None:
# If data['advertising'] is enclosed in _() gettext tries to ask for translations of 'advertising'
# which makes no sense. That's why this is masked by an extra string variable
Modified: cdd/trunk/webtools/templates/tasks.xhtml
==============================================================================
--- cdd/trunk/webtools/templates/tasks.xhtml (original)
+++ cdd/trunk/webtools/templates/tasks.xhtml Fri Jun 27 21:51:29 2008
@@ -66,8 +66,11 @@
<span py:when="project.desc.has_key(lang)">${project.desc[lang]['short']}</span>
<span py:otherwise="">${project.desc['en']['short']}</span>
</span>
- </em><br/>
- <a href="$project.homepage">${project.homepage}</a>
+ </em>
+ <div py:choose="project.homepage">
+ <span py:when="'#'">${nohomepage}</span>
+ <span py:otherwise=""><a href="$project.homepage">${project.homepage}</a></span>
+ </div>
<div py:if="project.responsible != None"><span py:choose="type"><span py:when="'official'">${maintainer}</span><span py:otherwise="">${responsible}</span></span>: ${project.responsible}</div>
</td>
<td class="project-license">
More information about the Cdd-commits
mailing list