From 0efd5343e30e45f6ed16dea982bf31f8aae38236 Mon Sep 17 00:00:00 2001
From: Ondrej Vlach
Date: Thu, 18 Jan 2024 21:57:13 +0100
Subject: [PATCH] feat: add error pages
---
.../bundles/TwigBundle/Exception/error404.html.twig | 12 ++++++++++++
.../bundles/TwigBundle/Exception/error500.html.twig | 13 +++++++++++++
translations/messages.cs.yaml | 4 ++++
3 files changed, 29 insertions(+)
create mode 100644 templates/bundles/TwigBundle/Exception/error404.html.twig
create mode 100644 templates/bundles/TwigBundle/Exception/error500.html.twig
diff --git a/templates/bundles/TwigBundle/Exception/error404.html.twig b/templates/bundles/TwigBundle/Exception/error404.html.twig
new file mode 100644
index 0000000..aeee505
--- /dev/null
+++ b/templates/bundles/TwigBundle/Exception/error404.html.twig
@@ -0,0 +1,12 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
+
+
+{% endblock %}
diff --git a/templates/bundles/TwigBundle/Exception/error500.html.twig b/templates/bundles/TwigBundle/Exception/error500.html.twig
new file mode 100644
index 0000000..938d68f
--- /dev/null
+++ b/templates/bundles/TwigBundle/Exception/error500.html.twig
@@ -0,0 +1,13 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
+
+
+{% endblock %}
diff --git a/translations/messages.cs.yaml b/translations/messages.cs.yaml
index 6bc48a6..5c0aa3f 100644
--- a/translations/messages.cs.yaml
+++ b/translations/messages.cs.yaml
@@ -9,3 +9,7 @@ Generate qr code: "Vygenerovat QR kód"
Iban: "IBAN"
QR code generator: "Generátor bankovních QR kódů"
You can generate another QR code here: "Další QR kód si můžete vygenerovat zde"
+page not found: 'Stránka nenalezena'
+return to the homepage: 'Zpět na homepage'
+"our developers are doing their best to fix it. please try again later.": "Naši programátoři dělají maximum aby to opravili. Zkuste to prosím později."
+internal server error: 'Něco se pokazilo :-('