From 5ec8137968b1750ee48326f85dd55fabf41d1565 Mon Sep 17 00:00:00 2001 From: nullmatawasoradesu <119107850+wakaree@users.noreply.github.com> Date: Wed, 16 Aug 2023 16:51:31 +0300 Subject: [PATCH] Fixed typo in i18n documentation --- docs/utils/i18n.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/utils/i18n.rst b/docs/utils/i18n.rst index cbaeed1e..6a17cc4c 100644 --- a/docs/utils/i18n.rst +++ b/docs/utils/i18n.rst @@ -63,7 +63,7 @@ Also if you want to use translated string in keyword- or magic- filters you will from aiogram import F from aiogram.utils.i18n import lazy_gettext as __ - @router.message(F.text.lower() == __("My menu entry")) + @router.message(F.text == __("My menu entry")) ...