refactor: update dialog messages to specify deletion from RomM database

This commit is contained in:
zurdi
2024-12-08 09:58:14 +00:00
parent e6648d9ed1
commit 3cbefeaf04
4 changed files with 7 additions and 4 deletions

View File

@@ -119,13 +119,15 @@ function closeDialog() {
<span class="text-romm-accent-1 mx-1">{{ assets.length }}</span>
<span>{{ assetType.slice(5) }} of</span>
<span class="text-romm-accent-1 mx-1">{{ romRef?.name }}</span>
<span>from RomM</span>
</v-row>
</template>
<template #prepend>
<v-list-item class="text-caption text-center">
<span
>Select the {{ assetType.slice(5) }} you want to remove from your
filesystem, otherwise they will only be deleted from database.</span
filesystem, otherwise they will only be deleted from RomM
database.</span
>
</v-list-item>
</template>

View File

@@ -98,14 +98,14 @@ function closeDialog() {
<v-row no-gutters class="justify-center">
<span>Removing</span>
<span class="text-romm-accent-1 mx-1">{{ roms.length }}</span>
<span>games</span>
<span>games from RomM</span>
</v-row>
</template>
<template #prepend>
<v-list-item class="text-caption text-center">
<span
>Select the games you want to remove from your filesystem, otherwise
they will only be deleted from database.</span
they will only be deleted from RomM database.</span
>
</v-list-item>
</template>

View File

@@ -71,7 +71,7 @@ function closeDialog() {
>{{ platform.name }} - [<span class="text-romm-accent-1">{{
platform.fs_slug
}}</span
>].</span
>] from RomM.</span
>
<span class="ml-1">Do you confirm?</span>
</v-row>

View File

@@ -26,6 +26,7 @@ const coverAspectRatio = ref(
emitter?.on("showSearchCoverDialog", ({ term, aspectRatio = null }) => {
searchTerm.value = term;
show.value = true;
// TODO: set default aspect ratio to 2/3
if (aspectRatio) coverAspectRatio.value = aspectRatio;
if (searchTerm.value) searchCovers();
});