Skip to content

Commit e60ccd6

Browse files
committed
Add i18n and update copyright
1 parent 1885054 commit e60ccd6

File tree

15 files changed

+85
-15
lines changed

15 files changed

+85
-15
lines changed

.github/issue_template.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
3+
<!--- Before adding a new issue, please check all closed and existing issues to make sure this is not a duplicate -->
4+
5+
6+
#### Magento version #:
7+
8+
#### Edition (EE, CE, OS, etc):
9+
10+
#### Expected behavior:
11+
12+
#### Actual behavior:
13+
14+
#### Steps to reproduce:
15+
16+
#### Preconditions
17+
<!--- Provide a more detailed information of environment you use -->
18+
<!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. -->
19+
20+
21+
<!---
22+
PLEASE NOTE:
23+
24+
We receive multiple emails & support tickets almost daily asking for help.
25+
In most cases these issues have nothing to do with our extension and mostly
26+
caused by lack of basic Magento knowledge or not following installation instructions.
27+
28+
At MagePal, our goal is to develop a wide variety of both free and paid extension
29+
and due to our limited resources, our main focus are fixing reported bugs and developing
30+
other great extensions.
31+
32+
Because of this, we cannot provide free support for our free extensions.
33+
However, we do offer very affordable support options and/or training.
34+
35+
For more information visit www.magepal.com or email us at [email protected].
36+
-->

Block/Adminhtml/System/Config/Form/Composer/Version.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © MagePal LLC. All rights reserved.
44
* See COPYING.txt for license details.
5-
*/
5+
* http://www.magepal.com | [email protected]
6+
*/
67

78
namespace MagePal\CheckoutSuccessMiscScript\Block\Adminhtml\System\Config\Form\Composer;
89

@@ -47,6 +48,7 @@ public function __construct(
4748
*
4849
* @param \Magento\Framework\Data\Form\Element\AbstractElement $element
4950
* @return string
51+
* @throws \Magento\Framework\Exception\LocalizedException
5052
*/
5153
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
5254
{

Block/Adminhtml/System/Config/Form/Field/MiscScript.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © MagePal LLC. All rights reserved.
44
* See COPYING.txt for license details.
5-
*/
5+
* http://www.magepal.com | [email protected]
6+
*/
67

78
namespace MagePal\CheckoutSuccessMiscScript\Block\Adminhtml\System\Config\Form\Field;
89

Block/Adminhtml/System/Config/Form/Module/Version.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © MagePal LLC. All rights reserved.
44
* See COPYING.txt for license details.
5-
*/
5+
* http://www.magepal.com | [email protected]
6+
*/
67

78
namespace MagePal\CheckoutSuccessMiscScript\Block\Adminhtml\System\Config\Form\Module;
89

@@ -33,6 +34,7 @@ public function __construct(
3334
*
3435
* @param \Magento\Framework\Data\Form\Element\AbstractElement $element
3536
* @return string
37+
* @throws \Magento\Framework\Exception\LocalizedException
3638
*/
3739
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
3840
{

Block/Checkout/Success.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © MagePal LLC. All rights reserved.
44
* See COPYING.txt for license details.
5-
*/
5+
* http://www.magepal.com | [email protected]
6+
*/
67

78
namespace MagePal\CheckoutSuccessMiscScript\Block\Checkout;
89

Helper/Data.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © MagePal LLC. All rights reserved.
44
* See COPYING.txt for license details.
5-
*/
5+
* http://www.magepal.com | [email protected]
6+
*/
67

78
namespace MagePal\CheckoutSuccessMiscScript\Helper;
89

Model/Config/Backend/Serialized/MiscScriptArraySerialized.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © MagePal LLC. All rights reserved.
44
* See COPYING.txt for license details.
5-
*/
5+
* http://www.magepal.com | [email protected]
6+
*/
67

78
namespace MagePal\CheckoutSuccessMiscScript\Model\Config\Backend\Serialized;
89

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ If you encounter any problems or bugs, please open an issue on [GitHub](https://
5252

5353
Need help setting up or want to customize this extension to meet your business needs? Please email [email protected] and if we like your idea we will add this feature for free or at a discounted rate.
5454

55-
© MagePal LLC.
55+
© MagePal LLC. | [www.magepal.com](http:/www.magepal.com)
5656

composer.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,19 @@
2121
"magepal/magento2-preview-checkout-success-page":"Preview checkout success page from admin"
2222
},
2323
"type": "magento2-module",
24-
"version": "1.1.3",
24+
"version": "1.1.4",
2525
"license": [
2626
"proprietary"
2727
],
2828
"homepage": "http://www.magepal.com/",
29+
"support": {
30+
"email": "[email protected]",
31+
"issues": "https://github.com/magepal/magento2-checkout-success-misc-script/issues/"
32+
},
2933
"authors": [
3034
{
31-
"name": "MagePal",
32-
"email": "hello@magepal.com",
35+
"name": "Renon Stewart",
36+
"email": "renon@magepal.com",
3337
"homepage": "http://www.magepal.com/",
3438
"role": "Leader"
3539
}

etc/acl.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
/**
44
* Copyright © MagePal LLC. All rights reserved.
55
* See COPYING.txt for license details.
6-
*/
6+
* http://www.magepal.com | [email protected]
7+
*/
78
-->
89
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
910
<acl>

etc/adminhtml/system.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
/**
44
* Copyright © MagePal LLC. All rights reserved.
55
* See COPYING.txt for license details.
6-
*/
6+
* http://www.magepal.com | [email protected]
7+
*/
78
-->
89
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
910
<system>
@@ -16,6 +17,14 @@
1617
<resource>MagePal_PreviewCheckoutSuccessPage::config_magepal_checkoutsuccessmiscscript</resource>
1718
<group id="misc_script" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="0" translate="label">
1819
<label>Success Page Miscellaneous HTML and Scripts</label>
20+
<attribute type="expanded">1</attribute>
21+
<comment>
22+
<![CDATA[
23+
<strong>Copyright © 2018 <a href="http://www.magepal.com" target="_blank">www.magepal.com</a> / <a href="mailto:[email protected]">[email protected]</a></strong><br />
24+
Thanks for choosing MagePal Extensions. Trusted by 1000s of developers worldwide.<br/><br/>
25+
<hr style="border-top: 1px solid #e3e3e3" />
26+
]]>
27+
</comment>
1928
<field id="module_version" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="0" showInStore="0">
2029
<label>Module Version</label>
2130
<frontend_model>MagePal\CheckoutSuccessMiscScript\Block\Adminhtml\System\Config\Form\Module\Version</frontend_model>

i18n/en_US.csv

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"Module Version","Module Version"
2+
"Composer Version","Composer Version"
3+
"Version","Version"
4+
"Enable","Enable"
5+
"HTML and Scripts","HTML and Scripts"
6+
"Is Enabled","Is Enabled"
7+
"Title/Description","Title/Description"
8+
"Scripts","Scripts"
9+
"Add","Add"

view/adminhtml/templates/system/config/form/field/array.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © MagePal LLC. All rights reserved.
44
* See COPYING.txt for license details.
5-
*/
5+
* http://www.magepal.com | [email protected]
6+
*/
67

78
/**
89
* @var $block MagePal\CheckoutSuccessMiscScript\Block\Adminhtml\System\Config\Form\Field\MiscScript

view/frontend/layout/checkout_onepage_success.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
/**
44
* Copyright © MagePal, LLC. All rights reserved.
55
* See COPYING.txt for license details.
6-
*/
6+
* http://www.magepal.com | [email protected]
7+
*/
78
-->
89
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
910
<body>

view/frontend/templates/checkout/misc-script.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © MagePal LLC. All rights reserved.
44
* See COPYING.txt for license details.
5-
*/
5+
* http://www.magepal.com | [email protected]
6+
*/
67

78
/**
89
* @var $block MagePal\CheckoutSuccessMiscScript\Block\Checkout\Success

0 commit comments

Comments
 (0)