mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): updated field type translations
This commit is contained in:
parent
e88b807a13
commit
1c29b3bd85
@ -780,8 +780,9 @@
|
||||
"missingFieldTemplate": "Missing field template",
|
||||
"nodePack": "Node pack",
|
||||
"collection": "Collection",
|
||||
"collectionFieldType": "{{name}} Collection",
|
||||
"collectionOrScalarFieldType": "{{name}} Collection|Scalar",
|
||||
"singleFieldType": "{{name}} (Single)",
|
||||
"collectionFieldType": "{{name}} (Collection)",
|
||||
"collectionOrScalarFieldType": "{{name}} (Single or Collection)",
|
||||
"colorCodeEdges": "Color-Code Edges",
|
||||
"colorCodeEdgesHelp": "Color-code edges according to their connected fields",
|
||||
"connectionWouldCreateCycle": "Connection would create a cycle",
|
||||
|
@ -16,7 +16,7 @@ export const useFieldTypeName = (fieldType?: FieldType): string => {
|
||||
if (isSingleOrCollection(fieldType)) {
|
||||
return t('nodes.collectionOrScalarFieldType', { name });
|
||||
}
|
||||
return name;
|
||||
return t('nodes.singleFieldType', { name });
|
||||
}, [fieldType, t]);
|
||||
|
||||
return name;
|
||||
|
Loading…
Reference in New Issue
Block a user