implement i18n with town filter
This commit is contained in:
parent
79fd370c8d
commit
cf32f8ec8b
3 changed files with 9 additions and 3 deletions
|
|
@ -30,15 +30,15 @@ const categories = computed(() => [
|
||||||
{ id: 'other', label: t('directory.categories.other') }
|
{ id: 'other', label: t('directory.categories.other') }
|
||||||
])
|
])
|
||||||
|
|
||||||
const towns = [
|
const towns = computed(() => [
|
||||||
{ id: 'all', label: 'All' },
|
{ id: 'all', label: t('directory.towns.all') },
|
||||||
{ id: 'San Marcos', label: 'San Marcos' },
|
{ id: 'San Marcos', label: 'San Marcos' },
|
||||||
{ id: 'Tzununa', label: 'Tzununa' },
|
{ id: 'Tzununa', label: 'Tzununa' },
|
||||||
{ id: 'San Pablo', label: 'San Pablo' },
|
{ id: 'San Pablo', label: 'San Pablo' },
|
||||||
{ id: 'San Pedro', label: 'San Pedro' },
|
{ id: 'San Pedro', label: 'San Pedro' },
|
||||||
{ id: 'Panajachel', label: 'Panajachel' },
|
{ id: 'Panajachel', label: 'Panajachel' },
|
||||||
{ id: 'Jaibalito', label: 'Jaibalito' }
|
{ id: 'Jaibalito', label: 'Jaibalito' }
|
||||||
]
|
])
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@ export default {
|
||||||
lancha: 'Lanchas',
|
lancha: 'Lanchas',
|
||||||
other: 'Other'
|
other: 'Other'
|
||||||
},
|
},
|
||||||
|
towns: {
|
||||||
|
all: 'All',
|
||||||
|
},
|
||||||
contact: 'Contact',
|
contact: 'Contact',
|
||||||
location: 'Location',
|
location: 'Location',
|
||||||
viewMap: 'View on Map',
|
viewMap: 'View on Map',
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@ export default {
|
||||||
lancha: 'Lanchas',
|
lancha: 'Lanchas',
|
||||||
other: 'Otros'
|
other: 'Otros'
|
||||||
},
|
},
|
||||||
|
towns: {
|
||||||
|
all: 'Todos',
|
||||||
|
},
|
||||||
contact: 'Contacto',
|
contact: 'Contacto',
|
||||||
location: 'Ubicación',
|
location: 'Ubicación',
|
||||||
viewMap: 'Ver en Mapa',
|
viewMap: 'Ver en Mapa',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue