Chaos-Events und Voranmeldungen

This commit is contained in:
2026-03-28 02:16:58 +01:00
parent ba2dcb98e2
commit a99b8eb9c1
23 changed files with 485 additions and 33 deletions

View File

@@ -19,7 +19,7 @@ class TickerController extends Controller
}
return ["messageStatus" => "success", "errorMessage" => ""];
} catch(\Exception $e){
return ["messageStatus" => "failure", "errorMessage" => $e->getMessage()];
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.TickerController.error_occurred", ["error" => $e->getMessage()])];
}
}
@@ -38,7 +38,7 @@ class TickerController extends Controller
$ticker->save();
return ["messageStatus" => "success", "errorMessage" => ""];
} catch(\Exception $e){
return ["messageStatus" => "failure", "errorMessage" => $e->getMessage()];
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.TickerController.error_occurred", ["error" => $e->getMessage()])];
}
}
abort(404);