fix(ui): add missing translations

Closes #7229
This commit is contained in:
psychedelicious 2024-10-31 16:25:33 +10:00
parent 88b8e3e3d5
commit 47f0781822
3 changed files with 4 additions and 2 deletions

View File

@ -1047,6 +1047,7 @@
"patchmatchDownScaleSize": "Downscale", "patchmatchDownScaleSize": "Downscale",
"perlinNoise": "Perlin Noise", "perlinNoise": "Perlin Noise",
"positivePromptPlaceholder": "Positive Prompt", "positivePromptPlaceholder": "Positive Prompt",
"recallMetadata": "Recall Metadata",
"iterations": "Iterations", "iterations": "Iterations",
"scale": "Scale", "scale": "Scale",
"scaleBeforeProcessing": "Scale Before Processing", "scaleBeforeProcessing": "Scale Before Processing",
@ -1651,6 +1652,7 @@
"newControlLayerError": "Problem Creating Control Layer", "newControlLayerError": "Problem Creating Control Layer",
"newRasterLayerOk": "Created Raster Layer", "newRasterLayerOk": "Created Raster Layer",
"newRasterLayerError": "Problem Creating Raster Layer", "newRasterLayerError": "Problem Creating Raster Layer",
"newFromImage": "New from Image",
"pullBboxIntoLayerOk": "Bbox Pulled Into Layer", "pullBboxIntoLayerOk": "Bbox Pulled Into Layer",
"pullBboxIntoLayerError": "Problem Pulling BBox Into Layer", "pullBboxIntoLayerError": "Problem Pulling BBox Into Layer",
"pullBboxIntoReferenceImageOk": "Bbox Pulled Into ReferenceImage", "pullBboxIntoReferenceImageOk": "Bbox Pulled Into ReferenceImage",

View File

@ -25,7 +25,7 @@ export const ImageMenuItemMetadataRecallActions = memo(() => {
<MenuItem {...subMenu.parentMenuItemProps} icon={<PiArrowBendUpLeftBold />}> <MenuItem {...subMenu.parentMenuItemProps} icon={<PiArrowBendUpLeftBold />}>
<Menu {...subMenu.menuProps}> <Menu {...subMenu.menuProps}>
<MenuButton {...subMenu.menuButtonProps}> <MenuButton {...subMenu.menuButtonProps}>
<SubMenuButtonContent label="Recall Metadata" /> <SubMenuButtonContent label={t('parameters.recallMetadata')} />
</MenuButton> </MenuButton>
<MenuList {...subMenu.menuListProps}> <MenuList {...subMenu.menuListProps}>
<MenuItem icon={<PiArrowsCounterClockwiseBold />} onClick={remix} isDisabled={!hasMetadata}> <MenuItem icon={<PiArrowsCounterClockwiseBold />} onClick={remix} isDisabled={!hasMetadata}>

View File

@ -106,7 +106,7 @@ export const ImageMenuItemNewFromImageSubMenu = memo(() => {
<MenuItem {...subMenu.parentMenuItemProps} icon={<PiPlusBold />}> <MenuItem {...subMenu.parentMenuItemProps} icon={<PiPlusBold />}>
<Menu {...subMenu.menuProps}> <Menu {...subMenu.menuProps}>
<MenuButton {...subMenu.menuButtonProps}> <MenuButton {...subMenu.menuButtonProps}>
<SubMenuButtonContent label="New from Image" /> <SubMenuButtonContent label={t('controlLayers.newFromImage')} />
</MenuButton> </MenuButton>
<MenuList {...subMenu.menuListProps}> <MenuList {...subMenu.menuListProps}>
<MenuItem icon={<PiFileBold />} onClickCapture={onClickNewCanvasWithRasterLayerFromImage} isDisabled={isBusy}> <MenuItem icon={<PiFileBold />} onClickCapture={onClickNewCanvasWithRasterLayerFromImage} isDisabled={isBusy}>