1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-12-18 01:34:22 +00:00
greed/strings/en.py

434 lines
16 KiB
Python
Raw Normal View History

2020-02-04 13:14:04 +00:00
# Strings / localization file for greed
# Can be edited, but DON'T REMOVE THE REPLACEMENT FIELDS (words surrounded by {curly braces})
2020-02-05 02:23:13 +00:00
# Part of the translation by https://github.com/DarrenWestwood
2020-02-04 13:14:04 +00:00
# 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} available"
# Copies of a product in cart
in_cart_format_string = "{quantity} in cart"
# Product information
product_format_string = "<b>{name}</b>\n" \
"{description}\n" \
"{price}\n" \
"<b>{cart}</b>"
# Order number, displayed in the order info
order_number = "Order #{id}"
# Order info string, shown to the admins
order_format_string = "by {user}\n" \
2020-02-05 02:23:13 +00:00
"Created on {date}\n" \
2020-02-04 13:14:04 +00:00
"\n" \
"{items}\n" \
"TOTAL: <b>{value}</b>\n" \
"\n" \
"Customer notes: {notes}\n"
# Order info string, shown to the user
user_order_format_string = "{status_emoji} <b>Order {status_text}</b>\n" \
"{items}\n" \
"TOTAL: <b>{value}</b>\n" \
"\n" \
"Notes: {notes}\n"
# Transaction page is loading
loading_transactions = "<i>Loading transactions...\n" \
"Please wait a few seconds.</i>"
2020-02-04 13:14:04 +00:00
# Transactions page
transactions_page = "Page <b>{page}</b>:\n" \
"\n" \
"{transactions}"
# transactions.csv caption
2020-02-05 02:23:13 +00:00
csv_caption = "A 📄 .csv file containing all transactions stored in the bot database was generated.\n" \
2020-02-04 13:14:04 +00:00
"You can open this file with other programs, such as LibreOffice Calc, to process" \
" the data."
2020-02-04 13:14:04 +00:00
# Conversation: the start command was sent and the bot should welcome the user
conversation_after_start = "Hello!\n" \
"Welcome to greed!\n" \
"This is the 🅱️ <b>Beta</b> version of the software.\n" \
"It is fully usable, but there may be some bugs are still present.\n" \
"If you find any, please report them at https://github.com/Steffo99/greed/issues."
2020-02-04 13:14:04 +00:00
# Conversation: to send an inline keyboard you need to send a message with it
2020-02-05 02:23:13 +00:00
conversation_open_user_menu = "What would you like to do?\n" \
"💰 You have <b>{credit}</b> in your wallet.\n" \
2020-02-04 13:14:04 +00:00
"\n" \
"<i>Press a key on the bottom keyboard to select an operation.\n" \
"If the keyboard has not opened, you can open it by pressing the button with four small" \
" squares in the message bar.</i>"
2020-02-04 13:14:04 +00:00
# Conversation: like above, but for administrators
conversation_open_admin_menu = "You are a 💼 <b>Manager</b> of this store!\n" \
2020-02-04 13:14:04 +00:00
"What would you like to do?\n" \
"\n" \
"<i>Press a key on the bottom keyboard to select an operation.\n" \
"If the keyboard has not opened, you can open it by pressing the button with four small" \
" squares in the message bar.</i>"
2020-02-04 13:14:04 +00:00
# Conversation: select a payment method
2020-02-05 02:23:13 +00:00
conversation_payment_method = "How do you want to add funds to your wallet?"
2020-02-04 13:14:04 +00:00
# Conversation: select a product to edit
conversation_admin_select_product = "✏️ What product do you want to edit?"
2020-02-04 13:14:04 +00:00
# Conversation: select a product to delete
2020-02-05 02:23:13 +00:00
conversation_admin_select_product_to_delete = "❌ What product do you want to delete?"
2020-02-04 13:14:04 +00:00
# Conversation: select a user to edit
conversation_admin_select_user = "Select an user to edit."
2020-02-04 13:14:04 +00:00
# Conversation: click below to pay for the purchase
conversation_cart_actions = "<i>Add products to cart by scrolling up and pressing the Add button below" \
" the products you want to add to the cart. When you're done, go back to this message and" \
" press the Done button below.</i>"
2020-02-04 13:14:04 +00:00
# Conversation: confirm the cart contents
conversation_confirm_cart = "🛒 Your cart contains the following products:\n" \
2020-02-04 13:14:04 +00:00
"{product_list}" \
"Total: <b>{total_cost}</b>\n" \
"\n" \
2020-02-05 02:23:13 +00:00
"<i>If you want to proceed, press the Done button below this message.\n" \
2020-02-04 13:14:04 +00:00
"To cancel, press the Cancel button.</i>"
# Live orders mode: start
2020-02-05 02:23:13 +00:00
conversation_live_orders_start = "You are in <b>Live Orders</b> mode\n" \
"All new orders placed by customers will appear in real time in this chat, and you" \
" will be able to mark them as ✅ Completed" \
" or ✴️ Refund the credit to the customer."
# Live orders mode: stop receiving messages
conversation_live_orders_stop = "<i>Press the Stop button below this message to stop the" \
2020-09-07 15:13:27 +00:00
" feed.</i>"
2020-02-04 13:14:04 +00:00
# Conversation: help menu has been opened
conversation_open_help_menu = "What kind of help do you need?"
2020-02-04 13:14:04 +00:00
# Conversation: confirm promotion to admin
conversation_confirm_admin_promotion = "Are you sure you want to promote this user to 💼 Manager?\n" \
2020-02-04 13:14:04 +00:00
"It is an irreversible action!"
2020-05-03 10:40:11 +00:00
# Conversation: language select menu header
conversation_language_select = "Select a language:"
2020-02-04 13:14:04 +00:00
# Conversation: switching to user mode
2020-02-05 02:23:13 +00:00
conversation_switch_to_user_mode = " You are switching to 👤 Customer mode.\n" \
"If you want to go back to the 💼 Manager menu, restart the conversation with /start."
2020-02-04 13:14:04 +00:00
# Notification: the conversation has expired
conversation_expired = "🕐 I haven't received any messages in a while, so I closed the conversation to save" \
" resources.\n" \
"If you want to start a new one, send a new /start command."
2020-02-04 13:14:04 +00:00
# User menu: order
2020-10-01 14:59:28 +00:00
menu_order = "🛒 Order products"
2020-02-04 13:14:04 +00:00
# User menu: order status
menu_order_status = "🛍 My orders"
# User menu: add credit
menu_add_credit = "💵 Add funds"
# User menu: bot info
2020-02-05 02:23:13 +00:00
menu_bot_info = " Bot info"
2020-02-04 13:14:04 +00:00
# User menu: cash
menu_cash = "💵 With cash"
2020-02-04 13:14:04 +00:00
# User menu: credit card
menu_credit_card = "💳 By credit card"
2020-02-04 13:14:04 +00:00
# Admin menu: products
menu_products = "📝️ Products"
# Admin menu: orders
menu_orders = "📦 Orders"
# Menu: transactions
menu_transactions = "💳 Transaction list"
# Menu: edit credit
menu_edit_credit = "💰 Create transaction"
# Admin menu: go to user mode
menu_user_mode = "👤 Switch to customer mode"
2020-02-04 13:14:04 +00:00
# Admin menu: add product
menu_add_product = "✨ New product"
# Admin menu: delete product
menu_delete_product = "❌ Delete product"
# Menu: cancel
menu_cancel = "🔙 Cancel"
# Menu: skip
menu_skip = "⏭ Skip"
2020-02-04 13:14:04 +00:00
# Menu: done
menu_done = "✅️ Done"
# Menu: pay invoice
menu_pay = "💳 Pay"
# Menu: complete
menu_complete = "✅ Complete"
# Menu: refund
menu_refund = "✴️ Refund"
# Menu: stop
menu_stop = "🛑 Stop"
# Menu: add to cart
menu_add_to_cart = " Add"
# Menu: remove from cart
menu_remove_from_cart = " Remove"
# Menu: help menu
2020-02-05 02:23:13 +00:00
menu_help = "❓ Help / Support"
2020-02-04 13:14:04 +00:00
# Menu: guide
menu_guide = "📖 Guide"
2020-02-04 13:14:04 +00:00
# Menu: next page
menu_next = "▶️ Next"
# Menu: previous page
2020-02-05 02:23:13 +00:00
menu_previous = "◀️ Previous"
2020-02-04 13:14:04 +00:00
# Menu: contact the shopkeeper
menu_contact_shopkeeper = "👨‍💼 Contact the store"
# Menu: generate transactions .csv file
menu_csv = "📄 .csv"
2020-02-04 13:14:04 +00:00
# Menu: edit admins list
menu_edit_admins = "🏵 Edit Managers"
2020-02-04 13:14:04 +00:00
2020-05-03 10:40:11 +00:00
# Menu: language
menu_language = "🇬🇧 Language"
2020-02-04 13:14:04 +00:00
# Emoji: unprocessed order
emoji_not_processed = "*️⃣"
# Emoji: completed order
emoji_completed = ""
# Emoji: refunded order
emoji_refunded = "✴️"
# Emoji: yes
emoji_yes = ""
# Emoji: no
emoji_no = "🚫"
# Text: unprocessed order
2020-02-05 02:23:13 +00:00
text_not_processed = "pending"
2020-02-04 13:14:04 +00:00
# Text: completed order
text_completed = "completed"
# Text: refunded order
text_refunded = "refunded"
# Add product: name?
ask_product_name = "What should the product name be?"
2020-02-04 13:14:04 +00:00
# Add product: description?
ask_product_description = "What should the product description be?"
2020-02-04 13:14:04 +00:00
# Add product: price?
ask_product_price = "What should the product price be?\n" \
"Enter <code>X</code> if don't want the product to be for sale yet."
2020-02-04 13:14:04 +00:00
# Add product: image?
2020-02-05 02:23:13 +00:00
ask_product_image = "🖼 What image do you want the product to have?\n" \
2020-02-04 13:14:04 +00:00
"\n" \
"<i>Send the photo, or Skip this phase and don't add any image.</i>"
2020-02-04 13:14:04 +00:00
# Order product: notes?
ask_order_notes = "Would you like to leave a note along with the order?\n" \
"💼 It will be visible to the store Managers.\n" \
2020-02-04 13:14:04 +00:00
"\n" \
2020-02-05 02:23:13 +00:00
"<i>Send a message with the note you want to leave, or press the Skip button below this" \
" message to leave nothing.</i>"
2020-02-04 13:14:04 +00:00
# Refund product: reason?
2020-02-05 02:23:13 +00:00
ask_refund_reason = " Attach a reason to this refund.\n" \
"👤 It will be visible to the customer."
2020-02-04 13:14:04 +00:00
# Edit credit: notes?
2020-02-05 02:23:13 +00:00
ask_transaction_notes = " Attach a note to this transaction.\n" \
"👤 It will be visible to the customer after crediting / debiting" \
" and to 💼 Admins in the transaction log."
2020-02-04 13:14:04 +00:00
# Edit credit: amount?
ask_credit = "How do you want to change the customer's credit?\n" \
2020-02-04 13:14:04 +00:00
"\n" \
2020-02-05 02:23:13 +00:00
"<i>Send a message containing the amount.\n" \
"Use the sign </i><code>+</code><i> to add credit to the customer's account," \
" and the sign </i><code>-</code><i> to deduce it.</i>"
2020-02-04 13:14:04 +00:00
# Header for the edit admin message
admin_properties = "<b>Permissions of {name}:</b>"
2020-02-04 13:14:04 +00:00
# Edit admin: can edit products?
prop_edit_products = "Edit products"
# Edit admin: can receive orders?
prop_receive_orders = "Receive orders"
# Edit admin: can create transactions?
prop_create_transactions = "Manage transactions"
# Edit admin: show on help message?
prop_display_on_help = "Show to customer"
2020-02-04 13:14:04 +00:00
# Thread has started downloading an image and might be unresponsive
downloading_image = "I'm downloading your photo!\n" \
"It might take a while... Please be patient!\n" \
"I won't be able to answer you while I'm downloading."
2020-02-04 13:14:04 +00:00
# Edit product: current value
2020-02-05 02:23:13 +00:00
edit_current_value = "The current value is:\n" \
2020-02-04 13:14:04 +00:00
"<pre>{value}</pre>\n" \
"\n" \
"<i>Press the Skip button below this message to keep the same value.</i>"
2020-02-04 13:14:04 +00:00
# Payment: cash payment info
payment_cash = "You can pay in cash at the physical location of the store.\n" \
"Pay at checkout, and give this id to the manager:\n" \
2020-02-04 13:14:04 +00:00
"<b>{user_cash_id}</b>"
# Payment: invoice amount
payment_cc_amount = "How many funds do you want to add to your wallet?\n" \
"\n" \
"<i>Select an amount with the buttons below, or enter it manually with the normal keyboard</i>"
2020-02-04 13:14:04 +00:00
# Payment: add funds invoice title
2020-02-05 02:23:13 +00:00
payment_invoice_title = "Adding funds"
2020-02-04 13:14:04 +00:00
# Payment: add funds invoice description
payment_invoice_description = "Paying this invoice will add {amount} to your wallet."
2020-02-04 13:14:04 +00:00
# Payment: label of the labeled price on the invoice
payment_invoice_label = "Reload"
# Payment: label of the labeled price on the invoice
payment_invoice_fee_label = "Transaction fee"
2020-02-04 13:14:04 +00:00
# Notification: order has been placed
notification_order_placed = "A new order was placed:\n" \
2021-05-06 22:35:31 +00:00
"\n" \
2020-02-04 13:14:04 +00:00
"{order}"
# Notification: order has been completed
2020-02-05 02:23:13 +00:00
notification_order_completed = "Your order has been completed!\n" \
2021-05-06 22:35:31 +00:00
"\n" \
2020-02-04 13:14:04 +00:00
"{order}"
# Notification: order has been refunded
2020-02-05 02:23:13 +00:00
notification_order_refunded = "Your order has been refunded!\n" \
2021-05-06 22:35:31 +00:00
"\n" \
2020-02-04 13:14:04 +00:00
"{order}"
# Notification: a manual transaction was applied
2020-02-05 02:23:13 +00:00
notification_transaction_created = " A new transaction has been applied to your wallet:\n" \
2020-02-04 13:14:04 +00:00
"{transaction}"
# Refund reason
refund_reason = "Refund reason:\n" \
"{reason}"
# Info: informazioni sul bot
bot_info = 'This bot is using <a href="https://github.com/Steffo99/greed">greed</a>,' \
' a framework by @Steffo for Telegram payments released under the' \
2020-02-04 13:14:04 +00:00
' <a href="https://github.com/Steffo99/greed/blob/master/LICENSE.txt">' \
'Affero General Public License 3.0</a>.\n'
2020-02-04 13:14:04 +00:00
# Help: guide
help_msg = "greed's guide is available at this address:\n" \
2021-05-06 22:47:12 +00:00
"https://github.com/Steffo99/greed/wiki"
2020-02-04 13:14:04 +00:00
# Help: contact shopkeeper
contact_shopkeeper = "Currently, the staff available to provide user assistance is composed of:\n" \
"{shopkeepers}\n" \
2020-02-05 02:23:13 +00:00
"<i>Click / Tap one of their names to contact them in a Telegram chat.</i>"
2020-02-04 13:14:04 +00:00
# Success: product has been added/edited to the database
2020-02-05 02:23:13 +00:00
success_product_edited = "✅ The product has been successfully added/modified!"
2020-02-04 13:14:04 +00:00
# Success: product has been added/edited to the database
2020-02-05 02:23:13 +00:00
success_product_deleted = "✅ The product has been successfully deleted!"
2020-02-04 13:14:04 +00:00
# Success: order has been created
2020-02-05 02:23:13 +00:00
success_order_created = "✅ The order was sent successfully!\n" \
2020-02-04 13:14:04 +00:00
"\n" \
"{order}"
# Success: order was marked as completed
success_order_completed = "✅ You marked the order #{order_id} as completed."
2020-02-04 13:14:04 +00:00
# Success: order was refunded successfully
success_order_refunded = "✴️ Order #{order_id} was refunded."
2020-02-04 13:14:04 +00:00
# Success: transaction was created successfully
success_transaction_created = "✅ The transaction was successfully created!\n" \
2020-02-04 13:14:04 +00:00
"{transaction}"
# Error: message received not in a private chat
error_nonprivate_chat = "⚠️ This bot only works in private chats."
# Error: a message was sent in a chat, but no worker exists for that chat.
# Suggest the creation of a new worker with /start
error_no_worker_for_chat = "⚠️ The conversation with the bot was interrupted.\n" \
2020-02-04 13:14:04 +00:00
"To restart it, send the /start command to the bot."
2020-09-09 16:24:18 +00:00
# Error: a message was sent in a chat, but the worker for that chat is not ready.
error_worker_not_ready = "🕒 The conversation with the bot is currently starting.\n" \
"Please, wait a few moments before sending more commands!"
2020-02-04 13:14:04 +00:00
# Error: add funds amount over max
error_payment_amount_over_max = "⚠️ The maximum amount that can be added in a single transaction is {max_amount}."
2020-02-04 13:14:04 +00:00
# Error: add funds amount under min
error_payment_amount_under_min = "⚠️ The minimum amount that can be added in a single transaction is {min_amount}."
2020-02-04 13:14:04 +00:00
# Error: the invoice has expired and can't be paid
error_invoice_expired = "⚠️ This invoice has expired and was canceled. If you still want to add funds, use the Add" \
" funds menu option."
2020-02-04 13:14:04 +00:00
# Error: a product with that name already exists
error_duplicate_name = "️⚠️ A product with the same name already exists."
2020-02-04 13:14:04 +00:00
# Error: not enough credit to order
error_not_enough_credit = "⚠️ You do not have enough credit to place the order."
2020-02-04 13:14:04 +00:00
# Error: order has already been cleared
error_order_already_cleared = "⚠️ This order has already been processed."
# Error: no orders have been placed, so none can be shown
error_no_orders = "⚠️ You haven't placed any order yet, so there is nothing to display."
2020-02-04 13:14:04 +00:00
# Error: selected user does not exist
error_user_does_not_exist = "⚠️ The selected user does not exist."
2020-02-04 13:14:04 +00:00
# Fatal: conversation raised an exception
2020-02-05 02:23:13 +00:00
fatal_conversation_exception = "☢️ Oh no! An <b>error</b> interrupted this conversation\n" \
"The error was reported to the bot owner so that he can fix it.\n" \
"To restart the conversation, send the /start command again."