From 1e05da6c8114238edb499fd21104bd573f9cf3e3 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Thu, 28 Nov 2013 22:40:48 +0100 Subject: gettext for user sites --- includes/pages/user_myshifts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/pages/user_myshifts.php') diff --git a/includes/pages/user_myshifts.php b/includes/pages/user_myshifts.php index b3f98e6f..9ccd8240 100644 --- a/includes/pages/user_myshifts.php +++ b/includes/pages/user_myshifts.php @@ -20,7 +20,7 @@ function user_myshifts() { if (isset($_REQUEST['reset'])) { if ($_REQUEST['reset'] == "ack") { User_reset_api_key($user); - success("Key geändert."); + success(_("Key changed.")); redirect(page_link_to('user_myshifts')); } return template_render('../templates/user_myshifts_reset.html', array()); @@ -35,7 +35,7 @@ function user_myshifts() { $user_source = User($shift['UID']); sql_query("UPDATE `ShiftEntry` SET `Comment`='" . sql_escape($comment) . "' WHERE `id`=" . sql_escape($id) . " LIMIT 1"); engelsystem_log("Updated " . User_Nick_render($user_source) . "'s shift " . $shift['name'] . " from " . date("y-m-d H:i", $shift['start']) . " to " . date("y-m-d H:i", $shift['end']) . " with comment " . $comment); - success("Schicht gespeichert."); + success(_("Shift saved.")); redirect(page_link_to('user_myshifts')); } -- cgit v1.2.3-54-g00ecf