From c1e10f14a30797c76169c2531de5d04976ee4888 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 2 Sep 2025 15:43:36 +0200 Subject: [PATCH] fix: resolve translation interpolation issue for download button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed the download selected button not displaying count properly. The translation key 'gallery.downloadSelected' was not receiving the count parameter for interpolation, causing "{{count}}" to display literally instead of the actual number. Fixes the issue where the button showed: - "Download {{count}} Selected" instead of "Download 2 Selected" - "{{count}} ausgewählte herunterladen" instead of "3 ausgewählte herunterladen" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- frontend/src/components/gallery/GallerySidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/gallery/GallerySidebar.tsx b/frontend/src/components/gallery/GallerySidebar.tsx index 00ad87a..2d60725 100644 --- a/frontend/src/components/gallery/GallerySidebar.tsx +++ b/frontend/src/components/gallery/GallerySidebar.tsx @@ -194,7 +194,7 @@ export const GallerySidebar: React.FC = ({ disabled={isDownloading} className="w-full" > - {t('gallery.downloadSelected')} ({selectedCount}) + {t('gallery.downloadSelected', { count: selectedCount })} ({selectedCount}) )}