translated some pages to german

main
Philip Häusler 13 years ago
parent 3c33e23c3c
commit a5c6ad4393

@ -37,9 +37,9 @@ function user_myshifts() {
$shift = $shift[0];
if (($shift['start'] - time() < $LETZTES_AUSTRAGEN * 60) || in_array('user_shifts_admin', $privileges)) {
sql_query("DELETE FROM `ShiftEntry` WHERE `id`=" . sql_escape($id) . " LIMIT 1");
$msg = success("Your shift has been canceled successfully.");
$msg = success("Du wurdest aus der Schicht ausgetragen.");
} else
$msg = error("It's too late to cancel this shift.'");
$msg = error("Es ist zu spät um sich aus der Schicht auszutragen. Frage ggf. einen Orga.'");
} else
header("Location: " . page_link_to('user_myshifts'));
}
@ -56,14 +56,14 @@ function user_myshifts() {
$html .= '<td>' . $shift['name'] . '</td>';
$html .= '<td>' . $shift['Comment'] . '</td>';
$html .= '<td>';
$html .= '<a href="' . page_link_to('user_myshifts') . '&edit=' . $shift['id'] . '">edit</a>';
$html .= '<a href="' . page_link_to('user_myshifts') . '&edit=' . $shift['id'] . '">bearbeiten</a>';
if ($shift['start'] - time() > $LETZTES_AUSTRAGEN * 60)
$html .= ' | <a href="' . page_link_to('user_myshifts') . '&cancel=' . $shift['id'] . '">cancel</a>';
$html .= ' | <a href="' . page_link_to('user_myshifts') . '&cancel=' . $shift['id'] . '">austragen</a>';
$html .= '</td>';
$html .= '</tr>';
}
if ($html == "")
$html = '<tr><td>None...</td><td></td><td></td><td></td><td></td><td>Go to <a href="' . page_link_to('user_shifts') . '">Shifts</a> to sign up for a shift.</td></tr>';
$html = '<tr><td>Keine...</td><td></td><td></td><td></td><td></td><td>Gehe zum <a href="' . page_link_to('user_shifts') . '">Schichtplan</a> um Dich für Schichten einzutragen.</td></tr>';
return template_render('../templates/user_myshifts.html', array (
'h' => $LETZTES_AUSTRAGEN,

@ -71,7 +71,7 @@ function make_menu() {
function make_onlineusers() {
global $privileges, $user;
$html = '<nav class="container"><h4>Engel online</h4>';
$html = '<nav class="container"><h4>Helfer online</h4>';
$query = "SELECT UID, Nick, lastLogIn " . "FROM User " . "WHERE (`lastLogIn` > '" . (time() - 60 * 60) . "') " . "ORDER BY lastLogIn DESC";
$users = sql_select($query);

@ -1,33 +1,31 @@
<p>
Hi,
Hier sind Deine Schichten.
<br/>
here are the shifts you have signed up for.
Versuche bitte <b>15 Minuten</b> vor Schichtbeginn anwesend zu sein!
<br/>
Please try to arrive for your shift on time. <b>Be punctual!</b>
<br/>
Here you can remove yourself from a shift up to %h% hours before your shift is scheduled to begin.
Du kannst Dich %h% Stunden vor Schichtbeginn noch aus Schichten wieder austragen.
</p>
%msg%
<table>
<thead>
<tr>
<th>
Day
Tag
</th>
<th>
Time
Zeit
</th>
<th>
Location
Ort
</th>
<th>
Name
</th>
<th>
Comment
Kommentar
</th>
<th>
Action
Aktion
</th>
</tr>
</thead>

@ -2,44 +2,44 @@
<fieldset>
<p>
<label>
Angel:
Helfer:
</label>
%angel%
</p>
<p>
<label>
Date/Duration:
Datum/Dauer:
</label>
%date%
</p>
<p>
<label>
Location:
Ort:
</label>
%location%
</p>
<p>
<label>
Title:
Titel:
</label>
%title%
</p>
<p>
<label>
Type:
Typ:
</label>
%type%
</p>
<p>
<label>
Comment:
Kommentar:
<br/>
(For your eyes only)
(Nur für Dich)
</label>
<textarea name="comment">%comment%</textarea>
</p>
<p>
<input type="submit" name="submit" value="Send" />
<input type="submit" name="submit" value="Speichern" />
</p>
</fieldset>
</form>
Loading…
Cancel
Save