diff --git a/app/bot.php b/app/bot.php index 2a34909..c1aef29 100644 --- a/app/bot.php +++ b/app/bot.php @@ -2199,7 +2199,7 @@ DNS-over-HTTPS with IP: $mpac = stat(__DIR__ . '/zapretlists/mpac'); $pac = stat(__DIR__ . '/zapretlists/pac'); $conf = $this->getPacConf(); - $zapret = $conf['zapret'] ? 'ON' : 'OFF'; + $zapret = $conf['zapret'] ? $this->i18n('on') : $this->i18n('off'); $ip = $conf['domain'] ?: $this->ip; $hash = substr(md5($this->key), 0, 8); $scheme = empty($this->nginxGetTypeCert()) ? 'http' : 'https'; diff --git a/app/i18n.php b/app/i18n.php index 970cee8..1c4a4d6 100644 --- a/app/i18n.php +++ b/app/i18n.php @@ -147,7 +147,7 @@ $i = [ ], 'blacklist exclude' => [ 'en' => 'blacklist exclude', - 'ru' => 'язык', + 'ru' => 'исключения из списка ркн', ], 'lang' => [ 'en' => 'language',