From 745140fa6bc12570885e1272c7e4c3cd8cba4709 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sat, 1 Jun 2024 10:40:56 +1000 Subject: [PATCH] feat(ui): "first image"/"second image" -> "viewer image"/"compare image" --- invokeai/frontend/web/public/locales/en.json | 4 ++-- .../gallery/components/ImageViewer/ImageComparisonSlider.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/invokeai/frontend/web/public/locales/en.json b/invokeai/frontend/web/public/locales/en.json index aaa6c4e441..351e483fcc 100644 --- a/invokeai/frontend/web/public/locales/en.json +++ b/invokeai/frontend/web/public/locales/en.json @@ -378,8 +378,8 @@ "bulkDownloadFailed": "Download Failed", "problemDeletingImages": "Problem Deleting Images", "problemDeletingImagesDesc": "One or more images could not be deleted", - "firstImage": "First Image", - "secondImage": "Second Image", + "viewerImage": "Viewer Image", + "compareImage": "Compare Image", "selectForCompare": "Select for Compare", "selectAnImageToCompare": "Select an Image to Compare", "slider": "Slider", diff --git a/invokeai/frontend/web/src/features/gallery/components/ImageViewer/ImageComparisonSlider.tsx b/invokeai/frontend/web/src/features/gallery/components/ImageViewer/ImageComparisonSlider.tsx index e0d5e7fbd4..269c394498 100644 --- a/invokeai/frontend/web/src/features/gallery/components/ImageViewer/ImageComparisonSlider.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/ImageViewer/ImageComparisonSlider.tsx @@ -184,7 +184,7 @@ export const ImageComparisonSlider = memo(({ firstImage, secondImage }: Props) = filter={DROP_SHADOW} color="base.50" > - {t('gallery.secondImage')} + {t('gallery.compareImage')} - {t('gallery.firstImage')} + {t('gallery.viewerImage')}