Merge pull request #387 from ka7/feature/spelling

spelling fixes
This commit is contained in:
msquare 2017-12-25 23:26:05 +01:00 committed by GitHub
commit 879918864a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View File

@ -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 * @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 * @param array $needed_angels
*/ */

View File

@ -307,7 +307,7 @@ function shift_entry_delete_controller()
$angeltype = AngelType($shiftEntry['TID']); $angeltype = AngelType($shiftEntry['TID']);
$signout_user = User($shiftEntry['UID']); $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 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)); redirect(user_link($signout_user));
} }

View File

@ -28,7 +28,7 @@ function Message($message_id)
* TODO: global $user con not be used in model! * TODO: global $user con not be used in model!
* send message * 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 * @param string $text Text of Message
* @return bool * @return bool
*/ */

View File

@ -328,7 +328,7 @@ function Shift_signup_allowed_angel(
} }
if ($signed_up) { 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); return new ShiftSignupState(ShiftSignupState::SIGNED_UP, $free_entries);
} }

View File

@ -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 * @param array <Shift> $shifts
*/ */

View File

@ -149,7 +149,7 @@ class ShiftCalendarShiftRenderer
* *
* @param array $shift The shift which is rendered * @param array $shift The shift which is rendered
* @param array[] $shift_entries * @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 * and already signed up angels
* @param array $user The user who is viewing the shift calendar * @param array $user The user who is viewing the shift calendar
* @return array * @return array