* message catalogs for PHP and JavaScript have been joined to davadmin.pot
 * textdomain selection has been unified in admin/i18n.inc.php
This commit is contained in:
Jan Dittberner 2007-12-03 14:37:35 +00:00
parent 379fffa19b
commit 0993d2be3a
11 changed files with 291 additions and 377 deletions

View file

@ -44,9 +44,9 @@ JSPOT=$(POSRC)/$(PROJECT)js.pot
JSTRANS=$(POSRC)/transjs.txt JSTRANS=$(POSRC)/transjs.txt
.PHONY: all .PHONY: all
all: $(POT) $(JSPOT) $(JSTRANS) $(MOFILES) $(JSMOFILES) $(TEMPDIR)/delete all: $(POT) $(JSTRANS) $(MOFILES) $(TEMPDIR)/delete
$(MOFILES) $(JSMOFILES): %.mo: %.po $(MOFILES): %.mo: %.po
@echo "msgfmt: $@" @echo "msgfmt: $@"
msgfmt -o$@ $< msgfmt -o$@ $<
@ -55,34 +55,19 @@ $(POFILES): %: $(POT)
msgmerge -U $@ $(POT) msgmerge -U $@ $(POT)
touch $@ touch $@
$(JSPOFILES): %: $(JSPOT) $(POT): $(XSRCFILES) $(XJSFILES) po/pot.sed
@echo "msgmerge: $@"
msgmerge -U $@ $(JSPOT)
touch $@
$(POT): $(XSRCFILES) po/pot.sed
@echo "xgettext: $@" @echo "xgettext: $@"
cd $(TEMPDIR) && \ cd $(TEMPDIR) && \
xgettext --default-domain=$(PROJECT) --language=php \ xgettext --default-domain=$(PROJECT) --language=php \
--from-code=UTF-8 \ --from-code=UTF-8 \
--msgid-bugs-address="jan@dittberner.info" -o- $(SRCFILES) \ --msgid-bugs-address="jan@dittberner.info" -o $(CURDIR)/$@ $(SRCFILES)
| sed -f $(CURDIR)/po/pot.sed \ xgettext --default-domain=$(PROJECT) --language=Java \
> $(CURDIR)/$@
for pofile in $(POFILES); do \
if test ! -f $(CURDIR)/$${pofile}; then \
cp $(CURDIR)/$@ $(CURDIR)/$${pofile}; \
fi; \
done
$(JSPOT): $(XJSFILES) po/jspot.sed
@echo "xgettext: $@"
cd $(TEMPDIR) && \
xgettext --default-domain=$(PROJECT)js --language=Java \
--from-code=UTF-8 --keyword="intl.translate" \ --from-code=UTF-8 --keyword="intl.translate" \
--msgid-bugs-address="jan@dittberner.info" -o- $(JSFILES) \ --join-existing \
| sed -f $(CURDIR)/po/jspot.sed \ --msgid-bugs-address="jan@dittberner.info" -o $(CURDIR)/$@ $(JSFILES)
> $(CURDIR)/$@ sed -f $(CURDIR)/po/pot.sed < $(CURDIR)/$@ > $(CURDIR)/$@.tmp && \
for pofile in $(JSPOFILES); do \ rm -f $(CURDIR)/$@ && mv $(CURDIR)/$@.tmp $(CURDIR)/$@
for pofile in $(POFILES); do \
if test ! -f $(CURDIR)/$${pofile}; then \ if test ! -f $(CURDIR)/$${pofile}; then \
cp $(CURDIR)/$@ $(CURDIR)/$${pofile}; \ cp $(CURDIR)/$@ $(CURDIR)/$${pofile}; \
fi; \ fi; \
@ -100,12 +85,7 @@ $(JSTRANS): $(XJSFILES)
> $(CURDIR)/$@ > $(CURDIR)/$@
.INTERMEDIATE: $(XSRCFILES) $(XJSFILES) .INTERMEDIATE: $(XSRCFILES) $(XJSFILES)
$(XSRCFILES): $(TEMPDIR)/%: % $(XSRCFILES) $(XJSFILES): $(TEMPDIR)/%: %
@echo "processing: $<"
mkdir -p $(@D)
cp $< $@
$(XJSFILES): $(TEMPDIR)/%: %
@echo "processing: $<" @echo "processing: $<"
mkdir -p $(@D) mkdir -p $(@D)
cp $< $@ cp $< $@

