Skip to content

Commit 7f2c353

Browse files
committed
Translated home message
1 parent dbff5f2 commit 7f2c353

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

database/seeders/PageSeeder.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,7 @@ public function run()
347347
<p>&nbsp;</p>
348348
',
349349

350-
'home_message' => '
351-
<p>Take control of your online presence with&nbsp;<a href="https://linkstack.org/"><strong>LinkStack</strong></a> the privacy-focused, open-source <strong>link management platform</strong>. Create a customizable profile page to manage <strong>all your important links in one convenient location</strong> and give your audience a seamless browsing experience.</p>
352-
',
350+
'home_message' => 'default',
353351

354352
'register' => null,
355353
]

resources/lang/de/messages.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
'by' => 'von',
2121

2222

23+
'HOME.MESSAGE' => '
24+
<p>Nehmen Sie die Kontrolle über Ihre Online-Präsenz mit <a href="https://linkstack.org/"><strong>LinkStack</strong></a>,
25+
der datenschutzorientierten, quelloffenen <strong>Link-Management-Plattform</strong>. Erstellen Sie eine anpassbare Profilseite, um <strong>
26+
alle Ihre wichtigen Links an einem praktischen Ort zu verwalten</strong> und Ihrem Publikum ein nahtloses Browsing-Erlebnis zu bieten.</p>
27+
',
28+
29+
2330
/*
2431
|--------------------------------------------------------------------------
2532
| Demo Page/Home Page Example Page

resources/lang/en/messages.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
'Made with' => 'Made with',
2020
'by' => 'by',
2121

22+
'HOME.MESSAGE' => '
23+
<p>Take control of your online presence with&nbsp;<a href="https://linkstack.org/"><strong>LinkStack</strong></a>
24+
the privacy-focused, open-source <strong>link management platform</strong>. Create a customizable profile page to manage <strong>
25+
all your important links in one convenient location</strong> and give your audience a seamless browsing experience.</p>
26+
',
27+
2228

2329
/*
2430
|--------------------------------------------------------------------------

resources/views/home.blade.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,11 @@
179179
<h1 class="h1 fw-bold mb-4 pt-4">{{ config('app.name') }}</h1>
180180

181181
<div class="lead">
182-
<?php echo $message->home_message; ?>
182+
@if($message->home_message == "default")
183+
{!!__('messages.HOME.MESSAGE')!!}
184+
@else
185+
{!!$message->home_message!!}
186+
@endif
183187
</div>
184188

185189
<div class="d-flex justify-content-center align-items-center pt-4">

0 commit comments

Comments
 (0)