feat(ui): add "global" to global prompt placeholders

This commit is contained in:
psychedelicious 2024-05-09 12:03:31 +10:00 committed by Kent Keirsey
parent 8b51298ba1
commit 4740cd4f64
3 changed files with 4 additions and 2 deletions

View File

@ -938,10 +938,12 @@
}, },
"maskBlur": "Mask Blur", "maskBlur": "Mask Blur",
"negativePromptPlaceholder": "Negative Prompt", "negativePromptPlaceholder": "Negative Prompt",
"globalNegativePromptPlaceholder": "Global Negative Prompt",
"noiseThreshold": "Noise Threshold", "noiseThreshold": "Noise Threshold",
"patchmatchDownScaleSize": "Downscale", "patchmatchDownScaleSize": "Downscale",
"perlinNoise": "Perlin Noise", "perlinNoise": "Perlin Noise",
"positivePromptPlaceholder": "Positive Prompt", "positivePromptPlaceholder": "Positive Prompt",
"globalPositivePromptPlaceholder": "Global Positive Prompt",
"iterations": "Iterations", "iterations": "Iterations",
"iterationsWithCount_one": "{{count}} Iteration", "iterationsWithCount_one": "{{count}} Iteration",
"iterationsWithCount_other": "{{count}} Iterations", "iterationsWithCount_other": "{{count}} Iterations",

View File

@ -33,7 +33,7 @@ export const ParamNegativePrompt = memo(() => {
name="negativePrompt" name="negativePrompt"
ref={textareaRef} ref={textareaRef}
value={prompt} value={prompt}
placeholder={t('parameters.negativePromptPlaceholder')} placeholder={t('parameters.globalNegativePromptPlaceholder')}
onChange={onChange} onChange={onChange}
onKeyDown={onKeyDown} onKeyDown={onKeyDown}
fontSize="sm" fontSize="sm"

View File

@ -49,7 +49,7 @@ export const ParamPositivePrompt = memo(() => {
name="prompt" name="prompt"
ref={textareaRef} ref={textareaRef}
value={prompt} value={prompt}
placeholder={t('parameters.positivePromptPlaceholder')} placeholder={t('parameters.globalPositivePromptPlaceholder')}
onChange={onChange} onChange={onChange}
minH={28} minH={28}
onKeyDown={onKeyDown} onKeyDown={onKeyDown}