summaryrefslogtreecommitdiff
path: root/includes/pages/user_myshifts.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-11-28 22:40:48 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-11-28 22:40:48 +0100
commit1e05da6c8114238edb499fd21104bd573f9cf3e3 (patch)
treef9bb035f606774a85a17748619e2e10bad1b58b8 /includes/pages/user_myshifts.php
parent8a5915594ffbbf529c827b2ce31a64590b0d1b14 (diff)
gettext for user sites
Diffstat (limited to 'includes/pages/user_myshifts.php')
-rw-r--r--includes/pages/user_myshifts.php4
1 files changed, 2 insertions, 2 deletions
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'));
}