Skip to content

Commit

Permalink
Fix duplicate translation keys
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed Jul 4, 2024
1 parent 6c48816 commit 9897fa2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/left-bar/LaunchButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
</span>
{:else if !isInstallLaunchable}
<span>
<T defaultValue="The Mod Manager is not capable of launching this install type, but it will still manage the mod files for you. Launch Satisfactory using your usual game launcher." keyName="launch-button.cant-launch"/>
<T defaultValue="The Mod Manager is not capable of launching this install type, but it will still manage the mod files for you. Launch Satisfactory using your usual game launcher." keyName="launch-button.cant-launch-tooltip"/>
</span>
{:else}
<span>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lib/components/mod-details/ModDetails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
{#if mod.compatibility.EA.note}
<Markdown class="[&>p]:my-0" markdown={mod.compatibility.EA.note} />
{:else}
<T defaultValue="(No further notes provided)" keyName="mod-details.compatibility-no-notes" />
<T defaultValue="(No further notes provided)" keyName="mod.compatibility-no-notes" />
{/if}
</Tooltip>
<div use:popup={compatEXPPopup}>
Expand All @@ -312,7 +312,7 @@
{#if mod.compatibility.EXP.note}
<Markdown class="[&>p]:my-0" markdown={mod.compatibility.EXP.note} />
{:else}
<T defaultValue="(No further notes provided)" keyName="mod-details.compatibility-no-notes" />
<T defaultValue="(No further notes provided)" keyName="mod.compatibility-no-notes" />
{/if}
</Tooltip>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/components/mods-list/ModsListItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
compatibility = {
state: result.state,
note: $t('mod-list-item.compatibility-note', 'This mod has been reported as {state} on this game version.', { state: result.state })
+ result.note ? '<br>' + result.note : ' ' + $t('mod-list-item.compatibility-note-none', '(No further notes provided)'),
+ result.note ? '<br>' + result.note : ' ' + $t('mod.compatibility-no-notes', '(No further notes provided)'),
source: 'reported',
};
} else {
Expand Down

0 comments on commit 9897fa2

Please sign in to comment.