mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): missing translation for string field component
This commit is contained in:
committed by
Kent Keirsey
parent
067aeeac23
commit
1a806739f2
@@ -1725,6 +1725,8 @@
|
||||
"description": "Description",
|
||||
"component": "Component",
|
||||
"numberInput": "Number Input",
|
||||
"singleLine": "Single Line",
|
||||
"multiLine": "Multi Line",
|
||||
"slider": "Slider",
|
||||
"both": "Both",
|
||||
"emptyRootPlaceholderViewMode": "Click Edit to start building a form for this workflow.",
|
||||
|
||||
@@ -26,8 +26,8 @@ export const NodeFieldElementStringSettings = memo(
|
||||
<FormControl>
|
||||
<FormLabel flex={1}>{t('workflows.builder.component')}</FormLabel>
|
||||
<Select value={config.component} onChange={onChangeComponent} size="sm">
|
||||
<option value="input">{t('workflows.builder.input')}</option>
|
||||
<option value="textarea">{t('workflows.builder.textarea')}</option>
|
||||
<option value="input">{t('workflows.builder.singleLine')}</option>
|
||||
<option value="textarea">{t('workflows.builder.multiLine')}</option>
|
||||
</Select>
|
||||
</FormControl>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user