[Cdd-commits] r811 - in cdd/trunk/webtools: . po

CDD Subversion Commit noreply at alioth.debian.org
Mon Jun 16 08:53:54 UTC 2008


Author: tille
Date: Mon Jun 16 08:53:53 2008
New Revision: 811

Modified:
   cdd/trunk/webtools/mkpo.sh
   cdd/trunk/webtools/mkpot.sh
   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/php-message-strings.pot
   cdd/trunk/webtools/po/pt.po
   cdd/trunk/webtools/tasks.py
Log:
Translations of some strings


Modified: cdd/trunk/webtools/mkpo.sh
==============================================================================
--- cdd/trunk/webtools/mkpo.sh	(original)
+++ cdd/trunk/webtools/mkpo.sh	Mon Jun 16 08:53:53 2008
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 NAME=cdd-webtools
 TMPPOT=tmp.pot
 

Modified: cdd/trunk/webtools/mkpot.sh
==============================================================================
--- cdd/trunk/webtools/mkpot.sh	(original)
+++ cdd/trunk/webtools/mkpot.sh	Mon Jun 16 08:53:53 2008
@@ -11,6 +11,6 @@
 	--output-dir="po" \
 	--escape \
 	--output="${NAME}.pot" \
-	tasks_idx.py templates/tasks_idx.xhtml
+	tasks.py tasks_idx.py templates/tasks_idx.xhtml #  templates/tasks.xhtml
 
 #	--language="Python" \

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 08:53:53 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-05-22 15:19+0200\n"
+"POT-Creation-Date: 2008-06-16 10:52+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,19 +16,47 @@
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: tasks_idx.py:36
+#: tasks.py:67
+msgid "Maintainer"
+msgstr ""
+
+#: tasks.py:68
+msgid "License"
+msgstr ""
+
+#: tasks.py:69
+msgid "Version"
+msgstr ""
+
+#: tasks.py:72
+msgid "Official"
+msgstr ""
+
+#: tasks.py:73
+msgid "Unofficial"
+msgstr ""
+
+#: tasks.py:74
+msgid "Prospective"
+msgstr ""
+
+#: tasks.py:76
+msgid "Packages"
+msgstr ""
+
+#: tasks_idx.py:53
 msgid "Tasks page"
 msgstr ""
 
-#: tasks_idx.py:37
+#: tasks_idx.py:54
 msgid "Summary"
 msgstr ""
 
-#: tasks_idx.py:38
+#: tasks_idx.py:55
 msgid "Project"
 msgstr ""
 
-#: tasks_idx.py:39
+#: tasks_idx.py:56
 #, python-format
 msgid ""
 "Help us to see Debian used by medical practicioners and researchers!\n"

Modified: cdd/trunk/webtools/po/da.po
==============================================================================
--- cdd/trunk/webtools/po/da.po	(original)
+++ cdd/trunk/webtools/po/da.po	Mon Jun 16 08:53:53 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-05-22 15:19+0200\n"
+        "POT-Creation-Date: 2008-06-16 10:52+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,19 +15,47 @@
         "Content-Type: text/plain; charset=UTF-8\n"
         "Content-Transfer-Encoding: 8bit\n"
 
-#: tasks_idx.py:36
+#: tasks.py:67
+msgid   "Maintainer"
+msgstr  ""
+
+#: tasks.py:68
+msgid   "License"
+msgstr  ""
+
+#: tasks.py:69
+msgid   "Version"
+msgstr  ""
+
+#: tasks.py:72
+msgid   "Official"
+msgstr  ""
+
+#: tasks.py:73
+msgid   "Unofficial"
+msgstr  ""
+
+#: tasks.py:74
+msgid   "Prospective"
+msgstr  ""
+
+#: tasks.py:76
+msgid   "Packages"
+msgstr  ""
+
+#: tasks_idx.py:53
 msgid   "Tasks page"
 msgstr  ""
 
-#: tasks_idx.py:37
+#: tasks_idx.py:54
 msgid   "Summary"
 msgstr  ""
 
-#: tasks_idx.py:38
+#: tasks_idx.py:55
 msgid   "Project"
 msgstr  ""
 
