diff --git a/application/Device/DeviceController.php b/application/Device/DeviceController.php index eac165d01..4ff29c800 100644 --- a/application/Device/DeviceController.php +++ b/application/Device/DeviceController.php @@ -83,7 +83,7 @@ class DeviceController extends mfBaseController $mode = "edit"; $device = new Device($id); if (!$device->id) { - $this->layout()->setFlash("Gerät nicht gefunden", "error"); + $this->layout()->setFlash("Device nicht gefunden", "error"); $this->redirect("Device"); } } else { @@ -136,13 +136,13 @@ class DeviceController extends mfBaseController $id = $device->save(); if (!$id) { - $this->layout()->setFlash("Gerät konnte nicht angelegt werden", "error"); + $this->layout()->setFlash("Device konnte nicht angelegt werden", "error"); $this->redirect("Device"); } if ($mode == "edit") { - $this->layout()->setFlash("Geräte erfolgreich geändert", "success"); + $this->layout()->setFlash("Device erfolgreich geändert", "success"); } else if ($mode = "add") { - $this->layout()->setFlash("Geräte erfolgreich angelegt", "success"); + $this->layout()->setFlash("Device erfolgreich angelegt", "success"); } $this->redirect("Device"); } diff --git a/application/Pop/PopController.php b/application/Pop/PopController.php index 3f9f3b42c..bc4a7c40c 100644 --- a/application/Pop/PopController.php +++ b/application/Pop/PopController.php @@ -133,7 +133,7 @@ class PopController extends mfBaseController $this->returUrl = ucfirst($this->request->returnto); } - $this->layout()->setFlash("Netzgebiet erfolgreich gespeichert.", "success"); + $this->layout()->setFlash("Pop erfolgreich gespeichert.", "success"); $this->redirect($this->returUrl, "Index", [], "view=pops&net=" . $pop->network_id);