fix: a wrong-slot removal reads without a counted noun (M498)
release / govulncheck (push) Successful in 15s
release / web (push) Successful in 1m28s
release / go (push) Successful in 1m38s
release / integration (push) Successful in 5m9s
release / android (push) Successful in 5m11s
release / Build signed APK (releases and dev) (push) Successful in 5m21s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 29s
release / Verify release artifacts (tag releases only) (push) Skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-19 23:31:11 -04:00
co-authored by Claude Opus 5.5
parent 0f58ebcd6c
commit 80c711ac9d
2 changed files with 3 additions and 4 deletions
@@ -250,9 +250,8 @@
</p>
{:else if item.action === 'duplicate_wrong_file'}
<p class="text-text-primary">
{item.details.artist}: the recording of {item.details.kept_title} also filled the
{plural(removed.length, 'slot', 'slots')} of {removed.map((r) => r.title).join(', ')}.
Removed; the album will be fetched again.
{item.details.artist}: the recording of {item.details.kept_title} was also filed as
{removed.map((r) => r.title).join(', ')}. Removed from there; the album will be fetched again.
</p>
{:else}
<p class="text-text-primary">
@@ -378,7 +378,7 @@ describe('admin duplicates', () => {
const items = screen.getAllByTestId('resolved-item').map(text);
expect(items[0]).toContain('Moe Shop: Lovesick and Lovesick (Instrumental) are different versions, not duplicates. Both kept.');
expect(items[1]).toContain(
'Savant: the recording of Void also filled the slot of Reach. Removed; the album will be fetched again.'
'Savant: the recording of Void was also filed as Reach. Removed from there; the album will be fetched again.'
);
expect(items[1]).toContain('/data/Music/Savant/Void/17 - Reach.m4a');
});