fix: hide links from payment success message

This commit is contained in:
3252a8
2026-05-25 00:23:48 +03:00
parent 82cc33587c
commit 5c71fc0de2
5 changed files with 11 additions and 37 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ from bot.payment_providers import yookassa
class _I18n:
def gettext(self, _lang, key, **kwargs):
if key == "payment_successful_hwid_devices_full":
return f"HWID +{kwargs['count']} {kwargs['config_link']}"
return f"HWID +{kwargs['count']}"
if key == "config_link_not_available":
return "n/a"
return key