View file

@ -285,11 +285,11 @@ if ($_GET) {
default: default:
errorAsXml(sprintf(_("Unexpected values %s!"), serialize($_GET))); errorAsXml(sprintf(_("Unexpected values %s!"), serialize($_GET)));
} }
} if (isset($_GET["language"])) { } else if (isset($_GET["language"])) {
header("Content-Type: text/html; charset=UTF-8"); header("Content-Type: text/html; charset=UTF-8");
$smarty->assign("directories", getDirectories()); $smarty->assign("directories", getDirectories());
$smarty->display("directories.html"); $smarty->display("directories.html");
}else { } else {
invalidCall(); invalidCall();
} }
} elseif ($_POST) { } elseif ($_POST) {

View file

@ -174,14 +174,10 @@ if ($_SESSION["language"]) {
putenv(sprintf("LANG=%s", $_SESSION["language"])); putenv(sprintf("LANG=%s", $_SESSION["language"]));
putenv(sprintf("LANGUAGE=%s", $_SESSION["language"])); putenv(sprintf("LANGUAGE=%s", $_SESSION["language"]));
$_SESSION["locale"] = _setlocale(LC_ALL, $_SESSION["language"]); $_SESSION["locale"] = _setlocale(LC_ALL, $_SESSION["language"]);
// bind text domain for normal code // bind text domain
bindtextdomain($project, bindtextdomain($project,
realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR .
".." . DIRECTORY_SEPARATOR . "po")); ".." . DIRECTORY_SEPARATOR . "po"));
// bind text domain for JavaScript code
bindtextdomain($project . "js",
realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR .
".." . DIRECTORY_SEPARATOR . "po"));
// set the default text domain to project name // set the default text domain to project name
textdomain($project); textdomain($project);
?> ?>

View file

