|
From: <ge...@us...> - 2009-04-10 17:01:16
|
Revision: 1822
http://nocc.svn.sourceforge.net/nocc/?rev=1822&view=rev
Author: gerundt
Date: 2009-04-10 17:01:11 +0000 (Fri, 10 Apr 2009)
Log Message:
-----------
Web: Add references to PO(T) files
Modified Paths:
--------------
trunk/create_potfile_for_htdocs.py
trunk/htdocs/engine/languages/de.po
trunk/htdocs/engine/languages/en.pot
Modified: trunk/create_potfile_for_htdocs.py
===================================================================
--- trunk/create_potfile_for_htdocs.py 2009-04-10 16:20:05 UTC (rev 1821)
+++ trunk/create_potfile_for_htdocs.py 2009-04-10 17:01:11 UTC (rev 1822)
@@ -11,6 +11,7 @@
#
# $Id$
+from os import sep
from os.path import abspath, isfile, join, splitext, walk
from time import strftime
import string
@@ -50,7 +51,8 @@
#Main routine...
translations = {}
-php_files = getPhpFiles('htdocs')
+php_dir = abspath('htdocs')
+php_files = getPhpFiles(php_dir)
for php_file in php_files: #For all php files...
getTranslationsFromPhpFile(php_file, translations)
@@ -74,12 +76,12 @@
potfile.write('"Content-Transfer-Encoding: 8bit\\n"\n')
potfile.write('"X-Poedit-Language: English\\n"\n')
potfile.write('"X-Poedit-SourceCharset: utf-8\\n"\n')
-potfile.write('"X-Poedit-Basepath: ../\\n"\n')
+potfile.write('"X-Poedit-Basepath: ../../\\n"\n')
potfile.write('\n')
for translation in translations: #For all translations...
references = translations[translation]
-# for reference in references: #For all references...
-# potfile.write('#: %s:%u\n' % (reference[0], reference[1]))
+ for reference in references: #For all references...
+ potfile.write('#: %s:%u\n' % (reference[0].replace(php_dir + sep, ''), reference[1]))
potfile.write('#, c-format\n')
potfile.write('msgid "%s"\n' % (translation.replace('"', '\\"')))
potfile.write('msgstr ""\n')
Modified: trunk/htdocs/engine/languages/de.po
===================================================================
--- trunk/htdocs/engine/languages/de.po 2009-04-10 16:20:05 UTC (rev 1821)
+++ trunk/htdocs/engine/languages/de.po 2009-04-10 17:01:11 UTC (rev 1822)
@@ -8,8 +8,8 @@
msgstr ""
"Project-Id-Version: NOCC\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/tracker/?group_id=12177&atid=112177\n"
-"POT-Creation-Date: 2009-04-10 16:41+0000\n"
-"PO-Revision-Date: 2009-04-10 16:49+0100\n"
+"POT-Creation-Date: 2009-04-10 18:58+0000\n"
+"PO-Revision-Date: 2009-04-10 18:58+0100\n"
"Last-Translator: Tim Gerundt <tim at gerundt.de>\n"
"Language-Team: German <noc...@li...>\n"
"MIME-Version: 1.0\n"
@@ -19,298 +19,414 @@
"X-Poedit-SourceCharset: utf-8\n"
"X-Poedit-Basepath: ../\n"
+#: team.php:8
#, c-format
msgid "Active Developers"
msgstr "Aktive Entwickler"
+#: docs\changelog.php:28
#, c-format
msgid "The change log is currently not available..."
msgstr "Die Versionshistorie ist derzeit nicht verfügbar..."
+#: index.php:24
#, c-format
msgid "Requirements"
msgstr "Anforderungen"
+#: engine\page.inc:181
#, c-format
msgid "Patches"
msgstr "Patches"
+#: index.php:43
+#: download\index.php:16
#, c-format
msgid "Project File Releases"
msgstr "Projekt-Dateifreigaben"
+#: screenshots\index.php:10
+#: screenshots\index.php:18
+#: screenshots\index.php:26
#, c-format
msgid "Login window"
msgstr "Anmelden-Fenster"
+#: license.php:10
#, c-format
msgid "GNU General Public License"
msgstr "GNU General Public License"
+#: translations\translations.inc:62
#, c-format
msgid "Graph"
msgstr "Diagramm"
+#: translations\translations.inc:46
+#: translations\translations.inc:65
+#: translations\translations.inc:92
#, c-format
msgid "Untranslated"
msgstr "Unübersetzt"
+#: docs\faq.php:6
+#: engine\page.inc:169
#, c-format
msgid "Frequently Asked Questions"
msgstr "Häufig gestellte Fragen"
+#: 404.php:5
#, c-format
msgid "Error 404 (Page Not Found))"
msgstr "Fehler 404 (Seite nicht gefunden)"
+#: engine\page.inc:25
#, c-format
msgid "en"
msgstr "de"
+#: engine\page.inc:27
#, c-format
msgid "UTF-8"
msgstr "UTF-8"
+#: translations\index.php:18
#, c-format
msgid "Current Status (SVN version)"
msgstr "Aktueller Status (SVN Version)"
+#: translations\index.php:14
#, c-format
msgid "Translate"
msgstr "Übersetzen"
+#: team.php:12
#, c-format
msgid "Theme improvements"
msgstr "Theme-Verbesserungen"
+#: team.php:11
#, c-format
msgid "Project Manager"
msgstr "Projektleiter"
+#: team.php:5
+#: team.php:6
+#: engine\page.inc:162
#, c-format
msgid "Development Team"
msgstr "Entwickler-Team"
+#: license.php:26
#, c-format
msgid "The Open Source Definition"
msgstr "Die Open-Source-Definition"
+#: team.php:13
#, c-format
msgid "Website"
msgstr "Webseite"
+#: team.php:20
#, c-format
msgid "Various patches"
msgstr "Verschiedene Patches"
+#: screenshots\index.php:14
+#: screenshots\index.php:22
#, c-format
msgid "Preferences window"
msgstr "Einstellungen-Fenster"
+#: index.php:10
#, c-format
msgid "NOCC is a webmail client written in <a href=\"http://www.php.net\">PHP</a>. It provides webmail access to IMAP and POP3 accounts."
msgstr "NOCC ist ein Webmail-Client in <a href=\"http://www.php.net\">PHP</a> geschrieben. Er bietet Zugriff auf IMAP- und POP3-Konten."
+#: team.php:19
#, c-format
msgid "New translation system"
msgstr "Neues Übersetzungssystem"
+#: team.php:23
#, c-format
msgid "Inactive/Past Developers"
msgstr "Inaktive/Ehemalige Entwickler"
+#: engine\page.inc:164
+#: translations\index.php:6
+#: translations\index.php:7
#, c-format
msgid "Translations"
msgstr "Übersetzungen"
+#: download\snapshot.php:15
#, c-format
msgid "Recent Activity"
msgstr "Letzte Aktivitäten"
+#: engine\page.inc:178
+#: translations\index.php:12
#, c-format
msgid "Project Page"
msgstr "Projektseite"
+#: screenshots\index.php:26
+#: screenshots\index.php:27
+#: screenshots\index.php:28
+#: screenshots\index.php:29
#, c-format
msgid "(IE, english)"
msgstr "(IE, Englisch)"
+#: translations\index.php:13
#, c-format
msgid "Statistics"
msgstr "Statistiken"
+#: docs\faq.php:22
#, c-format
msgid "The FAQ is currently not available..."
msgstr "Die FAQ ist derzeit nicht verfügbar..."
+#: engine\page.inc:180
#, c-format
msgid "Feature Requests"
msgstr "Funktionsanfrage"
+#: docs\faq.php:5
+#: engine\page.inc:169
#, c-format
msgid "FAQ"
msgstr "FAQ"
+#: license.php:8
#, c-format
msgid "NOCC is <a href=\"http://www.opensource.org/\">Open Source</a> software under the <a href=\"http://www.gnu.org/licenses/gpl-2.0.html\">GNU General Public License</a>."
msgstr "NOCC ist <a href=\"http://www.opensource.org/\">Open-Source</a> Software unter der <a href=\"http://www.gnu.org/licenses/gpl-2.0.html\">GNU General Public License</a>."
+#: team.php:18
#, c-format
msgid "LDAP address book support"
msgstr "LDAP Adressbuch-Unterstützung"
+#: license.php:27
#, c-format
msgid "GNU General Public License v2.0"
msgstr "GNU General Public License v2.0"
+#: license.php:5
+#: license.php:6
+#: engine\page.inc:165
#, c-format
msgid "License"
msgstr "Lizenz"
+#: docs\changelog.php:5
+#: docs\changelog.php:6
+#: engine\page.inc:168
#, c-format
msgid "Changelog"
msgstr "Versionshistorie"
+#: translations\index.php:11
#, c-format
msgid "Homepage"
msgstr "Homepage"
+#: docs\index.php:5
+#: docs\index.php:6
+#: engine\page.inc:167
#, c-format
msgid "Documentation"
msgstr "Dokumentation"
+#: translations\index.php:15
#, c-format
msgid "Recent Changes"
msgstr "Letzte Änderungen"
+#: index.php:31
#, c-format
msgid "Project News"
msgstr "Projekt-Neuigkeiten"
+#: engine\page.inc:182
#, c-format
msgid "Support Requests"
msgstr "Supportanfrage"
+#: team.php:31
#, c-format
msgid "Generous users have contributed various <a href=\"%s\">language translations</a> to NOCC."
msgstr "Großzügige Nutzer haben verschiedene <a href=\"%s\">Übersetzungen</a> zu NOCC beigetragen."
+#: translations\index.php:9
#, c-format
msgid "We use now <a href=\"http://translatewiki.net/\">Translatewiki.net</a>, a localisation platform, to translate NOCC:"
msgstr "Wir verwenden jetzt <a href=\"http://translatewiki.net/\">Translatewiki.net</a>, eine Lokalisierungsplattform, zum Übersetzen von NOCC:"
+#: translations\translations.inc:61
#, c-format
msgid "Language"
msgstr "Sprache"
+#: index.php:40
#, c-format
msgid "View all news…"
msgstr "Alle Neuigkeiten ansehen…"
+#: team.php:30
#, c-format
msgid "Translators"
msgstr "Übersetzer"
+#: engine\engine.inc:18
#, c-format
msgid "English"
msgstr "Englisch"
+#: translations\translations.inc:44
+#: translations\translations.inc:64
+#: translations\translations.inc:91
#, c-format
msgid "Translated"
msgstr "Übersetzt"
+#: license.php:28
#, c-format
msgid "Open Source Software"
msgstr "Open-Source-Software"
+#: engine\page.inc:89
#, c-format
msgid "NOCC - Host your own Webmail Client"
msgstr "NOCC - Host your own Webmail Client"
+#: engine\page.inc:179
#, c-format
msgid "Bug Tracking"
msgstr "Fehlerverfolgung"
+#: screenshots\index.php:29
#, c-format
msgid "Viewing e-mail with attachment"
msgstr "Anzeigen einer E-Mail mit Anhängen"
+#: 404.php:6
#, c-format
msgid "Page Not Found..."
msgstr "Seite nicht gefunden..."
+#: index.php:6
#, c-format
msgid "Fast, extensible multi-user Webmail (POP3,IMAP) client."
msgstr "Schneller, erweiterbarer mehrbenutzer Webmail-Client (IMAP, POP3)."
+#: translations\translations.inc:63
#, c-format
msgid "Total"
msgstr "Gesamt"
+#: engine\page.inc:86
#, c-format
msgid "NOCC Webmail"
msgstr "NOCC Webmail"
+#: index.php:11
#, c-format
msgid "Features"
msgstr "Funktionen"
+#: license.php:24
#, c-format
msgid "Links"
msgstr "Links"
+#: engine\engine.inc:19
#, c-format
msgid "German"
msgstr "Deutsch"
+#: engine\page.inc:184
#, c-format
msgid "Forums"
msgstr "Foren"
+#: docs\supported.php:5
+#: docs\supported.php:6
+#: engine\page.inc:170
#, c-format
msgid "Supported"
msgstr "Unterstützt"
+#: screenshots\index.php:13
+#: screenshots\index.php:21
#, c-format
msgid "Viewing an e-mail"
msgstr "Anzeigen einer E-Mail"
+#: screenshots\index.php:18
+#: screenshots\index.php:19
+#: screenshots\index.php:20
+#: screenshots\index.php:21
+#: screenshots\index.php:22
#, c-format
msgid "(Firefox, english)"
msgstr "(Firefox, Englisch)"
+#: screenshots\index.php:11
+#: screenshots\index.php:19
+#: screenshots\index.php:27
#, c-format
msgid "Inbox window"
msgstr "Posteingang-Fenster"
+#: index.php:7
#, c-format
msgid "nocc, webmail, php, pop3, imap, smtp, multiuser"
msgstr "nocc, webmail, php, pop3, imap, smtp, mehrbenutzer"
+#: download\snapshot.php:6
+#: download\snapshot.php:7
+#: engine\page.inc:176
#, c-format
msgid "SVN Snapshot"
msgstr "SVN Snapshot"
+#: screenshots\index.php:12
+#: screenshots\index.php:20
+#: screenshots\index.php:28
#, c-format
msgid "Writing an e-mail"
msgstr "Schreiben einer E-Mail"
+#: download\index.php:6
+#: download\index.php:7
+#: engine\page.inc:172
#, c-format
msgid "Download"
msgstr "Download"
+#: engine\page.inc:161
#, c-format
msgid "Home"
msgstr "Home"
+#: index.php:54
+#: download\index.php:27
#, c-format
msgid "View all file releases…"
msgstr "Alle Dateifreigaben ansehen…"
+#: engine\page.inc:163
+#: screenshots\index.php:5
+#: screenshots\index.php:6
#, c-format
msgid "Screenshots"
msgstr "Screenshots"
+#: engine\page.inc:183
#, c-format
msgid "Mailing Lists"
msgstr "Verteilerlisten"
Modified: trunk/htdocs/engine/languages/en.pot
===================================================================
--- trunk/htdocs/engine/languages/en.pot 2009-04-10 16:20:05 UTC (rev 1821)
+++ trunk/htdocs/engine/languages/en.pot 2009-04-10 17:01:11 UTC (rev 1822)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: NOCC\n"
"Report-Msgid-Bugs-To: http://sourceforge.net/tracker/?group_id=12177&atid=112177\n"
-"POT-Creation-Date: 2009-04-10 16:41+0000\n"
+"POT-Creation-Date: 2009-04-10 19:00+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: English <noc...@li...>\n"
@@ -17,300 +17,416 @@
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: English\n"
"X-Poedit-SourceCharset: utf-8\n"
-"X-Poedit-Basepath: ../\n"
+"X-Poedit-Basepath: ../../\n"
+#: team.php:8
#, c-format
msgid "Active Developers"
msgstr ""
+#: docs\changelog.php:28
#, c-format
msgid "The change log is currently not available..."
msgstr ""
+#: index.php:24
#, c-format
msgid "Requirements"
msgstr ""
+#: engine\page.inc:181
#, c-format
msgid "Patches"
msgstr ""
+#: index.php:43
+#: download\index.php:16
#, c-format
msgid "Project File Releases"
msgstr ""
+#: screenshots\index.php:10
+#: screenshots\index.php:18
+#: screenshots\index.php:26
#, c-format
msgid "Login window"
msgstr ""
+#: license.php:10
#, c-format
msgid "GNU General Public License"
msgstr ""
+#: translations\translations.inc:62
#, c-format
msgid "Graph"
msgstr ""
+#: translations\translations.inc:46
+#: translations\translations.inc:65
+#: translations\translations.inc:92
#, c-format
msgid "Untranslated"
msgstr ""
+#: docs\faq.php:6
+#: engine\page.inc:169
#, c-format
msgid "Frequently Asked Questions"
msgstr ""
+#: 404.php:5
#, c-format
msgid "Error 404 (Page Not Found))"
msgstr ""
+#: engine\page.inc:25
#, c-format
msgid "en"
msgstr ""
+#: engine\page.inc:27
#, c-format
msgid "UTF-8"
msgstr ""
+#: translations\index.php:18
#, c-format
msgid "Current Status (SVN version)"
msgstr ""
+#: translations\index.php:14
#, c-format
msgid "Translate"
msgstr ""
+#: team.php:12
#, c-format
msgid "Theme improvements"
msgstr ""
+#: team.php:11
#, c-format
msgid "Project Manager"
msgstr ""
+#: team.php:5
+#: team.php:6
+#: engine\page.inc:162
#, c-format
msgid "Development Team"
msgstr ""
+#: license.php:26
#, c-format
msgid "The Open Source Definition"
msgstr ""
+#: team.php:13
#, c-format
msgid "Website"
msgstr ""
+#: team.php:20
#, c-format
msgid "Various patches"
msgstr ""
+#: screenshots\index.php:14
+#: screenshots\index.php:22
#, c-format
msgid "Preferences window"
msgstr ""
+#: index.php:10
#, c-format
msgid "NOCC is a webmail client written in <a href=\"http://www.php.net\">PHP</a>. It provides webmail access to IMAP and POP3 accounts."
msgstr ""
+#: team.php:19
#, c-format
msgid "New translation system"
msgstr ""
+#: team.php:23
#, c-format
msgid "Inactive/Past Developers"
msgstr ""
+#: engine\page.inc:164
+#: translations\index.php:6
+#: translations\index.php:7
#, c-format
msgid "Translations"
msgstr ""
+#: download\snapshot.php:15
#, c-format
msgid "Recent Activity"
msgstr ""
+#: engine\page.inc:178
+#: translations\index.php:12
#, c-format
msgid "Project Page"
msgstr ""
+#: screenshots\index.php:26
+#: screenshots\index.php:27
+#: screenshots\index.php:28
+#: screenshots\index.php:29
#, c-format
msgid "(IE, english)"
msgstr ""
+#: translations\index.php:13
#, c-format
msgid "Statistics"
msgstr ""
+#: docs\faq.php:22
#, c-format
msgid "The FAQ is currently not available..."
msgstr ""
+#: engine\page.inc:180
#, c-format
msgid "Feature Requests"
msgstr ""
+#: docs\faq.php:5
+#: engine\page.inc:169
#, c-format
msgid "FAQ"
msgstr ""
+#: license.php:8
#, c-format
msgid "NOCC is <a href=\"http://www.opensource.org/\">Open Source</a> software under the <a href=\"http://www.gnu.org/licenses/gpl-2.0.html\">GNU General Public License</a>."
msgstr ""
+#: team.php:18
#, c-format
msgid "LDAP address book support"
msgstr ""
+#: license.php:27
#, c-format
msgid "GNU General Public License v2.0"
msgstr ""
+#: license.php:5
+#: license.php:6
+#: engine\page.inc:165
#, c-format
msgid "License"
msgstr ""
+#: docs\changelog.php:5
+#: docs\changelog.php:6
+#: engine\page.inc:168
#, c-format
msgid "Changelog"
msgstr ""
+#: translations\index.php:11
#, c-format
msgid "Homepage"
msgstr ""
+#: docs\index.php:5
+#: docs\index.php:6
+#: engine\page.inc:167
#, c-format
msgid "Documentation"
msgstr ""
+#: translations\index.php:15
#, c-format
msgid "Recent Changes"
msgstr ""
+#: index.php:31
#, c-format
msgid "Project News"
msgstr ""
+#: engine\page.inc:182
#, c-format
msgid "Support Requests"
msgstr ""
+#: team.php:31
#, c-format
msgid "Generous users have contributed various <a href=\"%s\">language translations</a> to NOCC."
msgstr ""
+#: translations\index.php:9
#, c-format
msgid "We use now <a href=\"http://translatewiki.net/\">Translatewiki.net</a>, a localisation platform, to translate NOCC:"
msgstr ""
+#: translations\translations.inc:61
#, c-format
msgid "Language"
msgstr ""
+#: index.php:40
#, c-format
msgid "View all news…"
msgstr ""
+#: team.php:30
#, c-format
msgid "Translators"
msgstr ""
+#: engine\engine.inc:18
#, c-format
msgid "English"
msgstr ""
+#: translations\translations.inc:44
+#: translations\translations.inc:64
+#: translations\translations.inc:91
#, c-format
msgid "Translated"
msgstr ""
+#: license.php:28
#, c-format
msgid "Open Source Software"
msgstr ""
+#: engine\page.inc:89
#, c-format
msgid "NOCC - Host your own Webmail Client"
msgstr ""
+#: engine\page.inc:179
#, c-format
msgid "Bug Tracking"
msgstr ""
+#: screenshots\index.php:29
#, c-format
msgid "Viewing e-mail with attachment"
msgstr ""
+#: 404.php:6
#, c-format
msgid "Page Not Found..."
msgstr ""
+#: index.php:6
#, c-format
msgid "Fast, extensible multi-user Webmail (POP3,IMAP) client."
msgstr ""
+#: translations\translations.inc:63
#, c-format
msgid "Total"
msgstr ""
+#: engine\page.inc:86
#, c-format
msgid "NOCC Webmail"
msgstr ""
+#: index.php:11
#, c-format
msgid "Features"
msgstr ""
+#: license.php:24
#, c-format
msgid "Links"
msgstr ""
+#: engine\engine.inc:19
#, c-format
msgid "German"
msgstr ""
+#: engine\page.inc:184
#, c-format
msgid "Forums"
msgstr ""
+#: docs\supported.php:5
+#: docs\supported.php:6
+#: engine\page.inc:170
#, c-format
msgid "Supported"
msgstr ""
+#: screenshots\index.php:13
+#: screenshots\index.php:21
#, c-format
msgid "Viewing an e-mail"
msgstr ""
+#: screenshots\index.php:18
+#: screenshots\index.php:19
+#: screenshots\index.php:20
+#: screenshots\index.php:21
+#: screenshots\index.php:22
#, c-format
msgid "(Firefox, english)"
msgstr ""
+#: screenshots\index.php:11
+#: screenshots\index.php:19
+#: screenshots\index.php:27
#, c-format
msgid "Inbox window"
msgstr ""
+#: index.php:7
#, c-format
msgid "nocc, webmail, php, pop3, imap, smtp, multiuser"
msgstr ""
+#: download\snapshot.php:6
+#: download\snapshot.php:7
+#: engine\page.inc:176
#, c-format
msgid "SVN Snapshot"
msgstr ""
+#: screenshots\index.php:12
+#: screenshots\index.php:20
+#: screenshots\index.php:28
#, c-format
msgid "Writing an e-mail"
msgstr ""
+#: download\index.php:6
+#: download\index.php:7
+#: engine\page.inc:172
#, c-format
msgid "Download"
msgstr ""
+#: engine\page.inc:161
#, c-format
msgid "Home"
msgstr ""
+#: index.php:54
+#: download\index.php:27
#, c-format
msgid "View all file releases…"
msgstr ""
+#: engine\page.inc:163
+#: screenshots\index.php:5
+#: screenshots\index.php:6
#, c-format
msgid "Screenshots"
msgstr ""
+#: engine\page.inc:183
#, c-format
msgid "Mailing Lists"
msgstr ""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|