mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-28 08:34:19 +00:00
Minor string change
This commit is contained in:
parent
97fcf75b0d
commit
d3a89f3215
2 changed files with 4 additions and 2 deletions
|
@ -297,7 +297,9 @@ success_product_edited = "✅ Il prodotto è stato aggiunto/modificato con succe
|
|||
success_product_deleted = "✅ Il prodotto è stato eliminato con successo!"
|
||||
|
||||
# Success: order has been created
|
||||
success_order_created = "✅ L'ordine è stato inviato con successo!"
|
||||
success_order_created = "✅ L'ordine è stato inviato con successo!\n" \
|
||||
"\n" \
|
||||
"{order}"
|
||||
|
||||
# Success: order was marked as completed
|
||||
success_order_completed = "✅ Hai segnato l'ordine #{order_id} come completato."
|
||||
|
|
|
@ -457,7 +457,7 @@ class ChatWorker(threading.Thread):
|
|||
# Commit all the changes
|
||||
self.session.commit()
|
||||
# Notify the user of the order result
|
||||
self.bot.send_message(self.chat.id, strings.success_order_created)
|
||||
self.bot.send_message(self.chat.id, strings.success_order_created.format(order=order.get_text(self.session)))
|
||||
# Notify the admins (in Live Orders mode) of the new order
|
||||
admins = self.session.query(db.Admin).filter_by(live_mode=True).all()
|
||||
# Create the order keyboard
|
||||
|
|
Loading…
Reference in a new issue