-#: tasks_idx.py:39
+#: tasks_idx.py:56
 #, python-format
 msgid   "Help us to see Debian used by medical practicioners and researchers!\n"
         "Join us on the\n"
@@ -303,10 +331,6 @@
         "description of that project to the %sDebian-Med mailing list%s"
 msgstr  ""
 
-#: ../tasks.tmpl:52
-msgid   "Maintainer"
-msgstr  ""
-
 #: ../tasks.tmpl:74 ../tasks.tmpl:96
 msgid   "Responsible"
 msgstr  ""

Modified: cdd/trunk/webtools/po/de.po
==============================================================================
--- cdd/trunk/webtools/po/de.po	(original)
+++ cdd/trunk/webtools/po/de.po	Mon Jun 16 08:53:53 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-05-22 15:19+0200\n"
+        "POT-Creation-Date: 2008-06-16 10:52+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,19 +15,47 @@
         "Content-Type: text/plain; charset=UTF-8\n"
         "Content-Transfer-Encoding: 8bit\n"
 
-#: tasks_idx.py:36
+#: tasks.py:67
+msgid   "Maintainer"
+msgstr  "Betreuer"
+
+#: tasks.py:68
+msgid   "License"
+msgstr  "Lizenz"
+
+#: tasks.py:69
+msgid   "Version"
+msgstr  "Version"
+
+#: tasks.py:72
+msgid   "Official"
+msgstr  "Offiziell"
+
+#: tasks.py:73
+msgid   "Unofficial"
+msgstr  "Inoffiziell"
+
+#: tasks.py:74
+msgid   "Prospective"
+msgstr  "Voraussichtlich"
+
+#: tasks.py:76
+msgid   "Packages"
+msgstr  "Pakete"
+
+#: tasks_idx.py:53
 msgid   "Tasks page"
 msgstr  "Aufgaben"
 
-#: tasks_idx.py:37
+#: tasks_idx.py:54
 msgid   "Summary"
 msgstr  "Zusammenfassung"
 
-#: tasks_idx.py:38
+#: tasks_idx.py:55
 msgid   "Project"
 msgstr  "Projekt"
 
-#: tasks_idx.py:39
+#: tasks_idx.py:56
 #, python-format
 msgid   "Help us to see Debian used by medical practicioners and researchers!\n"
         "Join us on the\n"
@@ -313,10 +341,6 @@
         "oder wenn Sie ein inoffizielles Debianpaket erstellt haben, zögern Sie bitte nicht eine "
         "Beschreibung des Projekts an die %sDebian-Med Mailingliste%s zu schicken."
 
-#: ../tasks.tmpl:52
-msgid   "Maintainer"
-msgstr  ""
-
 #: ../tasks.tmpl:74 ../tasks.tmpl:96
 msgid   "Responsible"
 msgstr  "Verantwortlich"
@@ -409,8 +433,5 @@
 #~ msgid        "Author"
 #~ msgstr       "Autor"
 
-#~ msgid        "Revision"
-#~ msgstr       "Revision"
-
 #~ msgid        "Modified Files"
 #~ msgstr       "Veränderte Dateien"

Modified: cdd/trunk/webtools/po/fr.po
==============================================================================
--- cdd/trunk/webtools/po/fr.po	(original)
+++ cdd/trunk/webtools/po/fr.po	Mon Jun 16 08:53:53 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-05-22 15:19+0200\n"
+        "POT-Creation-Date: 2008-06-16 10:52+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,21 +19,50 @@
         "Content-Transfer-Encoding: 8bit\n"
         "X-Generator: KBabel 1.11.4\n"
 
-#: tasks_idx.py:36
+#: tasks.py:67
+msgid   "Maintainer"
+msgstr  ""
+
+#: tasks.py:68
+msgid   "License"
+msgstr  ""
+
+#: tasks.py:69
+msgid   "Version"
+msgstr  ""
+
+#: tasks.py:72
+msgid   "Official"
+msgstr  ""
+
+#: tasks.py:73
+msgid   "Unofficial"
+msgstr  ""
+
+#: tasks.py:74
+msgid   "Prospective"
+msgstr  ""
+
+#: tasks.py:76
+#, fuzzy
+msgid   "Packages"
+msgstr  "Liens"
+
+#: tasks_idx.py:53
 #, fuzzy
 msgid   "Tasks page"
 msgstr  "Localisation"
 
