diff --git a/strings/en.py b/strings/en.py index 84f81e8..0e922f1 100644 --- a/strings/en.py +++ b/strings/en.py @@ -86,6 +86,12 @@ 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 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_admin_select_user = "Select an user to edit." @@ -94,6 +100,9 @@ conversation_cart_actions = "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" \ " press the Done button below." +# Conversation: select category +conversation_select_category = "Select a category" + # Conversation: confirm the cart contents conversation_confirm_cart = "🛒 Your cart contains the following products:\n" \ "{product_list}" \ @@ -131,6 +140,12 @@ conversation_expired = "🕐 I haven't received any messages in a while, so I c " resources.\n" \ "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 menu_order = "🛒 Order products" @@ -152,6 +167,9 @@ menu_credit_card = "💳 By credit card" # Admin menu: products menu_products = "📝️ Products" +# Admin menu: categories +menu_categories = "📝️ Categories" + # Admin menu: orders menu_orders = "📦 Orders" @@ -170,9 +188,18 @@ menu_add_product = "✨ New product" # Admin menu: 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 = "🔙 Cancel" +# Menu: go back +menu_go_back = "🔙 Go back" + # Menu: skip menu_skip = "⏭ Skip" @@ -245,6 +272,9 @@ text_completed = "completed" # Text: refunded order text_refunded = "refunded" +# Add product: category? +ask_product_category = "What should the product category be?" + # Add product: name? 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" \ "Enter X 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? ask_product_image = "🖼 What image do you want the product to have?\n" \ "\n" \ "Send the photo, or Skip this phase and don't add any image." +# Add category: name? +ask_category_name = "What should the category name be?" + # 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" \ @@ -289,6 +325,9 @@ admin_properties = "Permissions of {name}:" # Edit admin: can edit products? prop_edit_products = "Edit products" +# Edit admin: can edit categories? +prop_edit_categories = "Edit categories" + # Edit admin: can 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_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_created = "✅ The order was sent successfully!\n" \ "\n" \ diff --git a/strings/es_mx.py b/strings/es_mx.py index f1c6e99..c6f3590 100644 --- a/strings/es_mx.py +++ b/strings/es_mx.py @@ -50,7 +50,7 @@ transactions_page = "Página {page}:\n" \ "{transactions}" # 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." # 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_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_admin_select_user = "Selecciona un usuario para editar." @@ -93,6 +99,9 @@ conversation_cart_actions = "Agrega productos al carrito desplazándote hacia " debajo del producto que quieres agregar. Cuando termines, vuelve a este mensaje y presiona" \ " el botón Listo debajo de este mensaje." +# Conversation: select category +conversation_select_category = "Selecciona una categoría" + # Conversation: confirm the cart contents conversation_confirm_cart = "🛒 Tu carrito contiene los siguientes productos:\n" \ "{product_list}" \ @@ -130,6 +139,12 @@ conversation_expired = "🕐 No he recibido ningún mensaje en un tiempo, así " recursos.\n" \ "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 menu_order = "🛒 Ordenar productos" @@ -151,6 +166,9 @@ menu_credit_card = "💳 Con tarjeta" # Admin menu: products menu_products = "📝️ Productos" +# Admin menu: categories +menu_categories = "📝️ Categorías" + # Admin menu: orders menu_orders = "📦 Ordenes" @@ -169,9 +187,18 @@ menu_add_product = "✨ Nuevo producto" # Admin menu: delete product 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 = "🔙 Cancelar" +# Menu: go back +menu_go_back = "🔙 Regresar" + # Menu: skip menu_skip = "⏭ Omitir" @@ -244,6 +271,9 @@ text_completed = "Completada" # Text: refunded order text_refunded = "Reembolsada" +# Add product: category? +ask_product_category = "¿Cuál debería ser la categoría del producto?" + # Add product: name? 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" \ "Ingresa una X 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? ask_product_image = "🖼 ¿Qué imagen quieres que tenga el producto?\n" \ "\n" \ "Envía la foto, u Omite esta fase para no agregar ninguna imagen." +# Add category: name? +ask_category_name = "¿Cuál debería ser el nombre de la categoría?" + # Order product: notes? ask_order_notes = "¿Quieres dejar una nota junto con el pedido?\n" \ "💼 Será visible para los Administradores de la tienda.\n" \ @@ -288,6 +324,9 @@ admin_properties = "Permisos de {name}:" # Edit admin: can edit products? prop_edit_products = "Editar productos" +# Edit admin: can edit categories? +prop_edit_categories = "Editar categorías" + # Edit admin: can receive orders? 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" # 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" \ "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_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_created = "✅ ¡La orden se envió satisfactoriamente!\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. # Suggest the creation of a new worker with /start 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_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." # Fatal: conversation raised an exception -fatal_conversation_exception = "☢️ Oh no! Un error ha interrumpido esta conversación\n" \ +fatal_conversation_exception = "☢️ ¡Oh no! Un error ha interrumpido esta conversación\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." diff --git a/strings/it.py b/strings/it.py index 3e7f604..e0bfcbf 100644 --- a/strings/it.py +++ b/strings/it.py @@ -173,6 +173,12 @@ menu_delete_product = "❌ Elimina prodotto" # Menu: cancel menu_cancel = "🔙 Annulla" +# Menu: cancel +menu_cancel = "🔙 Annulla" + +# Menu: go back +menu_go_back = "🔙 Ritornare" + # Menu: skip menu_skip = "⏭ Salta" @@ -245,6 +251,9 @@ text_completed = "completato" # Text: refunded order text_refunded = "rimborsato" +# Add product: category? +ask_product_category = "Quale deve essere la categoria del prodotto?" + # Add product: name? 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" \ "Scrivi X 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? ask_product_image = "🖼 Che immagine vuoi che abbia il prodotto?\n" \ "\n" \ "Invia la foto, o se preferisci lasciare il prodotto senza immagine premi il tasto Salta qui" \ " sotto." +# Add category: name? +ask_category_name = "Quale deve essere il nome della categoria?" + # Order product: notes? ask_order_notes = "Vuoi lasciare una nota insieme all'ordine?\n" \ "💼 Sarà visibile ai gestori del negozio.\n" \ @@ -290,6 +305,9 @@ admin_properties = "Permessi di {name}:" # Edit admin: can edit products? prop_edit_products = "Modifica prodotti" +# Edit admin: can edit categories? +prop_edit_categories = "Modifica categoria" + # Edit admin: can receive orders? prop_receive_orders = "Ricevi ordini"