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]
}>()
const categories = [
{ id: 'all', label: 'All' },
{ id: 'restaurant', label: 'Restaurants' },
{ id: 'lodging', label: 'Lodging' },
{ id: 'goods', label: 'Goods' },
{ id: 'services', label: 'Services' },
{ id: 'taxi', label: 'Taxis' },
{ id: 'lancha', label: 'Lanchas' },
{ id: 'other', label: 'Other' }
]
const categories = computed(() => [
{ id: 'all', label: t('directory.categories.all') },
{ id: 'restaurant', label: t('directory.categories.restaurant') },
{ id: 'lodging', label: t('directory.categories.lodging') },
{ id: 'goods', label: t('directory.categories.goods') },
{ id: 'services', label: t('directory.categories.services') },
{ id: 'taxi', label: t('directory.categories.taxi') },
{ id: 'lancha', label: t('directory.categories.lancha') },
{ id: 'other', label: t('directory.categories.other') }
])
const towns = [
{ id: 'all', label: 'All Towns' },

View file

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

View file

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