* integrate Marko Samastur's translate.js with gettext and php
 * translate the first JavaScript strings
 * add scripts/i18n.php to generate the list of i18n dictionary
This commit is contained in:
Jan Dittberner 2007-12-01 23:15:26 +00:00
parent 3b234e141d
commit 4a15c5b5b6
15 changed files with 409 additions and 12 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: davadmin 0.2\n"
"Report-Msgid-Bugs-To: jan@dittberner.info\n"
"POT-Creation-Date: 2007-12-01 21:31+0100\n"
"POT-Creation-Date: 2007-12-01 23:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

33
po/davadminjs.pot Normal file
View file

@ -0,0 +1,33 @@
# DAVAdmin JavaScript.
# Copyright (C) 2007, Jan Dittberner
# This file is distributed under the same license as the davadmin package.
# Jan Dittberner <jan AT dittberner.info>, 2007.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: davadmin 0.2\n"
"Report-Msgid-Bugs-To: jan@dittberner.info\n"
"POT-Creation-Date: 2007-12-02 00:05+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: admin/scripts/directories.js:47
msgid "Edit this directory's group assignments."
msgstr ""
#: admin/scripts/directories.js:47
msgid "groups"
msgstr ""
#: admin/scripts/directories.js:49
msgid "Delete this directory."
msgstr ""
#: admin/scripts/directories.js:49
msgid "delete"
msgstr ""

View file

@ -0,0 +1,114 @@
# DAVAdmin.
# Copyright (C) 2007, Jan Dittberner
# This file is distributed under the same license as the davadmin package.
# Jan Dittberner <jan AT dittberner.info>, 2007.
#
msgid ""
msgstr ""
"Project-Id-Version: davadmin 0.2\n"
"Report-Msgid-Bugs-To: jan@dittberner.info\n"
"POT-Creation-Date: 2007-12-01 21:31+0100\n"
"PO-Revision-Date: 2007-12-02 00:01+0100\n"
"Last-Translator: Jan Dittberner <jan@dittberner.info>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: admin/common.inc.php:46
msgid "Invalid call!"
msgstr "Ungültiger Aufruf!"
#: admin/common.inc.php:74 admin/common.inc.php:82 admin/common.inc.php:90
#: admin/common.inc.php:98 admin/common.inc.php:107 admin/common.inc.php:111
#, php-format
msgid "%s is not defined."
msgstr "%s ist nicht definiert."
#: admin/common.inc.php:78
msgid "The specified digest file is not readable and writable."
msgstr "Die angegebene Digest-Datei ist nicht lesbar und schreibbar."
#: admin/common.inc.php:86
msgid "The specified group file is not readable and writable."
msgstr "Die angegebene Gruppendatei ist nicht lesbar und schreibbar."
#: admin/common.inc.php:94
msgid "The specified name mapping file is not readable and writable."
msgstr "Die angebene Mapping-Datei für Namen ist nicht lesbar und schreibbar."
#: admin/common.inc.php:103
msgid "The specified DAV directory is no directory or not accessable."
msgstr "Auf das angegeben DAV-Verzeichnis kann nicht zugegriffen werden."
#: admin/directories.php:114
#, php-format
msgid "%d kBytes"
msgstr "%d kByte"
#: admin/directories.php:130 admin/directories.php:236
#: admin/directories.php:275
#, php-format
msgid "Invalid directory name %s!"
msgstr "Ungültiger Verzeichnisname: %s!"
#: admin/directories.php:227
#, php-format
msgid "There already is a directory entry named %s, but it's not a directory!"
msgstr ""
"Es gibt bereits einen Verzeichniseintrag mit dem Namen %s, aber dieser ist "
"kein Verzeichnis!"
#: admin/directories.php:286 admin/directories.php:307 admin/users.php:344
#: admin/users.php:365 admin/users.php:369
#, php-format
msgid "Unexpected values %s!"
msgstr "Unerwarteter Wert: %s!"
#: admin/directories.php:303
msgid "Delete failed!"
msgstr "Das Löschen ist fehlgeschlagen!"
#: admin/shared.inc.php:42
msgid ""
"The Server is not configured correctly. Please tell your Administrator to "
"set the DavAdminConfDir environment variable."
msgstr ""
"Der Server ist nicht richtig konfiguriert. Bitten Sie Ihren Administrator "
"darum, die Umgebungsvariable DavAdminConfDir zu setzen."
#: admin/shared.inc.php:49
#, php-format
msgid ""
"The server configuration file '%s' doesn't exist. Please create the file "
"with correct settings."
msgstr "Die Serverkonfigurationsdatei '%s' existiert nicht. Bitte legen Sie diese Datei mit den korrekten Einstellungen an."
#: admin/users.php:64 admin/users.php:84 admin/users.php:327
#, php-format
msgid "Invalid user id %s"
msgstr "Ungültige Benutzer-Id %s"
#: admin/users.php:105
msgid "Uid must be numeric."
msgstr "Nutzer-Id muss ein numerischer Wert sein."
#: admin/users.php:108 admin/users.php:115
msgid "Password must be at least 8 characters long."
msgstr "Das Passwort muss mindestens 8 Zeichen lang sein."
#: admin/users.php:112
msgid ""
"Username must be at least 2 characters long and must contain letters and "
"digits only."
msgstr ""
"Der Nutzername muss mindestens zwei Zeichen lang sein und darf nur aus "
"Buchstaben und Zahlen bestehen."
#: admin/users.php:125
msgid ""
"Groups must be a list of group names separated by commas. Group names must "
"consist of letters and digits."
msgstr ""
"Im Feld Gruppen muss eine durch Kommata getrennte Liste von Gruppennamen "
"stehen. Gruppennamen dürfen aus Buchstaben und Zahlen bestehen."

