mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-24 06:44:19 +00:00
- Improved a few strings for es_mx translation.
- Added line for "Non in vendita" which was previously hardcoded into worker.py for "Not for sale yet" products. - Added strings for categories implementation.
This commit is contained in:
parent
eb1285934a
commit
1aa9a5376f
3 changed files with 112 additions and 4 deletions
|
@ -86,6 +86,12 @@ conversation_admin_select_product = "✏️ What product do you want to edit?"
|
||||||
# Conversation: select a product to delete
|
# Conversation: select a product to delete
|
||||||
conversation_admin_select_product_to_delete = "❌ What product do you want to delete?"
|
conversation_admin_select_product_to_delete = "❌ What product do you want to delete?"
|
||||||
|
|
||||||
|
# Conversation: select a category to edit
|
||||||
|
conversation_admin_select_category = "✏️ What category do you want to edit?"
|
||||||
|
|
||||||
|
# Conversation: select a category to delete
|
||||||
|
conversation_admin_select_category_to_delete = "❌ What category do you want to delete?"
|
||||||
|
|
||||||
# Conversation: select a user to edit
|
# Conversation: select a user to edit
|
||||||
conversation_admin_select_user = "Select an user to edit."
|
conversation_admin_select_user = "Select an user to edit."
|
||||||
|
|
||||||
|
@ -94,6 +100,9 @@ conversation_cart_actions = "<i>Add products to cart by scrolling up and pressin
|
||||||
" the products you want to add to the cart. When you're done, go back to this message and" \
|
" 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>"
|
" press the Done button below.</i>"
|
||||||
|
|
||||||
|
# Conversation: select category
|
||||||
|
conversation_select_category = "Select a category"
|
||||||
|
|
||||||
# Conversation: confirm the cart contents
|
# Conversation: confirm the cart contents
|
||||||
conversation_confirm_cart = "🛒 Your cart contains the following products:\n" \
|
conversation_confirm_cart = "🛒 Your cart contains the following products:\n" \
|
||||||
"{product_list}" \
|
"{product_list}" \
|
||||||
|
@ -131,6 +140,12 @@ conversation_expired = "🕐 I haven't received any messages in a while, so I c
|
||||||
" resources.\n" \
|
" resources.\n" \
|
||||||
"If you want to start a new one, send a new /start command."
|
"If you want to start a new one, send a new /start command."
|
||||||
|
|
||||||
|
# Menu: all products
|
||||||
|
menu_all_products = "All products"
|
||||||
|
|
||||||
|
# Menu: uncategorized
|
||||||
|
menu_uncategorized = "Uncategorized"
|
||||||
|
|
||||||
# User menu: order
|
# User menu: order
|
||||||
menu_order = "🛒 Order products"
|
menu_order = "🛒 Order products"
|
||||||
|
|
||||||
|
@ -152,6 +167,9 @@ menu_credit_card = "💳 By credit card"
|
||||||
# Admin menu: products
|
# Admin menu: products
|
||||||
menu_products = "📝️ Products"
|
menu_products = "📝️ Products"
|
||||||
|
|
||||||
|
# Admin menu: categories
|
||||||
|
menu_categories = "📝️ Categories"
|
||||||
|
|
||||||
# Admin menu: orders
|
# Admin menu: orders
|
||||||
menu_orders = "📦 Orders"
|
menu_orders = "📦 Orders"
|
||||||
|
|
||||||
|
@ -170,9 +188,18 @@ menu_add_product = "✨ New product"
|
||||||
# Admin menu: delete product
|
# Admin menu: delete product
|
||||||
menu_delete_product = "❌ Delete product"
|
menu_delete_product = "❌ Delete product"
|
||||||
|
|
||||||
|
# Admin menu: add category
|
||||||
|
menu_add_category = "✨ New category"
|
||||||
|
|
||||||
|
# Admin menu: delete category
|
||||||
|
menu_delete_category = "❌ Delete category"
|
||||||
|
|
||||||
# Menu: cancel
|
# Menu: cancel
|
||||||
menu_cancel = "🔙 Cancel"
|
menu_cancel = "🔙 Cancel"
|
||||||
|
|
||||||
|
# Menu: go back
|
||||||
|
menu_go_back = "🔙 Go back"
|
||||||
|
|
||||||
# Menu: skip
|
# Menu: skip
|
||||||
menu_skip = "⏭ Skip"
|
menu_skip = "⏭ Skip"
|
||||||
|
|
||||||
|
@ -245,6 +272,9 @@ text_completed = "completed"
|
||||||
# Text: refunded order
|
# Text: refunded order
|
||||||
text_refunded = "refunded"
|
text_refunded = "refunded"
|
||||||
|
|
||||||
|
# Add product: category?
|
||||||
|
ask_product_category = "What should the product category be?"
|
||||||
|
|
||||||
# Add product: name?
|
# Add product: name?
|
||||||
ask_product_name = "What should the product name be?"
|
ask_product_name = "What should the product name be?"
|
||||||
|
|
||||||
|
@ -255,11 +285,17 @@ ask_product_description = "What should the product description be?"
|
||||||
ask_product_price = "What should the product price be?\n" \
|
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."
|
"Enter <code>X</code> if don't want the product to be for sale yet."
|
||||||
|
|
||||||
|
# Add product: Not for sale yet (Non in vendita) text
|
||||||
|
not_for_sale_yet = "Not for sale yet"
|
||||||
|
|
||||||
# Add product: image?
|
# Add product: image?
|
||||||
ask_product_image = "🖼 What image do you want the product to have?\n" \
|
ask_product_image = "🖼 What image do you want the product to have?\n" \
|
||||||
"\n" \
|
"\n" \
|
||||||
"<i>Send the photo, or Skip this phase and don't add any image.</i>"
|
"<i>Send the photo, or Skip this phase and don't add any image.</i>"
|
||||||
|
|
||||||
|
# Add category: name?
|
||||||
|
ask_category_name = "What should the category name be?"
|
||||||
|
|
||||||
# Order product: notes?
|
# Order product: notes?
|
||||||
ask_order_notes = "Would you like to leave a note along with the order?\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" \
|
"💼 It will be visible to the store Managers.\n" \
|
||||||
|
@ -289,6 +325,9 @@ admin_properties = "<b>Permissions of {name}:</b>"
|
||||||
# Edit admin: can edit products?
|
# Edit admin: can edit products?
|
||||||
prop_edit_products = "Edit products"
|
prop_edit_products = "Edit products"
|
||||||
|
|
||||||
|
# Edit admin: can edit categories?
|
||||||
|
prop_edit_categories = "Edit categories"
|
||||||
|
|
||||||
# Edit admin: can receive orders?
|
# Edit admin: can receive orders?
|
||||||
prop_receive_orders = "Receive orders"
|
prop_receive_orders = "Receive orders"
|
||||||
|
|
||||||
|
@ -372,6 +411,12 @@ success_product_edited = "✅ The product has been successfully added/modified!"
|
||||||
# Success: product has been added/edited to the database
|
# Success: product has been added/edited to the database
|
||||||
success_product_deleted = "✅ The product has been successfully deleted!"
|
success_product_deleted = "✅ The product has been successfully deleted!"
|
||||||
|
|
||||||
|
# Success: category has been added/edited to the database
|
||||||
|
success_category_edited = "✅ The category has been successfully added/modified!"
|
||||||
|
|
||||||
|
# Success: category has been added/edited to the database
|
||||||
|
success_category_deleted = "✅ The category has been successfully deleted!"
|
||||||
|
|
||||||
# Success: order has been created
|
# Success: order has been created
|
||||||
success_order_created = "✅ The order was sent successfully!\n" \
|
success_order_created = "✅ The order was sent successfully!\n" \
|
||||||
"\n" \
|
"\n" \
|
||||||
|
|
|
@ -50,7 +50,7 @@ transactions_page = "Página <b>{page}</b>:\n" \
|
||||||
"{transactions}"
|
"{transactions}"
|
||||||
|
|
||||||
# transactions.csv caption
|
# transactions.csv caption
|
||||||
csv_caption = "Un archivo 📄 .csv file que contiene todas las transacciones almacenadas en la base de datos del bot fue generado.\n" \
|
csv_caption = "Se generó un archivo 📄 .csv que contiene todas las transacciones almacenadas en la base de datos del bot.\n" \
|
||||||
"Puedes abrir este archivo con otros programas, como LibreOffice Calc, para procesar los datos."
|
"Puedes abrir este archivo con otros programas, como LibreOffice Calc, para procesar los datos."
|
||||||
|
|
||||||
# Conversation: the start command was sent and the bot should welcome the user
|
# Conversation: the start command was sent and the bot should welcome the user
|
||||||
|
@ -85,6 +85,12 @@ conversation_admin_select_product = "✏️ ¿Qué producto quieres editar?"
|
||||||
# Conversation: select a product to delete
|
# Conversation: select a product to delete
|
||||||
conversation_admin_select_product_to_delete = "❌ ¿Qué producto quieres eliminar?"
|
conversation_admin_select_product_to_delete = "❌ ¿Qué producto quieres eliminar?"
|
||||||
|
|
||||||
|
# Conversation: select a category to edit
|
||||||
|
conversation_admin_select_category = "✏️ ¿Qué categoría quieres editar?"
|
||||||
|
|
||||||
|
# Conversation: select a category to delete
|
||||||
|
conversation_admin_select_category_to_delete = "❌ ¿Qué categoría quieres eliminar?"
|
||||||
|
|
||||||
# Conversation: select a user to edit
|
# Conversation: select a user to edit
|
||||||
conversation_admin_select_user = "Selecciona un usuario para editar."
|
conversation_admin_select_user = "Selecciona un usuario para editar."
|
||||||
|
|
||||||
|
@ -93,6 +99,9 @@ conversation_cart_actions = "<i>Agrega productos al carrito desplazándote hacia
|
||||||
" debajo del producto que quieres agregar. Cuando termines, vuelve a este mensaje y presiona" \
|
" debajo del producto que quieres agregar. Cuando termines, vuelve a este mensaje y presiona" \
|
||||||
" el botón <b>Listo</b> debajo de este mensaje.</i>"
|
" el botón <b>Listo</b> debajo de este mensaje.</i>"
|
||||||
|
|
||||||
|
# Conversation: select category
|
||||||
|
conversation_select_category = "Selecciona una categoría"
|
||||||
|
|
||||||
# Conversation: confirm the cart contents
|
# Conversation: confirm the cart contents
|
||||||
conversation_confirm_cart = "🛒 Tu carrito contiene los siguientes productos:\n" \
|
conversation_confirm_cart = "🛒 Tu carrito contiene los siguientes productos:\n" \
|
||||||
"{product_list}" \
|
"{product_list}" \
|
||||||
|
@ -130,6 +139,12 @@ conversation_expired = "🕐 No he recibido ningún mensaje en un tiempo, así
|
||||||
" recursos.\n" \
|
" recursos.\n" \
|
||||||
"Si quieres iniciar una nueva, envía un nuevo comando /start."
|
"Si quieres iniciar una nueva, envía un nuevo comando /start."
|
||||||
|
|
||||||
|
# Menu: all products
|
||||||
|
menu_all_products = "Todos los productos"
|
||||||
|
|
||||||
|
# Menu: uncategorized
|
||||||
|
menu_uncategorized = "Sin categorizar"
|
||||||
|
|
||||||
# User menu: order
|
# User menu: order
|
||||||
menu_order = "🛒 Ordenar productos"
|
menu_order = "🛒 Ordenar productos"
|
||||||
|
|
||||||
|
@ -151,6 +166,9 @@ menu_credit_card = "💳 Con tarjeta"
|
||||||
# Admin menu: products
|
# Admin menu: products
|
||||||
menu_products = "📝️ Productos"
|
menu_products = "📝️ Productos"
|
||||||
|
|
||||||
|
# Admin menu: categories
|
||||||
|
menu_categories = "📝️ Categorías"
|
||||||
|
|
||||||
# Admin menu: orders
|
# Admin menu: orders
|
||||||
menu_orders = "📦 Ordenes"
|
menu_orders = "📦 Ordenes"
|
||||||
|
|
||||||
|
@ -169,9 +187,18 @@ menu_add_product = "✨ Nuevo producto"
|
||||||
# Admin menu: delete product
|
# Admin menu: delete product
|
||||||
menu_delete_product = "❌ Eliminar producto"
|
menu_delete_product = "❌ Eliminar producto"
|
||||||
|
|
||||||
|
# Admin menu: add category
|
||||||
|
menu_add_category = "✨ Nueva categoría"
|
||||||
|
|
||||||
|
# Admin menu: delete category
|
||||||
|
menu_delete_category = "❌ Eliminar categoría"
|
||||||
|
|
||||||
# Menu: cancel
|
# Menu: cancel
|
||||||
menu_cancel = "🔙 Cancelar"
|
menu_cancel = "🔙 Cancelar"
|
||||||
|
|
||||||
|
# Menu: go back
|
||||||
|
menu_go_back = "🔙 Regresar"
|
||||||
|
|
||||||
# Menu: skip
|
# Menu: skip
|
||||||
menu_skip = "⏭ Omitir"
|
menu_skip = "⏭ Omitir"
|
||||||
|
|
||||||
|
@ -244,6 +271,9 @@ text_completed = "Completada"
|
||||||
# Text: refunded order
|
# Text: refunded order
|
||||||
text_refunded = "Reembolsada"
|
text_refunded = "Reembolsada"
|
||||||
|
|
||||||
|
# Add product: category?
|
||||||
|
ask_product_category = "¿Cuál debería ser la categoría del producto?"
|
||||||
|
|
||||||
# Add product: name?
|
# Add product: name?
|
||||||
ask_product_name = "¿Cuál debería ser el nombre del producto?"
|
ask_product_name = "¿Cuál debería ser el nombre del producto?"
|
||||||
|
|
||||||
|
@ -254,11 +284,17 @@ ask_product_description = "¿Cuál debería ser la descripción del producto?"
|
||||||
ask_product_price = "¿Cuál debería ser el precio del producto?\n" \
|
ask_product_price = "¿Cuál debería ser el precio del producto?\n" \
|
||||||
"Ingresa una <code>X</code> si quieres que el producto aún no esté a la venta."
|
"Ingresa una <code>X</code> si quieres que el producto aún no esté a la venta."
|
||||||
|
|
||||||
|
# Add product: Not for sale yet (Non in vendita) text
|
||||||
|
not_for_sale_yet = "Aún no está a la venta"
|
||||||
|
|
||||||
# Add product: image?
|
# Add product: image?
|
||||||
ask_product_image = "🖼 ¿Qué imagen quieres que tenga el producto?\n" \
|
ask_product_image = "🖼 ¿Qué imagen quieres que tenga el producto?\n" \
|
||||||
"\n" \
|
"\n" \
|
||||||
"<i>Envía la foto, u <b>Omite</b> esta fase para no agregar ninguna imagen.</i>"
|
"<i>Envía la foto, u <b>Omite</b> esta fase para no agregar ninguna imagen.</i>"
|
||||||
|
|
||||||
|
# Add category: name?
|
||||||
|
ask_category_name = "¿Cuál debería ser el nombre de la categoría?"
|
||||||
|
|
||||||
# Order product: notes?
|
# Order product: notes?
|
||||||
ask_order_notes = "¿Quieres dejar una nota junto con el pedido?\n" \
|
ask_order_notes = "¿Quieres dejar una nota junto con el pedido?\n" \
|
||||||
"💼 Será visible para los Administradores de la tienda.\n" \
|
"💼 Será visible para los Administradores de la tienda.\n" \
|
||||||
|
@ -288,6 +324,9 @@ admin_properties = "<b>Permisos de {name}:</b>"
|
||||||
# Edit admin: can edit products?
|
# Edit admin: can edit products?
|
||||||
prop_edit_products = "Editar productos"
|
prop_edit_products = "Editar productos"
|
||||||
|
|
||||||
|
# Edit admin: can edit categories?
|
||||||
|
prop_edit_categories = "Editar categorías"
|
||||||
|
|
||||||
# Edit admin: can receive orders?
|
# Edit admin: can receive orders?
|
||||||
prop_receive_orders = "Recibir órdenes"
|
prop_receive_orders = "Recibir órdenes"
|
||||||
|
|
||||||
|
@ -298,7 +337,7 @@ prop_create_transactions = "Administrar transacciones"
|
||||||
prop_display_on_help = "Mostrarlo al cliente como contacto de ayuda"
|
prop_display_on_help = "Mostrarlo al cliente como contacto de ayuda"
|
||||||
|
|
||||||
# Thread has started downloading an image and might be unresponsive
|
# Thread has started downloading an image and might be unresponsive
|
||||||
downloading_image = "¡Estoy descargando la imágen!\n" \
|
downloading_image = "¡Estoy descargando la imagen!\n" \
|
||||||
"Esto podría tomar tiempo... Por favor, se paciente.\n" \
|
"Esto podría tomar tiempo... Por favor, se paciente.\n" \
|
||||||
"No podré responderte mientras estoy descargando."
|
"No podré responderte mientras estoy descargando."
|
||||||
|
|
||||||
|
@ -371,6 +410,12 @@ success_product_edited = "✅ ¡El producto se ha agregado/modificado satisfacto
|
||||||
# Success: product has been added/edited to the database
|
# Success: product has been added/edited to the database
|
||||||
success_product_deleted = "✅ ¡El producto se ha eliminado satisfactoriamente!"
|
success_product_deleted = "✅ ¡El producto se ha eliminado satisfactoriamente!"
|
||||||
|
|
||||||
|
# Success: category has been added/edited to the database
|
||||||
|
success_category_edited = "✅ ¡La categoría se ha agregado/modificado satisfactoriamente!"
|
||||||
|
|
||||||
|
# Success: category has been added/edited to the database
|
||||||
|
success_category_deleted = "✅ ¡La categoría se ha eliminado satisfactoriamente!"
|
||||||
|
|
||||||
# Success: order has been created
|
# Success: order has been created
|
||||||
success_order_created = "✅ ¡La orden se envió satisfactoriamente!\n" \
|
success_order_created = "✅ ¡La orden se envió satisfactoriamente!\n" \
|
||||||
"\n" \
|
"\n" \
|
||||||
|
@ -392,7 +437,7 @@ error_nonprivate_chat = "⚠️ Este bot solo funciona en chats privados."
|
||||||
# Error: a message was sent in a chat, but no worker exists for that chat.
|
# Error: a message was sent in a chat, but no worker exists for that chat.
|
||||||
# Suggest the creation of a new worker with /start
|
# Suggest the creation of a new worker with /start
|
||||||
error_no_worker_for_chat = "⚠️ La conversación con el bot fue interrumpida.\n" \
|
error_no_worker_for_chat = "⚠️ La conversación con el bot fue interrumpida.\n" \
|
||||||
"Para reiniciarla, envía el comando /start."
|
"Para reiniciarla, envía de nuevo el comando /start."
|
||||||
|
|
||||||
# Error: a message was sent in a chat, but the worker for that chat is not ready.
|
# Error: a message was sent in a chat, but the worker for that chat is not ready.
|
||||||
error_worker_not_ready = "🕒 La conversación con el bot está comenzando.\n" \
|
error_worker_not_ready = "🕒 La conversación con el bot está comenzando.\n" \
|
||||||
|
@ -424,6 +469,6 @@ error_no_orders = "⚠️ Aún no has realizado ninguna orden, no hay nada que m
|
||||||
error_user_does_not_exist = "⚠️ El usuario seleccionado no existe."
|
error_user_does_not_exist = "⚠️ El usuario seleccionado no existe."
|
||||||
|
|
||||||
# Fatal: conversation raised an exception
|
# Fatal: conversation raised an exception
|
||||||
fatal_conversation_exception = "☢️ Oh no! Un <b>error</b> ha interrumpido esta conversación\n" \
|
fatal_conversation_exception = "☢️ ¡Oh no! Un <b>error</b> ha interrumpido esta conversación\n" \
|
||||||
"El error ha sido reportado al propietario del bot para que pueda solucionarlo.\n" \
|
"El error ha sido reportado al propietario del bot para que pueda solucionarlo.\n" \
|
||||||
"Para reiniciar la conversación, envía el comando /start nuevamente."
|
"Para reiniciar la conversación, envía el comando /start nuevamente."
|
||||||
|
|
|
@ -173,6 +173,12 @@ menu_delete_product = "❌ Elimina prodotto"
|
||||||
# Menu: cancel
|
# Menu: cancel
|
||||||
menu_cancel = "🔙 Annulla"
|
menu_cancel = "🔙 Annulla"
|
||||||
|
|
||||||
|
# Menu: cancel
|
||||||
|
menu_cancel = "🔙 Annulla"
|
||||||
|
|
||||||
|
# Menu: go back
|
||||||
|
menu_go_back = "🔙 Ritornare"
|
||||||
|
|
||||||
# Menu: skip
|
# Menu: skip
|
||||||
menu_skip = "⏭ Salta"
|
menu_skip = "⏭ Salta"
|
||||||
|
|
||||||
|
@ -245,6 +251,9 @@ text_completed = "completato"
|
||||||
# Text: refunded order
|
# Text: refunded order
|
||||||
text_refunded = "rimborsato"
|
text_refunded = "rimborsato"
|
||||||
|
|
||||||
|
# Add product: category?
|
||||||
|
ask_product_category = "Quale deve essere la categoria del prodotto?"
|
||||||
|
|
||||||
# Add product: name?
|
# Add product: name?
|
||||||
ask_product_name = "Come si deve chiamare il prodotto?"
|
ask_product_name = "Come si deve chiamare il prodotto?"
|
||||||
|
|
||||||
|
@ -255,12 +264,18 @@ ask_product_description = "Quale deve essere la descrizione del prodotto?"
|
||||||
ask_product_price = "Quanto deve costare il prodotto?\n" \
|
ask_product_price = "Quanto deve costare il prodotto?\n" \
|
||||||
"Scrivi <code>X</code> se vuoi che il prodotto non sia ancora in vendita."
|
"Scrivi <code>X</code> se vuoi che il prodotto non sia ancora in vendita."
|
||||||
|
|
||||||
|
# Add product: Not for sale yet (Non in vendita) text
|
||||||
|
not_for_sale_yet = "Non in vendita"
|
||||||
|
|
||||||
# Add product: image?
|
# Add product: image?
|
||||||
ask_product_image = "🖼 Che immagine vuoi che abbia il prodotto?\n" \
|
ask_product_image = "🖼 Che immagine vuoi che abbia il prodotto?\n" \
|
||||||
"\n" \
|
"\n" \
|
||||||
"<i>Invia la foto, o se preferisci lasciare il prodotto senza immagine premi il tasto Salta qui" \
|
"<i>Invia la foto, o se preferisci lasciare il prodotto senza immagine premi il tasto Salta qui" \
|
||||||
" sotto.</i>"
|
" sotto.</i>"
|
||||||
|
|
||||||
|
# Add category: name?
|
||||||
|
ask_category_name = "Quale deve essere il nome della categoria?"
|
||||||
|
|
||||||
# Order product: notes?
|
# Order product: notes?
|
||||||
ask_order_notes = "Vuoi lasciare una nota insieme all'ordine?\n" \
|
ask_order_notes = "Vuoi lasciare una nota insieme all'ordine?\n" \
|
||||||
"💼 Sarà visibile ai gestori del negozio.\n" \
|
"💼 Sarà visibile ai gestori del negozio.\n" \
|
||||||
|
@ -290,6 +305,9 @@ admin_properties = "<b>Permessi di {name}:</b>"
|
||||||
# Edit admin: can edit products?
|
# Edit admin: can edit products?
|
||||||
prop_edit_products = "Modifica prodotti"
|
prop_edit_products = "Modifica prodotti"
|
||||||
|
|
||||||
|
# Edit admin: can edit categories?
|
||||||
|
prop_edit_categories = "Modifica categoria"
|
||||||
|
|
||||||
# Edit admin: can receive orders?
|
# Edit admin: can receive orders?
|
||||||
prop_receive_orders = "Ricevi ordini"
|
prop_receive_orders = "Ricevi ordini"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue