From 94236483ffa56fb35ac1f1841a641b8fb5f9981a Mon Sep 17 00:00:00 2001 From: Maarten Buis Date: Sun, 10 Mar 2024 22:04:35 +0100 Subject: [PATCH 1/3] Create nl.json --- lang/nl.json | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lang/nl.json diff --git a/lang/nl.json b/lang/nl.json new file mode 100644 index 0000000..674c9de --- /dev/null +++ b/lang/nl.json @@ -0,0 +1,47 @@ +{ + "A list of currently supported PHP versions can be found here: :link": "Een lijst met momenteel ondersteunde PHP-versies is hier te vinden: :link", + "Active support": "Actieve ondersteuning", + "Brought to you by the lovely folks at": "Aangeboden door de vriendelijke mensen van", + "Bug & security fixes": "Bug- en beveiligingsoplossingen", + "Bug Fixes Until": "Bug-oplossingen tot", + "contact Tighten": "neem contact op met Tighten", + "Currently supported versions": "Momenteel ondersteunde versies", + "Data available in JSON format": "Gegevens beschikbaar in JSON-formaat", + "DateShortFormat": "F, Y", + "DateLongFormat": "F j, Y", + "DateMonthYear": "F Y", + "End of Life": "Einde levensduur", + "estimated": "geschat", + "Follow on Twitter for important dates": "Volg op Twitter voor belangrijke data", + "Future release": "Toekomstige release", + "Future releases": "Toekomstige releases", + "Greetings from the author of the translations": "Groeten van de auteur van de vertalingen", + "Keep patch updated.": "Houd de patch bijgewerkt.", + "Laravel News "Laravel Releases" page": "Laravel News "Laravel Releases" pagina", + "Laravel Version": "Laravel Versie", + "Laravel Versions": "Laravel Versies", + "Latest Patch Release": "Laatste Patch Release", + "Major Version": "Belangrijke Versie", + "Need help upgrading your app? Try :link-laravelshift for automated upgrades or :link-tighten if you need more than just upgrades.": "Hulp nodig bij het upgraden van je app? Probeer :link-laravelshift voor geautomatiseerde upgrades of :link-tighten als je meer nodig hebt dan alleen upgrades.", + "No longer receiving security updates!": "Ontvangt geen beveiligingsupdates meer!", + "Not receiving bug or security fixes": "Ontvangt geen bug- of beveiligingsoplossingen", + "not released yet!": "nog niet uitgebracht!", + "Planned release.": "Geplande release.", + "Recommendation": "Aanbeveling", + "Release date": "Releasedatum", + "Release dates and timelines for security and bug fixes for all versions of Laravel.": "Releasedata en tijdschema's voor beveiligings- en bugoplossingen voor alle versies van Laravel.", + "Security and bug fix timelines for all Laravel Versions": "Tijdschema's voor beveiligings- en bugoplossingen voor alle Laravel-versies", + "Security fixes only": "Alleen beveiligingsoplossingen", + "Security Fixes Until": "Beveiligingsoplossingen tot", + "Source on GitHub": "Bron op GitHub", + "Status": "Status", + "The estimated release date is :date": "De geschatte releasedatum is :date", + "The lowest version still getting security fixes is: :link": "De laagste versie die nog steeds beveiligingsoplossingen ontvangt, is: :link", + "This version of the release is planned only and not released yet!": "Deze versie van de release is alleen gepland en nog niet uitgebracht!", + "To learn more about Laravel's versioning strategy, check out the :link.": "Lees meer over de versie-strategie van Laravel op de :link.", + "To upgrade, follow the instructions in the docs or use :link-laravelshifts to upgrade automatically.": "Volg voor een upgrade de instructies in de documentatie of gebruik :link-laravelshifts voor een automatische upgrade.", + "Update at least to a security-maintained version as soon as possible!": "Update ten minste naar een versie met beveiligingsonderhoud zo snel mogelijk!", + "Update to the latest major or LTS release.": "Update naar de nieuwste belangrijke of LTS-release.", + "Version": "Versie", + "You can also find a list of all of the security advisories for Laravel here: :link": "Je kunt ook een lijst vinden van alle beveiligingswaarschuwingen voor Laravel hier: :link" +} From 39ec1d3e9a7cb6ef1e5c780d89bd918b022afb20 Mon Sep 17 00:00:00 2001 From: Maarten Buis Date: Sun, 10 Mar 2024 22:10:51 +0100 Subject: [PATCH 2/3] Completed Dutch translations --- app/Http/Controllers/LaravelVersionsController.php | 8 +++++--- config/localized-routes.php | 2 ++ lang/nl.json | 2 +- resources/views/layouts/app.blade.php | 2 -- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/Http/Controllers/LaravelVersionsController.php b/app/Http/Controllers/LaravelVersionsController.php index 8f5c59a..c946c05 100644 --- a/app/Http/Controllers/LaravelVersionsController.php +++ b/app/Http/Controllers/LaravelVersionsController.php @@ -11,9 +11,11 @@ class LaravelVersionsController extends Controller { public function index(): View { - $versions = Cache::remember('laravel-versions', 3600, function () { - return LaravelVersion::orderBy('major', 'desc')->orderBy('minor', 'desc')->get(); - }); + // $versions = Cache::remember('laravel-versions', 3600, function () { + // return LaravelVersion::orderBy('major', 'desc')->orderBy('minor', 'desc')->get(); + // }); + + $versions = collect([]); $activeVersions = $versions->filter(function ($version) { return $version->released_at->endOfDay()->gt(now()) diff --git a/config/localized-routes.php b/config/localized-routes.php index 10c56a6..cb0fd71 100644 --- a/config/localized-routes.php +++ b/config/localized-routes.php @@ -8,6 +8,7 @@ 'supported-locales' => [ 'en', 'de', + 'nl', 'es', 'fr', 'id', @@ -34,6 +35,7 @@ 'locales-name-native' => [ 'en' => 'English', 'de' => 'Deutsch', + 'nl' => 'Nederlands', 'es' => 'Español', 'fr' => 'Français', 'id' => 'Bahasa Indonesia', diff --git a/lang/nl.json b/lang/nl.json index 674c9de..17bb7b6 100644 --- a/lang/nl.json +++ b/lang/nl.json @@ -17,7 +17,7 @@ "Future releases": "Toekomstige releases", "Greetings from the author of the translations": "Groeten van de auteur van de vertalingen", "Keep patch updated.": "Houd de patch bijgewerkt.", - "Laravel News "Laravel Releases" page": "Laravel News "Laravel Releases" pagina", + "Laravel News \"Laravel Releases\" page": "Laravel News \"Laravel Releases\" pagina", "Laravel Version": "Laravel Versie", "Laravel Versions": "Laravel Versies", "Latest Patch Release": "Laatste Patch Release", diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 395552a..0de0e79 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -28,8 +28,6 @@ - - @vite(['resources/css/app.css', 'resources/js/app.js'])
From cc28ec024262531b21d575dba2b4c4d60fab9694 Mon Sep 17 00:00:00 2001 From: Maarten Buis Date: Sun, 10 Mar 2024 22:11:33 +0100 Subject: [PATCH 3/3] Revert some changes --- app/Http/Controllers/LaravelVersionsController.php | 8 +++----- resources/views/layouts/app.blade.php | 2 ++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/LaravelVersionsController.php b/app/Http/Controllers/LaravelVersionsController.php index c946c05..8f5c59a 100644 --- a/app/Http/Controllers/LaravelVersionsController.php +++ b/app/Http/Controllers/LaravelVersionsController.php @@ -11,11 +11,9 @@ class LaravelVersionsController extends Controller { public function index(): View { - // $versions = Cache::remember('laravel-versions', 3600, function () { - // return LaravelVersion::orderBy('major', 'desc')->orderBy('minor', 'desc')->get(); - // }); - - $versions = collect([]); + $versions = Cache::remember('laravel-versions', 3600, function () { + return LaravelVersion::orderBy('major', 'desc')->orderBy('minor', 'desc')->get(); + }); $activeVersions = $versions->filter(function ($version) { return $version->released_at->endOfDay()->gt(now()) diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 0de0e79..395552a 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -28,6 +28,8 @@ + + @vite(['resources/css/app.css', 'resources/js/app.js'])