spelling fixes
This commit is contained in:
parent
6f29b6492d
commit
a6cf4c9ce9
|
@ -28,7 +28,7 @@ function public_dashboard_controller()
|
|||
}
|
||||
|
||||
/**
|
||||
* Gathers informations for free shifts to display.
|
||||
* Gathers information for free shifts to display.
|
||||
*
|
||||
* @param array $shift
|
||||
*/
|
||||
|
@ -62,7 +62,7 @@ function public_dashboard_controller_free_shift($shift)
|
|||
}
|
||||
|
||||
/**
|
||||
* Gathers informations for needed angels on dashboard
|
||||
* Gathers information for needed angels on dashboard
|
||||
*
|
||||
* @param array $needed_angels
|
||||
*/
|
||||
|
|
|
@ -307,7 +307,7 @@ function shift_entry_delete_controller()
|
|||
$angeltype = AngelType($shiftEntry['TID']);
|
||||
$signout_user = User($shiftEntry['UID']);
|
||||
if (! Shift_signout_allowed($shift, $angeltype, $signout_user)) {
|
||||
error(_('You are not allowed to remove this shift entry. If neccessary, ask your supporter or heaven to do so.'));
|
||||
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));
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ function Message($message_id)
|
|||
* TODO: global $user con not be used in model!
|
||||
* send message
|
||||
*
|
||||
* @param int $receiver_user_id User ID of Reciever
|
||||
* @param int $receiver_user_id User ID of Receiver
|
||||
* @param string $text Text of Message
|
||||
* @return bool
|
||||
*/
|
||||
|
|
|
@ -328,7 +328,7 @@ function Shift_signup_allowed_angel(
|
|||
}
|
||||
|
||||
if ($signed_up) {
|
||||
// you cannot join if you already singed up for this shift
|
||||
// you cannot join if you already signed up for this shift
|
||||
return new ShiftSignupState(ShiftSignupState::SIGNED_UP, $free_entries);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ function user_ical()
|
|||
}
|
||||
|
||||
/**
|
||||
* Renders an ical calender from given shifts array.
|
||||
* Renders an ical calendar from given shifts array.
|
||||
*
|
||||
* @param array <Shift> $shifts
|
||||
*/
|
||||
|
|
|
@ -149,7 +149,7 @@ class ShiftCalendarShiftRenderer
|
|||
*
|
||||
* @param array $shift The shift which is rendered
|
||||
* @param array[] $shift_entries
|
||||
* @param array[] $angeltype The angeltype, containing informations about needed angeltypes
|
||||
* @param array[] $angeltype The angeltype, containing information about needed angeltypes
|
||||
* and already signed up angels
|
||||
* @param array $user The user who is viewing the shift calendar
|
||||
* @return array
|
||||
|
|
Loading…
Reference in New Issue