feat: expand country list to all 25 countries matching supported languages

This commit is contained in:
2026-02-11 19:21:50 +01:00
parent ae04339ec6
commit eed2feaa29
8 changed files with 156 additions and 8 deletions

View File

@@ -2,7 +2,22 @@ import { t, i18n } from '../i18n.js'
import { escapeHTML } from '../utils/helpers.js'
import { categoriesService } from '../services/categories.js'
const COUNTRIES = ['ch', 'de', 'at', 'fr', 'it', 'li']
const COUNTRIES = [
// German-speaking
'ch', 'de', 'at', 'li', 'lu',
// French-speaking
'fr', 'be',
// English-speaking
'gb', 'us', 'ca', 'au', 'nz', 'ie', 'za',
// Italian
'it',
// Spanish-speaking
'es', 'mx', 'ar', 'co', 'cl',
// Portuguese-speaking
'pt', 'br',
// Russian-speaking
'ru', 'by', 'kz'
]
const RADIUS_OPTIONS = [5, 10, 20, 50, 100, 200]
class SearchBox extends HTMLElement {