fix name and route path

This commit is contained in:
Esteban Paz 2026-07-17 15:55:55 -05:00
parent 6f5e34b9ff
commit dfcce7b2ed
8 changed files with 22 additions and 14 deletions

View File

@ -32,7 +32,7 @@ const links = computed(() => {
id: 'bible-studies', id: 'bible-studies',
label: t('nav.bible_studies'), label: t('nav.bible_studies'),
icon: 'ph-books', icon: 'ph-books',
to: '/estudios-biblicos', to: '/estudios',
onSelect: () => { open.value = false }, onSelect: () => { open.value = false },
}, },
{ {

View File

@ -18,7 +18,7 @@ const links = ref<ButtonProps[]>([
}, },
{ {
label: t('nav.bible_studies'), label: t('nav.bible_studies'),
to: `/${$i18n.locale.value}/estudios-biblicos`, to: `/${$i18n.locale.value}/estudios`,
icon: 'ph-books', icon: 'ph-books',
color: 'primary' color: 'primary'
}, },

View File

@ -2,8 +2,8 @@
"name": "English", "name": "English",
"nav": { "nav": {
"home": "Home", "home": "Home",
"bible_studies": "Bible Studies", "bible_studies": "Studies",
"bible_studies_ts": "Bible Studies", "bible_studies_ts": "Studies",
"conferences_ts": "Conferences", "conferences_ts": "Conferences",
"conferences": "Conferences", "conferences": "Conferences",
"between_the_lines": "Between the Lines", "between_the_lines": "Between the Lines",
@ -89,7 +89,7 @@
"ui": { "ui": {
"copy": "Copy", "copy": "Copy",
"draft": "Draft", "draft": "Draft",
"empty_bible_studies": "Choose a Bible Study to see the detail", "empty_bible_studies": "Choose a Study to see the detail",
"empty_conferences": "Choose a Conference to see the detail" "empty_conferences": "Choose a Conference to see the detail"
} }
} }

View File

@ -1,8 +1,8 @@
{ {
"nav": { "nav": {
"home": "Inicio", "home": "Inicio",
"bible_studies": "Estudios Bíblicos", "bible_studies": "Estudios",
"bible_studies_ts": "Estudios Bíblicos", "bible_studies_ts": "Estudios",
"conferences_ts": "Conferencias", "conferences_ts": "Conferencias",
"conferences": "Conferencias", "conferences": "Conferencias",
"between_the_lines": "Entrelíneas", "between_the_lines": "Entrelíneas",
@ -18,7 +18,7 @@
"next": "Siguiente", "next": "Siguiente",
"prev": "Anterior", "prev": "Anterior",
"done": "Finalizar", "done": "Finalizar",
"bible_studies_description": "Realiza búsquedas en los Estudios Bíblicos predicados por el Dr. José Benjamín Pérez Matos", "bible_studies_description": "Realiza búsquedas en los Estudios predicados por el Dr. José Benjamín Pérez Matos",
"conferences_description": "Realiza búsquedas en las conferencias predicadas por el Dr. William Soto Santiago", "conferences_description": "Realiza búsquedas en las conferencias predicadas por el Dr. William Soto Santiago",
"betweenthelines_description": "Realiza búsquedas en las imágenes de entrelíneas de los estudios del Dr. José Benjamín Pérez Matos", "betweenthelines_description": "Realiza búsquedas en las imágenes de entrelíneas de los estudios del Dr. José Benjamín Pérez Matos",
"favorites_description": "Listado de resultados guardados como favoritos para fácil acceso futuro", "favorites_description": "Listado de resultados guardados como favoritos para fácil acceso futuro",
@ -121,7 +121,7 @@
"ui": { "ui": {
"copy": "Copiar", "copy": "Copiar",
"draft": "Borrador", "draft": "Borrador",
"empty_bible_studies": "Selecciona un Estudio Bíblico para ver el detalle", "empty_bible_studies": "Selecciona un Estudio para ver el detalle",
"empty_conferences": "Selecciona una Conferencia para ver el detalle" "empty_conferences": "Selecciona una Conferencia para ver el detalle"
}, },
"seo": { "seo": {

View File

@ -2,9 +2,9 @@
"name": "Français", "name": "Français",
"nav": { "nav": {
"home": "Commencer", "home": "Commencer",
"bible_studies": "Études Bibliques", "bible_studies": "Études",
"bible_studies_ts": "Études Bibliques Typesense", "bible_studies_ts": "Études",
"conferences_ts": "Conférences Typesense", "conferences_ts": "Conférences",
"conferences": "Conférences", "conferences": "Conférences",
"between_the_lines": "Entre les lignes", "between_the_lines": "Entre les lignes",
"my_list": "Ma liste", "my_list": "Ma liste",

View File

@ -2,8 +2,8 @@
"name": "Português", "name": "Português",
"nav": { "nav": {
"home": "Inicio", "home": "Inicio",
"bible_studies": "Estudios Bíblicos", "bible_studies": "Estudios",
"bible_studies_ts": "Estudos Bíblicos Typesense", "bible_studies_ts": "Estudos",
"conferences_ts": "Conferências Typesense", "conferences_ts": "Conferências Typesense",
"conferences": "Conferências", "conferences": "Conferências",
"between_the_lines": "Entre as linhas", "between_the_lines": "Entre as linhas",

View File

@ -0,0 +1,8 @@
export default defineEventHandler((event) => {
const url = getRequestURL(event)
if (url.pathname.includes('estudios-biblicos')) {
const newPath = url.pathname.replace('estudios-biblicos', 'estudios')
return sendRedirect(event, newPath + url.search, 301)
}
})