From 913f75b4a8935f47cf14b7420f46078b1fecedfb Mon Sep 17 00:00:00 2001 From: mercury Date: Mon, 15 Apr 2024 13:49:14 +0400 Subject: [PATCH] improve on/off on paclist --- app/bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index cc4e7bd..25f6e81 100644 --- a/app/bot.php +++ b/app/bot.php @@ -3102,7 +3102,7 @@ DNS-over-HTTPS with IP: foreach ($domains as $k => $v) { $data[] = [ [ - 'text' => '(' . ($v ? 'ON' : 'OFF') . ') ' . idn_to_utf8($k), + 'text' => $this->i18n($v ? 'on' : 'off') . ' ' . idn_to_utf8($k), 'callback_data' => "/change$type {$k}_{$this->limit}", ], [