From a5c6ad4393f1160cffe6d29c5fd182962ce901b5 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Wed, 14 Sep 2011 22:32:13 +0200 Subject: translated some pages to german --- includes/pages/user_myshifts.php | 10 +++++----- includes/sys_menu.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'includes') 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 .= '' . $shift['name'] . ''; $html .= '' . $shift['Comment'] . ''; $html .= ''; - $html .= 'edit'; + $html .= 'bearbeiten'; if ($shift['start'] - time() > $LETZTES_AUSTRAGEN * 60) - $html .= ' | cancel'; + $html .= ' | austragen'; $html .= ''; $html .= ''; } if ($html == "") - $html = 'None...Go to Shifts to sign up for a shift.'; + $html = 'Keine...Gehe zum Schichtplan um Dich für Schichten einzutragen.'; 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 = '