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') }
|
||||
])
|
||||
|
||||
const towns = [
|
||||
{ id: 'all', label: 'All' },
|
||||
const towns = computed(() => [
|
||||
{ id: 'all', label: t('directory.towns.all') },
|
||||
{ id: 'San Marcos', label: 'San Marcos' },
|
||||
{ id: 'Tzununa', label: 'Tzununa' },
|
||||
{ id: 'San Pablo', label: 'San Pablo' },
|
||||
{ id: 'San Pedro', label: 'San Pedro' },
|
||||
{ id: 'Panajachel', label: 'Panajachel' },
|
||||
{ id: 'Jaibalito', label: 'Jaibalito' }
|
||||
]
|
||||
])
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,9 @@ export default {
|
|||
lancha: 'Lanchas',
|
||||
other: 'Other'
|
||||
},
|
||||
towns: {
|
||||
all: 'All',
|
||||
},
|
||||
contact: 'Contact',
|
||||
location: 'Location',
|
||||
viewMap: 'View on Map',
|
||||
|
|
|
|||
|
|
@ -25,6 +25,9 @@ export default {
|
|||
lancha: 'Lanchas',
|
||||
other: 'Otros'
|
||||
},
|
||||
towns: {
|
||||
all: 'Todos',
|
||||
},
|
||||
contact: 'Contacto',
|
||||
location: 'Ubicación',
|
||||
viewMap: 'Ver en Mapa',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue