Skip to content

Commit 1287e69

Browse files
committed
Add i18n and update copyright
1 parent be0cb42 commit 1287e69

File tree

21 files changed

+111
-21
lines changed

21 files changed

+111
-21
lines changed

.github/issue_template.md

+36
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

+3-1
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\GuestToCustomer\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/Module/Version.php

+3-1
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\GuestToCustomer\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/Customer/LookupForm.php

+2-1
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\GuestToCustomer\Block\Customer;
89

Block/View/Element/Html/Link/Current.php

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/**
33
* Copyright © MagePal LLC, Inc. All rights reserved.
44
* See COPYING.txt for license details.
5+
* http://www.magepal.com | [email protected]
56
*/
67
namespace MagePal\GuestToCustomer\Block\View\Element\Html\Link;
78

Controller/Adminhtml/Customer/Index.php

+2-1
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\GuestToCustomer\Controller\Adminhtml\Customer;
89

Controller/Guesttocustomer/Lookupform.php

+2-1
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
namespace MagePal\GuestToCustomer\Controller\Guesttocustomer;
78

89
use Magento\Customer\Model\Session;

Controller/Guesttocustomer/LookupformPost.php

+2-1
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
namespace MagePal\GuestToCustomer\Controller\Guesttocustomer;
78

89
use Magento\Customer\Model\Session;

Helper/Data.php

+2-1
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\GuestToCustomer\Helper;
89

Plugin/Api/OrderCustomerManagementInterfacePlugin.php

+2-1
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\GuestToCustomer\Plugin\Api;
89

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ If you encounter any problems or bugs, please open an issue on [GitHub](https://
4545

4646
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.
4747

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

composer.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,26 @@
1212
"license": [
1313
"proprietary"
1414
],
15+
"homepage": "http://www.magepal.com/",
16+
"support": {
17+
"email": "[email protected]",
18+
"issues": "https://github.com/magepal/magento2-guest-to-customer/issues/"
19+
},
1520
"authors": [
1621
{
17-
"name": "MagePal",
18-
"email": "hello@magepal.com",
22+
"name": "Renon Stewart",
23+
"email": "renon@magepal.com",
1924
"homepage": "http://www.magepal.com/",
2025
"role": "Leader"
2126
}
2227
],
23-
"homepage": "http://www.magepal.com/",
2428
"require": {
2529
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0",
2630
"magento/module-backend": "100.0.*|100.1.*|100.2.*",
2731
"magento/framework": "100.0.*|100.1.*|101.0.*"
2832
},
2933
"type": "magento2-module",
30-
"version": "1.1.2",
34+
"version": "1.1.3",
3135
"autoload": {
3236
"files": [
3337
"registration.php"

etc/acl.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
*
66
* Copyright © MagePal LLC. All rights reserved.
77
* See COPYING.txt for license details.
8-
*/
8+
* http://www.magepal.com | [email protected]
9+
*/
910
-->
1011
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
1112
<acl>

etc/adminhtml/routes.xml

+2-1
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:App/etc/routes.xsd">
910
<router id="admin">

etc/adminhtml/system.xml

+10-1
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_GuestToCustomer::guesttocustomer</resource>
1718
<group id="about" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="0" translate="label">
1819
<label>About Guest to Customer</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\GuestToCustomer\Block\Adminhtml\System\Config\Form\Module\Version</frontend_model>

etc/frontend/routes.xml

+2-1
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:App/etc/routes.xsd">
910
<router id="standard">

i18n/en_US.csv

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
"Module Version","Module Version"
2+
"Composer Version","Composer Version"
3+
"Version","Version"
4+
"Enable","Enable"
5+
"Guest to Customer Setting","Guest to Customer Setting"
6+
"Enable on Frontend (customer dashboard)","Enable on Frontend (customer dashboard)"
7+
"* Required Fields","* Required Fields"
8+
"Guest Order Information","Guest Order Information"
9+
"Save","Save"
10+
"Go back","Go back"
11+
"Add exiting order to my account","Add exiting order to my account"
12+
"Order was successfully converted.","Order was successfully converted."
13+
"Email address already belong to an existing customer.","Email address already belong to an existing customer."
14+
"Invalid order id.","Invalid order id."
15+
"Unknown error please try again.","Unknown error please try again."
16+
"We can't find the order.","We can't find the order."
17+
"Convert to Customer","Convert to Customer"
18+
19+
20+
21+
22+
23+

view/adminhtml/layout/sales_order_view.xml

+2-1
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="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
910
<body>

view/frontend/layout/customer_account.xml

+2-1
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" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
910
<body>

view/frontend/layout/customer_guesttocustomer_lookupform.xml

+2-1
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" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
910
<update handle="customer_account"/>

view/frontend/templates/customer/lookupform.phtml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © 2016 Expandlab. 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\GuestToCustomer\Block\Customer\LookupForm

0 commit comments

Comments
 (0)