diff --git a/README.md b/README.md index 451aed9..69265b4 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ Story: * extending a shop controller (`OxidEsales\ModuleTemplate\Extension\Controller\StartController`) * extending a shop database table (`oxuser`) * extending a shop template block (`start_newest_articles`) -* extending a shop admin template block (`admin_user_main_form`) +* extending a shop admin template block (`admin_user_main_form` - only an extension of a block, without functionality) **HINT**: only extend the shop core if there is no other way like listen and handle shop events, decorate/replace some DI service. Your module might be one of many in the class chain and you should diff --git a/views/admin_twig/de/module_options.php b/views/admin_twig/de/module_options.php index f1d490f..2befaa8 100644 --- a/views/admin_twig/de/module_options.php +++ b/views/admin_twig/de/module_options.php @@ -15,7 +15,7 @@ 'OEMODULETEMPLATE_GREETING_MESSAGE_TEXT' => 'Begrüßungsnachricht: ', 'OEMODULETEMPLATE_NO_GREETING_TEXT' => 'Es wurde keine Begrüßungsnachricht hinzugefügt!', 'OEMODULETEMPLATE_ALLOW_GREETING' => 'Benutzer erlauben die Begrüßungsnachricht zu setzen', - 'OEMODULETEMPLATE_HELP_ALLOW_GREETING' => 'Beispiel für die Erweiterung des Admin-Templates', + 'OEMODULETEMPLATE_HELP_ALLOW_GREETING' => 'Dies ist ein Beispiel, wie ein Admintemplate erweitert werden kann. Momentan ist keine Funktionalität hinter dieser Checkbox hinterlegt, es wird keine Einstellung in der Datenbank gespeichert.', # Module settings 'SHOP_MODULE_GROUP_oemoduletemplate_main' => 'Einstellungen', diff --git a/views/admin_twig/en/module_options.php b/views/admin_twig/en/module_options.php index 3d3091a..839a250 100644 --- a/views/admin_twig/en/module_options.php +++ b/views/admin_twig/en/module_options.php @@ -15,7 +15,7 @@ 'OEMODULETEMPLATE_GREETING_MESSAGE_TEXT' => 'Greeting message: ', 'OEMODULETEMPLATE_NO_GREETING_TEXT' => 'No greeting message added!', 'OEMODULETEMPLATE_ALLOW_GREETING' => 'Allow user to set greeting', - 'OEMODULETEMPLATE_HELP_ALLOW_GREETING' => 'Example of extending admin template', + 'OEMODULETEMPLATE_HELP_ALLOW_GREETING' => 'This is an example of extending admin template. There is no functionality implemented behind this checkbox and does not save anything to the database', # Module settings 'SHOP_MODULE_GROUP_oemoduletemplate_main' => 'Settings', diff --git a/views/twig/admin/user_greetings.html.twig b/views/twig/admin/user_greetings.html.twig index 15ce786..26b8789 100644 --- a/views/twig/admin/user_greetings.html.twig +++ b/views/twig/admin/user_greetings.html.twig @@ -1,6 +1,6 @@ {% include "headitem.html.twig" with {title: "GENERAL_ADMIN_TITLE"|translate} %} -