release v0.5.0

This commit is contained in:
Christian Beutel
2024-05-02 22:54:19 +02:00
parent dc63fb0d76
commit 844d5771e8
15 changed files with 49 additions and 14 deletions

View File

@@ -95,5 +95,5 @@
d="M43.857 43.3045C44.0569 43.0652 44.4246 43.0652 44.6245 43.3045L46.6259 45.7008C46.8978 46.0263 46.6663 46.5213 46.2421 46.5213H42.2394C41.8152 46.5213 41.5837 46.0263 41.8556 45.7008L43.857 43.3045Z"
fill="#242734"
/>
<text x="178" y="64" fill="white" font-size="0.75rem">v0.4.0</text>
<text x="178" y="64" fill="white" font-size="0.75rem">v0.5.0</text>
</svg>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -24,6 +24,7 @@
"contribute": "Mitwirken",
"create-new-list": "Neue Liste erstellen",
"creation-date": "Erstellungsdatum",
"cycling": "Radfahren",
"danger-zone": "Gefahrenzone",
"date": "Datum",
"default-location": "Standort",
@@ -41,6 +42,7 @@
"documentation": "Dokumentation",
"download-gpx": "GPX herunterladen",
"draw-a-route": "Route zeichnen",
"driving": "Auto",
"dutch": "Niederländisch",
"easy": "Einfach",
"edit": "Bearbeiten",
@@ -67,6 +69,7 @@
"hero_section_1_text": "Hier sind einige Routen, die dir gefallen könnten. Oder du wirfst einen Blick auf die vollständige Liste.",
"hero_section_1_text_alternative": "Speichere dein letztes Abenteuer, um loszulegen.",
"hero_section_2_text": "Wusstest du schon? Du kannst nicht nur deine Routen speichern. Es gibt viele Kategorien für alle deine Abenteuer.",
"hiking": "Wandern",
"hungarian": "Ungarisch",
"icon": "Icon",
"imperial": "Amerikanisch",

View File

@@ -24,6 +24,7 @@
"contribute": "Contribute",
"create-new-list": "Create new list",
"creation-date": "Creation date",
"cycling": "Cycling",
"danger-zone": "Danger zone",
"date": "Date",
"default-location": "Default Location",
@@ -41,6 +42,7 @@
"documentation": "Documentation",
"download-gpx": "Download GPX",
"draw-a-route": "Draw a route",
"driving": "Driving",
"dutch": "Dutch",
"easy": "Easy",
"edit": "Edit",
@@ -67,6 +69,7 @@
"hero_section_1_text": "Here are some trails you might like. Or you can just go to the full list right now.",
"hero_section_1_text_alternative": "Get started by saving your latest adventure.",
"hero_section_2_text": "Did you know? You cannot only save you hiking trails. There are many categories for all your adventures.",
"hiking": "Hiking",
"hungarian": "Hungarian",
"icon": "Icon",
"imperial": "Imperial",

View File

@@ -24,6 +24,7 @@
"contribute": "Contribuer",
"create-new-list": "Créer une nouvelle liste",
"creation-date": "Date de création",
"cycling": "",
"danger-zone": "Zone de danger",
"date": "Date",
"default-location": "Endroit pas défaut",
@@ -41,6 +42,7 @@
"documentation": "Documentation",
"download-gpx": "Télécharger le GPX",
"draw-a-route": "",
"driving": "",
"dutch": "Néerlandais",
"easy": "Facile",
"edit": "Editer",
@@ -67,6 +69,7 @@
"hero_section_1_text": "Voici quelques itinéraires qui pourraient vous plaire. Vous pouvez également consulter la liste complète dès maintenant.",
"hero_section_1_text_alternative": "Commencez par enregistrer votre dernière aventure.",
"hero_section_2_text": "Le saviez-vous ? Vous ne pouvez pas vous contenter que de sauver vos itinéraires de randonnée. Il existe de nombreuses catégories pour toutes vos aventures.",
"hiking": "",
"hungarian": "Hongrois",
"icon": "Icône",
"imperial": "Impérial",

View File

@@ -24,6 +24,7 @@
"contribute": "Hozzájárulás",
"create-new-list": "Új lista létrehozása",
"creation-date": "létrehozás dátuma",
"cycling": "",
"danger-zone": "Veszélyes zóna",
"date": "Dátum",
"default-location": "Alapértelmezett hely",
@@ -41,6 +42,7 @@
"documentation": "Dokumentáció",
"download-gpx": "GPX letöltése",
"draw-a-route": "",
"driving": "",
"dutch": "Holland",
"easy": "Könnyű",
"edit": "Szerkesztés",
@@ -67,6 +69,7 @@
"hero_section_1_text": "Íme néhány nyomvonal, amely tetszeni fog. Vagy csak menj a teljes listára most rögtön.",
"hero_section_1_text_alternative": "Kezdje a legújabb kaland elmentésével.",
"hero_section_2_text": "Tudta? Nem csak a túraútvonalakat mentheti el. Számos kategória létezik minden kalandodhoz.",
"hiking": "",
"hungarian": "Magyar",
"icon": "Ikon",
"imperial": "Angolszász",

View File

