Skip to content

Commit a38b000

Browse files
NikitaNikita
authored andcommitted
more fixes
1 parent cf47bf9 commit a38b000

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

Block/Extensions.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Magento\Framework\Data\Form\Element\AbstractElement;
1717
use Magento\Framework\Exception\FileSystemException;
1818
use Magento\Framework\Filesystem\Driver\File;
19-
use Magento\Framework\Locale\ResolverInterface;
2019
use Magento\Framework\Module\Dir\Reader;
2120
use Magento\Framework\Module\ModuleListInterface;
2221
use Magento\Framework\Serialize\Serializer\Json;
@@ -34,15 +33,13 @@ class Extensions extends Fieldset
3433
private Reader $moduleReader;
3534
private Json $serializer;
3635
private File $filesystem;
37-
private ResolverInterface $locale;
3836
private BlockInterface $fieldRenderer;
3937
private ScopeConfigInterface $scopeConfig;
4038

4139
public function __construct(
4240
ModuleListInterface $moduleList,
4341
Reader $moduleReader,
4442
File $filesystem,
45-
ResolverInterface $locale,
4643
Json $jsonDecoder,
4744
LayoutFactory $layoutFactory,
4845
Context $context,
@@ -57,7 +54,6 @@ public function __construct(
5754
$this->moduleReader = $moduleReader;
5855
$this->serializer = $jsonDecoder;
5956
$this->filesystem = $filesystem;
60-
$this->locale = $locale;
6157
$this->scopeConfig = $context->getScopeConfig();
6258
}
6359

etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</group>
3333
<group id="logger" translate="label" type="text" sortOrder="110" showInDefault="1" showInWebsite="1" showInStore="0">
3434
<label>Logging</label>
35-
<field id="target" translate="label comment" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0">
35+
<field id="target" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0">
3636
<label>Log Destination</label>
3737
<source_model>Mygento\Base\Model\Source\LogTarget</source_model>
3838
</field>

i18n/ru_RU.csv

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@
1818
"Last Update","Последнее обновление"
1919
"Scheduled or Running","Запланировано или в работе"
2020
"Job Code is required","Требуется код задачи"
21-
"Job Status","Статус задачи"
21+
"Job Status","Статус задачи"
22+
'Please report all bugs and feature requests to %1.',"Если у вас есть ошибки или предложения по работе можете смело писать нам на %1."
23+
"Legal information","Правовая информация"
24+
"General Setting","Основные настройки"
25+
"Logging","Логирование"
26+
"Log Destination","Логировать в"

view/adminhtml/layout/adminhtml_system_config_edit.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
<?xml version="1.0"?>
2-
<!--
3-
/**
4-
* @author Mygento Team
5-
* @copyright Copyright 2014-2025 Mygento (https://www.mygento.com)
6-
* @package Mygento_Base
7-
*/
8-
-->
92
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
103
<head>
114
<css src="Mygento_Base::css/main.css"/>

0 commit comments

Comments
 (0)