diff --git a/yr.user.js b/yr.user.js index e268b52..a458459 100644 --- a/yr.user.js +++ b/yr.user.js @@ -38,6 +38,12 @@ "nb": "kart/radar", "nn": "kart/radar", "sme": "kárta/rádár" + }, + "myPlaces": { + "en": "My locations", + "nb": "Mine steder", + "nn": "Mine stader", + "sme": "Mu báikkit" } }; @@ -70,9 +76,9 @@ const locationPromises = combinedLocations.map(id => fetch(`https://www.yr.no/api/v0/locations/${id}?language=${lang_code}`).then(response => response.json())); const locations = await Promise.all(locationPromises); - menu.innerHTML = '