From 069c6309e434aaa8822fc9d1d1b774165ee6f587 Mon Sep 17 00:00:00 2001 From: Dany Daniel Date: Wed, 7 Aug 2024 13:51:31 +0200 Subject: [PATCH 1/2] Updated spanish translation --- packages/ra-language-spanish/src/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/ra-language-spanish/src/index.ts b/packages/ra-language-spanish/src/index.ts index 9dbdbcf..a92b366 100644 --- a/packages/ra-language-spanish/src/index.ts +++ b/packages/ra-language-spanish/src/index.ts @@ -50,12 +50,12 @@ const spanishMessages: Required = { page: { create: "Crear %{name}", dashboard: "Tablero", - edit: "%{name} #%{id}", + edit: "%{name} %{recordRepresentation}", error: "Algo salió mal", list: "Lista de %{name}", loading: "Cargando", not_found: "No encontrado", - show: "%{name} #%{id}", + show: "%{name} %{recordRepresentation}", empty: "Sin %{name} todavía.", invite: "¿Quiere agregar una?", }, @@ -169,6 +169,7 @@ const spanishMessages: Required = { email: "Debe ser un correo electrónico válido", oneOf: "Debe ser uno de: %{options}", regex: "Debe coincidir con un formato específico (regexp): %{pattern}", + unique: 'Debe ser único', }, saved_queries:{ label: "Consultas guardadas", From d3ee10e922eb79929fff8f556b756ff4ef9100eb Mon Sep 17 00:00:00 2001 From: Dany Daniel Date: Wed, 7 Aug 2024 13:54:43 +0200 Subject: [PATCH 2/2] Add double quotes to the ra.validation.unique translation --- packages/ra-language-spanish/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ra-language-spanish/src/index.ts b/packages/ra-language-spanish/src/index.ts index a92b366..69a1e85 100644 --- a/packages/ra-language-spanish/src/index.ts +++ b/packages/ra-language-spanish/src/index.ts @@ -169,7 +169,7 @@ const spanishMessages: Required = { email: "Debe ser un correo electrónico válido", oneOf: "Debe ser uno de: %{options}", regex: "Debe coincidir con un formato específico (regexp): %{pattern}", - unique: 'Debe ser único', + unique: "Debe ser único", }, saved_queries:{ label: "Consultas guardadas",