update directory filter with new categories

This commit is contained in:
padreug 2025-02-02 23:56:04 +01:00
parent 6e47b59071
commit 63ed9ac82f
3 changed files with 16 additions and 12 deletions

View file

@ -19,16 +19,16 @@ const emit = defineEmits<{
'update:town': [value: string] 'update:town': [value: string]
}>() }>()
const categories = [ const categories = computed(() => [
{ id: 'all', label: 'All' }, { id: 'all', label: t('directory.categories.all') },
{ id: 'restaurant', label: 'Restaurants' }, { id: 'restaurant', label: t('directory.categories.restaurant') },
{ id: 'lodging', label: 'Lodging' }, { id: 'lodging', label: t('directory.categories.lodging') },
{ id: 'goods', label: 'Goods' }, { id: 'goods', label: t('directory.categories.goods') },
{ id: 'services', label: 'Services' }, { id: 'services', label: t('directory.categories.services') },
{ id: 'taxi', label: 'Taxis' }, { id: 'taxi', label: t('directory.categories.taxi') },
{ id: 'lancha', label: 'Lanchas' }, { id: 'lancha', label: t('directory.categories.lancha') },
{ id: 'other', label: 'Other' } { id: 'other', label: t('directory.categories.other') }
] ])
const towns = [ const towns = [
{ id: 'all', label: 'All Towns' }, { id: 'all', label: 'All Towns' },

View file

@ -18,9 +18,11 @@ export default {
categories: { categories: {
all: 'All', all: 'All',
restaurant: 'Restaurants', restaurant: 'Restaurants',
lodging: 'Lodging',
goods: 'Goods',
services: 'Services',
taxi: 'Taxis', taxi: 'Taxis',
lancha: 'Lanchas', lancha: 'Lanchas',
retail: 'Retail',
other: 'Other' other: 'Other'
}, },
contact: 'Contact', contact: 'Contact',

View file

@ -18,9 +18,11 @@ export default {
categories: { categories: {
all: 'Todos', all: 'Todos',
restaurant: 'Restaurantes', restaurant: 'Restaurantes',
lodging: 'Hospedaje',
goods: 'Productos',
services: 'Servicios',
taxi: 'Taxis', taxi: 'Taxis',
lancha: 'Lanchas', lancha: 'Lanchas',
retail: 'Tiendas',
other: 'Otros' other: 'Otros'
}, },
contact: 'Contacto', contact: 'Contacto',