implement i18n with town filter

This commit is contained in:
padreug 2025-02-03 00:17:35 +01:00
parent 79fd370c8d
commit cf32f8ec8b
3 changed files with 9 additions and 3 deletions

View file

@ -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>