Fixed notification translations & show larger map in locations
This commit is contained in:
parent
087d1cf31e
commit
63c70c0ec2
|
@ -136,7 +136,7 @@ function angeltype_edit_controller()
|
|||
if ($valid) {
|
||||
$angeltype->save();
|
||||
|
||||
success('Angel type saved.');
|
||||
success(__('Angel type saved.'));
|
||||
engelsystem_log(
|
||||
'Saved angeltype: ' . $angeltype->name . ($angeltype->restricted ? ', restricted' : '')
|
||||
. ($angeltype->shift_self_signup ? ', shift_self_signup' : '')
|
||||
|
|
|
@ -455,7 +455,7 @@ function admin_shifts()
|
|||
);
|
||||
}
|
||||
|
||||
success('Shifts created.');
|
||||
success(__('Shifts created.'));
|
||||
throw_redirect(url('/admin-shifts'));
|
||||
} else {
|
||||
$session->remove('admin_shifts_shifts');
|
||||
|
|
|
@ -56,7 +56,7 @@ function location_view(Location $location, ShiftsFilterRenderer $shiftsFilterRen
|
|||
if ($location->map_url) {
|
||||
$tabs[__('location.map_url')] = sprintf(
|
||||
'<div class="map">'
|
||||
. '<iframe style="width: 100%%; min-height: 400px; border: 0 none;" src="%s"></iframe>'
|
||||
. '<iframe style="width: 100%%; min-height: 75vh; border: 0 none;" src="%s"></iframe>'
|
||||
. '</div>',
|
||||
htmlspecialchars($location->map_url)
|
||||
);
|
||||
|
|
|
@ -177,6 +177,9 @@ msgstr "Lösche Engeltyp %s"
|
|||
msgid "Please check the name. Maybe it already exists."
|
||||
msgstr "Bitte überprüfe den Namen. Vielleicht ist er bereits vergeben."
|
||||
|
||||
msgid "Angel type saved."
|
||||
msgstr "Engeltyp wurde gespeichert."
|
||||
|
||||
msgid "Create angeltype"
|
||||
msgstr "Engeltyp erstellen"
|
||||
|
||||
|
|
Loading…
Reference in New Issue