From f84d2b90aa2af860053cf2b30119486a5b7541e9 Mon Sep 17 00:00:00 2001 From: Benjamin Danies Date: Sat, 28 Mar 2026 15:42:14 +0100 Subject: [PATCH] fix(i18n): rename i18n.js to i18n.svelte.js for Svelte 5 runes support --- CLAUDE.md | 2 +- src/App.svelte | 2 +- src/lib/AddressInput.svelte | 2 +- src/lib/FriendList.svelte | 2 +- src/lib/GroupManager.svelte | 2 +- src/lib/MapView.svelte | 2 +- src/lib/ModeToggle.svelte | 2 +- src/lib/VenueList.svelte | 2 +- src/lib/{i18n.js => i18n.svelte.js} | 0 src/main.js | 2 +- 10 files changed, 9 insertions(+), 9 deletions(-) rename src/lib/{i18n.js => i18n.svelte.js} (100%) diff --git a/CLAUDE.md b/CLAUDE.md index 8093185..a937b4d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -32,7 +32,7 @@ src/ MapView.svelte — Leaflet map with markers and walking route polylines utils.js — pure business logic (haversine, fairness, formatting) utils.test.js — unit tests for utils.js - i18n.js — translations (FR, EN, ES) and t() helper + i18n.svelte.js — translations (FR, EN, ES) and t() helper ``` ## Commands diff --git a/src/App.svelte b/src/App.svelte index 64f76d3..1b006cd 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -6,7 +6,7 @@ import MapView from './lib/MapView.svelte'; import GroupManager from './lib/GroupManager.svelte'; import { friends, venues, mode, ranking, unit, apiKey, setApiKey, tooFarApart, MAX_DISTANCE, MAX_ADDRESSES, searchVenues, rerankVenues, formatMaxDistance } from './lib/stores.svelte.js'; - import { t, locale, locales, localeLabels, setLocale } from './lib/i18n.js'; + import { t, locale, locales, localeLabels, setLocale } from './lib/i18n.svelte.js'; let selectedVenue = $state(null); let sidebarOpen = $state(true); diff --git a/src/lib/AddressInput.svelte b/src/lib/AddressInput.svelte index 9bc2a3f..46408ec 100644 --- a/src/lib/AddressInput.svelte +++ b/src/lib/AddressInput.svelte @@ -1,6 +1,6 @@