feat(ui): add translation string for "Upscale"

This commit is contained in:
psychedelicious 2024-08-19 08:44:08 +10:00
parent 4f4ba7b462
commit eb1113f95c
2 changed files with 7 additions and 1 deletions

View File

@ -1675,6 +1675,7 @@
"layers_other": "Layers"
},
"upscaling": {
"upscale": "Upscale",
"creativity": "Creativity",
"exceedsMaxSize": "Upscale settings exceed max size limit",
"exceedsMaxSizeDetails": "Max upscale limit is {{maxUpscaleDimension}}x{{maxUpscaleDimension}} pixels. Please try a smaller image or decrease your scale selection.",

View File

@ -48,7 +48,12 @@ export const UpscaleSettingsAccordion = memo(() => {
});
return (
<StandaloneAccordion label="Upscale" badges={badges} isOpen={isOpenAccordion} onToggle={onToggleAccordion}>
<StandaloneAccordion
label={t('upscaling.upscale')}
badges={badges}
isOpen={isOpenAccordion}
onToggle={onToggleAccordion}
>
<Flex pt={4} px={4} w="full" h="full" flexDir="column" data-testid="upscale-settings-accordion">
<Flex flexDir="column" gap={4}>
<Flex gap={4}>