diff --git a/strings/en_US.py b/strings/en_US.py
index 4bffc39..f153e77 100644
--- a/strings/en_US.py
+++ b/strings/en_US.py
@@ -1,7 +1,7 @@
# Strings / localization file for greed
# Can be edited, but DON'T REMOVE THE REPLACEMENT FIELDS (words surrounded by {curly braces})
-# English translation by https://github.com/DarrenWestwood
+# Part of the translation by https://github.com/DarrenWestwood
# Currency symbol
currency_symbol = "โฌ"
@@ -25,7 +25,7 @@ product_format_string = "{name}\n" \
order_number = "Order #{id}"
# Order info string, shown to the admins
-order_format_string = "of {user}\n" \
+order_format_string = "by {user}\n" \
"Created on {date}\n" \
"\n" \
"{items}\n" \
@@ -41,8 +41,8 @@ user_order_format_string = "{status_emoji} Order {status_text}\n" \
"Notes: {notes}\n"
# Transaction page is loading
-loading_transactions = "Loading current transactions...\n" \
- "Please wait for a few seconds..."
+loading_transactions = "Loading transactions...\n" \
+ "Please wait a few seconds."
# Transactions page
transactions_page = "Page {page}:\n" \
@@ -52,51 +52,50 @@ transactions_page = "Page {page}:\n" \
# transactions.csv caption
csv_caption = "A ๐ .csv file containing all transactions stored in the bot database was generated.\n" \
"You can open this file with other programs, such as LibreOffice Calc, to process" \
- " data."
+ " the data."
# Conversation: the start command was sent and the bot should welcome the user
conversation_after_start = "Hello!\n" \
"Welcome to greed!\n" \
- "What you see here is the ๐
ฑ๏ธ Beta version of the software.\n" \
- "It is fully usable, but it is possible that some bugs are still present.\n" \
- "If you find any, you can collaborate with the developer to solve them, describing what" \
- " happened at https://github.com/Steffo99/greed/issues."
+ "This is the ๐
ฑ๏ธ Beta 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."
# Conversation: to send an inline keyboard you need to send a message with it
conversation_open_user_menu = "What would you like to do?\n" \
"๐ฐ You have {credit} in your wallet.\n" \
"\n" \
- "Press a key on the keyboard at the bottom 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."
+ "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."
# Conversation: like above, but for administrators
-conversation_open_admin_menu = "You are ๐ผ Admin of this store!\n" \
+conversation_open_admin_menu = "You are a ๐ผ Manager of this store!\n" \
"What would you like to do?\n" \
"\n" \
- "to select an operation, Press a key on the keyboard at the bottom.\n" \
- "If the keyboard has not opened, you can open it by pressing the button with four small squares" \
- " in the message bar."
+ "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."
# Conversation: select a payment method
conversation_payment_method = "How do you want to add funds to your wallet?"
# Conversation: select a product to edit
-conversation_admin_select_product = "โ๏ธ What product do you want to change?"
+conversation_admin_select_product = "โ๏ธ What product do you want to edit?"
# Conversation: select a product to delete
conversation_admin_select_product_to_delete = "โ What product do you want to delete?"
# Conversation: select a user to edit
-conversation_admin_select_user = " Select a user to perform the selected action on."
+conversation_admin_select_user = "Select an user to edit."
# Conversation: click below to pay for the purchase
conversation_cart_actions = "Add products to cart by scrolling up and pressing the Add button below" \
- " the products you want to buy. When you're done, go back to this message and" \
- " press the Done button."
+ " the products you want to add to the cart. When you're done, go back to this message and" \
+ " press the Done button below."
# Conversation: confirm the cart contents
-conversation_confirm_cart = "๐ Your cart contains these products:\n" \
+conversation_confirm_cart = "๐ Your cart contains the following products:\n" \
"{product_list}" \
"Total: {total_cost}\n" \
"\n" \
@@ -105,27 +104,28 @@ conversation_confirm_cart = "๐ Your cart contains these products:\n" \
# Conversation: the user activated the live orders mode
conversation_live_orders_start = "You are in Live Orders mode\n" \
- "All new orders placed by customers will appear in real time in this" \
- " chat, and you can mark them as โ
Completed" \
+ "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.\n" \
"\n" \
"Press the Stop button below this message to stop the" \
- " reception."
+ " feed."
# Conversation: help menu has been opened
-conversation_open_help_menu = "What kind of assistance do you want to receive?"
+conversation_open_help_menu = "What kind of help do you need?"
# Conversation: confirm promotion to admin
-conversation_confirm_admin_promotion = "Are you sure you want to promote this user to ๐ผ Admin?\n" \
+conversation_confirm_admin_promotion = "Are you sure you want to promote this user to ๐ผ Manager?\n" \
"It is an irreversible action!"
# Conversation: switching to user mode
conversation_switch_to_user_mode = " You are switching to ๐ค Customer mode.\n" \
- "If you want to go back to the ๐ผ Admin menu, restart the conversation with /start."
+ "If you want to go back to the ๐ผ Manager menu, restart the conversation with /start."
# Notification: the conversation has expired
-conversation_expired = "๐ I haven't received any messages in a while, so I ended the conversation to save resources.\n" \
- "If you want to start a new one, re-send the /start command."
+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."
# User menu: order
menu_order = "๐ Orders"
@@ -140,10 +140,10 @@ menu_add_credit = "๐ต Add funds"
menu_bot_info = "โน๏ธ Bot info"
# User menu: cash
-menu_cash = "๐ต Cash"
+menu_cash = "๐ต With cash"
# User menu: credit card
-menu_credit_card = "๐ณ Credit Card"
+menu_credit_card = "๐ณ By credit card"
# Admin menu: products
menu_products = "๐๏ธ Products"
@@ -158,7 +158,7 @@ menu_transactions = "๐ณ Transaction list"
menu_edit_credit = "๐ฐ Create transaction"
# Admin menu: go to user mode
-menu_user_mode = "๐ค Press switch to customer mode"
+menu_user_mode = "๐ค Switch to customer mode"
# Admin menu: add product
menu_add_product = "โจ New product"
@@ -170,7 +170,7 @@ menu_delete_product = "โ Delete product"
menu_cancel = "๐ Cancel"
# Menu: skip
-menu_skip = "โญ Jump"
+menu_skip = "โญ Skip"
# Menu: done
menu_done = "โ
๏ธ Done"
@@ -197,7 +197,7 @@ menu_remove_from_cart = "โ Remove"
menu_help = "โ Help / Support"
# Menu: guide
-menu_guide = "๐ Manual"
+menu_guide = "๐ Guide"
# Menu: next page
menu_next = "โถ๏ธ Next"
@@ -209,10 +209,10 @@ menu_previous = "โ๏ธ Previous"
menu_contact_shopkeeper = "๐จโ๐ผ Contact the store"
# Menu: generate transactions .csv file
-menu_csv = "๐.csv"
+menu_csv = "๐ .csv"
# Menu: edit admins list
-menu_edit_admins = "๐ต Edit admins"
+menu_edit_admins = "๐ต Edit Managers"
# Emoji: unprocessed order
emoji_not_processed = "*๏ธโฃ"
@@ -239,24 +239,23 @@ text_completed = "completed"
text_refunded = "refunded"
# Add product: name?
-ask_product_name = "What should be the product name?"
+ask_product_name = "What should the product name be?"
# Add product: description?
-ask_product_description = "What should be the product description?"
+ask_product_description = "What should the product description be?"
# Add product: price?
-ask_product_price = "What should be the product price?\n" \
- "Write X
if you want the product not for sale yet"
+ask_product_price = "What should the product price be?\n" \
+ "Enter X
if don't want the product to be for sale yet."
# Add product: image?
ask_product_image = "๐ผ What image do you want the product to have?\n" \
"\n" \
- "Send the photo, or if you prefer to leave the product without any picture press the Skip " \
- "button below."
+ "Send the photo, or Skip this phase and don't add any image."
# Order product: notes?
-ask_order_notes = " Do you want to leave a note along with the order?\n" \
- "๐ผ It will be visible to store admins.\n" \
+ask_order_notes = "Would you like to leave a note along with the order?\n" \
+ "๐ผ It will be visible to the store Managers.\n" \
"\n" \
"Send a message with the note you want to leave, or press the Skip button below this" \
" message to leave nothing."
@@ -271,14 +270,14 @@ ask_transaction_notes = " Attach a note to this transaction.\n" \
" and to ๐ผ Admins in the transaction log."
# Edit credit: amount?
-ask_credit = "How much do you want to change the customer's credit?\n" \
+ask_credit = "How do you want to change the customer's credit?\n" \
"\n" \
"Send a message containing the amount.\n" \
- "Put a mark +
if you want to add credit to the customer's account." \
- " or a sign -
you want to deduce it."
+ "Use the sign +
to add credit to the customer's account," \
+ " and the sign -
to deduce it."
# Header for the edit admin message
-admin_properties = "Permissions {name}:"
+admin_properties = "Permissions of {name}:"
# Edit admin: can edit products?
prop_edit_products = "Edit products"
@@ -290,44 +289,43 @@ prop_receive_orders = "Receive orders"
prop_create_transactions = "Manage transactions"
# Edit admin: show on help message?
-prop_display_on_help = "Customer Support"
+prop_display_on_help = "Show to customer"
# Thread has started downloading an image and might be unresponsive
downloading_image = "I'm downloading your photo!\n" \
- "It might take a while... Be patient!\n" \
- "I will not be able to answer you while downloading."
+ "It might take a while... Please be patient!\n" \
+ "I won't be able to answer you while I'm downloading."
# Edit product: current value
edit_current_value = "The current value is:\n" \
"
{value}\n" \ "\n" \ - "Press the jump button below this message to keep the same value." + "Press the Skip button below this message to keep the same value." # Payment: cash payment info -payment_cash = "You can pay cash at the physical location of the store.\n" \ - "Pay at checkout, and provide the store admin with this id:\n" \ +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" \ "{user_cash_id}" # Payment: invoice amount payment_cc_amount = "How many funds do you want to add to your wallet?\n" \ "\n" \ - "Select an amount with the buttons below, or enter it manually with the keyboard" \ - " normal." + "Select an amount with the buttons below, or enter it manually with the normal keyboard" # Payment: add funds invoice title payment_invoice_title = "Adding funds" # Payment: add funds invoice description -payment_invoice_description = "Paying this receipt will add {amount} to your wallet." +payment_invoice_description = "Paying this invoice will add {amount} to your wallet." # 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 = "Card supplement" +payment_invoice_fee_label = "Transaction fee" # Notification: order has been placed -notification_order_placed = "A new order has been placed:\n" \ +notification_order_placed = "A new order was placed:\n" \ "{order}" # Notification: order has been completed @@ -347,15 +345,14 @@ refund_reason = "Refund reason:\n" \ "{reason}" # Info: informazioni sul bot -bot_info = ' This bot uses greed,' \ - ' a framework by @Steffo for payments on Telegram released under the' \ +bot_info = 'This bot is using greed,' \ + ' a framework by @Steffo for Telegram payments released under the' \ ' ' \ - ' Affero General Public License 3.0.\n' \ - ' The source code of this version is available here.\n' + 'Affero General Public License 3.0.\n' # Help: guide -help_msg = "Bot help is available at this address:\n" \ - "https://github.com/Steffo99/greed/wiki" +help_msg = "greed's guide is available at this address:\n" \ + "https://docs.google.com/document/d/1f4MKVr0B7RSQfWTSa_6ZO0LM4nPpky_GX_qdls3EHtQ/" # Help: contact shopkeeper contact_shopkeeper = "Currently, the staff available to provide user assistance is composed of:\n" \ @@ -374,13 +371,13 @@ success_order_created = "โ The order was sent successfully!\n" \ "{order}" # Success: order was marked as completed -success_order_completed = "โ You marked the order #{order_id} as completed" +success_order_completed = "โ You marked the order #{order_id} as completed." # Success: order was refunded successfully -success_order_refunded = "โด๏ธ Order #{order_id} has been successfully refunded." +success_order_refunded = "โด๏ธ Order #{order_id} was refunded." # Success: transaction was created successfully -success_transaction_created = "โ The transaction was created successfully!\n" \ +success_transaction_created = "โ The transaction was successfully created!\n" \ "{transaction}" # Error: message received not in a private chat @@ -388,37 +385,35 @@ 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 is interrupted.\n" \ +error_no_worker_for_chat = "โ ๏ธ The conversation with the bot was interrupted.\n" \ "To restart it, send the /start command to the bot." # Error: add funds amount over max -error_payment_amount_over_max = "โ ๏ธ the maximum of funds that can be added in a single transaction is " \ - "{max_amount}." +error_payment_amount_over_max = "โ ๏ธ The maximum amount that can be added in a single transaction is {max_amount}." # Error: add funds amount under min -error_payment_amount_under_min = "โ ๏ธ The minimum of funds that can be added in a single transaction is " \ - "{min_amount}." +error_payment_amount_under_min = "โ ๏ธ The minimum amount that can be added in a single transaction is {min_amount}." # Error: the invoice has expired and can't be paid -error_invoice_expired = "โ ๏ธ This payment has expired and has been canceled. If you still want to add funds, " \ - "use the Add menu funds option. " +error_invoice_expired = "โ ๏ธ This invoice has expired and was canceled. If you still want to add funds, use the Add" \ + " funds menu option." # Error: a product with that name already exists -error_duplicate_name = "๏ธโ ๏ธ A product with this name already exists" +error_duplicate_name = "๏ธโ ๏ธ A product with the same name already exists." # Error: not enough credit to order -error_not_enough_credit = "โ ๏ธ You do not have enough credit to place the order" +error_not_enough_credit = "โ ๏ธ You do not have enough credit to place the order." # 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 have not placed orders yet, so there is nothing to display." +error_no_orders = "โ ๏ธ You haven't placed any order yet, so there is nothing to display." # Error: selected user does not exist -error_user_does_not_exist = "โ ๏ธ The selected user does not exist" +error_user_does_not_exist = "โ ๏ธ The selected user does not exist." # Fatal: conversation raised an exception fatal_conversation_exception = "โข๏ธ Oh no! An error interrupted this conversation\n" \ - "The error was reported to the developer of greed so that he can fix it.\n" \ - "To restart the conversation, send the /start command." + "The error was reported to the bot owner so that he can fix it.\n" \ + "To restart the conversation, send the /start command again." diff --git a/strings/it_IT.py b/strings/it_IT.py index 6617836..5499ede 100644 --- a/strings/it_IT.py +++ b/strings/it_IT.py @@ -350,12 +350,11 @@ refund_reason = "Motivazione del rimborso:\n" \ bot_info = 'Questo bot utilizza greed,' \ ' un framework di @Steffo per i pagamenti su Telegram rilasciato sotto la' \ ' ' \ - 'Affero General Public License 3.0.\n' \ - 'Il codice sorgente di questa versione รจ disponibile qui.\n' + 'Affero General Public License 3.0.\n' # Help: guide help_msg = "La guida del bot รจ disponibile a questo indirizzo:\n" \ - "https://github.com/Steffo99/greed/wiki" + "https://docs.google.com/document/d/1f4MKVr0B7RSQfWTSa_6ZO0LM4nPpky_GX_qdls3EHtQ/" # Help: contact shopkeeper contact_shopkeeper = "Attualmente, il personale disponibile ad offrire assistenza agli utenti รจ composto da:\n" \ @@ -401,7 +400,7 @@ error_payment_amount_under_min = "โ ๏ธ Il minimo di fondi che possono essere a # Error: the invoice has expired and can't be paid error_invoice_expired = "โ ๏ธ Questo pagamento รจ scaduto ed รจ stato annullato. Se vuoi ancora aggiungere fondi, " \ - "usa l'opzione Aggiungi fondi del menu. " + "usa l'opzione Aggiungi fondi del menu." # Error: a product with that name already exists error_duplicate_name = "๏ธโ ๏ธ Esiste giร un prodotto con questo nome." @@ -420,5 +419,5 @@ error_user_does_not_exist = "โ ๏ธ L'utente selezionato non esiste." # Fatal: conversation raised an exception fatal_conversation_exception = "โข๏ธ Oh no! Un errore ha interrotto questa conversazione.\n" \ - "L'errore รจ stato segnalato allo sviluppatore di greed in modo che possa sistemarlo.\n" \ + "L'errore รจ stato segnalato al proprietario del bot in modo che possa sistemarlo.\n" \ "Per avviare una nuova conversazione, invia il comando /start."