mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-18 11:53:04 -05:00
more strings and translations added
This commit is contained in:
committed by
psychedelicious
parent
ea1d2d6a4c
commit
de0b43c81d
@@ -3,7 +3,6 @@ import { createMemoizedSelector } from 'app/store/createMemoizedSelector';
|
||||
import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
|
||||
import IAIDndImage from 'common/components/IAIDndImage';
|
||||
import { IAINoContentFallback } from 'common/components/IAIImageFallback';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import type {
|
||||
TypesafeDraggableData,
|
||||
TypesafeDroppableData,
|
||||
@@ -13,6 +12,7 @@ import {
|
||||
selectGenerationSlice,
|
||||
} from 'features/parameters/store/generationSlice';
|
||||
import { memo, useEffect, useMemo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useGetImageDTOQuery } from 'services/api/endpoints/images';
|
||||
|
||||
const selectInitialImage = createMemoizedSelector(
|
||||
@@ -62,9 +62,11 @@ const InitialImage = () => {
|
||||
draggableData={draggableData}
|
||||
isUploadDisabled={true}
|
||||
fitContainer
|
||||
dropLabel="Set as Initial Image"
|
||||
dropLabel={t('toast.setInitialImage')}
|
||||
noContentFallback={
|
||||
<IAINoContentFallback label={t('parameters.invoke.noInitialImageSelected')} />
|
||||
<IAINoContentFallback
|
||||
label={t('parameters.invoke.noInitialImageSelected')}
|
||||
/>
|
||||
}
|
||||
dataTestId="initial-image"
|
||||
/>
|
||||
|
||||
@@ -87,9 +87,15 @@ const InitialImageDisplay = () => {
|
||||
onClick={handleUseSizeInitialImage}
|
||||
isDisabled={!initialImage}
|
||||
/>
|
||||
<<<<<<< HEAD
|
||||
<IconButton
|
||||
tooltip="Reset Initial Image"
|
||||
aria-label="Reset Initial Image"
|
||||
=======
|
||||
<InvIconButton
|
||||
tooltip={t('toast.resetInitialImage')}
|
||||
aria-label={t('toast.resetInitialImage')}
|
||||
>>>>>>> a94e09658 (more strings and translations added)
|
||||
icon={<PiArrowCounterClockwiseBold />}
|
||||
onClick={handleReset}
|
||||
isDisabled={!initialImage}
|
||||
|
||||
Reference in New Issue
Block a user