@@ -24,6 +24,7 @@
"contribute": "Bijdragen",
"create-new-list": "Nieuwe lijst",
"creation-date": "Aanmaakdatum",
"cycling": "",
"danger-zone": "Gevarenzone",
"date": "Datum",
"default-location": "Standaardlocatie",
@@ -41,6 +42,7 @@
"documentation": "Documentatie",
"download-gpx": "GPX-bestand downloaden",
"draw-a-route": "",
"driving": "",
"dutch": "Nederlands",
"easy": "Makkelijk",
"edit": "Bewerken",
@@ -67,6 +69,7 @@
"hero_section_1_text": "Wellicht vind je deze routes interessant. Ook kun je de volledige lijst bekijken.",
"hero_section_1_text_alternative": "Bewaar je recentste avontuur om aan de slag te gaan.",
"hero_section_2_text": "Wist je dat…? Je kunt niet alleen wandelroutes opslaan: er zijn ook categorieën voor andere avonturen.",
"hiking": "",
"hungarian": "Hongaars",
"icon": "Pictogram",
"imperial": "Imperiaal",

View File

@@ -24,6 +24,7 @@
"contribute": "Kontrybuuj",
"create-new-list": "Stwórz nową listę",
"creation-date": "Data dodania",
"cycling": "",
"danger-zone": "Strefa niebezpieczna",
"date": "Data",
"default-location": "Domyślna Lokalizacja",
@@ -41,6 +42,7 @@
"documentation": "Dokumentacja",
"download-gpx": "Popierz GPX",
"draw-a-route": "",
"driving": "",
"dutch": "Niderlandzki",
"easy": "Łatwy",
"edit": "Edytuj",
@@ -67,6 +69,7 @@
"hero_section_1_text": "Oto kila ścieżek które możesz zobaczyć lub możesz przejść do pełnej listy.",
"hero_section_1_text_alternative": "Zacznij poprzez zapisanie swojej ostatniej wyprawy.",
"hero_section_2_text": "Czy wiesz że, możesz zapisywać nie tylko piesze wycieczki ale także inne kategorie wypraw?",
"hiking": "",
"hungarian": "Język węgierski",
"icon": "Ikona",
"imperial": "Anglosaskie",

View File

@@ -24,6 +24,7 @@
"contribute": "Contribuir",
"create-new-list": "Criar nova lista",
"creation-date": "Data de criação",
"cycling": "",
"danger-zone": "Zona de perigo",
"date": "Data",
"default-location": "Localização padrão",
@@ -41,6 +42,7 @@
"documentation": "Documentação",
"download-gpx": "Baixar GPX",
"draw-a-route": "",
"driving": "",
"dutch": "Holandês",
"easy": "Fácil",
"edit": "Editar",
@@ -67,6 +69,7 @@
"hero_section_1_text": "Aqui estão algumas trilhas que você pode gostar. Ou podes ir à lista completa agora.",
"hero_section_1_text_alternative": "Comece salvando sua última aventura.",
"hero_section_2_text": "Sabias? Você não pode apenas salvá-lo trilhas de caminhada. Há muitas categorias para todas as suas aventuras.",
"hiking": "",
"hungarian": "Húngaro",
"icon": "Ícone",
"imperial": "Imperial",

View File

@@ -24,6 +24,7 @@
"contribute": "贡献",
"create-new-list": "创建新列表",
"creation-date": "创建日期",
"cycling": "",
"danger-zone": "危险区域",
"date": "日期",
"default-location": "默认地点",
@@ -41,6 +42,7 @@
"documentation": "文档",
"download-gpx": "下载 GPX",
"draw-a-route": "",
"driving": "",
"dutch": "荷兰语",
"easy": "简单",
"edit": "编辑",
@@ -67,6 +69,7 @@
"hero_section_1_text": "以下有你可能喜欢的线路,或者立刻浏览全部列表。",
"hero_section_1_text_alternative": "即刻开始规划您最新的冒险。",
"hero_section_2_text": "你知道吗?这里不仅仅可以收藏你的登山路线,还能为您的所有冒险放到相应的类别里面。",
"hiking": "",
"hungarian": "匈牙利语",
"icon": "图标",
"imperial": "英制",

View File

@@ -357,14 +357,14 @@ export async function fetchGPX(trail: Trail, f: (url: RequestInfo | URL, config?
function buildFilterText(filter: TrailFilter, includeGeo: boolean): string {
let filterText: string = "";
filterText += `distance >= ${filter.distanceMin} AND elevation_gain >= ${filter.elevationGainMin}`
filterText += `distance >= ${Math.floor(filter.distanceMin)} AND elevation_gain >= ${Math.floor(filter.elevationGainMin)}`
if (filter.distanceMax < filter.distanceLimit) {
filterText += ` AND distance <= ${filter.distanceMax}`
filterText += ` AND distance <= ${Math.ceil(filter.distanceMax)}`
}
if (filter.elevationGainMax < filter.elevationGainLimit) {
filterText += ` AND elevation_gain <= ${filter.elevationGainMax}`
filterText += ` AND elevation_gain <= ${Math.ceil(filter.elevationGainMax)}`
}
filterText += ` AND difficulty IN [${filter.difficulty.join(",")}]`

View File

@@ -493,7 +493,7 @@
loading={printLoading}
extraClasses="mt-2"
primary={true}
on:click={print}>Print!</Button
on:click={print}>{$_("print")}!</Button
>
</div>
@@ -535,9 +535,7 @@
>
<span
><i class="fa fa-left-right mr-2"
></i>{formatDistance(
$trail.distance,
)}</span
></i>{formatDistance($trail.distance)}</span
>
<span
><i class="fa fa-up-down mr-2"

View File

@@ -101,9 +101,9 @@
});
const modesOfTransport = [
{ text: "Hiking", value: "pedestrian" },
{ text: "Cycling", value: "bicycle" },
{ text: "Driving", value: "auto" },
{ text: $_('hiking'), value: "pedestrian" },
{ text: $_('cycling'), value: "bicycle" },
{ text: $_('driving'), value: "auto" },
];
let selectedModeOfTransport = modesOfTransport[0].value;