fix missing localisation on navigation tooltips
This commit is contained in:
parent
0f17d92314
commit
671c45085d
2 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
|||
import * as en_GB from '@cf/lang/en_GB.json';
|
||||
// import * as ga_IE from '@cf/lang/ga_IE.json';
|
||||
// import * as de_DE from '@cf/lang/de_DE.json';
|
||||
|
||||
/**
|
||||
* @returns Map<string, string | string[]>
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
|
||||
{#if $account}
|
||||
<div id="nav-items">
|
||||
<Button label="Timeline"
|
||||
<Button label="{lang.string('navigation.timeline')}"
|
||||
href="/")}
|
||||
active={$page.url.pathname === "/"}>
|
||||
<svelte:fragment slot="icon">
|
||||
|
@ -85,7 +85,7 @@
|
|||
</svelte:fragment>
|
||||
{lang.string('navigation.timeline')}
|
||||
</Button>
|
||||
<Button label="Notifications"
|
||||
<Button label="{lang.string('navigation.notifications')}"
|
||||
href="/notifications"}
|
||||
active={$page.url.pathname === "/notifications"}>
|
||||
<svelte:fragment slot="icon">
|
||||
|
@ -99,7 +99,7 @@
|
|||
{/if}
|
||||
</Button>
|
||||
{#if $followRequests.length > 0}
|
||||
<Button label="Follow requests"
|
||||
<Button label="{lang.string('navigation.follow_requests')}"
|
||||
href="/follow-requests"}
|
||||
active={$page.url.pathname === "/follow-requests"}>
|
||||
<svelte:fragment slot="icon">
|
||||
|
@ -111,13 +111,13 @@
|
|||
</span>
|
||||
</Button>
|
||||
{/if}
|
||||
<Button label="Explore" disabled>
|
||||
<Button label="{lang.string('navigation.explore')}" disabled>
|
||||
<svelte:fragment slot="icon">
|
||||
<ExploreIcon height="auto"/>
|
||||
</svelte:fragment>
|
||||
{lang.string('navigation.explore')}
|
||||
</Button>
|
||||
<Button label="Lists" disabled>
|
||||
<Button label="{lang.string('navigation.lists')}" disabled>
|
||||
<svelte:fragment slot="icon">
|
||||
<ListIcon/>
|
||||
</svelte:fragment>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue