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 en_GB from '@cf/lang/en_GB.json'; | ||||||
| // import * as ga_IE from '@cf/lang/ga_IE.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[]> |  * @returns Map<string, string | string[]> | ||||||
|  |  | ||||||
|  | @ -77,7 +77,7 @@ | ||||||
| 
 | 
 | ||||||
|     {#if $account} |     {#if $account} | ||||||
|     <div id="nav-items"> |     <div id="nav-items"> | ||||||
|         <Button label="Timeline" |         <Button label="{lang.string('navigation.timeline')}" | ||||||
|                 href="/")} |                 href="/")} | ||||||
|                 active={$page.url.pathname === "/"}> |                 active={$page.url.pathname === "/"}> | ||||||
|             <svelte:fragment slot="icon"> |             <svelte:fragment slot="icon"> | ||||||
|  | @ -85,7 +85,7 @@ | ||||||
|             </svelte:fragment> |             </svelte:fragment> | ||||||
|             {lang.string('navigation.timeline')} |             {lang.string('navigation.timeline')} | ||||||
|         </Button> |         </Button> | ||||||
|         <Button label="Notifications" |         <Button label="{lang.string('navigation.notifications')}" | ||||||
|                 href="/notifications"} |                 href="/notifications"} | ||||||
|                 active={$page.url.pathname === "/notifications"}> |                 active={$page.url.pathname === "/notifications"}> | ||||||
|             <svelte:fragment slot="icon"> |             <svelte:fragment slot="icon"> | ||||||
|  | @ -99,7 +99,7 @@ | ||||||
|             {/if} |             {/if} | ||||||
|         </Button> |         </Button> | ||||||
|         {#if $followRequests.length > 0} |         {#if $followRequests.length > 0} | ||||||
|             <Button label="Follow requests" |             <Button label="{lang.string('navigation.follow_requests')}" | ||||||
|                     href="/follow-requests"} |                     href="/follow-requests"} | ||||||
|                     active={$page.url.pathname === "/follow-requests"}> |                     active={$page.url.pathname === "/follow-requests"}> | ||||||
|                 <svelte:fragment slot="icon"> |                 <svelte:fragment slot="icon"> | ||||||
|  | @ -111,13 +111,13 @@ | ||||||
|                 </span> |                 </span> | ||||||
|             </Button> |             </Button> | ||||||
|         {/if} |         {/if} | ||||||
|         <Button label="Explore" disabled> |         <Button label="{lang.string('navigation.explore')}" disabled> | ||||||
|             <svelte:fragment slot="icon"> |             <svelte:fragment slot="icon"> | ||||||
|                 <ExploreIcon height="auto"/> |                 <ExploreIcon height="auto"/> | ||||||
|             </svelte:fragment> |             </svelte:fragment> | ||||||
|             {lang.string('navigation.explore')} |             {lang.string('navigation.explore')} | ||||||
|         </Button> |         </Button> | ||||||
|         <Button label="Lists" disabled> |         <Button label="{lang.string('navigation.lists')}" disabled> | ||||||
|             <svelte:fragment slot="icon"> |             <svelte:fragment slot="icon"> | ||||||
|                 <ListIcon/> |                 <ListIcon/> | ||||||
|             </svelte:fragment> |             </svelte:fragment> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue