diff --git a/locales/en/LC_MESSAGES/olgram.po b/locales/en/LC_MESSAGES/olgram.po index 597aa77..397da69 100644 --- a/locales/en/LC_MESSAGES/olgram.po +++ b/locales/en/LC_MESSAGES/olgram.po @@ -549,9 +549,9 @@ msgstr "Promotion code withdrawn" #: olgram/commands/promo.py:70 msgid "" -"Укажите аргумент: промокод. Например:
/set_promo my-promo-code" +"Укажите аргумент: промокод. Например:
/setpromo my-promo-code" msgstr "" -"Specify the argument: promo code. For example:
/set_promo my-promo-" +"Specify the argument: promo code. For example:/setpromo my-promo-" "code" #: olgram/commands/promo.py:78 olgram/commands/promo.py:82 diff --git a/locales/uk/LC_MESSAGES/olgram.po b/locales/uk/LC_MESSAGES/olgram.po index 75e8b72..dfdd098 100644 --- a/locales/uk/LC_MESSAGES/olgram.po +++ b/locales/uk/LC_MESSAGES/olgram.po @@ -556,9 +556,9 @@ msgstr "Промокод відкликаний" #: olgram/commands/promo.py:70 msgid "" -"Укажите аргумент: промокод. Например:/set_promo my-promo-code" +"Укажите аргумент: промокод. Например:/setpromo my-promo-code" msgstr "" -"Зазначте аргумент: промокод. Наприклад:/set_promo my-promo-code" +"Зазначте аргумент: промокод. Наприклад:/setpromo my-promo-code" #: olgram/commands/promo.py:78 olgram/commands/promo.py:82 msgid "Промокод не найден" diff --git a/olgram/commands/promo.py b/olgram/commands/promo.py index 486bdb8..fe535e3 100644 --- a/olgram/commands/promo.py +++ b/olgram/commands/promo.py @@ -60,14 +60,14 @@ async def del_promo(message: types.Message, state: FSMContext): @dp.message_handler(commands=["setpromo"], state="*") -async def set_promo(message: types.Message, state: FSMContext): +async def setpromo(message: types.Message, state: FSMContext): """ Команда /setpromo """ arg = message.get_args() if not arg: - return await message.answer(_("Укажите аргумент: промокод. Например:/set_promo my-promo-code"), + return await message.answer(_("Укажите аргумент: промокод. Например:/setpromo my-promo-code"), parse_mode="HTML") arg = arg.strip()