mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
23 lines
608 B
PHP
23 lines
608 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Translation\Model\Js\Config\Source;
|
|
|
|
use Magento\Translation\Model\Js\Config;
|
|
|
|
class Strategy implements \Magento\Framework\Option\ArrayInterface
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function toOptionArray()
|
|
{
|
|
return [
|
|
['label' => __('Dictionary (Translation on Storefront side)'), 'value' => Config::DICTIONARY_STRATEGY],
|
|
['label' => __('Embedded (Translation on Admin side)'), 'value' => Config::EMBEDDED_STRATEGY]
|
|
];
|
|
}
|
|
}
|