Skip to content

Commit 18415ca

Browse files
feat(ui): use translation string for model edit warning
1 parent 020ac1a commit 18415ca

File tree

2 files changed

+2
-2
lines changed
  • invokeai/frontend/web

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,7 @@
953953
"modelManager": "Model Manager",
954954
"modelName": "Model Name",
955955
"modelSettings": "Model Settings",
956+
"modelSettingsWarning": "These settings tell Invoke what kind of model this is and how to load it. If Invoke didn't detect these correctly when you installed the model, or if the model is classified as Unknown, you may need to edit them manually.",
956957
"modelType": "Model Type",
957958
"modelUpdated": "Model Updated",
958959
"modelUpdateFailed": "Model Update Failed",

invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ export const ModelEdit = memo(({ modelConfig }: Props) => {
128128
{t('modelManager.modelSettings')}
129129
</Heading>
130130
<Text variant="subtext" color="warning.300">
131-
Careful! Change these settings only if Invoke didn&apos;t detect them correctly when you installed the
132-
model. If you choose the wrong settings, the model may not work properly.
131+
{t('modelManager.modelSettingsWarning')}
133132
</Text>
134133
<SimpleGrid columns={2} gap={4}>
135134
<FormControl flexDir="column" alignItems="flex-start" gap={1}>

0 commit comments

Comments
 (0)