Modification for translations

Modification of the code from line 23 to add translation for "Welcome".
This commit is contained in:
Edi 2021-09-14 17:39:51 +02:00 committed by GitHub
parent 1f99d43bb8
commit fc001194c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,11 +20,11 @@ class pluginWelcome extends Plugin {
$labelGoodEvening = $L->g('good-evening');
$labelGoodNight = $L->g('good-night');
return <<<EOF
<div class="pluginWelcome mt-4 mb-4 pb-4 border-bottom">
<h2 id="hello-message" class="m-0 p-0"><i class="bi bi-emoji-laughing"></i>Welcome</h2>
</div>
echo '<div class="pluginWelcome mt-4 mb-4 pb-4 border-bottom">';
echo '<h2 id="hello-message" class="m-0 p-0"><i class="bi bi-emoji-laughing"></i>' . $L->g('Welcome') . '</h2>';
echo '</div>';
return <<<EOF
<script>
$(document).ready(function() {
$("#hello-message").fadeOut(1000, function() {