Refactor localization strings and add missing translations

This commit is contained in:
Sean Morley
2024-10-29 10:29:03 -04:00
parent fcd2d27221
commit 05076a6732
15 changed files with 1245 additions and 441 deletions

View File

@@ -1,6 +1,7 @@
<script lang="ts">
import { goto } from '$app/navigation';
import type { PageData } from './$types';
import { t } from 'svelte-i18n';
export let data: PageData;
@@ -11,8 +12,8 @@
<table class="table table-compact">
<thead>
<tr>
<th>Activity</th>
<th>Actions</th>
<th>{$t('adventures.activity')}</th>
<th>{$t('adventures.actions')}</th>
</tr>
</thead>
<tbody>
@@ -23,7 +24,7 @@
<button
class="btn btn-sm btn-primary"
on:click={() => goto(`/search?query=${activity}&property=activity_types`)}
>See Adventures</button
>{$t('adventures.see_adventures')}</button
>
</td>
</tr>