Merge pull request #162 from Gravity2106/patch-1

Fix Spanish TG message
This commit is contained in:
Reckless_Satoshi 2022-06-14 18:24:37 +00:00 committed by GitHub
commit d05ce86189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ class Telegram():
lang = user.profile.telegram_lang_code
if lang == 'es':
text = f'¡Tu orden con ID {order.id} ha finalizado exitosamente!⚡ Unase a @robosats_es y ayudanos a mejorar.'
text = f'¡Tu orden con ID {order.id} ha finalizado exitosamente!⚡ Únete a nosotros en @robosats_es y ayúdanos a mejorar.'
else:
text = f'Your order with ID {order.id} has finished successfully!⚡ Join us @robosats and help us improve.'
@ -225,4 +225,4 @@ class Telegram():
self.send_message(user, text)
user.profile.telegram_welcomed = True
user.profile.save()
return
return