Skip to content

Commit 1430b3a

Browse files
committed
Fixup IP-Adapter locale strings.
1 parent 690ebe1 commit 1430b3a

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

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

+8
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,14 @@
785785
"integerPolymorphic": "Integer Polymorphic",
786786
"integerPolymorphicDescription": "A collection of integers.",
787787
"invalidOutputSchema": "Invalid output schema",
788+
"ipAdapter": "IP-Adapter",
789+
"ipAdapterCollection": "IP-Adapters Collection",
790+
"ipAdapterCollectionDescription": "A collection of IP-Adapters.",
791+
"ipAdapterDescription": "An Image Prompt Adapter (IP-Adapter).",
792+
"ipAdapterModel": "IP-Adapter Model",
793+
"ipAdapterModelDescription": "IP-Adapter Model Field",
794+
"ipAdapterPolymorphic": "IP-Adapter Polymorphic",
795+
"ipAdapterPolymorphicDescription": "A collection of IP-Adapters.",
788796
"latentsCollection": "Latents Collection",
789797
"latentsCollectionDescription": "Latents may be passed between nodes.",
790798
"latentsField": "Latents",

invokeai/frontend/web/src/features/nodes/types/constants.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -291,18 +291,18 @@ export const FIELDS: Record<FieldType, FieldUIConfig> = {
291291
},
292292
IPAdapterField: {
293293
color: 'teal.500',
294-
description: 'IP-Adapter info passed between nodes.',
295-
title: 'IP-Adapter',
294+
description: t('nodes.ipAdapterDescription'),
295+
title: t('nodes.ipAdapter'),
296296
},
297297
IPAdapterModelField: {
298298
color: 'teal.500',
299-
description: 'IP-Adapter model',
300-
title: 'IP-Adapter Model',
299+
description: t('nodes.ipAdapterModelDescription'),
300+
title: t('nodes.ipAdapterModel'),
301301
},
302302
IPAdapterPolymorphic: {
303303
color: 'teal.500',
304-
description: 'IP-Adapter info passed between nodes.',
305-
title: 'IP-Adapter Polymorphic',
304+
description: t('nodes.ipAdapterPolymorphicDescription'),
305+
title: t('nodes.ipAdapterPolymorphic'),
306306
},
307307
LatentsCollection: {
308308
color: 'pink.500',

0 commit comments

Comments
 (0)