translate welcome-screen for unconfigured installations

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-09-11 17:08:24 +02:00
parent 589f2b8124
commit 15a1ff2f83
3 changed files with 13 additions and 3 deletions

View File

@@ -2200,4 +2200,9 @@ Vielen Dank, Ihr Administrator',
'notyetconfigured' => 'Es scheint als wären die Dienste (noch) nicht erfolgreich konfiguriert worden. Bitte den angezeigten Befehl ausführen oder überspringen (direkt zum Login)' 'notyetconfigured' => 'Es scheint als wären die Dienste (noch) nicht erfolgreich konfiguriert worden. Bitte den angezeigten Befehl ausführen oder überspringen (direkt zum Login)'
] ]
], ],
'welcome' => [
'title' => 'Willkommen bei froxlor!',
'config_note' => 'Damit froxlor mit dem Backend vernünftig kommunizieren kann, musst du dieses noch konfigurieren.',
'config_now' => 'Jetzt konfigurieren'
],
]; ];

View File

@@ -2327,4 +2327,9 @@ Yours sincerely, your administrator',
'notyetconfigured' => 'It seems that the services were not yet configured (successfully). Please either run the command shown below or check the box to do it later.' 'notyetconfigured' => 'It seems that the services were not yet configured (successfully). Please either run the command shown below or check the box to do it later.'
] ]
], ],
'welcome' => [
'title' => 'Welcome to froxlor!',
'config_note' => 'In order for froxlor to be able to communicate properly with the backend, you have to configure it.',
'config_now' => 'Configure now'
],
]; ];

View File

@@ -5,9 +5,9 @@
{% if get_setting('panel.is_configured') == 0 and userinfo.adminsession == 1 and userinfo.change_serversettings == 1 %} {% if get_setting('panel.is_configured') == 0 and userinfo.adminsession == 1 and userinfo.change_serversettings == 1 %}
<div class="alert alert-info position-relative p-5"> <div class="alert alert-info position-relative p-5">
<h3>Willkommen bei Froxlor!</h3> <h3>{{ lng('welcome.title') }}</h3>
<p class="lead mb-5">Damit Froxlor mit dem Backend vernünftig kommunizieren kann, musst du dieses noch Konfigurieren.</p> <p class="lead mb-5">{{ lng('welcome.config_note') }}</p>
<a class="btn btn-lg btn-light text-info" href="{{ linker({'section': 'configfiles', 'page': 'configfiles'}) }}">Jetzt konfigurieren</a> <a class="btn btn-lg btn-light text-info" href="{{ linker({'section': 'configfiles', 'page': 'configfiles'}) }}">{{ lng('welcome.config_now') }}</a>
<aside class="position-absolute bottom-0 end-0 p-5"> <aside class="position-absolute bottom-0 end-0 p-5">
<i class="fa-solid fa-hat-wizard fa-5x"></i> <i class="fa-solid fa-hat-wizard fa-5x"></i>
</aside> </aside>