From a5c6ad4393f1160cffe6d29c5fd182962ce901b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Wed, 14 Sep 2011 22:32:13 +0200 Subject: [PATCH] translated some pages to german --- includes/pages/user_myshifts.php | 10 +++++----- includes/sys_menu.php | 2 +- templates/user_myshifts.html | 18 ++++++++---------- templates/user_shifts_add.html | 16 ++++++++-------- 4 files changed, 22 insertions(+), 24 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 .= '' . $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 = '