-#: tasks_idx.py:37
+#: tasks_idx.py:54
 #, fuzzy
 msgid   "Summary"
 msgstr  "r&eacute;sum&eacute;"
 
-#: tasks_idx.py:38
+#: tasks_idx.py:55
 msgid   "Project"
 msgstr  ""
 
-#: tasks_idx.py:39
+#: tasks_idx.py:56
 #, python-format
 msgid   "Help us to see Debian used by medical practicioners and researchers!\n"
         "Join us on the\n"
@@ -313,10 +342,6 @@
         "description of that project to the %sDebian-Med mailing list%s"
 msgstr  ""
 
-#: ../tasks.tmpl:52
-msgid   "Maintainer"
-msgstr  ""
-
 #: ../tasks.tmpl:74 ../tasks.tmpl:96
 msgid   "Responsible"
 msgstr  ""

Modified: cdd/trunk/webtools/po/it.po
==============================================================================
--- cdd/trunk/webtools/po/it.po	(original)
+++ cdd/trunk/webtools/po/it.po	Mon Jun 16 08:53:53 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-05-22 15:19+0200\n"
+        "POT-Creation-Date: 2008-06-16 10:52+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,20 +15,50 @@
         "Content-Type: text/plain; charset=UTF-8\n"
         "Content-Transfer-Encoding: 8bit\n"
 
-#: tasks_idx.py:36
+#: tasks.py:67
+msgid   "Maintainer"
+msgstr  ""
+
+#: tasks.py:68
+msgid   "License"
+msgstr  ""
+
+#: tasks.py:69
+#, fuzzy
+msgid   "Version"
+msgstr  "Revisione"
+
+#: tasks.py:72
+msgid   "Official"
+msgstr  ""
+
+#: tasks.py:73
+msgid   "Unofficial"
+msgstr  ""
+
+#: tasks.py:74
+msgid   "Prospective"
+msgstr  ""
+
+#: tasks.py:76
+#, fuzzy
+msgid   "Packages"
+msgstr  "pagine"
+
+#: tasks_idx.py:53
 msgid   "Tasks page"
 msgstr  "Tasks della CDD"
 
-#: tasks_idx.py:37
+#: tasks_idx.py:54
 #, fuzzy
 msgid   "Summary"
 msgstr  "riassunto"
 
-#: tasks_idx.py:38
+#: tasks_idx.py:55
 msgid   "Project"
 msgstr  ""
 
-#: tasks_idx.py:39
+#: tasks_idx.py:56
 #, fuzzy, python-format
 msgid   "Help us to see Debian used by medical practicioners and researchers!\n"
         "Join us on the\n"
@@ -316,10 +346,6 @@
         "preparato un pacchetto Debian non ufficiale, non esitare a mandare una descrizione di "
         "quel progetto alla %smailing list Debian-Med%s"
 
-#: ../tasks.tmpl:52
-msgid   "Maintainer"
-msgstr  ""
-
 #: ../tasks.tmpl:74 ../tasks.tmpl:96
 msgid   "Responsible"
 msgstr  "Responsabile"
@@ -413,8 +439,5 @@
 #~ msgid        "Author"
 #~ msgstr       "Autore"
 
-#~ msgid        "Revision"
-#~ msgstr       "Revisione"
-
 #~ msgid        "Modified Files"
 #~ msgstr       "File Modificati"

Modified: cdd/trunk/webtools/po/php-message-strings.pot
==============================================================================
--- cdd/trunk/webtools/po/php-message-strings.pot	(original)
+++ cdd/trunk/webtools/po/php-message-strings.pot	Mon Jun 16 08:53:53 2008
@@ -259,10 +259,6 @@
 "not hesitate to send a description of that project to the %sDebian-Med mailing list%s"
 msgstr ""
 
-#: ../tasks.tmpl:52
-msgid "Maintainer"
-msgstr ""
-
 #: ../tasks.tmpl:74 ../tasks.tmpl:96
 msgid "Responsible"
 msgstr ""

