-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from mollie/1.1.4
1.1.4
- Loading branch information
Showing
13 changed files
with
207 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?php | ||
/** | ||
* Copyright © 2017 Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Model\Adminhtml\Source; | ||
|
||
use Magento\Framework\Option\ArrayInterface; | ||
|
||
class Locale implements ArrayInterface | ||
{ | ||
|
||
/** | ||
* Options array | ||
* | ||
* @var array | ||
*/ | ||
public $options = null; | ||
|
||
/** | ||
* @return array | ||
*/ | ||
public function toOptionArray() | ||
{ | ||
if (!$this->options) { | ||
$this->options = [ | ||
[ | ||
'value' => '', | ||
'label' => __('Autodetect') | ||
], | ||
[ | ||
'value' => 'store', | ||
'label' => __('Store Locale') | ||
], | ||
[ | ||
'value' => 'en_US', | ||
'label' => __('en_US') | ||
], | ||
[ | ||
'value' => 'de_AT', | ||
'label' => __('de_AT') | ||
], | ||
[ | ||
'value' => 'de_CH', | ||
'label' => __('de_CH') | ||
], | ||
[ | ||
'value' => 'de_DE', | ||
'label' => __('de_DE') | ||
], | ||
[ | ||
'value' => 'es_ES', | ||
'label' => __('es_ES') | ||
], | ||
[ | ||
'value' => 'fr_BE', | ||
'label' => __('fr_BE') | ||
], | ||
[ | ||
'value' => 'nl_BE', | ||
'label' => __('nl_BE') | ||
], | ||
[ | ||
'value' => 'nl_NL', | ||
'label' => __('nl_NL') | ||
], | ||
]; | ||
} | ||
return $this->options; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0"?> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> | ||
<module name="Mollie_Payment" setup_version="1.1.3"> | ||
<module name="Mollie_Payment" setup_version="1.1.4"> | ||
</module> | ||
</config> |
Oops, something went wrong.