aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/+layout.svelte4
-rw-r--r--src/routes/tools/+page.svelte4
-rw-r--r--src/routes/tools/[tool]/+page.svelte2
3 files changed, 6 insertions, 4 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 6d57ff78..a29529d7 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -116,7 +116,9 @@
<a href={root('/schedule')} class="header-item">{$locale().navigation.subtitleSchedule}</a
>
<a href={root('/updates')} class="header-item">{$locale().navigation.newReleases}</a>
- <a href={root('/birthdays')} class="header-item">Character Birthdays</a>
+ <a href={root('/birthdays')} class="header-item">
+ {$locale().tools.tool.characterBirthdays.short}
+ </a>
</div>
</div>
<a href={root('/tools')} class="header-item">{$locale().navigation.tools}</a>
diff --git a/src/routes/tools/+page.svelte b/src/routes/tools/+page.svelte
index edc18410..6dac37ec 100644
--- a/src/routes/tools/+page.svelte
+++ b/src/routes/tools/+page.svelte
@@ -9,7 +9,7 @@
<Picker {tool} />
-<HeadTitle route={tools[tool].name} path={`/tools?tool=${tool}`} />
+<HeadTitle route={tools[tool].name()} path={`/tools?tool=${tool}`} />
<div class="card">
<p>Select a tool to continue.</p>
@@ -18,7 +18,7 @@
{#each Object.keys(tools) as t}
{#if t !== 'default'}
<li>
- <a href={root(`/tools/${tools[t].id}`)} on:click={() => (tool = t)}>{tools[t].name}</a>
+ <a href={root(`/tools/${tools[t].id}`)} on:click={() => (tool = t)}>{tools[t].name()}</a>
{#if tools[t].description}
<blockquote>{tools[t].description}</blockquote>
{/if}
diff --git a/src/routes/tools/[tool]/+page.svelte b/src/routes/tools/[tool]/+page.svelte
index e6f151ad..137df74d 100644
--- a/src/routes/tools/[tool]/+page.svelte
+++ b/src/routes/tools/[tool]/+page.svelte
@@ -45,7 +45,7 @@
</blockquote>
</div>
{:else}
- <HeadTitle route={tools[tool].name} path={`/tools?tool=${tool}`} />
+ <HeadTitle route={tools[tool].name()} path={`/tools?tool=${tool}`} />
{#if tool === 'activity_history'}
<ActivityHistory user={data.user} />