1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 13:29:37 +02:00

Translate some regions into english

This commit is contained in:
Sean Morley 2024-08-20 17:47:37 -04:00
parent 027956a015
commit 53272a58f8
6 changed files with 498 additions and 475 deletions

View file

@ -57,7 +57,11 @@
class="card w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-md xl:max-w-md bg-primary-content shadow-xl overflow-hidden text-base-content"
>
<div class="card-body">
<h2 class="card-title overflow-ellipsis">{region.name}</h2>
{#if region.name == region.name_en}
<h2 class="card-title overflow-ellipsis">{region.name}</h2>
{:else}
<h2 class="card-title overflow-ellipsis">{region.name} ({region.name_en})</h2>
{/if}
<p>{region.id}</p>
<div class="card-actions justify-end">
<!-- <button class="btn btn-info" on:click={moreInfo}>More Info</button> -->