From 9e4db9f7a0b0d6105cf6dfee13cebba10bca0c8c Mon Sep 17 00:00:00 2001 From: Exynox Date: Wed, 1 Jan 2025 10:47:30 +0200 Subject: [PATCH] Translated 404 page --- lang/en/app/404.php | 7 +++++++ lang/ro/app/404.php | 7 +++++++ resources/views/errors/404.blade.php | 8 ++++---- 3 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 lang/en/app/404.php create mode 100644 lang/ro/app/404.php diff --git a/lang/en/app/404.php b/lang/en/app/404.php new file mode 100644 index 0000000..8edbf3d --- /dev/null +++ b/lang/en/app/404.php @@ -0,0 +1,7 @@ + 'Error 404', + 'header' => 'The page was not found', + 'message' => 'This link is incorrect. Are you sure you properly entered the link?', +]; diff --git a/lang/ro/app/404.php b/lang/ro/app/404.php new file mode 100644 index 0000000..48b9a81 --- /dev/null +++ b/lang/ro/app/404.php @@ -0,0 +1,7 @@ + 'Eroare 404', + 'header' => 'Pagina nu a fost găsită', + 'message' => 'Link-ul nu este corect. Ești sigur că ai scris corect link-ul?', +]; diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php index d41cb89..17fdaca 100644 --- a/resources/views/errors/404.blade.php +++ b/resources/views/errors/404.blade.php @@ -5,17 +5,17 @@
-

Eroare 404

+

{{ __('app/404.title') }}

-

Pagina nu a fost găsită

-

Link-ul nu este corect. Esti sigur ca ai scris corect link-ul?

+

{{ __('app/404.header') }}

+

{{ __('app/404.message') }}


-
+
@endsection