1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-22 05:54:18 +00:00
greed/strings.py

53 lines
2.1 KiB
Python
Raw Normal View History

# Strings / localization file for greed
# Can be edited, but DON'T REMOVE THE REPLACEMENT FIELDS (words surrounded by {curly braces})
2017-12-12 18:56:38 +00:00
# TODO: maybe add a preformat to all strings in this file
# Currency symbol
currency_symbol = ""
# Positioning of the currency symbol
currency_format_string = "{symbol} {value}"
# Quantity of a product in stock
in_stock_format_string = "{quantity} disponibili"
2017-12-12 18:56:38 +00:00
# Answer: the start command was sent and the bot should welcome the user
conversation_after_start = "Ciao!\n" \
"Benvenuto su greed!"
2017-12-21 09:42:23 +00:00
# Answer: to send an inline keyboard you need to send a message with it
conversation_open_user_menu = "Allora, {username}, cosa vorresti fare?"
2017-12-22 08:56:03 +00:00
# Answer: the same message as above but when the first has already been sent
conversation_open_user_menu_multiple = "Hai bisogno di qualcos'altro?"
2017-12-13 10:20:53 +00:00
# Notification: the conversation has expired
conversation_expired = "🕐 Il bot non ha ricevuto messaggi per un po' di tempo, quindi ha chiuso la conversazione.\n" \
"Per riavviarne una nuova, invia il comando /start."
2017-12-21 09:42:23 +00:00
# User menu: order
menu_order = "🛍 Ordina"
# User menu: order status
menu_order_status = "❓ Stato ordini"
# User menu: add credit
menu_add_credit = "💵 Ricarica"
# User menu: bot info
2017-12-22 08:56:03 +00:00
menu_bot_info = " Informazioni sul bot"
# Info: informazioni sul bot
bot_info = 'Questo bot utilizza <a href="https://github.com/Steffo99/greed">greed</a>,' \
' un framework di @Steffo per i pagamenti su Telegram rilasciato sotto la' \
' <a href="https://github.com/Steffo99/greed/blob/master/LICENSE">Affero General Public License 3.0</a>.\n' \
'Il codice sorgente di questa versione è disponibile <i>qui</i>.\n'
2017-12-21 09:42:23 +00:00
# Error: message received not in a private chat
2017-12-11 11:47:46 +00:00
error_nonprivate_chat = "⚠️ Questo bot funziona solo in chat private."
# Error: a message was sent in a chat, but no worker exists for that chat. Suggest the creation of a new worker with /start
2017-12-13 10:20:53 +00:00
error_no_worker_for_chat = "⚠️ La conversazione con il bot è interrotta.\n" \
2017-12-12 18:56:38 +00:00
"Per riavviarla, manda il comando /start al bot."