@ -30,8 +30,6 @@
/** Include the internationalization code. */ /** Include the internationalization code. */
require_once(".." . DIRECTORY_SEPARATOR . "i18n.inc.php"); require_once(".." . DIRECTORY_SEPARATOR . "i18n.inc.php");
textdomain("davadminjs");
$translatable = file(realpath(implode(DIRECTORY_SEPARATOR, $translatable = file(realpath(implode(DIRECTORY_SEPARATOR,
array(dirname(__FILE__), "..", "..", array(dirname(__FILE__), "..", "..",
"po", "transjs.txt")))); "po", "transjs.txt"))));

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: davadmin 0.2\n" "Project-Id-Version: davadmin 0.2\n"
"Report-Msgid-Bugs-To: jan@dittberner.info\n" "Report-Msgid-Bugs-To: jan@dittberner.info\n"
"POT-Creation-Date: 2007-12-02 22:27+0100\n" "POT-Creation-Date: 2007-12-03 15:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -24,29 +24,29 @@ msgid ""
"%s" "%s"
msgstr "" msgstr ""
#: admin/common.inc.php:71 #: admin/common.inc.php:73
msgid "Invalid call!" msgid "Invalid call!"
msgstr "" msgstr ""
#: admin/common.inc.php:99 admin/common.inc.php:107 admin/common.inc.php:115 #: admin/common.inc.php:116 admin/common.inc.php:124 admin/common.inc.php:132
#: admin/common.inc.php:123 admin/common.inc.php:132 admin/common.inc.php:136 #: admin/common.inc.php:140 admin/common.inc.php:149 admin/common.inc.php:153
#, php-format #, php-format
msgid "%s is not defined." msgid "%s is not defined."
msgstr "" msgstr ""
#: admin/common.inc.php:103 #: admin/common.inc.php:120
msgid "The specified digest file is not readable and writable." msgid "The specified digest file is not readable and writable."
msgstr "" msgstr ""
#: admin/common.inc.php:111 #: admin/common.inc.php:128
msgid "The specified group file is not readable and writable." msgid "The specified group file is not readable and writable."
msgstr "" msgstr ""
#: admin/common.inc.php:119 #: admin/common.inc.php:136
msgid "The specified name mapping file is not readable and writable." msgid "The specified name mapping file is not readable and writable."
msgstr "" msgstr ""
#: admin/common.inc.php:128 #: admin/common.inc.php:145
msgid "The specified DAV directory is no directory or not accessable." msgid "The specified DAV directory is no directory or not accessable."
msgstr "" msgstr ""
@ -66,8 +66,8 @@ msgstr ""
msgid "There already is a directory entry named %s, but it's not a directory!" msgid "There already is a directory entry named %s, but it's not a directory!"
msgstr "" msgstr ""
#: admin/directories.php:286 admin/directories.php:311 admin/users.php:344 #: admin/directories.php:286 admin/directories.php:311 admin/users.php:345
#: admin/users.php:369 admin/users.php:373 #: admin/users.php:370 admin/users.php:374
#, php-format #, php-format
msgid "Unexpected values %s!" msgid "Unexpected values %s!"
msgstr "" msgstr ""
@ -76,40 +76,158 @@ msgstr ""
msgid "Delete failed!" msgid "Delete failed!"
msgstr "" msgstr ""
#: admin/shared.inc.php:42 #: admin/shared.inc.php:48
msgid "" msgid ""
"The Server is not configured correctly. Please tell your Administrator to " "The Server is not configured correctly. Please tell your Administrator to "
"set the DavAdminConfDir environment variable." "set the DavAdminConfDir environment variable."
msgstr "" msgstr ""
#: admin/shared.inc.php:49 #: admin/shared.inc.php:55
#, php-format #, php-format
msgid "" msgid ""
"The server configuration file '%s' doesn't exist. Please create the file " "The server configuration file '%s' doesn't exist. Please create the file "
"with correct settings." "with correct settings."
msgstr "" msgstr ""
#: admin/users.php:64 admin/users.php:84 admin/users.php:327 #: admin/users.php:64 admin/users.php:84 admin/users.php:328
#, php-format #, php-format
msgid "Invalid user id %s" msgid "Invalid user id %s"
msgstr "" msgstr ""
#: admin/users.php:105 #: admin/users.php:106
msgid "Uid must be numeric." msgid "Uid must be numeric."
msgstr "" msgstr ""
#: admin/users.php:108 admin/users.php:115 #: admin/users.php:109 admin/users.php:116
msgid "Password must be at least 8 characters long." msgid "Password must be at least 8 characters long."
msgstr "" msgstr ""
#: admin/users.php:112 #: admin/users.php:113
msgid "" msgid ""
"Username must be at least 2 characters long and must contain letters and " "Username must be at least 2 characters long and must contain letters and "
"digits only." "digits only."
msgstr "" msgstr ""
#: admin/users.php:125 #: admin/users.php:126
msgid "" msgid ""
"Groups must be a list of group names separated by commas. Group names must " "Groups must be a list of group names separated by commas. Group names must "
"consist of letters and digits." "consist of letters and digits."
msgstr "" msgstr ""
#: admin/scripts/autocomplete.js:312
msgid ""
"A HTTP error %s occured.\n"
"%s"
msgstr ""
#: admin/scripts/directories.js:35
msgid "Edit this directory's group assignments."
msgstr ""
#: admin/scripts/directories.js:35
msgid "groups"
msgstr ""
#: admin/scripts/directories.js:37
msgid "Delete this directory."
msgstr ""
#: admin/scripts/directories.js:37 admin/scripts/users.js:37
msgid "delete"
msgstr ""
#: admin/scripts/directories.js:65 admin/scripts/users.js:67
msgid "close"
msgstr ""
#: admin/scripts/directories.js:65
msgid "Directory name:"
msgstr ""
#: admin/scripts/directories.js:65 admin/scripts/users.js:71
msgid "Groups:"
msgstr ""
#: admin/scripts/directories.js:65 admin/scripts/users.js:71
msgid "Submit"
msgstr ""
#: admin/scripts/directories.js:80
msgid "Invalid directory name."
msgstr ""
#: admin/scripts/directories.js:110
msgid "Edit directory data"
msgstr ""
#: admin/scripts/directories.js:117
msgid "Create new directory"
msgstr ""
#: admin/scripts/directories.js:122
msgid "Should the directory %s really get deleted?"
msgstr ""
#: admin/scripts/users.js:35
msgid "Edit this user's data."
msgstr ""
#: admin/scripts/users.js:35
msgid "edit"
msgstr ""
#: admin/scripts/users.js:37
msgid "Delete this user's data."
msgstr ""
#: admin/scripts/users.js:67
msgid "User name:"
msgstr ""
#: admin/scripts/users.js:71
msgid "First name:"
msgstr ""
#: admin/scripts/users.js:71
msgid "Last name:"
msgstr ""
#: admin/scripts/users.js:71
msgid "Password:"
msgstr ""
#: admin/scripts/users.js:71
msgid "Confirmation:"
msgstr ""
#: admin/scripts/users.js:88
msgid ""
"The user name must consist of at least 2 letters or digits and no other "
"characters!"
msgstr ""
#: admin/scripts/users.js:95
msgid "The password must have a lenght of at least 8 characters!"
msgstr ""
#: admin/scripts/users.js:100
msgid "Password and confirmation have to match!"
msgstr ""
#: admin/scripts/users.js:106
msgid ""
"The groups field has to be a comma separated list of group names which must "
"consist of letters or digits!"
msgstr ""
#: admin/scripts/users.js:140
msgid "Should the user %s %s with the user name %s really get deleted?"
msgstr ""
#: admin/scripts/users.js:183
msgid "Edit user data"
msgstr ""
#: admin/scripts/users.js:191
msgid "Create new user"
msgstr ""

