Skip to content

Commit

Permalink
fix: #1044 (translations);
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Feb 18, 2023
1 parent c49cd2a commit 643ffa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/_main_/header/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ TODO:FIXME: not generating for each LANG
s-14
"
>
{HEADER_TRANSLATION_DATA?.data?.profile || 'Profile'}
{HEADER_TRANSLATION_DATA?.scores_header_translations?.data?.profile || 'Profile'}
</p>
</div>
</a>
Expand All @@ -1216,7 +1216,7 @@ TODO:FIXME: not generating for each LANG
s-14
"
>
{HEADER_TRANSLATION_DATA?.data?.logout || 'Logout'}
{HEADER_TRANSLATION_DATA?.scores_header_translations?.data?.logout || 'Logout'}
</p>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/lib/models/_main_/navbar/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ export interface Cache_Single_Lang_Header_Translation_Response {
scores_header_links: Header_Links;
scores_header_fixtures_information: Header_Sports_Info;
scores_top_bar_messages: Header_Top_Bar_Messages;
data: {
profile: string;
logout: string;
}
}

/**
Expand Down Expand Up @@ -48,6 +44,10 @@ export interface Header_Translation {
homepage: string;
more_sports: string;
sports_list: string;
data: {
profile: string;
logout: string;
}
}

/**
Expand Down

0 comments on commit 643ffa2

Please sign in to comment.