From 9897fa2823e60c106783e91ce60935ff7a8d2a7d Mon Sep 17 00:00:00 2001 From: Mircea Roata Date: Thu, 4 Jul 2024 20:52:41 +0300 Subject: [PATCH] Fix duplicate translation keys --- frontend/src/lib/components/left-bar/LaunchButton.svelte | 2 +- frontend/src/lib/components/mod-details/ModDetails.svelte | 4 ++-- frontend/src/lib/components/mods-list/ModsListItem.svelte | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/lib/components/left-bar/LaunchButton.svelte b/frontend/src/lib/components/left-bar/LaunchButton.svelte index 26b55de8..bf415f80 100644 --- a/frontend/src/lib/components/left-bar/LaunchButton.svelte +++ b/frontend/src/lib/components/left-bar/LaunchButton.svelte @@ -282,7 +282,7 @@ {:else if !isInstallLaunchable} - + {:else} diff --git a/frontend/src/lib/components/mod-details/ModDetails.svelte b/frontend/src/lib/components/mod-details/ModDetails.svelte index 4242c054..5dcd10bd 100644 --- a/frontend/src/lib/components/mod-details/ModDetails.svelte +++ b/frontend/src/lib/components/mod-details/ModDetails.svelte @@ -299,7 +299,7 @@ {#if mod.compatibility.EA.note} {:else} - + {/if}
@@ -312,7 +312,7 @@ {#if mod.compatibility.EXP.note} {:else} - + {/if}
diff --git a/frontend/src/lib/components/mods-list/ModsListItem.svelte b/frontend/src/lib/components/mods-list/ModsListItem.svelte index c438b00a..7a385ca5 100644 --- a/frontend/src/lib/components/mods-list/ModsListItem.svelte +++ b/frontend/src/lib/components/mods-list/ModsListItem.svelte @@ -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 ? '
' + result.note : ' ' + $t('mod-list-item.compatibility-note-none', '(No further notes provided)'), + + result.note ? '
' + result.note : ' ' + $t('mod.compatibility-no-notes', '(No further notes provided)'), source: 'reported', }; } else {