diff --git a/Controller/Adminhtml/Mass/Translate/Locked.php b/Controller/Adminhtml/Mass/Translate/Locked.php index 3198948..3e934d0 100644 --- a/Controller/Adminhtml/Mass/Translate/Locked.php +++ b/Controller/Adminhtml/Mass/Translate/Locked.php @@ -22,7 +22,8 @@ public function execute() $this->messageManager->addNotice( __( - 'This option is available in Magefan Translation Extra plan only. Please upgrade at ' .$url. '.', + 'This option is available in Magefan Translation Extra plan only. + Please upgrade plan to use this feature.', $url . $params ) ); diff --git a/view/adminhtml/layout/cms_block_edit.xml b/view/adminhtml/layout/cms_block_edit.xml new file mode 100644 index 0000000..349c455 --- /dev/null +++ b/view/adminhtml/layout/cms_block_edit.xml @@ -0,0 +1,19 @@ + + + + + + + + 1 + + + + + diff --git a/view/adminhtml/layout/cms_page_edit.xml b/view/adminhtml/layout/cms_page_edit.xml new file mode 100644 index 0000000..349c455 --- /dev/null +++ b/view/adminhtml/layout/cms_page_edit.xml @@ -0,0 +1,19 @@ + + + + + + + + 1 + + + + + diff --git a/view/adminhtml/templates/cms/store-switcher-promo.phtml b/view/adminhtml/templates/cms/store-switcher-promo.phtml new file mode 100644 index 0000000..b3eeab8 --- /dev/null +++ b/view/adminhtml/templates/cms/store-switcher-promo.phtml @@ -0,0 +1,90 @@ + +getWebsites()): ?> +
+ escapeHtml(__('Scope:')) ?> + + getHintHtml() ?> +
+ + + + renderTag('script', [], $script, false) ?> + + diff --git a/view/adminhtml/templates/form/js.phtml b/view/adminhtml/templates/form/js.phtml index c3d3e45..9462794 100644 --- a/view/adminhtml/templates/form/js.phtml +++ b/view/adminhtml/templates/form/js.phtml @@ -40,7 +40,7 @@ if ($block->getRequest()->getParam('store')) { var a = \$('" . $escaper->escapeHtml(__('Translate')) . "').click(function(e){ e.preventDefault(); require(['Magefan_Translation/js/mf-upgrade-plan-popup'], function(mfPopup) { - mfPopup('Plus or Extra', 'auto-translate', 'button'); + mfPopup('Plus or Extra', 'auto-translate', 'button-attr'); }); return false; });