View file

@ -1,135 +0,0 @@
# 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 20:39+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/autocomplete.js:312
msgid ""
"A HTTP error %s occured.\n"
"%s"
msgstr ""
#: admin/scripts/directories.js:35
msgid "Edit this directory's group assignments."
msgstr ""
#: admin/scripts/directories.js:35
msgid "groups"
msgstr ""
#: admin/scripts/directories.js:37
msgid "Delete this directory."
msgstr ""
#: admin/scripts/directories.js:37 admin/scripts/users.js:37
msgid "delete"
msgstr ""
#: admin/scripts/directories.js:65 admin/scripts/users.js:67
msgid "close"
msgstr ""
#: admin/scripts/directories.js:65
msgid "Directory name:"
msgstr ""
#: admin/scripts/directories.js:65 admin/scripts/users.js:71
msgid "Groups:"
msgstr ""
#: admin/scripts/directories.js:65 admin/scripts/users.js:71
msgid "Submit"
msgstr ""
#: admin/scripts/directories.js:80
msgid "Invalid directory name."
msgstr ""
#: admin/scripts/directories.js:110
msgid "Edit directory data"
msgstr ""
#: admin/scripts/directories.js:117
msgid "Create new directory"
msgstr ""
#: admin/scripts/directories.js:122
msgid "Should the directory %s really get deleted?"
msgstr ""
#: admin/scripts/users.js:35
msgid "Edit this user's data."
msgstr ""
#: admin/scripts/users.js:35
msgid "edit"
msgstr ""
#: admin/scripts/users.js:37
msgid "Delete this user's data."
msgstr ""
#: admin/scripts/users.js:67
msgid "User name:"
msgstr ""
#: admin/scripts/users.js:71
msgid "First name:"
msgstr ""
#: admin/scripts/users.js:71
msgid "Last name:"
msgstr ""
#: admin/scripts/users.js:71
msgid "Password:"
msgstr ""
#: admin/scripts/users.js:71
msgid "Confirmation:"
msgstr ""
#: admin/scripts/users.js:88
msgid ""
"The user name must consist of at least 2 letters or digits and no other "
"characters!"
msgstr ""
#: admin/scripts/users.js:95
msgid "The password must have a lenght of at least 8 characters!"
msgstr ""
#: admin/scripts/users.js:100
msgid "Password and confirmation have to match!"
msgstr ""
#: admin/scripts/users.js:106
msgid ""
"The groups field has to be a comma separated list of group names which must "
"consist of letters or digits!"
msgstr ""
#: admin/scripts/users.js:140
msgid "Should the user %s %s with the user name %s really get deleted?"
msgstr ""
#: admin/scripts/users.js:183
msgid "Edit user data"
msgstr ""
#: admin/scripts/users.js:191
msgid "Create new user"
msgstr ""

