summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-12-25 23:52:31 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-12-26 00:21:44 +0100
commitf8d0a7c5b00a58c646871e355b5876dcc5890be5 (patch)
treeaac6a43cb88e3d803da5809ab37885b41bc811c6 /includes
parent75eea1681eb75af40cfc5eaffe85338a93871ff0 (diff)
Updated translation / Formatting / Test
Diffstat (limited to 'includes')
-rw-r--r--includes/controller/shift_entries_controller.php2
-rw-r--r--includes/controller/user_angeltypes_controller.php3
2 files changed, 2 insertions, 3 deletions
diff --git a/includes/controller/shift_entries_controller.php b/includes/controller/shift_entries_controller.php
index f53b1300..fcd911de 100644
--- a/includes/controller/shift_entries_controller.php
+++ b/includes/controller/shift_entries_controller.php
@@ -339,7 +339,7 @@ function shift_entry_delete_controller()
$shift = Shift($shiftEntry['SID']);
$angeltype = AngelType($shiftEntry['TID']);
$signout_user = User($shiftEntry['UID']);
- if (! Shift_signout_allowed($shift, $angeltype, $signout_user)) {
+ if (!Shift_signout_allowed($shift, $angeltype, $signout_user)) {
error(_('You are not allowed to remove this shift entry. If necessary, ask your supporter or heaven to do so.'));
redirect(user_link($signout_user));
}
diff --git a/includes/controller/user_angeltypes_controller.php b/includes/controller/user_angeltypes_controller.php
index fb63cda8..340de2a4 100644
--- a/includes/controller/user_angeltypes_controller.php
+++ b/includes/controller/user_angeltypes_controller.php
@@ -275,8 +275,7 @@ function user_angeltype_update_controller()
$success_message = sprintf(
$supporter
? _('Added supporter rights for %s to %s.')
- : _('Removed supporter rights for %s from %s.')
- ,
+ : _('Removed supporter rights for %s from %s.'),
AngelType_name_render($angeltype),
User_Nick_render($user_source)
);