summaryrefslogtreecommitdiff
path: root/includes/pages/user_myshifts.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-09-14 22:32:13 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-09-14 22:32:13 +0200
commita5c6ad4393f1160cffe6d29c5fd182962ce901b5 (patch)
treef76c0340b04b4473f801f20cc13241c043456e7f /includes/pages/user_myshifts.php
parent3c33e23c3cdbd2602724d2ee179823b7336ca178 (diff)
translated some pages to german
Diffstat (limited to 'includes/pages/user_myshifts.php')
-rw-r--r--includes/pages/user_myshifts.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/pages/user_myshifts.php b/includes/pages/user_myshifts.php
index 9d5b25d6..9f344d6d 100644
--- a/includes/pages/user_myshifts.php
+++ b/includes/pages/user_myshifts.php
@@ -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,