From e811ffc8e2b64578e379ff6e4f4af17ebfcdebcc Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 10 Oct 2025 17:15:33 +1100 Subject: [PATCH] feat(ui): use translation string for model edit warning --- invokeai/frontend/web/public/locales/en.json | 1 + .../features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsx | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/public/locales/en.json b/invokeai/frontend/web/public/locales/en.json index 785bc168d5..aacd5c728f 100644 --- a/invokeai/frontend/web/public/locales/en.json +++ b/invokeai/frontend/web/public/locales/en.json @@ -953,6 +953,7 @@ "modelManager": "Model Manager", "modelName": "Model Name", "modelSettings": "Model Settings", + "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.", "modelType": "Model Type", "modelUpdated": "Model Updated", "modelUpdateFailed": "Model Update Failed", diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsx index be4925ed05..d845eca3ee 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelEdit.tsx @@ -128,8 +128,7 @@ export const ModelEdit = memo(({ modelConfig }: Props) => { {t('modelManager.modelSettings')} - Careful! Change these settings only if Invoke didn't detect them correctly when you installed the - model. If you choose the wrong settings, the model may not work properly. + {t('modelManager.modelSettingsWarning')}