From 7db1f9992873230addcd4723ac9235e54103267a Mon Sep 17 00:00:00 2001 From: alexrobaina Date: Sat, 31 Aug 2024 20:45:02 -0300 Subject: [PATCH] integrations and fix bugs --- public/locales/en/appointments.json | 12 +- public/locales/en/common.json | 373 +++++++++--------- public/locales/es/common.json | 371 ++++++++--------- public/locales/fr/common.json | 361 ++++++++--------- src/components/common/BaseAccordeon/index.tsx | 6 +- .../components/AppointmentForm/index.tsx | 5 +- .../components/AppointmentForm/types.tsx | 1 + src/pages/AppointmentsPage/index.tsx | 1 - .../components/CreateMedicalRecord/index.tsx | 2 +- 9 files changed, 569 insertions(+), 563 deletions(-) diff --git a/public/locales/en/appointments.json b/public/locales/en/appointments.json index 49c46d17..693e0aad 100644 --- a/public/locales/en/appointments.json +++ b/public/locales/en/appointments.json @@ -1,7 +1,7 @@ { - "createAppointmentForPets": "Create Appointment for Pets", - "selectAdopterOrShelter": "Select Adopter or Shelter", - "addAppointment": "Add Appointment", - "organizeYourAppointments": "Organize your appointments", - "calendarDescription": "Here you can see all the appointments you have created for your pets. You can view them by day, week or month." -} + "createAppointment": "Create Appointment", + "selectAdopterOrShelter": "Select Adopter or Shelter", + "addAppointment": "Add Appointment", + "organizeYourAppointments": "Organize your appointments", + "calendarDescription": "Here you can see all the appointments you have created for your pets. You can view them by day, week or month." +} \ No newline at end of file diff --git a/public/locales/en/common.json b/public/locales/en/common.json index de884aed..9356efed 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -1,190 +1,191 @@ { - "community": "Community", - "welcome": "Welcome to Pet's Love!", - "type": "Type", - "selectType": "Select Type", - "welcomeDescription": "This information will be used to provide you with the best experience", - "inventory": "Inventory", - "placeholderDescription": "Add a description", - "username": "Username", - "usernamePlaceholder": "Add an username", - "selectTole": "Select your role", - "placeholderTitle": "Add a title", - "searchPets": "Search Pets", - "dashboard": "Dashboard", - "settings": "Settings", - "birds": "Birds", - "logout": "logout", - "resetFilters": "Clear filters", - "searchByName": "Search by name", - "dogs": "Dogs", - "cats": "Cats", - "exotics": "Exotics", - "males": "Males", - "females": "Females", - "quantity": "Quantity", - "areYouSureDeleteProduct": "Are you sure you want to delete this product?", - "expense": "Expense", - "income": "Income", - "items": "Items", - "amount": "Amount", - "dog": "Dog", - "itemName": "Item name", - "itemDescription": "Item description", - "cat": "Cat", - "exotic": "Exotic", - "male": "Male", - "editPet": "Edit pet", - "createPet": "Create pet", - "female": "Female", - "adopted": "Adopted", - "inAdoption": "In adoption", - "category": "Categoría", - "gender": "Gender", - "age": "Age", - "analytics": "Analytics", - "expenses": "Expenses", - "expenseType": { - "INCOME": "Income", - "EXPENSE": "Expense" - }, - "expenseCategory": { - "SUPPLIES": "Supplies", - "EQUIPMENT": "Equipment", - "RENT": "Rent", - "UTILITIES": "Utilities", - "INSURANCE": "Insurance", - "VEHICLE": "Vehicle", - "SERVICES": "Services", - "INVENTORY": "Inventory", - "SALARIES": "Salaries", - "OTHERS": "Others" - }, - "inventoryType": { - "MEDICINE": "Medicine", - "FOOD": "Food", - "TOYS": "Toys", - "ACCESSORIES": "Accessories", - "HEALTH_WELLNESS": "Health & Wellness", - "HOUSING": "Housing", - "LITTER_WASTE_MANAGEMENT": "Litter & Waste Management", - "APPAREL": "Apparel", - "FEEDING_SUPPLIES": "Feeding Supplies", - "TRAVEL_OUTDOOR": "Travel & Outdoor", - "TRAINING_BEHAVIOR": "Training & Behavior" - }, - "size": "Size", - "status": "Status", - "pets": "Pets", - "areYouSureDelete": "Are you sure you want to delete", - "available": "Available", - "showing": "Showing", - "of": "of", - "results": "results", - "previous": "Previous", - "name": "Name", - "next": "Next", - "selectImages": "Select images", - "selectImagesInfo": "JPG, GIF or PNG. 1.5MB max.", - "petName": "Pet name", - "breed": "Breed", - "weight": "Weight", - "massUnit": "Mass units", - "petDescription": "Description of pet", - "description": "Description", - "adopterBy": "Adoptado por", - "petGuardians": "Pet Guardians", - "adoptedBy": "Adopted by", - "vet": "Vet", - "shelter": "Shelter", - "select": "Select", - "selectVeterinary": "Select veterinary", - "selectShelter": "Select shelter", - "selectAdopter": "Select adopter", - "petBreed": "Pet breed", - "rabbits": "Rabbits", - "title": "Title", - "notes": "Notes", - "appointment": "Appointment", - "appointments": "Appointments", - "selectDate": "Select Date", - "isRequired": "This field is required", - "start": "Start", - "end": "End", - "selectTime": "Select Time", - "edit": "Edit", - "editAppointment": "Edit appointment", - "createAppointment": "Create appointment", - "pet": "Pet", - "selectPet": "Select pet", - "allDay": "All day", - "today": "Today", - "month": "Month", - "week": "Week", - "day": "Day", - "agenda": "Agenda", - "date": "Date", - "time": "Time", - "event": "Event", - "showMore": "+ Show more ({{total}})", - "myPets": "My pets", - "sizePet": { - "small": "Small", - "medium": "Medium", - "large": "Large", - "extraLarge": "Extra large" - }, - "categoryPet": { + "community": "Community", + "welcome": "Welcome to Pet's Love!", + "type": "Type", + "selectType": "Select Type", + "welcomeDescription": "This information will be used to provide you with the best experience", + "inventory": "Inventory", + "placeholderDescription": "Add a description", + "username": "Username", + "usernamePlaceholder": "Add an username", + "selectTole": "Select your role", + "placeholderTitle": "Add a title", + "searchPets": "Search Pets", + "dashboard": "Dashboard", + "settings": "Settings", + "birds": "Birds", + "logout": "logout", + "resetFilters": "Clear filters", + "searchByName": "Search by name", + "dogs": "Dogs", + "cats": "Cats", + "exotics": "Exotics", + "males": "Males", + "females": "Females", + "quantity": "Quantity", + "areYouSureDeleteProduct": "Are you sure you want to delete this product?", + "expense": "Expense", + "income": "Income", + "items": "Items", + "amount": "Amount", "dog": "Dog", + "itemName": "Item name", + "itemDescription": "Item description", "cat": "Cat", - "rabbit": "Rabbit", - "hamster": "Hamster", - "bird": "Bird", - "exotic": "Exotic" - }, - "agePet": { - "baby": "Baby", - "young": "Young", - "adult": "Adult", - "senior": "Senior" - }, - "genderPet": { + "exotic": "Exotic", "male": "Male", - "female": "Female" - }, - "cancel": "Cancel", - "save": "Save", - "veterinarians": "Veterinarians", - "veterinarian": "Veterinary", - "shelters": "Shelters", - "contact": "Contact", - "email": "Email", - "role": "Role", - "phone": "Phone", - "address": "Address", - "location": "Location", - "delete": "Delete", - "SHELTER": "Shelter", - "VET": "Veterinary", - "ADOPTER": "Adopter", - "adopter": "Adopter", - "searchByLocation": "Search by location", - "actions": "Actions", - "adoptPet": "Adopt pet", - "login": "Login", - "locationUnavailable": "Location unavailable", - "petAvailable": "Pet available", - "petDeleted": "Pet deleted successfully", - "petNotDeleted": "Pet not deleted", - "contactsForAdoption": "Contacts for adoption", - "emailInvalid": "Email invalid", - "requiredField": "Required field", - "wasAdopted": "Was adopted?", - "petNotAvailable": "Pet not available", - "wantAdoption": "I want to adopt to", - "aboutUs": "About Us", - "totalPets": "Total Pets", - "adoptedPets": "Adopted Pets", - "petsInAdoption": "Pets in Adoption", - "last": "Last" -} + "editPet": "Edit pet", + "createPet": "Create pet", + "female": "Female", + "adopted": "Adopted", + "inAdoption": "In adoption", + "category": "Categoría", + "gender": "Gender", + "age": "Age", + "analytics": "Analytics", + "expenses": "Expenses", + "expenseType": { + "INCOME": "Income", + "EXPENSE": "Expense" + }, + "expenseCategory": { + "SUPPLIES": "Supplies", + "EQUIPMENT": "Equipment", + "RENT": "Rent", + "UTILITIES": "Utilities", + "INSURANCE": "Insurance", + "VEHICLE": "Vehicle", + "SERVICES": "Services", + "INVENTORY": "Inventory", + "SALARIES": "Salaries", + "OTHERS": "Others" + }, + "inventoryType": { + "MEDICINE": "Medicine", + "FOOD": "Food", + "TOYS": "Toys", + "ACCESSORIES": "Accessories", + "HEALTH_WELLNESS": "Health & Wellness", + "HOUSING": "Housing", + "LITTER_WASTE_MANAGEMENT": "Litter & Waste Management", + "APPAREL": "Apparel", + "FEEDING_SUPPLIES": "Feeding Supplies", + "TRAVEL_OUTDOOR": "Travel & Outdoor", + "TRAINING_BEHAVIOR": "Training & Behavior" + }, + "size": "Size", + "status": "Status", + "pets": "Pets", + "areYouSureDelete": "Are you sure you want to delete", + "available": "Available", + "showing": "Showing", + "of": "of", + "results": "results", + "previous": "Previous", + "name": "Name", + "next": "Next", + "selectImages": "Select images", + "selectImagesInfo": "JPG, GIF or PNG. 1.5MB max.", + "petName": "Pet name", + "breed": "Breed", + "weight": "Weight", + "massUnit": "Mass units", + "petDescription": "Description of pet", + "description": "Description", + "adopterBy": "Adoptado por", + "petGuardians": "Pet Guardians", + "adoptedBy": "Adopted by", + "vet": "Vet", + "shelter": "Shelter", + "select": "Select", + "selectVeterinary": "Select veterinary", + "selectShelter": "Select shelter", + "selectAdopter": "Select adopter", + "petBreed": "Pet breed", + "rabbits": "Rabbits", + "title": "Title", + "notes": "Notes", + "appointment": "Appointment", + "appointments": "Appointments", + "selectDate": "Select Date", + "isRequired": "This field is required", + "start": "Start", + "end": "End", + "selectTime": "Select Time", + "edit": "Edit", + "editAppointment": "Edit appointment", + "createAppointment": "Create appointment", + "pet": "Pet", + "selectPet": "Select pet", + "allDay": "All day", + "today": "Today", + "month": "Month", + "week": "Week", + "day": "Day", + "agenda": "Agenda", + "date": "Date", + "time": "Time", + "event": "Event", + "showMore": "+ Show more ({{total}})", + "myPets": "My pets", + "sizePet": { + "small": "Small", + "medium": "Medium", + "large": "Large", + "extraLarge": "Extra large" + }, + "categoryPet": { + "dog": "Dog", + "cat": "Cat", + "rabbit": "Rabbit", + "hamster": "Hamster", + "bird": "Bird", + "exotic": "Exotic" + }, + "agePet": { + "baby": "Baby", + "young": "Young", + "adult": "Adult", + "senior": "Senior" + }, + "genderPet": { + "male": "Male", + "female": "Female" + }, + "cancel": "Cancel", + "save": "Save", + "veterinarians": "Veterinarians", + "veterinarian": "Veterinary", + "shelters": "Shelters", + "contact": "Contact", + "email": "Email", + "role": "Role", + "phone": "Phone", + "address": "Address", + "location": "Location", + "delete": "Delete", + "SHELTER": "Shelter", + "VET": "Veterinary", + "ADOPTER": "Adopter", + "adopter": "Adopter", + "searchByLocation": "Search by location", + "actions": "Actions", + "adoptPet": "Adopt pet", + "login": "Login", + "locationUnavailable": "Location unavailable", + "petAvailable": "Pet available", + "petDeleted": "Pet deleted successfully", + "petNotDeleted": "Pet not deleted", + "contactsForAdoption": "Contacts", + "emailInvalid": "Email invalid", + "price": "Price", + "requiredField": "Required field", + "wasAdopted": "Was adopted?", + "petNotAvailable": "Pet not available", + "wantAdoption": "I want to adopt to", + "aboutUs": "About Us", + "totalPets": "Total Pets", + "adoptedPets": "Adopted Pets", + "petsInAdoption": "Pets in Adoption", + "last": "Last" +} \ No newline at end of file diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 46b154cb..9a65be87 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -1,190 +1,191 @@ { - "community": "Comunidad", - "welcome": "Bienvenido a Pet's Love", - "welcomeDescription": "Esta informacion es importante para que tengas una excelente experiencia de usuario", - "placeholderDescription": "Agrega una descripción", - "username": "Nombre de usuario", - "usernamePlaceholder": "Agrega tu nombre de usuario", - "type": "Tipo", - "selectType": "Selecciona un tipo", - "inventory": "Inventario", - "searchPets": "Buscar mascotas", - "birds": "Aves", - "dashboard": "Panel de control", - "settings": "Ajustes", - "logout": "Cerrar sesión", - "resetFilters": "Limpiar filtros", - "searchByName": "Buscar por nombre", - "dogs": "Perros", - "cats": "Gatos", - "exotics": "Exoticos", - "males": "Machos", - "females": "Hembras", - "analytics": "Analiticas", - "items": "Items", - "amount": "Cantidad", - "expenses": "Gastos", - "expenseType": { - "INCOME": "Ingreso", - "EXPENSE": "Gasto" - }, - "expenseCategory": { - "SUPPLIES": "Suministros", - "EQUIPMENT": "Equipo", - "RENT": "Renta", - "UTILITIES": "Servicios", - "INSURANCE": "Seguro", - "VEHICLE": "Vehículo", - "INVENTORY": "Inventario", - "SALARIES": "Salarios", - "SERVICES": "Servicios", - "OTHERS": "Otros" - }, - "inventoryType": { - "MEDICINE": "Medicina", - "FOOD": "Comida", - "TOYS": "Juguetes", - "ACCESSORIES": "Accesorios", - "HEALTH_WELLNESS": "Salud y Bienestar", - "HOUSING": "Vivienda", - "LITTER_WASTE_MANAGEMENT": "Arena y Gestión de Residuos", - "APPAREL": "Ropa", - "FEEDING_SUPPLIES": "Suministros de Alimentación", - "TRAVEL_OUTDOOR": "Viajes y Aire Libre", - "TRAINING_BEHAVIOR": "Entrenamiento y Comportamiento" - }, - "quantity": "Cantidad", - "areYouSureDeleteProduct": "Estas por eliminar el producto", - "expense": "Gasto", - "income": "Ingreso", - "dog": "Perro", - "cat": "Gato", - "exotic": "Exotico", - "male": "Macho", - "editPet": "Editar mascota", - "createPet": "Crear mascota", - "female": "Hembra", - "adopted": "Adoptados", - "inAdoption": "En adoption", - "pets": "Mascotas", - "title": "Título", - "notes": "Notas", - "isRequired": "Este campo es requerido", - "appointment": "Cita", - "appointments": "Citas", - "selectDate": "Seleccionar Fecha", - "areYouSureDelete": "Estas por eliminar a", - "available": "Disponible", - "wasAdopted": "Fue adoptado?", - "showing": "Mostrados del", - "to": "a", - "of": "de", - "results": "resultados", - "previous": "Anterior", - "next": "Siguiente", - "selectVeterinary": "Selecciona un veterinario", - "selectImages": "Selecciona imagenes", - "selectImagesInfo": "JPG, GIF o PNG. 1.5MB max.", - "petName": "Nombre de la mascota", - "select": "Seleccionar", - "breed": "Raza", - "weight": "Peso", - "name": "Nombre", - "gender": "Genero", - "age": "Edad", - "size": "Tamaño", - "adoptedBy": "Adoptado por", - "description": "Descripción", - "status": "Estatus", - "massUnit": "Unidades de peso", - "petDescription": "Descripción de la mascota", - "adopterBy": "Adopted By", - "petGuardians": "Guardianes de mascotas", - "vet": "Veterinaria", - "category": "Categoría", - "shelter": "Refugio", - "selectShelter": "Selecciona un refugio", - "selectAdopter": "Selecciona un adoptante", - "petBreed": "Raza de la mascota", - "rabbits": "Conejos", - "sizePet": { - "small": "Pequeño", - "medium": "Mediano", - "large": "Grande", - "extraLarge": "Super Grande" - }, - "categoryPet": { + "community": "Comunidad", + "welcome": "Bienvenido a Pet's Love", + "welcomeDescription": "Esta informacion es importante para que tengas una excelente experiencia de usuario", + "placeholderDescription": "Agrega una descripción", + "username": "Nombre de usuario", + "usernamePlaceholder": "Agrega tu nombre de usuario", + "type": "Tipo", + "selectType": "Selecciona un tipo", + "inventory": "Inventario", + "searchPets": "Buscar mascotas", + "birds": "Aves", + "dashboard": "Panel de control", + "settings": "Ajustes", + "logout": "Cerrar sesión", + "resetFilters": "Limpiar filtros", + "searchByName": "Buscar por nombre", + "dogs": "Perros", + "cats": "Gatos", + "exotics": "Exoticos", + "males": "Machos", + "females": "Hembras", + "analytics": "Analiticas", + "items": "Items", + "amount": "Cantidad", + "expenses": "Gastos", + "expenseType": { + "INCOME": "Ingreso", + "EXPENSE": "Gasto" + }, + "expenseCategory": { + "SUPPLIES": "Suministros", + "EQUIPMENT": "Equipo", + "RENT": "Renta", + "UTILITIES": "Servicios", + "INSURANCE": "Seguro", + "VEHICLE": "Vehículo", + "INVENTORY": "Inventario", + "SALARIES": "Salarios", + "SERVICES": "Servicios", + "OTHERS": "Otros" + }, + "inventoryType": { + "MEDICINE": "Medicina", + "FOOD": "Comida", + "TOYS": "Juguetes", + "ACCESSORIES": "Accesorios", + "HEALTH_WELLNESS": "Salud y Bienestar", + "HOUSING": "Vivienda", + "LITTER_WASTE_MANAGEMENT": "Arena y Gestión de Residuos", + "APPAREL": "Ropa", + "FEEDING_SUPPLIES": "Suministros de Alimentación", + "TRAVEL_OUTDOOR": "Viajes y Aire Libre", + "TRAINING_BEHAVIOR": "Entrenamiento y Comportamiento" + }, + "quantity": "Cantidad", + "areYouSureDeleteProduct": "Estas por eliminar el producto", + "expense": "Gasto", + "income": "Ingreso", "dog": "Perro", "cat": "Gato", "exotic": "Exotico", - "rabbit": "Conejo", - "hamster": "Hamster", - "bird": "Ave" - }, - "agePet": { - "baby": "Bebe", - "young": "Joven", - "adult": "Adulto", - "senior": "Viejito" - }, - "genderPet": { "male": "Macho", - "female": "Hembra" - }, - "cancel": "Cancelar", - "save": "Guardar", - "veterinarians": "Veterinarios", - "veterinarian": "Veterinaria", - "shelters": "Refugios", - "role": "Rol del usuario", - "myPets": "Mis mascotas", - "start": "Start", - "end": "End", - "placeholderTitle": "Agrega un título", - "itemName": "Nombre del item", - "itemDescription": "Descripción del item", - "selectTime": "Seleccionar hora", - "edit": "Editar", - "editAppointment": "Editar cita", - "createAppointment": "Crear cita", - "pet": "Pet", - "selectPet": "Select pet", - "allDay": "Todo el día", - "today": "Hoy", - "month": "Mes", - "week": "Semana", - "day": "Día", - "agenda": "Agenda", - "date": "Fecha", - "time": "Hora", - "event": "Evento", - "showMore": "+ Ver más ({{total}})", - "contact": "Contacto", - "email": "Correo", - "phone": "Teléfono", - "address": "Dirección", - "location": "Ubicación", - "delete": "Borrar", - "SHELTER": "Refugio", - "VET": "Veterinaria", - "ADOPTER": "Adoptante", - "adopter": "Adoptante", - "searchByLocation": "Buscar por ubicación", - "actions": "Acciones", - "adoptPet": "Adoptar mascota", - "login": "Iniciar sesión", - "locationUnavailable": "Ubicación no disponible", - "petAvailable": "Mascota disponible", - "petNotAvailable": "No encontramos ninguna mascota disponible", - "petDeleted": "Mascota eliminada", - "petNotDeleted": "Mascota no eliminada", - "emailInvalid": "Correo invalido", - "requiredField": "Campo requerido", - "contactsForAdoption": "Contactos para adopctar", - "wantAdoption": "Quiero adoptar a", - "aboutUs": "Sobre nosotros", - "totalPets": "Total de mascotas", - "adoptedPets": "Mascotas adoptadas", - "petsInAdoption": "Mascotas en adopción", - "last": "Last" -} + "editPet": "Editar mascota", + "createPet": "Crear mascota", + "female": "Hembra", + "adopted": "Adoptados", + "inAdoption": "En adoption", + "pets": "Mascotas", + "title": "Título", + "notes": "Notas", + "isRequired": "Este campo es requerido", + "appointment": "Cita", + "appointments": "Citas", + "selectDate": "Seleccionar Fecha", + "areYouSureDelete": "Estas por eliminar a", + "available": "Disponible", + "wasAdopted": "Fue adoptado?", + "showing": "Mostrados del", + "to": "a", + "of": "de", + "results": "resultados", + "previous": "Anterior", + "next": "Siguiente", + "selectVeterinary": "Selecciona un veterinario", + "selectImages": "Selecciona imagenes", + "selectImagesInfo": "JPG, GIF o PNG. 1.5MB max.", + "petName": "Nombre de la mascota", + "select": "Seleccionar", + "breed": "Raza", + "weight": "Peso", + "name": "Nombre", + "gender": "Genero", + "age": "Edad", + "size": "Tamaño", + "adoptedBy": "Adoptado por", + "description": "Descripción", + "status": "Estatus", + "massUnit": "Unidades de peso", + "petDescription": "Descripción de la mascota", + "adopterBy": "Adopted By", + "petGuardians": "Guardianes de mascotas", + "vet": "Veterinaria", + "category": "Categoría", + "shelter": "Refugio", + "selectShelter": "Selecciona un refugio", + "selectAdopter": "Selecciona un adoptante", + "petBreed": "Raza de la mascota", + "rabbits": "Conejos", + "sizePet": { + "small": "Pequeño", + "medium": "Mediano", + "large": "Grande", + "extraLarge": "Super Grande" + }, + "categoryPet": { + "dog": "Perro", + "cat": "Gato", + "exotic": "Exotico", + "rabbit": "Conejo", + "hamster": "Hamster", + "bird": "Ave" + }, + "agePet": { + "baby": "Bebe", + "young": "Joven", + "adult": "Adulto", + "senior": "Viejito" + }, + "genderPet": { + "male": "Macho", + "female": "Hembra" + }, + "cancel": "Cancelar", + "save": "Guardar", + "veterinarians": "Veterinarios", + "veterinarian": "Veterinaria", + "shelters": "Refugios", + "role": "Rol del usuario", + "myPets": "Mis mascotas", + "start": "Start", + "end": "End", + "placeholderTitle": "Agrega un título", + "itemName": "Nombre del item", + "itemDescription": "Descripción del item", + "selectTime": "Seleccionar hora", + "edit": "Editar", + "editAppointment": "Editar cita", + "createAppointment": "Crear cita", + "pet": "Pet", + "selectPet": "Select pet", + "allDay": "Todo el día", + "today": "Hoy", + "month": "Mes", + "week": "Semana", + "day": "Día", + "agenda": "Agenda", + "date": "Fecha", + "time": "Hora", + "event": "Evento", + "showMore": "+ Ver más ({{total}})", + "contact": "Contacto", + "email": "Correo", + "phone": "Teléfono", + "address": "Dirección", + "location": "Ubicación", + "delete": "Borrar", + "SHELTER": "Refugio", + "VET": "Veterinaria", + "ADOPTER": "Adoptante", + "adopter": "Adoptante", + "searchByLocation": "Buscar por ubicación", + "actions": "Acciones", + "adoptPet": "Adoptar mascota", + "login": "Iniciar sesión", + "locationUnavailable": "Ubicación no disponible", + "petAvailable": "Mascota disponible", + "petNotAvailable": "No encontramos ninguna mascota disponible", + "petDeleted": "Mascota eliminada", + "petNotDeleted": "Mascota no eliminada", + "emailInvalid": "Correo invalido", + "requiredField": "Campo requerido", + "price": "Precio", + "contactsForAdoption": "Contactos", + "wantAdoption": "Quiero adoptar a", + "aboutUs": "Sobre nosotros", + "totalPets": "Total de mascotas", + "adoptedPets": "Mascotas adoptadas", + "petsInAdoption": "Mascotas en adopción", + "last": "Last" +} \ No newline at end of file diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 5b2d39ff..518ea4f3 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -1,184 +1,185 @@ { - "community": "Communauté", - "searchPets": "Rechercher des animaux", - "welcome": "Bienvenue chez Pet's Love !", - "welcomeDescription": "Ces informations seront utilisées pour vous offrir la meilleure expérience", - "placeholderDescription": "Dites-nous en plus sur vous", - "username": "nom d'utilisateur", - "usernamePlaceholder": "Ajouter un nom d'utilisateur", - "birds": "Oiseaux", - "dashboard": "Tableau de bord", - "settings": "Paramètres", - "areYouSureDeleteProduct": "Êtes-vous sûr de vouloir supprimer ce produit?", - "inventory": "Inventaire", - "type": "Type", - "selectType": "Sélectionner Type", - "itemDescription": "Description de l'élément", - "logout": "déconnexion", - "resetFilters": "Effacer les filtres", - "searchByName": "Recherche par nom", - "placeholderTitle": "Ajouter un titre", - "itemName": "Nom de l'élément", - "expense": "Dépense", - "income": "Revenu", - "dogs": "Chiens", - "cats": "Chats", - "quantity": "Quantité", - "inventoryType": { - "MEDICINE": "Médicament", - "FOOD": "Nourriture", - "TOYS": "Jouets", - "ACCESSORIES": "Accessoires", - "HEALTH_WELLNESS": "Santé et Bien-être", - "HOUSING": "Hébergement", - "LITTER_WASTE_MANAGEMENT": "Litière et Gestion des Déchets", - "APPAREL": "Vêtements", - "FEEDING_SUPPLIES": "Alimentation et Fournitures", - "TRAVEL_OUTDOOR": "Voyage et Plein Air", - "TRAINING_BEHAVIOR": "Formation et Comportement" - }, - "exotics": "Exotiques", - "males": "Mâles", - "females": "Femelles", - "dog": "Chien", - "cat": "Chat", - "exotic": "Exotique", - "male": "Mâle", - "start": "Début", - "end": "Fin", - "selectTime": "Sélectionner l'heure", - "edit": "Modifier", - "wasAdopted": "a été adopté?", - "editAppointment": "Modifier le rendez-vous", - "createAppointment": "Créer un rendez-vous", - "pet": "Animal", - "selectPet": "Sélectionner un animal", - "allDay": "Toute la journée", - "today": "Aujourd'hui", - "month": "Mois", - "week": "Semaine", - "day": "Jour", - "agenda": "Agenda", - "date": "Date", - "time": "Heure", - "event": "Événement", - "showMore": "+ Voir plus ({{total}})", - "editPet": "Modifier l'animal", - "createPet": "Créer un animal", - "female": "Femelle", - "isRequired": "est requis", - "adopted": "Adopté", - "inAdoption": "En adoption", - "category": "Catégorie", - "gender": "Genre", - "age": "Âge", - "size": "Taille", - "appointment": "Rendez-vous", - "appointments": "Rendez-vous", - "status": "Statut", - "pets": "Animaux", - "areYouSureDelete": "Êtes-vous sûr de vouloir supprimer", - "available": "Disponible", - "showing": "Affichage", - "of": "de", - "results": "résultats", - "previous": "Précédent", - "name": "Nom", - "expenseType": { - "INCOME": "Revenu", - "EXPENSE": "Dépense" - }, - "expenses": "Dépenses", - "expenseCategory": { - "SUPPLIES": "Fournitures", - "EQUIPMENT": "Équipement", - "RENT": "Loyer", - "INVENTORY": "Inventaire", - "SALARIES": "Salaires", - "UTILITIES": "Services publics", - "INSURANCE": "Assurance", - "VEHICLE": "Véhicule", - "SERVICES": "Services", - "OTHERS": "Autres" - }, - "next": "Suivant", - "selectImages": "Sélectionner des images", - "items": "Articles", - "selectImagesInfo": "JPG, GIF ou PNG. Maximum 1,5 Mo.", - "petName": "Nom de l'animal", - "breed": "Race", - "weight": "Poids", - "massUnit": "Unités de masse", - "petDescription": "Description de l'animal", - "description": "Description", - "adopterBy": "Adopté par", - "petGuardians": "Gardiens de l'animal", - "adoptedBy": "Adopté par", - "vet": "Vétérinaire", - "shelter": "Refuge", - "select": "Sélectionner", - "selectVeterinary": "Sélectionner un vétérinaire", - "selectShelter": "Sélectionner un refuge", - "selectAdopter": "Sélectionner un adoptant", - "petBreed": "Race de l'animal", - "rabbits": "Lapins", - "myPets": "Mes animaux", - "sizePet": { - "small": "Petit", - "medium": "Moyen", - "large": "Grand", - "extraLarge": "Très grand" - }, - "categoryPet": { + "community": "Communauté", + "searchPets": "Rechercher des animaux", + "welcome": "Bienvenue chez Pet's Love !", + "welcomeDescription": "Ces informations seront utilisées pour vous offrir la meilleure expérience", + "placeholderDescription": "Dites-nous en plus sur vous", + "username": "nom d'utilisateur", + "usernamePlaceholder": "Ajouter un nom d'utilisateur", + "birds": "Oiseaux", + "dashboard": "Tableau de bord", + "settings": "Paramètres", + "areYouSureDeleteProduct": "Êtes-vous sûr de vouloir supprimer ce produit?", + "inventory": "Inventaire", + "type": "Type", + "selectType": "Sélectionner Type", + "itemDescription": "Description de l'élément", + "logout": "déconnexion", + "resetFilters": "Effacer les filtres", + "searchByName": "Recherche par nom", + "placeholderTitle": "Ajouter un titre", + "itemName": "Nom de l'élément", + "expense": "Dépense", + "income": "Revenu", + "dogs": "Chiens", + "cats": "Chats", + "quantity": "Quantité", + "inventoryType": { + "MEDICINE": "Médicament", + "FOOD": "Nourriture", + "TOYS": "Jouets", + "ACCESSORIES": "Accessoires", + "HEALTH_WELLNESS": "Santé et Bien-être", + "HOUSING": "Hébergement", + "LITTER_WASTE_MANAGEMENT": "Litière et Gestion des Déchets", + "APPAREL": "Vêtements", + "FEEDING_SUPPLIES": "Alimentation et Fournitures", + "TRAVEL_OUTDOOR": "Voyage et Plein Air", + "TRAINING_BEHAVIOR": "Formation et Comportement" + }, + "exotics": "Exotiques", + "males": "Mâles", + "females": "Femelles", "dog": "Chien", "cat": "Chat", - "rabbit": "Lapin", - "hamster": "Hamster", - "bird": "Oiseau", - "exotic": "Exotique" - }, - "agePet": { - "baby": "Bébé", - "young": "Jeune", - "adult": "Adulte", - "senior": "Senior" - }, - "genderPet": { + "exotic": "Exotique", "male": "Mâle", - "female": "Femelle" - }, - "cancel": "Annuler", - "save": "Sauvegarder", - "veterinarians": "Vétérinaires", - "veterinarian": "Vétérinaire", - "shelters": "Refuges", - "contact": "Contact", - "email": "Email", - "role": "Rôle", - "phone": "Téléphone", - "address": "Adresse", - "location": "Localisation", - "delete": "Supprimer", - "SHELTER": "Refuge", - "VET": "Vétérinaire", - "ADOPTER": "Adoptant", - "adopter": "Adoptant", - "searchByLocation": "Recherche par localisation", - "actions": "Actions", - "adoptPet": "Adopter un animal", - "login": "Connexion", - "locationUnavailable": "Localisation indisponible", - "petAvailable": "Animal disponible", - "petDeleted": "Animal supprimé avec succès", - "petNotDeleted": "Animal non supprimé", - "contactsForAdoption": "Contacts pour l'adoption", - "emailInvalid": "Email invalide", - "requiredField": "Champ requis", - "petNotAvailable": "Animal non disponible", - "wantAdoption": "Je souhaite adopter", - "aboutUs": "À propos de nous", - "totalPets": "Total des animaux", - "adoptedPets": "Animaux adoptés", - "petsInAdoption": "Animaux en adoption", - "last": "Dernier" -} + "start": "Début", + "end": "Fin", + "selectTime": "Sélectionner l'heure", + "edit": "Modifier", + "wasAdopted": "a été adopté?", + "editAppointment": "Modifier le rendez-vous", + "createAppointment": "Créer un rendez-vous", + "pet": "Animal", + "selectPet": "Sélectionner un animal", + "allDay": "Toute la journée", + "today": "Aujourd'hui", + "month": "Mois", + "week": "Semaine", + "day": "Jour", + "agenda": "Agenda", + "date": "Date", + "time": "Heure", + "event": "Événement", + "showMore": "+ Voir plus ({{total}})", + "editPet": "Modifier l'animal", + "createPet": "Créer un animal", + "female": "Femelle", + "isRequired": "est requis", + "adopted": "Adopté", + "inAdoption": "En adoption", + "category": "Catégorie", + "gender": "Genre", + "age": "Âge", + "size": "Taille", + "appointment": "Rendez-vous", + "appointments": "Rendez-vous", + "status": "Statut", + "pets": "Animaux", + "areYouSureDelete": "Êtes-vous sûr de vouloir supprimer", + "available": "Disponible", + "showing": "Affichage", + "of": "de", + "results": "résultats", + "previous": "Précédent", + "name": "Nom", + "expenseType": { + "INCOME": "Revenu", + "EXPENSE": "Dépense" + }, + "expenses": "Dépenses", + "expenseCategory": { + "SUPPLIES": "Fournitures", + "EQUIPMENT": "Équipement", + "RENT": "Loyer", + "INVENTORY": "Inventaire", + "SALARIES": "Salaires", + "UTILITIES": "Services publics", + "INSURANCE": "Assurance", + "VEHICLE": "Véhicule", + "SERVICES": "Services", + "OTHERS": "Autres" + }, + "next": "Suivant", + "selectImages": "Sélectionner des images", + "items": "Articles", + "selectImagesInfo": "JPG, GIF ou PNG. Maximum 1,5 Mo.", + "petName": "Nom de l'animal", + "breed": "Race", + "weight": "Poids", + "massUnit": "Unités de masse", + "petDescription": "Description de l'animal", + "description": "Description", + "adopterBy": "Adopté par", + "petGuardians": "Gardiens de l'animal", + "adoptedBy": "Adopté par", + "vet": "Vétérinaire", + "shelter": "Refuge", + "select": "Sélectionner", + "selectVeterinary": "Sélectionner un vétérinaire", + "selectShelter": "Sélectionner un refuge", + "selectAdopter": "Sélectionner un adoptant", + "petBreed": "Race de l'animal", + "rabbits": "Lapins", + "myPets": "Mes animaux", + "sizePet": { + "small": "Petit", + "medium": "Moyen", + "large": "Grand", + "extraLarge": "Très grand" + }, + "categoryPet": { + "dog": "Chien", + "cat": "Chat", + "rabbit": "Lapin", + "hamster": "Hamster", + "bird": "Oiseau", + "exotic": "Exotique" + }, + "agePet": { + "baby": "Bébé", + "young": "Jeune", + "adult": "Adulte", + "senior": "Senior" + }, + "genderPet": { + "male": "Mâle", + "female": "Femelle" + }, + "cancel": "Annuler", + "save": "Sauvegarder", + "veterinarians": "Vétérinaires", + "veterinarian": "Vétérinaire", + "shelters": "Refuges", + "contact": "Contact", + "email": "Email", + "role": "Rôle", + "phone": "Téléphone", + "address": "Adresse", + "location": "Localisation", + "delete": "Supprimer", + "SHELTER": "Refuge", + "VET": "Vétérinaire", + "ADOPTER": "Adoptant", + "adopter": "Adoptant", + "searchByLocation": "Recherche par localisation", + "actions": "Actions", + "adoptPet": "Adopter un animal", + "login": "Connexion", + "locationUnavailable": "Localisation indisponible", + "petAvailable": "Animal disponible", + "price": "Prix", + "petDeleted": "Animal supprimé avec succès", + "petNotDeleted": "Animal non supprimé", + "contactsForAdoption": "Contacts", + "emailInvalid": "Email invalide", + "requiredField": "Champ requis", + "petNotAvailable": "Animal non disponible", + "wantAdoption": "Je souhaite adopter", + "aboutUs": "À propos de nous", + "totalPets": "Total des animaux", + "adoptedPets": "Animaux adoptés", + "petsInAdoption": "Animaux en adoption", + "last": "Dernier" +} \ No newline at end of file diff --git a/src/components/common/BaseAccordeon/index.tsx b/src/components/common/BaseAccordeon/index.tsx index 3b28ed2b..616c544e 100644 --- a/src/components/common/BaseAccordeon/index.tsx +++ b/src/components/common/BaseAccordeon/index.tsx @@ -32,15 +32,15 @@ export const BaseAccordeon: FC = ({ } onClick={() => setIsOpen(!isOpen)} > -
-
{icon}
+
+
{icon}

{title}

= ({ pet, pets, + title, values, errors, handleChange, @@ -31,7 +32,9 @@ export const AppointmentForm: React.FC = ({ return (
-

{t('appointments:createAppointmentForPets')}

+

+ {t('common:createAppointment')} +

void // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/src/pages/AppointmentsPage/index.tsx b/src/pages/AppointmentsPage/index.tsx index bbed3dc5..01324556 100644 --- a/src/pages/AppointmentsPage/index.tsx +++ b/src/pages/AppointmentsPage/index.tsx @@ -93,7 +93,6 @@ export const AppointmentsPage: FC = () => {
= ({