Binary file not shown.

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: davadmin 0.2\n" "Project-Id-Version: davadmin 0.2\n"
"Report-Msgid-Bugs-To: jan@dittberner.info\n" "Report-Msgid-Bugs-To: jan@dittberner.info\n"
"POT-Creation-Date: 2007-12-02 22:27+0100\n" "POT-Creation-Date: 2007-12-03 15:27+0100\n"
"PO-Revision-Date: 2007-12-02 22:30+0100\n" "PO-Revision-Date: 2007-12-03 15:28+0100\n"
"Last-Translator: Jan Dittberner <jan@dittberner.info>\n" "Last-Translator: Jan Dittberner <jan@dittberner.info>\n"
"Language-Team: German <de@li.org>\n" "Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -26,29 +26,29 @@ msgstr ""
"%s,\n" "%s,\n"
"%s" "%s"
#: admin/common.inc.php:71 #: admin/common.inc.php:73
msgid "Invalid call!" msgid "Invalid call!"
msgstr "Ungültiger Aufruf!" msgstr "Ungültiger Aufruf!"
#: admin/common.inc.php:99 admin/common.inc.php:107 admin/common.inc.php:115 #: admin/common.inc.php:116 admin/common.inc.php:124 admin/common.inc.php:132
#: admin/common.inc.php:123 admin/common.inc.php:132 admin/common.inc.php:136 #: admin/common.inc.php:140 admin/common.inc.php:149 admin/common.inc.php:153
#, php-format #, php-format
msgid "%s is not defined." msgid "%s is not defined."
msgstr "%s ist nicht definiert." msgstr "%s ist nicht definiert."
#: admin/common.inc.php:103 #: admin/common.inc.php:120
msgid "The specified digest file is not readable and writable." msgid "The specified digest file is not readable and writable."
msgstr "Die angegebene Digest-Datei ist nicht lesbar und schreibbar." msgstr "Die angegebene Digest-Datei ist nicht lesbar und schreibbar."
#: admin/common.inc.php:111 #: admin/common.inc.php:128
msgid "The specified group file is not readable and writable." msgid "The specified group file is not readable and writable."
msgstr "Die angegebene Gruppendatei ist nicht lesbar und schreibbar." msgstr "Die angegebene Gruppendatei ist nicht lesbar und schreibbar."
#: admin/common.inc.php:119 #: admin/common.inc.php:136
msgid "The specified name mapping file is not readable and writable." msgid "The specified name mapping file is not readable and writable."
msgstr "Die angebene Mapping-Datei für Namen ist nicht lesbar und schreibbar." msgstr "Die angebene Mapping-Datei für Namen ist nicht lesbar und schreibbar."
#: admin/common.inc.php:128 #: admin/common.inc.php:145
msgid "The specified DAV directory is no directory or not accessable." msgid "The specified DAV directory is no directory or not accessable."
msgstr "Auf das angegeben DAV-Verzeichnis kann nicht zugegriffen werden." msgstr "Auf das angegeben DAV-Verzeichnis kann nicht zugegriffen werden."
@ -70,8 +70,8 @@ msgstr ""
"Es gibt bereits einen Verzeichniseintrag mit dem Namen %s, aber dieser ist " "Es gibt bereits einen Verzeichniseintrag mit dem Namen %s, aber dieser ist "
"kein Verzeichnis!" "kein Verzeichnis!"
#: admin/directories.php:286 admin/directories.php:311 admin/users.php:344 #: admin/directories.php:286 admin/directories.php:311 admin/users.php:345
#: admin/users.php:369 admin/users.php:373 #: admin/users.php:370 admin/users.php:374
#, php-format #, php-format
msgid "Unexpected values %s!" msgid "Unexpected values %s!"
msgstr "Unerwarteter Wert: %s!" msgstr "Unerwarteter Wert: %s!"
@ -80,7 +80,7 @@ msgstr "Unerwarteter Wert: %s!"
msgid "Delete failed!" msgid "Delete failed!"
msgstr "Das Löschen ist fehlgeschlagen!" msgstr "Das Löschen ist fehlgeschlagen!"
#: admin/shared.inc.php:42 #: admin/shared.inc.php:48
msgid "" msgid ""
"The Server is not configured correctly. Please tell your Administrator to " "The Server is not configured correctly. Please tell your Administrator to "
"set the DavAdminConfDir environment variable." "set the DavAdminConfDir environment variable."
@ -88,7 +88,7 @@ msgstr ""
"Der Server ist nicht richtig konfiguriert. Bitten Sie Ihren Administrator " "Der Server ist nicht richtig konfiguriert. Bitten Sie Ihren Administrator "
"darum, die Umgebungsvariable DavAdminConfDir zu setzen." "darum, die Umgebungsvariable DavAdminConfDir zu setzen."
#: admin/shared.inc.php:49 #: admin/shared.inc.php:55
#, php-format #, php-format
msgid "" msgid ""
"The server configuration file '%s' doesn't exist. Please create the file " "The server configuration file '%s' doesn't exist. Please create the file "
@ -97,20 +97,20 @@ msgstr ""
"Die Serverkonfigurationsdatei '%s' existiert nicht. Bitte legen Sie diese " "Die Serverkonfigurationsdatei '%s' existiert nicht. Bitte legen Sie diese "
"Datei mit den korrekten Einstellungen an." "Datei mit den korrekten Einstellungen an."
#: admin/users.php:64 admin/users.php:84 admin/users.php:327 #: admin/users.php:64 admin/users.php:84 admin/users.php:328
#, php-format #, php-format
msgid "Invalid user id %s" msgid "Invalid user id %s"
msgstr "Ungültige Benutzer-Id %s" msgstr "Ungültige Benutzer-Id %s"
#: admin/users.php:105 #: admin/users.php:106
msgid "Uid must be numeric." msgid "Uid must be numeric."
msgstr "Nutzer-Id muss ein numerischer Wert sein." msgstr "Nutzer-Id muss ein numerischer Wert sein."
#: admin/users.php:108 admin/users.php:115 #: admin/users.php:109 admin/users.php:116
msgid "Password must be at least 8 characters long." msgid "Password must be at least 8 characters long."
msgstr "Das Passwort muss mindestens 8 Zeichen lang sein." msgstr "Das Passwort muss mindestens 8 Zeichen lang sein."
#: admin/users.php:112 #: admin/users.php:113
msgid "" msgid ""
"Username must be at least 2 characters long and must contain letters and " "Username must be at least 2 characters long and must contain letters and "
"digits only." "digits only."
@ -118,10 +118,134 @@ msgstr ""
"Der Nutzername muss mindestens zwei Zeichen lang sein und darf nur aus " "Der Nutzername muss mindestens zwei Zeichen lang sein und darf nur aus "
"Buchstaben und Zahlen bestehen." "Buchstaben und Zahlen bestehen."
#: admin/users.php:125 #: admin/users.php:126
msgid "" msgid ""
"Groups must be a list of group names separated by commas. Group names must " "Groups must be a list of group names separated by commas. Group names must "
"consist of letters and digits." "consist of letters and digits."
msgstr "" msgstr ""
"Im Feld Gruppen muss eine durch Kommata getrennte Liste von Gruppennamen " "Im Feld Gruppen muss eine durch Kommata getrennte Liste von Gruppennamen "
"stehen. Gruppennamen dürfen aus Buchstaben und Zahlen bestehen." "stehen. Gruppennamen dürfen aus Buchstaben und Zahlen bestehen."
#: admin/scripts/autocomplete.js:312
msgid ""
"A HTTP error %s occured.\n"
"%s"
msgstr ""
"Ein HTTP-Fehler %s ist aufgetreten.\n"
"%s"
#: admin/scripts/directories.js:35
msgid "Edit this directory's group assignments."
msgstr "Die Gruppenzuordnungen dieses Verzeichnisses bearbeiten."
#: admin/scripts/directories.js:35
msgid "groups"
msgstr "Gruppen"
#: admin/scripts/directories.js:37
msgid "Delete this directory."
msgstr "Dieses Verzeichnis löschen."
#: admin/scripts/directories.js:37 admin/scripts/users.js:37
msgid "delete"
msgstr "löschen"
#: admin/scripts/directories.js:65 admin/scripts/users.js:67
msgid "close"
msgstr "schließen"
#: admin/scripts/directories.js:65
msgid "Directory name:"
msgstr "Verzeichnisname:"
#: admin/scripts/directories.js:65 admin/scripts/users.js:71
msgid "Groups:"
msgstr "Gruppen:"
#: admin/scripts/directories.js:65 admin/scripts/users.js:71
msgid "Submit"
msgstr "Absenden"
#: admin/scripts/directories.js:80
msgid "Invalid directory name."
msgstr "Ungültiger Verzeichnisname."
#: admin/scripts/directories.js:110
msgid "Edit directory data"
msgstr "Verzeichnisdaten bearbeiten"
#: admin/scripts/directories.js:117
msgid "Create new directory"
msgstr "Neues Verzeichnis erstellen"
#: admin/scripts/directories.js:122
msgid "Should the directory %s really get deleted?"
msgstr "Soll das Verzeichnis %s wirklich gelöscht werden?"
#: admin/scripts/users.js:35
msgid "Edit this user's data."
msgstr "Die Daten dieses Nutzers bearbeiten."
#: admin/scripts/users.js:35
msgid "edit"
msgstr "bearbeiten"
#: admin/scripts/users.js:37
msgid "Delete this user's data."
msgstr "Die Daten dieses Nutzers löschen."
#: admin/scripts/users.js:67
msgid "User name:"
msgstr "Nutzername:"
#: admin/scripts/users.js:71
msgid "First name:"
msgstr "Vorname:"
#: admin/scripts/users.js:71
msgid "Last name:"
msgstr "Nachname:"
#: admin/scripts/users.js:71
msgid "Password:"
msgstr "Passwort:"
#: admin/scripts/users.js:71
msgid "Confirmation:"
msgstr "Bestätigung:"
#: admin/scripts/users.js:88
msgid ""
"The user name must consist of at least 2 letters or digits and no other "
"characters!"
msgstr ""
"Der Nutzername muss aus mindestens 2 Buchstaben oder Zahlen bestehen und "
"darf keine anderen Zeichen enthalten!"
#: admin/scripts/users.js:95
msgid "The password must have a lenght of at least 8 characters!"
msgstr "Das Passwort muss mindestens 8 Zeichen lang sein!"
#: admin/scripts/users.js:100
msgid "Password and confirmation have to match!"
msgstr "Passwort und Bestätigung müssen übereinstimmen!"
#: admin/scripts/users.js:106
msgid ""
"The groups field has to be a comma separated list of group names which must "
"consist of letters or digits!"
msgstr ""
"Das Feld Gruppen muss eine durch Kommata getrennte Liste von Gruppennamen "
"sein, welche aus Buchstaben oder Zahlen bestehen!"
#: admin/scripts/users.js:140
msgid "Should the user %s %s with the user name %s really get deleted?"
msgstr "Soll der Nutzer %s %s mit dem Nutzernamen %s wirklich gelöscht werden?"
#: admin/scripts/users.js:183
msgid "Edit user data"
msgstr "Nutzerdaten bearbeiten"
#: admin/scripts/users.js:191
msgid "Create new user"
msgstr "Neuen Nutzer anlegen"

