From c15e244659996641b951532c96e0ec485c32533f Mon Sep 17 00:00:00 2001 From: Verum Date: Tue, 31 Mar 2026 16:41:30 +0700 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=80=D0=B5=D0=BC=D1=8F=20=D1=81=D0=B8?= =?UTF-8?q?=D0=BD=D1=85=D1=80=D0=BE=D0=BD=D0=B8=D0=B7=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/glitchup_bot/bot/handlers/commands.py | 3 +-- src/glitchup_bot/bot/keyboards.py | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/glitchup_bot/bot/handlers/commands.py b/src/glitchup_bot/bot/handlers/commands.py index 34de0fa..4c40a1d 100644 --- a/src/glitchup_bot/bot/handlers/commands.py +++ b/src/glitchup_bot/bot/handlers/commands.py @@ -218,8 +218,7 @@ def _admin_sync_text() -> str: [ "Синхронизация", "", - "Отсюда удобно запускать ручной sync и проверять, " - "когда данные обновлялись в последний раз.", + "Запустите синхронизацию принудительно или установите время автоматической синхронизации.", ] ) diff --git a/src/glitchup_bot/bot/keyboards.py b/src/glitchup_bot/bot/keyboards.py index d078563..d2cee5d 100644 --- a/src/glitchup_bot/bot/keyboards.py +++ b/src/glitchup_bot/bot/keyboards.py @@ -72,11 +72,10 @@ def admin_home_keyboard() -> InlineKeyboardMarkup: def admin_sync_keyboard() -> InlineKeyboardMarkup: builder = InlineKeyboardBuilder() - builder.button(text="Запустить sync", callback_data="admin:sync") - builder.button(text="Автосинк: вкл/выкл", callback_data="admin:settings:sync_enabled") - builder.button(text="Время отчёта", callback_data="admin:settings:digest_time") + builder.button(text="Запустить принудительно", callback_data="admin:sync") + builder.button(text="Выставить время автосинхронизации", callback_data="admin:settings:sync_enabled") builder.button(text="Назад", callback_data="admin:open") - builder.adjust(2, 1, 1) + builder.adjust(2, 1) return builder.as_markup()