Skip to content

Commit fb5df06

Browse files
hipsterusernamepsychedelicious
authored andcommitted
Updating toinclude translations and import fixes
1 parent 33c597c commit fb5df06

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

invokeai/frontend/web/public/locales/en.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
"images": "Images",
336336
"assets": "Assets",
337337
"alwaysShowImageSizeBadge": "Always Show Image Size Badge",
338-
"assetsTab": "Files youve uploaded for use in your projects.",
338+
"assetsTab": "Files you've uploaded for use in your projects.",
339339
"autoAssignBoardOnClick": "Auto-Assign Board on Click",
340340
"autoSwitchNewImages": "Auto-Switch to New Images",
341341
"boardsSettings": "Boards Settings",
@@ -357,7 +357,7 @@
357357
"gallerySettings": "Gallery Settings",
358358
"go": "Go",
359359
"image": "image",
360-
"imagesTab": "Images youve created and saved within Invoke.",
360+
"imagesTab": "Images you've created and saved within Invoke.",
361361
"imagesSettings": "Gallery Images Settings",
362362
"jump": "Jump",
363363
"loading": "Loading",
@@ -885,7 +885,10 @@
885885
"exploreStarter": "Browse all available starter models",
886886
"quickStart": "Quick Start Bundles",
887887
"bundleDescription": "Each bundle includes essential models for each model family and curated base models to get started",
888-
"browseAll": "Or browse all available models:"
888+
"browseAll": "Or browse all available models:",
889+
"stableDiffusion15": "Stable Diffusion 1.5",
890+
"sdxl": "SDXL",
891+
"fluxDev": "FLUX.1 dev"
889892
},
890893
"controlLora": "Control LoRA",
891894
"downloadBundle": "Download {bundleName} Bundle",

invokeai/frontend/web/src/features/modelManagerV2/hooks/useStarterBundleInstall.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
import { toast } from 'features/toast/toast';
12
import { flatMap, negate, uniqWith } from 'lodash-es';
23
import { useCallback } from 'react';
34
import { useTranslation } from 'react-i18next';
45
import { useInstallModelMutation } from 'services/api/endpoints/models';
5-
import { toast } from 'features/toast/toast';
6-
import { flattenStarterModel, useBuildModelInstallArg } from './useBuildModelsToInstall';
76
import type { StarterModel } from 'services/api/types';
87

8+
import { flattenStarterModel, useBuildModelInstallArg } from './useBuildModelsToInstall';
9+
910
export const useStarterBundleInstall = () => {
1011
const [installModel] = useInstallModelMutation();
1112
const { getIsInstalled, buildModelInstallArg } = useBuildModelInstallArg();

invokeai/frontend/web/src/features/modelManagerV2/subpanels/AddModelPanel/LaunchpadForm/LaunchpadForm.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Box, Button, Flex, Grid, Heading, Text } from '@invoke-ai/ui-library';
2-
import { $installModelsTab } from 'features/modelManagerV2/store/installModelsStore';
3-
import { useStarterBundleInstall } from 'features/modelManagerV2/hooks/useStarterBundleInstall';
42
import ScrollableContent from 'common/components/OverlayScrollbars/ScrollableContent';
3+
import { useStarterBundleInstall } from 'features/modelManagerV2/hooks/useStarterBundleInstall';
4+
import { $installModelsTab } from 'features/modelManagerV2/store/installModelsStore';
55
import { memo, useCallback } from 'react';
66
import { useTranslation } from 'react-i18next';
77
import { PiFolderOpenBold, PiLinkBold, PiStarBold } from 'react-icons/pi';
@@ -185,7 +185,7 @@ export const LaunchpadForm = memo(() => {
185185
whiteSpace="normal"
186186
>
187187
<Text fontSize="sm" fontWeight="bold" noOfLines={1}>
188-
Stable Diffusion 1.5
188+
{t('modelManager.launchpad.stableDiffusion15')}
189189
</Text>
190190
</Button>
191191
<Button
@@ -201,7 +201,7 @@ export const LaunchpadForm = memo(() => {
201201
whiteSpace="normal"
202202
>
203203
<Text fontSize="sm" fontWeight="bold" noOfLines={1}>
204-
SDXL
204+
{t('modelManager.launchpad.sdxl')}
205205
</Text>
206206
</Button>
207207
<Button
@@ -217,7 +217,7 @@ export const LaunchpadForm = memo(() => {
217217
whiteSpace="normal"
218218
>
219219
<Text fontSize="sm" fontWeight="bold" noOfLines={1}>
220-
FLUX.1 [dev]
220+
{t('modelManager.launchpad.fluxDev')}
221221
</Text>
222222
</Button>
223223
</Grid>

0 commit comments

Comments
 (0)