Modified: cdd/trunk/webtools/po/pt.po
==============================================================================
--- cdd/trunk/webtools/po/pt.po	(original)
+++ cdd/trunk/webtools/po/pt.po	Mon Jun 16 08:53:53 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-05-22 15:19+0200\n"
+        "POT-Creation-Date: 2008-06-16 10:52+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&ecirc;s <debian-l10n-portuguese at lists.debian.org>\n"
@@ -15,21 +15,51 @@
         "Content-Type: text/plain; charset=UTF-8\n"
         "Content-Transfer-Encoding: 8bit\n"
 
-#: tasks_idx.py:36
+#: tasks.py:67
+msgid   "Maintainer"
+msgstr  ""
+
+#: tasks.py:68
+msgid   "License"
+msgstr  ""
+
+#: tasks.py:69
+#, fuzzy
+msgid   "Version"
+msgstr  "Revis&atilde;o"
+
+#: tasks.py:72
+msgid   "Official"
+msgstr  ""
+
+#: tasks.py:73
+msgid   "Unofficial"
+msgstr  ""
+
+#: tasks.py:74
+msgid   "Prospective"
+msgstr  ""
+
+#: tasks.py:76
+#, fuzzy
+msgid   "Packages"
+msgstr  "links"
+
+#: tasks_idx.py:53
 #, fuzzy
 msgid   "Tasks page"
 msgstr  "P&aacute;gina de tradu&ccedil;&otilde;es"
 
-#: tasks_idx.py:37
+#: tasks_idx.py:54
 #, fuzzy
 msgid   "Summary"
 msgstr  "sum&aacute;rio"
 
-#: tasks_idx.py:38
+#: tasks_idx.py:55
 msgid   "Project"
 msgstr  ""
 
-#: tasks_idx.py:39
+#: tasks_idx.py:56
 #, python-format
 msgid   "Help us to see Debian used by medical practicioners and researchers!\n"
         "Join us on the\n"
@@ -314,10 +344,6 @@
         "description of that project to the %sDebian-Med mailing list%s"
 msgstr  ""
 
-#: ../tasks.tmpl:52
-msgid   "Maintainer"
-msgstr  ""
-
 #: ../tasks.tmpl:74 ../tasks.tmpl:96
 msgid   "Responsible"
 msgstr  ""
@@ -412,8 +438,5 @@
 #~ msgid        "Author"
 #~ msgstr       "Autor"
 
-#~ msgid        "Revision"
-#~ msgstr       "Revis&atilde;o"
-
 #~ msgid        "Modified Files"
 #~ msgstr       "Arquivos modificados"

Modified: cdd/trunk/webtools/tasks.py
==============================================================================
--- cdd/trunk/webtools/tasks.py	(original)
+++ cdd/trunk/webtools/tasks.py	Mon Jun 16 08:53:53 2008
@@ -65,6 +65,8 @@
 	_ = l10nstring[lang].ugettext
 	data['lang']              = lang
 	data['maintainer']        = _('Maintainer')
+	data['license']           = _('License')
+	data['version']           = _('Version')
 
 	typenames = dict (
                       official    = _('Official'),
@@ -76,10 +78,12 @@
 	for task in tasks:
 
 		data['task']         = task
-		# data['shortdesc']  = task_details[task]['ShortDesc']
-		# data['longdesc']   = task_details[task]['LongDesc']
 		data['projectkeys']  = cdeps.GetListOfDepsForTask(task, dependencytypes=())
-		data['dependencies'] = cdeps.tasks[task].dependencies.keys()
+		data['dependencies'] = []
+		for type in ['unofficial', 'prospective', 'official', 'unknown']:
+		    if type in cdeps.tasks[task].dependencies.keys():
+			data['dependencies'].append(type)
+		print "DEBUG: Dependencies of %s: %s" % (task, str(data['dependencies']))
 		data['projects']     = cdeps.tasks[task].dependencies
 
 		outputfile = OUTPUTDIR[CDD] + '/' + task + '_' + lang + '.html'



More information about the Cdd-commits mailing list