diff --git a/bot/handlers/admin/promo/manage.py b/bot/handlers/admin/promo/manage.py index c90b432..3a90c20 100644 --- a/bot/handlers/admin/promo/manage.py +++ b/bot/handlers/admin/promo/manage.py @@ -415,7 +415,7 @@ async def promo_edit_select_handler(callback: types.CallbackQuery, i18n_data: di builder = InlineKeyboardBuilder() # Show appropriate edit option based on type if promo_type == "discount": - builder.row(InlineKeyboardButton(text="💰 Edit Discount %", callback_data=f"promo_edit_field:discount_percentage:{promo_id}")) + builder.row(InlineKeyboardButton(text=_("admin_promo_edit_discount_percentage"), callback_data=f"promo_edit_field:discount_percentage:{promo_id}")) else: builder.row(InlineKeyboardButton(text=_("admin_promo_edit_bonus_days"), callback_data=f"promo_edit_field:bonus_days:{promo_id}")) diff --git a/locales/en.json b/locales/en.json index 85a0095..d6a3b9f 100644 --- a/locales/en.json +++ b/locales/en.json @@ -214,6 +214,7 @@ "admin_promo_edit_success": "Promo code updated successfully.", "admin_promo_invalid_input": "Invalid input, please try again.", "admin_promo_edit_bonus_days": "🎁 Bonus Days", + "admin_promo_edit_discount_percentage": "💰 Discount %", "admin_promo_edit_max_activations": "🔢 Max Activations", "admin_promo_edit_validity": "⏰ Validity", "admin_ban_user_prompt": "Enter user ID or @username to ban:", diff --git a/locales/ru.json b/locales/ru.json index fc5aac1..a9de522 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -224,6 +224,7 @@ "admin_promo_edit_success": "Промокод успешно обновлен.", "admin_promo_invalid_input": "Неверный ввод, попробуйте еще раз.", "admin_promo_edit_bonus_days": "🎁 Бонусные дни", + "admin_promo_edit_discount_percentage": "💰 Процент скидки", "admin_promo_edit_max_activations": "🔢 Макс. активации", "admin_promo_edit_validity": "⏰ Срок действия", "admin_ban_user_prompt": "Введите ID или @username пользователя для блокировки:",