mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): use translations for style preset strings
This commit is contained in:
parent
f787e9acf6
commit
584e07182b
@ -93,8 +93,8 @@ export const StylePresetForm = ({
|
|||||||
</FormControl>
|
</FormControl>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<StylePresetPromptField label="Positive Prompt" control={control} name="positivePrompt" />
|
<StylePresetPromptField label={t('stylePresets.positivePrompt')} control={control} name="positivePrompt" />
|
||||||
<StylePresetPromptField label="Negative Prompt" control={control} name="negativePrompt" />
|
<StylePresetPromptField label={t('stylePresets.negativePrompt')} control={control} name="negativePrompt" />
|
||||||
<Box>
|
<Box>
|
||||||
<Text variant="subtext">{t('stylePresets.promptTemplatesDesc1')}</Text>
|
<Text variant="subtext">{t('stylePresets.promptTemplatesDesc1')}</Text>
|
||||||
<Text variant="subtext">
|
<Text variant="subtext">
|
||||||
|
@ -174,7 +174,8 @@ export const StylePresetListItem = ({ preset }: { preset: StylePresetRecordWithI
|
|||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
title={t('stylePresets.deleteTemplate')}
|
title={t('stylePresets.deleteTemplate')}
|
||||||
acceptCallback={handleDeletePreset}
|
acceptCallback={handleDeletePreset}
|
||||||
acceptButtonText="Delete"
|
acceptButtonText={t('common.delete')}
|
||||||
|
cancelButtonText={t('common.cancel')}
|
||||||
>
|
>
|
||||||
<p>{t('stylePresets.deleteTemplate2')}</p>
|
<p>{t('stylePresets.deleteTemplate2')}</p>
|
||||||
</ConfirmationAlertDialog>
|
</ConfirmationAlertDialog>
|
||||||
|
Loading…
Reference in New Issue
Block a user