19 lines
463 B
PHP
19 lines
463 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Esun\MultiLocaleTranslation\Model\Config\Source;
|
|
|
|
use Magento\Framework\Data\OptionSourceInterface;
|
|
|
|
class GoogleLocation implements OptionSourceInterface
|
|
{
|
|
public function toOptionArray(): array
|
|
{
|
|
return [
|
|
['value' => 'global', 'label' => __('Global (standard translation)')],
|
|
['value' => 'us-central1', 'label' => __('US Central 1 (required for Glossary)')],
|
|
];
|
|
}
|
|
}
|