Binary file not shown.

View file

@ -0,0 +1,32 @@
# DAVAdmin.
# Copyright (C) 2007, Jan Dittberner
# This file is distributed under the same license as the davadmin package.
# Jan Dittberner <jan AT dittberner.info>, 2007.
#
msgid ""
msgstr ""
"Project-Id-Version: davadmin 0.2\n"
"Report-Msgid-Bugs-To: jan@dittberner.info\n"
"POT-Creation-Date: 2007-12-02 00:01+0100\n"
"PO-Revision-Date: 2007-12-02 00:01+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: admin/scripts/directories.js:47
msgid "Edit this directory's group assignments."
msgstr "Die Gruppenzuordnungen dieses Verzeichnisses bearbeiten."
#: admin/scripts/directories.js:47
msgid "groups"
msgstr "Gruppen"
#: admin/scripts/directories.js:49
msgid "Delete this directory."
msgstr "Dieses Verzeichnis löschen."
#: admin/scripts/directories.js:49
msgid "delete"
msgstr "löschen"

30
po/jspot.sed Normal file
View file

@ -0,0 +1,30 @@
# Copyright (c) 2007 Jan Dittberner. $Revision$
#
# inspired by Alex Tingle's pot.sed from
# http://blogs.admissions.buffalo.edu/news/wp-content/plugins/eventcalendar3/gettext/pot.sed
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
# Fills in some details in the ec3.pot file.
1,/^$/ {
s/SOME DESCRIPTIVE TITLE/DAVAdmin JavaScript/
s/YEAR THE PACKAGE.S COPYRIGHT HOLDER/2007, Jan Dittberner/
s/PACKAGE/davadmin/
s/FIRST AUTHOR <EMAIL@ADDRESS>, YEAR./Jan Dittberner <jan AT dittberner.info>, 2007./
s/VERSION/0.2/
s/CHARSET/UTF-8/
}

4
po/transjs.txt Normal file
View file

@ -0,0 +1,4 @@
Edit this directory's group assignments.
groups
Delete this directory.
delete