diff --git a/app/controllers/concerns/telegram/subscription_commands.rb b/app/controllers/concerns/telegram/subscription_commands.rb index ebdb626..8697c41 100644 --- a/app/controllers/concerns/telegram/subscription_commands.rb +++ b/app/controllers/concerns/telegram/subscription_commands.rb @@ -76,7 +76,7 @@ def confirm_remove_callback_query(channel_id) # Построить текст списка подписок def build_subscriptions_list(subscriptions) - text = "#{I18n.t('telegram_bot.channels.list.title')}\n\n" + text = "#{I18n.t('telegram_bot.channels.list.title', count: subscriptions.count)}\n\n" text += "#{I18n.t('telegram_bot.channels.list.total', count: subscriptions.count)}\n\n" subscriptions.each do |subscription|