diff --git a/bl-plugins/welcome/languages/de_AT.json b/bl-plugins/welcome/languages/de_AT.json new file mode 100644 index 00000000..8012efa2 --- /dev/null +++ b/bl-plugins/welcome/languages/de_AT.json @@ -0,0 +1,8 @@ +{ + "plugin-data": + { + "name": "Willkommen", + "description": "Zeigt die Willkommensmeldung im Dashboard an." + }, + "welcome": "Willkommen" +} diff --git a/bl-plugins/welcome/languages/de_CH.json b/bl-plugins/welcome/languages/de_CH.json new file mode 100644 index 00000000..8012efa2 --- /dev/null +++ b/bl-plugins/welcome/languages/de_CH.json @@ -0,0 +1,8 @@ +{ + "plugin-data": + { + "name": "Willkommen", + "description": "Zeigt die Willkommensmeldung im Dashboard an." + }, + "welcome": "Willkommen" +} diff --git a/bl-plugins/welcome/languages/de_DE.json b/bl-plugins/welcome/languages/de_DE.json new file mode 100644 index 00000000..8012efa2 --- /dev/null +++ b/bl-plugins/welcome/languages/de_DE.json @@ -0,0 +1,8 @@ +{ + "plugin-data": + { + "name": "Willkommen", + "description": "Zeigt die Willkommensmeldung im Dashboard an." + }, + "welcome": "Willkommen" +} diff --git a/bl-plugins/welcome/languages/en.json b/bl-plugins/welcome/languages/en.json index 2c899ffb..fe36c6b8 100644 --- a/bl-plugins/welcome/languages/en.json +++ b/bl-plugins/welcome/languages/en.json @@ -3,5 +3,6 @@ { "name": "Welcome", "description": "Shows a greeting message in the dashboard." - } -} \ No newline at end of file + }, + "welcome": "Welcome" +} diff --git a/bl-plugins/welcome/plugin.php b/bl-plugins/welcome/plugin.php index d91a5f11..2ba5a76b 100644 --- a/bl-plugins/welcome/plugin.php +++ b/bl-plugins/welcome/plugin.php @@ -20,11 +20,11 @@ class pluginWelcome extends Plugin { $labelGoodEvening = $L->g('good-evening'); $labelGoodNight = $L->g('good-night'); -return << -

Welcome

- + echo '
'; + echo '

' . $L->g('Welcome') . '

'; + echo '
'; +return << $(document).ready(function() { $("#hello-message").fadeOut(1000, function() { @@ -45,4 +45,4 @@ $(document).ready(function() { EOF; } -} \ No newline at end of file +}