init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Esun\MultiLocaleTranslation\Model\Config\Source;
|
||||
|
||||
use Magento\Framework\Data\OptionSourceInterface;
|
||||
|
||||
class DeepLFormality implements OptionSourceInterface
|
||||
{
|
||||
public function toOptionArray(): array
|
||||
{
|
||||
return [
|
||||
['value' => 'default', 'label' => __('Default')],
|
||||
['value' => 'prefer_more', 'label' => __('Prefer formal')],
|
||||
['value' => 'prefer_less', 'label' => __('Prefer informal')],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user