Updating toinclude translations and import fixes

This commit is contained in:
Kent Keirsey
2025-06-24 13:03:49 -04:00
committed by psychedelicious
parent 33c597c224
commit fb5df06835
3 changed files with 14 additions and 10 deletions

View File

@@ -335,7 +335,7 @@
"images": "Images",
"assets": "Assets",
"alwaysShowImageSizeBadge": "Always Show Image Size Badge",
"assetsTab": "Files youve uploaded for use in your projects.",
"assetsTab": "Files you've uploaded for use in your projects.",
"autoAssignBoardOnClick": "Auto-Assign Board on Click",
"autoSwitchNewImages": "Auto-Switch to New Images",
"boardsSettings": "Boards Settings",
@@ -357,7 +357,7 @@
"gallerySettings": "Gallery Settings",
"go": "Go",
"image": "image",
"imagesTab": "Images youve created and saved within Invoke.",
"imagesTab": "Images you've created and saved within Invoke.",
"imagesSettings": "Gallery Images Settings",
"jump": "Jump",
"loading": "Loading",
@@ -885,7 +885,10 @@
"exploreStarter": "Browse all available starter models",
"quickStart": "Quick Start Bundles",
"bundleDescription": "Each bundle includes essential models for each model family and curated base models to get started",
"browseAll": "Or browse all available models:"
"browseAll": "Or browse all available models:",
"stableDiffusion15": "Stable Diffusion 1.5",
"sdxl": "SDXL",
"fluxDev": "FLUX.1 dev"
},
"controlLora": "Control LoRA",
"downloadBundle": "Download {bundleName} Bundle",

View File

@@ -1,11 +1,12 @@
import { toast } from 'features/toast/toast';
import { flatMap, negate, uniqWith } from 'lodash-es';
import { useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { useInstallModelMutation } from 'services/api/endpoints/models';
import { toast } from 'features/toast/toast';
import { flattenStarterModel, useBuildModelInstallArg } from './useBuildModelsToInstall';
import type { StarterModel } from 'services/api/types';
import { flattenStarterModel, useBuildModelInstallArg } from './useBuildModelsToInstall';
export const useStarterBundleInstall = () => {
const [installModel] = useInstallModelMutation();
const { getIsInstalled, buildModelInstallArg } = useBuildModelInstallArg();

View File

@@ -1,7 +1,7 @@
import { Box, Button, Flex, Grid, Heading, Text } from '@invoke-ai/ui-library';
import { $installModelsTab } from 'features/modelManagerV2/store/installModelsStore';
import { useStarterBundleInstall } from 'features/modelManagerV2/hooks/useStarterBundleInstall';
import ScrollableContent from 'common/components/OverlayScrollbars/ScrollableContent';
import { useStarterBundleInstall } from 'features/modelManagerV2/hooks/useStarterBundleInstall';
import { $installModelsTab } from 'features/modelManagerV2/store/installModelsStore';
import { memo, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { PiFolderOpenBold, PiLinkBold, PiStarBold } from 'react-icons/pi';
@@ -185,7 +185,7 @@ export const LaunchpadForm = memo(() => {
whiteSpace="normal"
>
<Text fontSize="sm" fontWeight="bold" noOfLines={1}>
Stable Diffusion 1.5
{t('modelManager.launchpad.stableDiffusion15')}
</Text>
</Button>
<Button
@@ -201,7 +201,7 @@ export const LaunchpadForm = memo(() => {
whiteSpace="normal"
>
<Text fontSize="sm" fontWeight="bold" noOfLines={1}>
SDXL
{t('modelManager.launchpad.sdxl')}
</Text>
</Button>
<Button
@@ -217,7 +217,7 @@ export const LaunchpadForm = memo(() => {
whiteSpace="normal"
>
<Text fontSize="sm" fontWeight="bold" noOfLines={1}>
FLUX.1 [dev]
{t('modelManager.launchpad.fluxDev')}
</Text>
</Button>
</Grid>