diff --git a/po/de.po b/po/de.po index 5d25b9b1..2d1b657c 100644 --- a/ po/de.po+++ b/ po/de.po@@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: drakwizard-de\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-09-09 02:28+0800\n" -"PO-Revision-Date: 2005-08-02 20:59+0200\n" +"POT-Creation-Date: 2005-09-14 15:25+0200\n" +"PO-Revision-Date: 2005-08-28 17:45+0200\n" "Last-Translator: Frank Koester <frank@dueppel13.de>\n" "Language-Team: deutsch\n" "MIME-Version: 1.0\n" @@ -633,7 +633,7 @@ msgstr "Konfiguriere Ihr System als Slave-DNS-Server..." msgid "Apache2 web server" msgstr "Apache2 Web-Server" -#: ../drakwizard.pl:42 ../samba_wizard/Samba.pm:452 +#: ../drakwizard.pl:42 ../samba_wizard/Samba.pm:463 #: ../samba_wizard/Sambaprint.pm:282 msgid "Samba server" msgstr "Samba-Server" @@ -691,7 +691,7 @@ msgid "NFS server" msgstr "NFS-Server" #: ../drakwizard.pl:61 ../kolab_wizard/Kolab.pm:236 -#: ../kolab_wizard/Kolab.pm:244 +#: ../kolab_wizard/Kolab.pm:245 msgid "Kolab server" msgstr "Kolab-Server" @@ -1118,10 +1118,11 @@ msgid "" msgstr "" #: ../kolab_wizard/Kolab.pm:150 +#, fuzzy msgid "" "You can choose to skip this section if you already have certificates for the " -"Kolab server.CA and certificate" -msgstr "" +"Kolab server." +msgstr "Sie haben Ihren LDAP-Server schon konfiguriert" #: ../kolab_wizard/Kolab.pm:168 msgid "" @@ -1175,7 +1176,7 @@ msgstr "" "'manager'·ein mit dem eingegebenen Passwort unter:·https://127.0.0.1/kolab/" "admin/" -#: ../kolab_wizard/Kolab.pm:236 ../kolab_wizard/Kolab.pm:244 +#: ../kolab_wizard/Kolab.pm:236 ../kolab_wizard/Kolab.pm:245 msgid "Configuring Kolab server on your system..." msgstr "Konfiguriere den Kolab-Server auf Ihrem System..." @@ -1743,6 +1744,9 @@ msgid "" "It seems you previously setup a Postfix configuration. This wizard will re-" "read your old configuration, and show you the Postfix server type you choose" msgstr "" +"Es scheint, als ob eine eingerichtete Postfix Konfiguration existiert. " +"Dieser Assistent wird die alte Konfiguration einlesen, und den Postfix-" +"Server-Typen zeigen, den Sie auswählen" #: ../postfix_wizard/Postfix.pm:129 ../pxe_wizard/Pxe.pm:126 msgid "What do you want to do:" @@ -1750,16 +1754,15 @@ msgstr "Was wollen Sie machen:" #: ../postfix_wizard/Postfix.pm:134 msgid "Now I need to know your understanding in Postfix server configuration" -msgstr "" +msgstr "Jetzt benötige ich Ihr Verständnis für Postfix-Server-Konfigurationen" #: ../postfix_wizard/Postfix.pm:136 ../samba_wizard/Sambashare.pm:167 msgid "What kind of user are you:" -msgstr "" +msgstr "Was für eine Art von Nutzer sind Sie:" #: ../postfix_wizard/Postfix.pm:142 -#, fuzzy msgid "Global postfix configuration" -msgstr "Konfiguration entfernen" +msgstr "Global Postfix Konfiguration" #: ../postfix_wizard/Postfix.pm:157 msgid "Smtpd banner:" @@ -1770,37 +1773,36 @@ msgid "" "The myhostname parameter specifies the internet hostname of this mail " "system. ie: myhostname = myhostname" msgstr "" +"Der myhostname Parameter spezifizert den Internet-Hostnamen diese Mail-" +"Systems. Z.B.: myhostname = myhostname" #: ../postfix_wizard/Postfix.pm:159 -#, fuzzy msgid "" "The mydomain parameter specifies the local internet domain name. ie: " "mydomain = mydomain" msgstr "" -"Der myorigin-Parameter spezifiziert die Domäne, so dass lokal ausgestellte " -"Emails dort anscheinend ihren Ursprung hat." +"Der mydomain-Parameter spezifiziert den lokalen Internet-Domänen-Namen. z." +"B.: mydomain = mydomain" #: ../postfix_wizard/Postfix.pm:160 msgid "Origin:" msgstr "Ausgangspunkt:" #: ../postfix_wizard/Postfix.pm:160 -#, fuzzy msgid "" "The myorigin parameter specifies the domain that locally-posted mail appears " "to come from. ie: myorigin = $myhostname" msgstr "" "Der myorigin-Parameter spezifiziert die Domäne, so dass lokal ausgestellte " -"Emails dort anscheinend ihren Ursprung hat." +"Emails dort scheinen von z.B: myorigin = $myhostname zu kommen" #: ../postfix_wizard/Postfix.pm:164 -#, fuzzy msgid "Please provide an Smtpd banner." -msgstr "Bitte stellen Sie einen anderen bereit." +msgstr "Bitte stellen Sie ein Smtpd banner bereit." #: ../postfix_wizard/Postfix.pm:166 msgid "You must provide an internet hostname of this mail system." -msgstr "" +msgstr "Sie müssen einen Internet-Hostnamen für dieses Mail-System angeben." #: ../postfix_wizard/Postfix.pm:168 msgid "You must specify the local internet domain name." @@ -1814,12 +1816,16 @@ msgstr "Haupt-Postfix-Server" msgid "" "Verify command: this stops some techniques used to harvest email addresses." msgstr "" +"Befehl bestätigen: dieses stoppt einige Techniken, die benutzt werden um E-" +"Mail-Adressen zu sammeln." #: ../postfix_wizard/Postfix.pm:172 msgid "" "helo_required: require that a remote SMTP client introduces itself at the " "beginning of an SMTP session with the HELO or EHLO command." msgstr "" +"helo_required: verlange, dass ein entfernter SMTP-Client sich zu Beginn " +"einer SMTP-Sitzung mit einem HELO oder EHLO Kommando anmeldet." #: ../postfix_wizard/Postfix.pm:179 msgid "helo required:" @@ -1827,23 +1833,24 @@ msgstr "helo erforderlich:" #: ../postfix_wizard/Postfix.pm:180 msgid "Disable verify command:" -msgstr "" +msgstr "Deaktivieren des Bestätigen eines Befehls:" #: ../postfix_wizard/Postfix.pm:181 msgid "Masquerade domains" msgstr "Masquerading-Domänen:" #: ../postfix_wizard/Postfix.pm:181 -#, fuzzy msgid "" "This should be chosen consistently with the address you use for incoming " "mail. Address masquerading is a method to hide all hosts inside a domain " "behind their mail gateway, and to make it appear as if the mail comes from " "the gateway itself, instead of from individual machines." msgstr "" -"Adress-Maskierung ist eine Methode, um die Rechner innerhalb einer Domain " -"hinter dem Mail-Gateway zu verstecken. Die Mails scheinen direkt vom Gateway " -"selbst zu kommen anstatt von verschiedenen Rechnern." +"Dies sollte konsistent mit der Adresse für eingehende Nachrichten ausgewählt " +"werden. Addressen-Masquerading ist eine Methode zum Verstecken aller Hosts " +"in einer Domäne hinter ihrem Mail-Gateway und um den Anschein zu erzeugen, " +"als ob die Nachrichten alle vom Gateway selbst kommen, anstatt von den " +"individuellen Maschinen." #: ../postfix_wizard/Postfix.pm:185 #, fuzzy @@ -1883,7 +1890,7 @@ msgstr "" #: ../postfix_wizard/Postfix.pm:205 msgid "Network config" -msgstr "" +msgstr "Netzwerk-Konfiguration" #: ../postfix_wizard/Postfix.pm:215 msgid "" @@ -1892,9 +1899,8 @@ msgid "" msgstr "" #: ../postfix_wizard/Postfix.pm:215 ../postfix_wizard/Postfix.pm:260 -#, fuzzy msgid "inet interfaces:" -msgstr "Schnittstelle:" +msgstr "Internet-Schnittstellen:" #: ../postfix_wizard/Postfix.pm:216 msgid "" @@ -1905,57 +1911,66 @@ msgstr "" #: ../postfix_wizard/Postfix.pm:216 ../postfix_wizard#include <alloca.h>
#include <stdlib.h>
#include <string.h>
#include "newt.h"
#include "newt_pr.h"
struct gridField {
enum newtGridElement type;
union {
newtGrid grid;
newtComponent co;
} u;
int padLeft, padTop, padRight, padBottom;
int anchor;
int flags;
};
struct grid_s {
int rows, cols;
int width, height; /* totals, -1 means unknown */
struct gridField ** fields;
};
/* this is a bit of a hack */
extern struct componentOps formOps[];
newtGrid newtCreateGrid(int cols, int rows) {
newtGrid grid;
grid = malloc(sizeof(*grid));
grid->rows = rows;
grid->cols = cols;
grid->fields = malloc(sizeof(*grid->fields) * cols);
while (cols--) {
grid->fields[cols] = malloc(sizeof(**(grid->fields)) * rows);
memset(grid->fields[cols], 0, sizeof(**(grid->fields)) * rows);
}
grid->width = grid->height = -1;
return grid;
}
void newtGridSetField(newtGrid grid, int col, int row,
enum newtGridElement type, void * val, int padLeft,
int padTop, int padRight, int padBottom, int anchor,
int flags) {
struct gridField * field = &grid->fields[col][row];
if (field->type == NEWT_GRID_SUBGRID)
newtGridFree(field->u.grid, 1);
field->type = type;
field->u.co = (void *) val;
field->padLeft = padLeft;
field->padRight = padRight;
field->padTop = padTop;
field->padBottom = padBottom;
field->anchor = anchor;
field->flags = flags;
grid->width = grid->height = -1;
}
static void distSpace(int extra, int items, int * list) {
int all, some, i;
all = extra / items;
some = extra % items;
for (i = 0; i < items; i++) {
list[i] += all;
if (some) {
list[i]++;
some--;
}
}
}
static void shuffleGrid(newtGrid grid, int left, int top, int set) {
struct gridField * field;
int row, col;
int i, j;
int minWidth, minHeight;
int * widths, * heights;
int thisLeft, thisTop;
int x, y, remx, remy;
widths = alloca(sizeof(*widths) * grid->cols);
memset(widths, 0, sizeof(*widths) * grid->cols);
heights = alloca(sizeof(*heights) * grid->rows);
memset(heights, 0, sizeof(*heights) * grid->rows);
minWidth = 0;
for (row = 0; row < grid->rows; row++) {
i = 0;
for (col = 0; col < grid->cols; col++) {
field = &grid->fields[col][row];
if (field->type == NEWT_GRID_SUBGRID) {
/* we'll have to redo this later */
if (field->u.grid->width == -1)
shuffleGrid(field->u.grid, left, top, 0);
j = field->u.grid->width;
} else if (field->type == NEWT_GRID_COMPONENT) {
if (field->u.co->ops == formOps)
newtFormSetSize(field->u.co);
j = field->u.co->width;
} else
j = 0;
j += field->padLeft + field->padRight;
if (j > widths[col]) widths[col] = j;
i += widths[col];
}
if (i > minWidth) minWidth = i;
}
minHeight = 0;
for (col = 0; col < grid->cols; col++) {
i = 0;
for (row = 0; row < grid->rows; row++) {
field = &grid->fields[col][row];
if (field->type == NEWT_GRID_SUBGRID) {
/* we'll have to redo this later */
if (field->u.grid->height == -1)
shuffleGrid(field->u.grid, 0, 0, 0);
j = field->u.grid->height;
} else if (field->type == NEWT_GRID_COMPONENT){
j = field->u.co->height;
} else
j = 0;
j += field->padTop + field->padBottom;
if (j > heights[row]) heights[row] = j;
i += heights[row];
}
if (i > minHeight) minHeight = i;
}
/* this catches the -1 case */
if (grid->width < minWidth) grid->width = minWidth; /* ack! */
if (grid->height < minHeight) grid->height = minHeight; /* ditto! */
if (!set) return;
distSpace(grid->width - minWidth, grid->cols, widths);
distSpace(grid->height - minHeight, grid->rows, heights);
thisTop = top;
for (row = 0; row < grid->rows; row++) {
i = 0;
thisLeft = left;
for (col = 0; col < grid->cols; col++) {
field = &grid->fields[col][row];
if (field->type == NEWT_GRID_EMPTY) continue;
x = thisLeft + field->padLeft;
remx = widths[col] - field->padLeft - field->padRight;
y = thisTop + field->padTop;
remy = heights[row] - field->padTop - field->padBottom;
if (field->type == NEWT_GRID_SUBGRID) {
remx -= field->u.grid->width;
remy -= field->u.grid->height;
} else if (field->type == NEWT_GRID_COMPONENT) {
remx -= field->u.co->width;
remy -= field->u.co->height;
}
if (!(field->flags & NEWT_GRID_FLAG_GROWX)) {
if (field->anchor & NEWT_ANCHOR_RIGHT)
x += remx;
else if (!(field->anchor & NEWT_ANCHOR_LEFT))
x += (remx / 2);
}
if (!(field->flags & NEWT_GRID_FLAG_GROWY)) {
if (field->anchor & NEWT_ANCHOR_BOTTOM)
y += remx;
else if (!(field->anchor & NEWT_ANCHOR_TOP))
y += (remy / 2);
}
if (field->type == NEWT_GRID_SUBGRID) {
if (field->flags & NEWT_GRID_FLAG_GROWX)
field->u.grid->width = widths[col] - field->padLeft
- field->padRight;
if (field->flags & NEWT_GRID_FLAG_GROWY)
field->u.grid->height = heights[col] - field->padTop
- field->padBottom;
shuffleGrid(field->u.grid, x, y, 1);
} else if (field->type == NEWT_GRID_COMPONENT) {
field->u.co->ops->place(field->u.co, x, y);
}
thisLeft += widths[col];
}
thisTop += heights[row];
}
}
void newtGridPlace(newtGrid grid, int left, int top) {
shuffleGrid(grid, left, top, 1);
}
void newtGridFree(newtGrid grid, int recurse) {
int row, col;
for (col = 0; col < grid->cols; col++) {
if (recurse) {
for (row = 0; row < grid->rows; row++) {
if (grid->fields[col][row].type == NEWT_GRID_SUBGRID)
newtGridFree(grid->fields[col][row].u.grid, 1);
}
}
free(grid->fields[col]);
}
free(grid->fields);
free(grid);
}
void newtGridGetSize(newtGrid grid, int * width, int * height) {
if (grid->width == -1 || grid->height == -1) {
grid->width = grid->height = -1;
shuffleGrid(grid, 0, 0, 1);
}
*width = grid->width;
*height = grid->height;
}
void newtGridWrappedWindow(newtGrid grid, char * title) {
int width, height, offset = 0;
newtGridGetSize(grid, &width, &height);
if ((size_t)width < strlen(title) + 2) {
offset = ((strlen(title) + 2) - width) / 2;
width = strlen(title) + 2;
}
newtCenteredWindow(width + 2, height + 2, title);
newtGridPlace(grid, 1 + offset, 1);
}
void newtGridWrappedWindowAt(newtGrid grid, char * title, int left, int top) {
int width, height;
newtGridGetSize(grid, &width, &height);
newtOpenWindow(left, top, width + 2, height + 2, title);
newtGridPlace(grid, 1, 1);
}
void newtGridAddComponentsToForm(newtGrid grid, newtComponent form,
int recurse) {
int row, col;
for (col = 0; col < grid->cols; col++) {
for (row = 0; row < grid->rows; row++) {
if (grid->fields[col][row].type == NEWT_GRID_SUBGRID && recurse)
newtGridAddComponentsToForm(grid->fields[col][row].u.grid,
form, 1);
else if (grid->fields[col][row].type == NEWT_GRID_COMPONENT)
newtFormAddComponent(form, grid->fields[col][row].u.co);
}
}
}
/* this handles up to 50 items */
static newtGrid stackem(int isVert, enum newtGridElement type1, void * what1,
va_list args, int close) {
struct item {
enum newtGridElement type;
void * what;
} items[50];
int i, num;
newtGrid grid;
items[0].type = type1, items[0].what = what1, num = 1;
while (1) {
items[num].type = va_arg(args, enum newtGridElement);
if (items[num].type == NEWT_GRID_EMPTY) break;
items[num].what = va_arg(args, void *);
num++;
}
grid = newtCreateGrid(isVert ? 1 : num, isVert ? num : 1);
for (i = 0; i < num; i++) {
newtGridSetField(grid, isVert ? 0 : i, isVert ? i : 0,
items[i].type, items[i].what,
close ? 0 : (i ? (isVert ? 0 : 1) : 0),
close ? 0 : (i ? (isVert ? 1 : 0) : 0), 0, 0, 0, 0);
}
return grid;
}
newtGrid newtGridHCloseStacked(enum newtGridElement type1, void * what1, ...) {
va_list args;
newtGrid grid;
va_start(args, what1);
grid = stackem(0, type1, what1, args, 1);
va_start(args, what1);
return grid;
}
newtGrid newtGridVCloseStacked(enum newtGridElement type1, void * what1, ...) {
va_list args;
newtGrid grid;
va_start(args, what1);
grid = stackem(1, type1, what1, args, 1);
va_start(args, what1);
return grid;
}
newtGrid newtGridVStacked(enum newtGridElement type1, void * what1, ...) {
va_list args;
newtGrid grid;
va_start(args, what1);
grid = stackem(1, type1, what1, args, 0);
va_start(args, what1);
return grid;
}
newtGrid newtGridHStacked(enum newtGridElement type1, void * what1, ...) {
va_list args;
newtGrid grid;
va_start(args, what1);
grid = stackem(0, type1, what1, args, 0);
va_start(args, what1);
return grid;
}
newtGrid newtGridBasicWindow(newtComponent text, newtGrid middle,
newtGrid buttons) {
newtGrid grid;
grid = newtCreateGrid(1, 3);
newtGridSetField(grid, 0, 0, NEWT_GRID_COMPONENT, text,
0, 0, 0, 0, NEWT_ANCHOR_LEFT, 0);
newtGridSetField(grid, 0, 1, NEWT_GRID_SUBGRID, middle,
0, 1, 0, 0, 0, 0);
newtGridSetField(grid, 0, 2, NEWT_GRID_SUBGRID, buttons,
0, 1, 0, 0, 0, NEWT_GRID_FLAG_GROWX);
return grid;
}
newtGrid newtGridSimpleWindow(newtComponent text, newtComponent middle,
newtGrid buttons) {
newtGrid grid;
grid = newtCreateGrid(1, 3);
newtGridSetField(grid, 0, 0, NEWT_GRID_COMPONENT, text,
0, 0, 0, 0, NEWT_ANCHOR_LEFT, 0);
newtGridSetField(grid, 0, 1, NEWT_GRID_COMPONENT, middle,
0, 1, 0, 0, 0, 0);
newtGridSetField(grid, 0, 2, NEWT_GRID_SUBGRID, buttons,
0, 1, 0, 0, 0, NEWT_GRID_FLAG_GROWX);
return grid;
}
|