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',
label: t('nav.bible_studies'),
icon: 'ph-books',
to: '/estudios-biblicos',
to: '/estudios',
onSelect: () => { open.value = false },
},
{

View File

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

View File

@ -2,8 +2,8 @@
"name": "English",
"nav": {
"home": "Home",
"bible_studies": "Bible Studies",
"bible_studies_ts": "Bible Studies",
"bible_studies": "Studies",
"bible_studies_ts": "Studies",
"conferences_ts": "Conferences",
"conferences": "Conferences",
"between_the_lines": "Between the Lines",
@ -89,7 +89,7 @@
"ui": {
"copy": "Copy",
"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"
}
}

View File

@ -1,8 +1,8 @@
{
"nav": {
"home": "Inicio",
"bible_studies": "Estudios Bíblicos",
"bible_studies_ts": "Estudios Bíblicos",
"bible_studies": "Estudios",
"bible_studies_ts": "Estudios",
"conferences_ts": "Conferencias",
"conferences": "Conferencias",
"between_the_lines": "Entrelíneas",
@ -18,7 +18,7 @@
"next": "Siguiente",
"prev": "Anterior",
"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",
"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",
@ -121,7 +121,7 @@
"ui": {
"copy": "Copiar",
"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"
},
"seo": {

View File

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

View File

@ -2,8 +2,8 @@
"name": "Português",
"nav": {
"home": "Inicio",
"bible_studies": "Estudios Bíblicos",
"bible_studies_ts": "Estudos Bíblicos Typesense",
"bible_studies": "Estudios",
"bible_studies_ts": "Estudos",
"conferences_ts": "Conferências Typesense",
"conferences": "Conferências",
"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)
}
})