Updated translation / Formatting / Test
This commit is contained in:
parent
75eea1681e
commit
f8d0a7c5b0
|
@ -339,7 +339,7 @@ function shift_entry_delete_controller()
|
||||||
$shift = Shift($shiftEntry['SID']);
|
$shift = Shift($shiftEntry['SID']);
|
||||||
$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 necessary, 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));
|
||||||
}
|
}
|
||||||
|
|
|
@ -275,8 +275,7 @@ function user_angeltype_update_controller()
|
||||||
$success_message = sprintf(
|
$success_message = sprintf(
|
||||||
$supporter
|
$supporter
|
||||||
? _('Added supporter rights for %s to %s.')
|
? _('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),
|
AngelType_name_render($angeltype),
|
||||||
User_Nick_render($user_source)
|
User_Nick_render($user_source)
|
||||||
);
|
);
|
||||||
|
|
Binary file not shown.
|
@ -2,7 +2,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Engelsystem 2.0\n"
|
"Project-Id-Version: Engelsystem 2.0\n"
|
||||||
"POT-Creation-Date: 2017-12-23 11:35+0100\n"
|
"POT-Creation-Date: 2017-12-23 11:35+0100\n"
|
||||||
"PO-Revision-Date: 2017-12-23 22:31+0100\n"
|
"PO-Revision-Date: 2017-12-25 23:55+0100\n"
|
||||||
"Last-Translator: msquare <msquare@notrademark.de>\n"
|
"Last-Translator: msquare <msquare@notrademark.de>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: de_DE\n"
|
"Language: de_DE\n"
|
||||||
|
@ -211,7 +211,7 @@ msgstr "Schichteintrag nicht gefunden."
|
||||||
|
|
||||||
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/shift_entries_controller.php:310
|
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/shift_entries_controller.php:310
|
||||||
msgid ""
|
msgid ""
|
||||||
"You are not allowed to remove this shift entry. If neccessary, ask your "
|
"You are not allowed to remove this shift entry. If necessary, ask your "
|
||||||
"supporter or heaven to do so."
|
"supporter or heaven to do so."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Du darfst diesen Schichteintrag nicht entfernen. Falls notwendig, frage "
|
"Du darfst diesen Schichteintrag nicht entfernen. Falls notwendig, frage "
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
namespace Engelsystem\Test\Unit;
|
namespace Engelsystem\Test\Unit;
|
||||||
|
|
||||||
use Engelsystem\Application;
|
use Engelsystem\Application;
|
||||||
|
use PHPUnit\Framework\MockObject\Matcher\InvokedRecorder;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use PHPUnit_Framework_MockObject_Matcher_InvokedRecorder as InvokedRecorder;
|
|
||||||
use PHPUnit_Framework_MockObject_MockObject as MockObject;
|
use PHPUnit_Framework_MockObject_MockObject as MockObject;
|
||||||
|
|
||||||
abstract class ServiceProviderTest extends TestCase
|
abstract class ServiceProviderTest extends TestCase
|
||||||
|
|
Loading…
Reference in New Issue