Binary file not shown.

View file

@ -1,137 +0,0 @@
# 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 20:26+0100\n"
"PO-Revision-Date: 2007-12-02 20:47+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/scripts/autocomplete.js:312
msgid ""
"A HTTP error %s occured.\n"
"%s"
msgstr ""
"Ein HTTP-Fehler %s ist aufgetreten.\n"
"%s"
#: admin/scripts/directories.js:35
msgid "Edit this directory's group assignments."
msgstr "Die Gruppenzuordnungen dieses Verzeichnisses bearbeiten."
#: admin/scripts/directories.js:35
msgid "groups"
msgstr "Gruppen"
#: admin/scripts/directories.js:37
msgid "Delete this directory."
msgstr "Dieses Verzeichnis löschen."
#: admin/scripts/directories.js:37 admin/scripts/users.js:37
msgid "delete"
msgstr "löschen"
#: admin/scripts/directories.js:65 admin/scripts/users.js:67
msgid "close"
msgstr "schließen"
#: admin/scripts/directories.js:65
msgid "Directory name:"
msgstr "Verzeichnisname:"
#: admin/scripts/directories.js:65 admin/scripts/users.js:71
#, fuzzy
msgid "Groups:"
msgstr "Gruppen"
#: admin/scripts/directories.js:65 admin/scripts/users.js:71
msgid "Submit"
msgstr "Absenden"
#: admin/scripts/directories.js:80
msgid "Invalid directory name."
msgstr "Ungültiger Verzeichnisname."
#: admin/scripts/directories.js:110
msgid "Edit directory data"
msgstr "Verzeichnisdaten bearbeiten"
#: admin/scripts/directories.js:117
msgid "Create new directory"
msgstr "Neues Verzeichnis erstellen"
#: admin/scripts/directories.js:122
msgid "Should the directory %s really get deleted?"
msgstr "Soll das Verzeichnis %s wirklich gelöscht werden?"
#: admin/scripts/users.js:35
msgid "Edit this user's data."
msgstr "Die Daten dieses Nutzers bearbeiten."
#: admin/scripts/users.js:35
msgid "edit"
msgstr "bearbeiten"
#: admin/scripts/users.js:37
msgid "Delete this user's data."
msgstr "Die Daten dieses Nutzers löschen."
#: admin/scripts/users.js:67
msgid "User name:"
msgstr "Nutzername:"
#: admin/scripts/users.js:71
msgid "First name:"
msgstr "Vorname:"
#: admin/scripts/users.js:71
msgid "Last name:"
msgstr "Nachname:"
#: admin/scripts/users.js:71
msgid "Password:"
msgstr "Passwort:"
#: admin/scripts/users.js:71
msgid "Confirmation:"
msgstr "Bestätigung:"
#: admin/scripts/users.js:88
msgid ""
"The user name must consist of at least 2 letters or digits and no other "
"characters!"
msgstr "Der Nutzername muss aus mindestens 2 Buchstaben oder Zahlen bestehen und darf keine anderen Zeichen enthalten!"
#: admin/scripts/users.js:95
msgid "The password must have a lenght of at least 8 characters!"
msgstr "Das Passwort muss mindestens 8 Zeichen lang sein!"
#: admin/scripts/users.js:100
msgid "Password and confirmation have to match!"
msgstr "Passwort und Bestätigung müssen übereinstimmen!"
#: admin/scripts/users.js:106
msgid ""
"The groups field has to be a comma separated list of group names which must "
"consist of letters or digits!"
msgstr "Das Feld Gruppen muss eine durch Kommata getrennte Liste von Gruppennamen sein, welche aus Buchstaben oder Zahlen bestehen!"
#: admin/scripts/users.js:140
msgid "Should the user %s %s with the user name %s really get deleted?"
msgstr "Soll der Nutzer %s %s mit dem Nutzernamen %s wirklich gelöscht werden?"
#: admin/scripts/users.js:183
msgid "Edit user data"
msgstr "Nutzerdaten bearbeiten"
#: admin/scripts/users.js:191
msgid "Create new user"
msgstr "Neuen Nutzer anlegen"

View file

@ -1,30 +0,0 @@
# 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/
}