summaryrefslogtreecommitdiff
path: root/includes
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
parent3c33e23c3cdbd2602724d2ee179823b7336ca178 (diff)
translated some pages to german
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/user_myshifts.php10
-rw-r--r--includes/sys_menu.php2
2 files changed, 6 insertions, 6 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,
diff --git a/includes/sys_menu.php b/includes/sys_menu.php
index b1a4d53d..448323e1 100644
--- a/includes/sys_menu.php
+++ b/includes/sys_menu.php
@@ -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);