Modification for translations
Modification of the code from line 23 to add translation for "Welcome".
This commit is contained in:
parent
1f99d43bb8
commit
fc001194c6
1 changed files with 5 additions and 5 deletions
|
@ -20,11 +20,11 @@ class pluginWelcome extends Plugin {
|
||||||
$labelGoodEvening = $L->g('good-evening');
|
$labelGoodEvening = $L->g('good-evening');
|
||||||
$labelGoodNight = $L->g('good-night');
|
$labelGoodNight = $L->g('good-night');
|
||||||
|
|
||||||
return <<<EOF
|
echo '<div class="pluginWelcome mt-4 mb-4 pb-4 border-bottom">';
|
||||||
<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>';
|
||||||
<h2 id="hello-message" class="m-0 p-0"><i class="bi bi-emoji-laughing"></i>Welcome</h2>
|
echo '</div>';
|
||||||
</div>
|
|
||||||
|
|
||||||
|
return <<<EOF
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#hello-message").fadeOut(1000, function() {
|
$("#hello-message").fadeOut(1000, function() {
|
||||||
|
@ -45,4 +45,4 @@ $(document).ready(function() {
|
||||||
EOF;
|
EOF;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue