mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-02 19:55:18 +02:00
Add new translations for distance, itinerary, and linked items in multiple languages; update UI to reflect new localization keys.
This commit is contained in:
parent
069bcfb58a
commit
9df0338c3d
12 changed files with 115 additions and 36 deletions
|
@ -269,7 +269,9 @@
|
|||
"sunrise": "Sonnenaufgang",
|
||||
"sunset": "Sonnenuntergang",
|
||||
"timed": "Zeitlich abgestimmt",
|
||||
"distance": "Distanz"
|
||||
"distance": "Distanz",
|
||||
"all_linked_items": "Alle verknüpften Elemente",
|
||||
"itinerary": "Route"
|
||||
},
|
||||
"home": {
|
||||
"desc_1": "Entdecken, planen und erkunden Sie mühelos",
|
||||
|
@ -672,7 +674,12 @@
|
|||
"contact": "Kontakt",
|
||||
"phone": "Telefon",
|
||||
"recommendation": "Empfehlung",
|
||||
"website": "Webseite"
|
||||
"website": "Webseite",
|
||||
"recommendations": "Empfehlungen",
|
||||
"adventure_recommendations": "Abenteuerempfehlungen",
|
||||
"food": "Essen",
|
||||
"miles": "Meilen",
|
||||
"tourism": "Tourismus"
|
||||
},
|
||||
"lodging": {
|
||||
"apartment": "Wohnung",
|
||||
|
|
|
@ -270,6 +270,8 @@
|
|||
"download_calendar": "Download Calendar",
|
||||
"all_day": "All Day",
|
||||
"ordered_itinerary": "Ordered Itinerary",
|
||||
"itinerary": "Itinerary",
|
||||
"all_linked_items": "All Linked Items",
|
||||
"date_itinerary": "Date Itinerary",
|
||||
"no_ordered_items": "Add items with dates to the collection to see them here.",
|
||||
"date_information": "Date Information",
|
||||
|
@ -702,6 +704,11 @@
|
|||
"phone": "Phone",
|
||||
"contact": "Contact",
|
||||
"website": "Website",
|
||||
"recommendation": "Recommendation"
|
||||
"recommendation": "Recommendation",
|
||||
"recommendations": "Recommendations",
|
||||
"adventure_recommendations": "Adventure Recommendations",
|
||||
"miles": "Miles",
|
||||
"food": "Food",
|
||||
"tourism": "Tourism"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -317,7 +317,9 @@
|
|||
"sunrise": "Amanecer",
|
||||
"sunset": "Atardecer",
|
||||
"timed": "Cronometrado",
|
||||
"distance": "Distancia"
|
||||
"distance": "Distancia",
|
||||
"all_linked_items": "Todos los artículos vinculados",
|
||||
"itinerary": "Itinerario"
|
||||
},
|
||||
"worldtravel": {
|
||||
"all": "Todo",
|
||||
|
@ -672,7 +674,12 @@
|
|||
"contact": "Contacto",
|
||||
"phone": "Teléfono",
|
||||
"recommendation": "Recomendación",
|
||||
"website": "Sitio web"
|
||||
"website": "Sitio web",
|
||||
"recommendations": "Recomendaciones",
|
||||
"adventure_recommendations": "Recomendaciones de aventura",
|
||||
"food": "Alimento",
|
||||
"miles": "Millas",
|
||||
"tourism": "Turismo"
|
||||
},
|
||||
"lodging": {
|
||||
"apartment": "Departamento",
|
||||
|
|
|
@ -269,7 +269,9 @@
|
|||
"sunrise": "Lever du soleil",
|
||||
"sunset": "Coucher de soleil",
|
||||
"timed": "Chronométré",
|
||||
"distance": "Distance"
|
||||
"distance": "Distance",
|
||||
"all_linked_items": "Tous les éléments liés",
|
||||
"itinerary": "Itinéraire"
|
||||
},
|
||||
"home": {
|
||||
"desc_1": "Découvrez, planifiez et explorez en toute simplicité",
|
||||
|
@ -672,7 +674,12 @@
|
|||
"contact": "Contact",
|
||||
"phone": "Téléphone",
|
||||
"recommendation": "Recommandation",
|
||||
"website": "Site web"
|
||||
"website": "Site web",
|
||||
"recommendations": "Recommandations",
|
||||
"adventure_recommendations": "Recommandations d'aventure",
|
||||
"food": "Nourriture",
|
||||
"miles": "Kilomètres",
|
||||
"tourism": "Tourisme"
|
||||
},
|
||||
"lodging": {
|
||||
"apartment": "Appartement",
|
||||
|
|
|
@ -269,7 +269,9 @@
|
|||
"sunrise": "Alba",
|
||||
"sunset": "Tramonto",
|
||||
"timed": "A tempo",
|
||||
"distance": "Distanza"
|
||||
"distance": "Distanza",
|
||||
"all_linked_items": "Tutti gli elementi collegati",
|
||||
"itinerary": "Itinerario"
|
||||
},
|
||||
"home": {
|
||||
"desc_1": "Scopri, pianifica ed esplora con facilità",
|
||||
|
@ -672,7 +674,12 @@
|
|||
"contact": "Contatto",
|
||||
"phone": "Telefono",
|
||||
"recommendation": "Raccomandazione",
|
||||
"website": "Sito web"
|
||||
"website": "Sito web",
|
||||
"recommendations": "Raccomandazioni",
|
||||
"adventure_recommendations": "Consigli di avventura",
|
||||
"food": "Cibo",
|
||||
"miles": "Miglia",
|
||||
"tourism": "Turismo"
|
||||
},
|
||||
"lodging": {
|
||||
"apartment": "Appartamento",
|
||||
|
|
|
@ -269,7 +269,9 @@
|
|||
"sunrise": "해돋이",
|
||||
"sunset": "일몰",
|
||||
"timed": "시간이 정해졌습니다",
|
||||
"distance": "거리"
|
||||
"distance": "거리",
|
||||
"all_linked_items": "모든 링크 된 항목",
|
||||
"itinerary": "여정"
|
||||
},
|
||||
"auth": {
|
||||
"both_passwords_required": "두 암호 모두 필요합니다",
|
||||
|
@ -454,7 +456,12 @@
|
|||
"contact": "연락처",
|
||||
"phone": "핸드폰",
|
||||
"recommendation": "추천",
|
||||
"website": "웹사이트"
|
||||
"website": "웹사이트",
|
||||
"recommendations": "권장 사항",
|
||||
"adventure_recommendations": "모험 추천",
|
||||
"food": "음식",
|
||||
"miles": "마일",
|
||||
"tourism": "관광 여행"
|
||||
},
|
||||
"search": {
|
||||
"adventurelog_results": "Adventurelog 결과",
|
||||
|
|
|
@ -269,7 +269,9 @@
|
|||
"sunrise": "Zonsopgang",
|
||||
"sunset": "Zonsondergang",
|
||||
"timed": "Getimed",
|
||||
"distance": "Afstand"
|
||||
"distance": "Afstand",
|
||||
"all_linked_items": "Alle gekoppelde items",
|
||||
"itinerary": "Routebeschrijving"
|
||||
},
|
||||
"home": {
|
||||
"desc_1": "Ontdek, plan en verken met gemak",
|
||||
|
@ -672,7 +674,12 @@
|
|||
"contact": "Contact",
|
||||
"phone": "Telefoon",
|
||||
"recommendation": "Aanbeveling",
|
||||
"website": "Website"
|
||||
"website": "Website",
|
||||
"recommendations": "Aanbevelingen",
|
||||
"adventure_recommendations": "Avontuuraanbevelingen",
|
||||
"food": "Voedsel",
|
||||
"miles": "Kilometers",
|
||||
"tourism": "Toerisme"
|
||||
},
|
||||
"lodging": {
|
||||
"apartment": "Appartement",
|
||||
|
|
|
@ -317,7 +317,9 @@
|
|||
"sunrise": "Soloppgang",
|
||||
"sunset": "Solnedgang",
|
||||
"timed": "Tidsbestemt",
|
||||
"distance": "Avstand"
|
||||
"distance": "Avstand",
|
||||
"all_linked_items": "Alle koblede varer",
|
||||
"itinerary": "Reiserute"
|
||||
},
|
||||
"worldtravel": {
|
||||
"country_list": "Liste over land",
|
||||
|
@ -702,6 +704,11 @@
|
|||
"phone": "Telefon",
|
||||
"contact": "Kontakt",
|
||||
"website": "Nettsted",
|
||||
"recommendation": "Anbefaling"
|
||||
"recommendation": "Anbefaling",
|
||||
"recommendations": "Anbefalinger",
|
||||
"adventure_recommendations": "Eventyranbefalinger",
|
||||
"food": "Mat",
|
||||
"miles": "Miles",
|
||||
"tourism": "Turisme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -317,7 +317,9 @@
|
|||
"sunrise": "Wschód słońca",
|
||||
"sunset": "Zachód słońca",
|
||||
"timed": "Czas",
|
||||
"distance": "Dystans"
|
||||
"distance": "Dystans",
|
||||
"all_linked_items": "Wszystkie połączone elementy",
|
||||
"itinerary": "Trasa"
|
||||
},
|
||||
"worldtravel": {
|
||||
"country_list": "Lista krajów",
|
||||
|
@ -672,7 +674,12 @@
|
|||
"contact": "Kontakt",
|
||||
"phone": "Telefon",
|
||||
"recommendation": "Zalecenie",
|
||||
"website": "Strona internetowa"
|
||||
"website": "Strona internetowa",
|
||||
"recommendations": "Zalecenia",
|
||||
"adventure_recommendations": "Zalecenia przygodowe",
|
||||
"food": "Żywność",
|
||||
"miles": "Mil",
|
||||
"tourism": "Turystyka"
|
||||
},
|
||||
"lodging": {
|
||||
"apartment": "Apartament",
|
||||
|
|
|
@ -269,7 +269,9 @@
|
|||
"sunrise": "Soluppgång",
|
||||
"sunset": "Solnedgång",
|
||||
"timed": "Tidsinställd",
|
||||
"distance": "Avstånd"
|
||||
"distance": "Avstånd",
|
||||
"all_linked_items": "Alla länkade objekt",
|
||||
"itinerary": "Resväg"
|
||||
},
|
||||
"home": {
|
||||
"desc_1": "Upptäck, planera och utforska med lätthet",
|
||||
|
@ -672,7 +674,12 @@
|
|||
"contact": "Kontakta",
|
||||
"phone": "Telefon",
|
||||
"recommendation": "Rekommendation",
|
||||
"website": "Webbplats"
|
||||
"website": "Webbplats",
|
||||
"recommendations": "Rekommendationer",
|
||||
"adventure_recommendations": "Äventyrsrekommendationer",
|
||||
"food": "Mat",
|
||||
"miles": "Miles",
|
||||
"tourism": "Turism"
|
||||
},
|
||||
"lodging": {
|
||||
"apartment": "Lägenhet",
|
||||
|
|
|
@ -317,7 +317,9 @@
|
|||
"sunrise": "日出",
|
||||
"sunset": "日落",
|
||||
"timed": "时间",
|
||||
"distance": "距离"
|
||||
"distance": "距离",
|
||||
"all_linked_items": "所有链接的项目",
|
||||
"itinerary": "行程"
|
||||
},
|
||||
"auth": {
|
||||
"forgot_password": "忘记密码?",
|
||||
|
@ -672,7 +674,12 @@
|
|||
"contact": "联系方式",
|
||||
"phone": "电话",
|
||||
"recommendation": "推荐",
|
||||
"website": "网站"
|
||||
"website": "网站",
|
||||
"recommendations": "建议",
|
||||
"adventure_recommendations": "冒险建议",
|
||||
"food": "食物",
|
||||
"miles": "英里",
|
||||
"tourism": "旅游"
|
||||
},
|
||||
"lodging": {
|
||||
"campground": "露营地",
|
||||
|
|
|
@ -781,11 +781,11 @@
|
|||
value={currentView}
|
||||
on:change={changeHash}
|
||||
>
|
||||
<option value="itinerary">📅 Itinerary</option>
|
||||
<option value="all">🗒️ All Linked Items</option>
|
||||
<option value="calendar">🗓️ Calendar</option>
|
||||
<option value="map">🗺️ Map</option>
|
||||
<option value="recommendations">👍️ Recommendations</option>
|
||||
<option value="itinerary">📅 {$t('adventures.itinerary')}</option>
|
||||
<option value="all">🗒️ {$t('adventures.all_linked_items')}</option>
|
||||
<option value="calendar">🗓️ {$t('navbar.calendar')}</option>
|
||||
<option value="map">🗺️ {$t('navbar.map')}</option>
|
||||
<option value="recommendations">👍️ {$t('recomendations.recommendations')}</option>
|
||||
</select>
|
||||
<div class="md:flex justify-center mx-auto hidden">
|
||||
<!-- svelte-ignore a11y-missing-attribute -->
|
||||
|
@ -796,32 +796,32 @@
|
|||
href="#itinerary"
|
||||
role="tab"
|
||||
class="tab {currentView === 'itinerary' ? 'tab-active' : ''}"
|
||||
tabindex="0">Itinerary</a
|
||||
tabindex="0">{$t('adventures.itinerary')}</a
|
||||
>
|
||||
{/if}
|
||||
<a
|
||||
href="#all"
|
||||
role="tab"
|
||||
class="tab {currentView === 'all' ? 'tab-active' : ''}"
|
||||
tabindex="0">All Linked Items</a
|
||||
tabindex="0">{$t('adventures.all_linked_items')}</a
|
||||
>
|
||||
<a
|
||||
href="#calendar"
|
||||
role="tab"
|
||||
class="tab {currentView === 'calendar' ? 'tab-active' : ''}"
|
||||
tabindex="0">Calendar</a
|
||||
tabindex="0">{$t('navbar.calendar')}</a
|
||||
>
|
||||
<a
|
||||
href="#map"
|
||||
role="tab"
|
||||
class="tab {currentView === 'map' ? 'tab-active' : ''}"
|
||||
tabindex="0">Map</a
|
||||
tabindex="0">{$t('navbar.map')}</a
|
||||
>
|
||||
<a
|
||||
href="#recommendations"
|
||||
role="tab"
|
||||
class="tab {currentView === 'recommendations' ? 'tab-active' : ''}"
|
||||
tabindex="0">Recommendations</a
|
||||
tabindex="0">{$t('recomendations.recommendations')}</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1372,7 +1372,9 @@
|
|||
{#if currentView == 'recommendations' && data.user}
|
||||
<div class="card bg-base-200 shadow-xl my-8 mx-auto w-10/12">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title text-3xl justify-center mb-4">Adventure Recommendations</h2>
|
||||
<h2 class="card-title text-3xl justify-center mb-4">
|
||||
{$t('recomendations.adventure_recommendations')}
|
||||
</h2>
|
||||
{#each adventures as adventure}
|
||||
{#if adventure.longitude && adventure.latitude}
|
||||
<button on:click={() => getRecomendations(adventure)} class="btn btn-neutral"
|
||||
|
@ -1396,7 +1398,7 @@
|
|||
/>
|
||||
<div class="flex w-full justify-between px-2">
|
||||
<span class="text-lg">
|
||||
{(recomendationsRange / 1609.344).toFixed(1)} miles ({(
|
||||
{(recomendationsRange / 1609.344).toFixed(1)} mi ({(
|
||||
recomendationsRange / 1000
|
||||
).toFixed(1)} km)
|
||||
</span>
|
||||
|
@ -1406,7 +1408,7 @@
|
|||
class="join-item btn btn-neutral"
|
||||
type="radio"
|
||||
name="options"
|
||||
aria-label="Tourism"
|
||||
aria-label={$t('recomendations.tourism')}
|
||||
checked={recomendationType == 'tourism'}
|
||||
on:click={() => (recomendationType = 'tourism')}
|
||||
/>
|
||||
|
@ -1414,7 +1416,7 @@
|
|||
class="join-item btn btn-neutral"
|
||||
type="radio"
|
||||
name="options"
|
||||
aria-label="Food"
|
||||
aria-label={$t('recomendations.food')}
|
||||
checked={recomendationType == 'food'}
|
||||
on:click={() => (recomendationType = 'food')}
|
||||
/>
|
||||
|
@ -1422,7 +1424,7 @@
|
|||
class="join-item btn btn-neutral"
|
||||
type="radio"
|
||||
name="options"
|
||||
aria-label="Lodging"
|
||||
aria-label={$t('adventures.lodging')}
|
||||
checked={recomendationType == 'lodging'}
|
||||
on:click={() => (recomendationType = 'lodging')}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue