[Cdd-commits] r813 - in cdd/trunk/webtools: . po templates
CDD Subversion Commit
noreply at alioth.debian.org
Mon Jun 16 10:22:11 UTC 2008
Author: tille
Date: Mon Jun 16 10:22:11 2008
New Revision: 813
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:
Fixed time stamp
Modified: cdd/trunk/webtools/po/cdd-webtools.pot
==============================================================================
--- cdd/trunk/webtools/po/cdd-webtools.pot (original)
+++ cdd/trunk/webtools/po/cdd-webtools.pot Mon Jun 16 10:22:11 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-16 10:52+0200\n"
+"POT-Creation-Date: 2008-06-16 12:12+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,31 +16,35 @@
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:67
+#: tasks.py:72
msgid "Maintainer"
msgstr ""
-#: tasks.py:68
+#: tasks.py:73
msgid "License"
msgstr ""
-#: tasks.py:69
+#: tasks.py:74
msgid "Version"
msgstr ""
-#: tasks.py:72
+#: tasks.py:75
+msgid "Last update:"
+msgstr ""
+
+#: tasks.py:78
msgid "Official"
msgstr ""
-#: tasks.py:73
+#: tasks.py:79
msgid "Unofficial"
msgstr ""
-#: tasks.py:74
+#: tasks.py:80
msgid "Prospective"
msgstr ""
-#: tasks.py:76
+#: tasks.py:82
msgid "Packages"
msgstr ""
Modified: cdd/trunk/webtools/po/da.po
==============================================================================
--- cdd/trunk/webtools/po/da.po (original)
+++ cdd/trunk/webtools/po/da.po Mon Jun 16 10:22:11 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-16 10:52+0200\n"
+ "POT-Creation-Date: 2008-06-16 12:12+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,31 +15,35 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:67
+#: tasks.py:72
msgid "Maintainer"
msgstr ""
-#: tasks.py:68
+#: tasks.py:73
msgid "License"
msgstr ""
-#: tasks.py:69
+#: tasks.py:74
msgid "Version"
msgstr ""
-#: tasks.py:72
+#: tasks.py:75
+msgid "Last update:"
+msgstr ""
+
+#: tasks.py:78
msgid "Official"
msgstr ""
-#: tasks.py:73
+#: tasks.py:79
msgid "Unofficial"
msgstr ""
-#: tasks.py:74
+#: tasks.py:80
msgid "Prospective"
msgstr ""
-#: tasks.py:76
+#: tasks.py:82
msgid "Packages"
msgstr ""
Modified: cdd/trunk/webtools/po/de.po
==============================================================================
--- cdd/trunk/webtools/po/de.po (original)
+++ cdd/trunk/webtools/po/de.po Mon Jun 16 10:22:11 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-16 10:52+0200\n"
+ "POT-Creation-Date: 2008-06-16 12:12+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,31 +15,35 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:67
+#: tasks.py:72
msgid "Maintainer"
msgstr "Betreuer"
-#: tasks.py:68
+#: tasks.py:73
msgid "License"
msgstr "Lizenz"
-#: tasks.py:69
+#: tasks.py:74
msgid "Version"
msgstr "Version"
-#: tasks.py:72
+#: tasks.py:75
+msgid "Last update:"
+msgstr "Zuletzt aktualisiert:"
+
+#: tasks.py:78
msgid "Official"
msgstr "Offiziell"
-#: tasks.py:73
+#: tasks.py:79
msgid "Unofficial"
msgstr "Inoffiziell"
-#: tasks.py:74
+#: tasks.py:80
msgid "Prospective"
msgstr "Voraussichtlich"
-#: tasks.py:76
+#: tasks.py:82
msgid "Packages"
msgstr "Pakete"
Modified: cdd/trunk/webtools/po/fr.po
==============================================================================
--- cdd/trunk/webtools/po/fr.po (original)
+++ cdd/trunk/webtools/po/fr.po Mon Jun 16 10:22:11 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-16 10:52+0200\n"
+ "POT-Creation-Date: 2008-06-16 12:12+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,31 +19,35 @@
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
-#: tasks.py:67
+#: tasks.py:72
msgid "Maintainer"
msgstr ""
-#: tasks.py:68
+#: tasks.py:73
msgid "License"
msgstr ""
-#: tasks.py:69
+#: tasks.py:74
msgid "Version"
msgstr ""
-#: tasks.py:72
+#: tasks.py:75
+msgid "Last update:"
+msgstr ""
+
+#: tasks.py:78
msgid "Official"
msgstr ""
-#: tasks.py:73
+#: tasks.py:79
msgid "Unofficial"
msgstr ""
-#: tasks.py:74
+#: tasks.py:80
msgid "Prospective"
msgstr ""
-#: tasks.py:76
+#: tasks.py:82
#, 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 Mon Jun 16 10:22:11 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-16 10:52+0200\n"
+ "POT-Creation-Date: 2008-06-16 12:12+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,32 +15,37 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:67
+#: tasks.py:72
msgid "Maintainer"
msgstr ""
-#: tasks.py:68
+#: tasks.py:73
msgid "License"
msgstr ""
-#: tasks.py:69
+#: tasks.py:74
#, fuzzy
msgid "Version"
msgstr "Revisione"
-#: tasks.py:72
+#: tasks.py:75
+#, fuzzy
+msgid "Last update:"
+msgstr "Ultimo aggiornamento"
+
+#: tasks.py:78
msgid "Official"
msgstr ""
-#: tasks.py:73
+#: tasks.py:79
msgid "Unofficial"
msgstr ""
-#: tasks.py:74
+#: tasks.py:80
msgid "Prospective"
msgstr ""
-#: tasks.py:76
+#: tasks.py:82
#, 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 Mon Jun 16 10:22:11 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-16 10:52+0200\n"
+ "POT-Creation-Date: 2008-06-16 12:12+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,32 +15,37 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tasks.py:67
+#: tasks.py:72
msgid "Maintainer"
msgstr ""
-#: tasks.py:68
+#: tasks.py:73
msgid "License"
msgstr ""
-#: tasks.py:69
+#: tasks.py:74
#, fuzzy
msgid "Version"
msgstr "Revisão"
-#: tasks.py:72
+#: tasks.py:75
+#, fuzzy
+msgid "Last update:"
+msgstr "Última atualização"
+
+#: tasks.py:78
msgid "Official"
msgstr ""
-#: tasks.py:73
+#: tasks.py:79
msgid "Unofficial"
msgstr ""
-#: tasks.py:74
+#: tasks.py:80
msgid "Prospective"
msgstr ""
-#: tasks.py:76
+#: tasks.py:82
#, fuzzy
msgid "Packages"
msgstr "links"
Modified: cdd/trunk/webtools/tasks.py
==============================================================================
--- cdd/trunk/webtools/tasks.py (original)
+++ cdd/trunk/webtools/tasks.py Mon Jun 16 10:22:11 2008
@@ -8,6 +8,10 @@
import os
import gettext
+import time
+from datetime import datetime
+from email.Utils import formatdate
+
from genshi.template import TemplateLoader
from genshi import Markup
@@ -60,6 +64,7 @@
print >>stderr, "Unable to create output dir " + OUTPUTDIR[CDD]
exit(-1)
+t = datetime.now()
for lang in languages:
l10nstring[lang].install()
_ = l10nstring[lang].ugettext
@@ -67,6 +72,7 @@
data['maintainer'] = _('Maintainer')
data['license'] = _('License')
data['version'] = _('Version')
+ data['updatetimestamp'] = _('Last update:') + ' ' + formatdate(time.mktime(t.timetuple()))
typenames = dict (
official = _('Official'),
Modified: cdd/trunk/webtools/templates/tasks.xhtml
==============================================================================
--- cdd/trunk/webtools/templates/tasks.xhtml (original)
+++ cdd/trunk/webtools/templates/tasks.xhtml Mon Jun 16 10:22:11 2008
@@ -91,8 +91,7 @@
</td>
</tr>
</table>
-<address>Last update: Thu, 03 Apr 2008 12:01:16 -0000</address>
-<address>Please note: this page gets automatically updated twice a day, on 00:00 and 12:00 UTC.</address>
+<address>${updatetimestamp}</address>
<hr/>
<address>$ SVN export - rev. 1583 - Last update by <a href="http://alioth.debian.org/users/tille">tille</a> - Fri, 14 Mar 2008 07:32:46 +0000 $</address>
</body>
More information about the Cdd-commits
mailing list