mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tidy(ui): use × instead of translation string
This commit is contained in:
parent
7edefbefff
commit
818045f678
@ -1654,7 +1654,6 @@
|
|||||||
"warningNoTile": "a {{base_model}} tile controlnet required by this feature",
|
"warningNoTile": "a {{base_model}} tile controlnet required by this feature",
|
||||||
"warningNoTileOrUpscaleModel": "an upscaler model and {{base_model}} tile controlnet required by this feature",
|
"warningNoTileOrUpscaleModel": "an upscaler model and {{base_model}} tile controlnet required by this feature",
|
||||||
"warningNoUpscaleModel": "an upscaler model required by this feature",
|
"warningNoUpscaleModel": "an upscaler model required by this feature",
|
||||||
"x": "x"
|
|
||||||
},
|
},
|
||||||
"ui": {
|
"ui": {
|
||||||
"tabs": {
|
"tabs": {
|
||||||
|
@ -11,7 +11,7 @@ export const UpscaleSizeDetails = () => {
|
|||||||
const outputSizeText = useMemo(() => {
|
const outputSizeText = useMemo(() => {
|
||||||
if (upscaleInitialImage) {
|
if (upscaleInitialImage) {
|
||||||
const { width, height } = getOutputImageSize(upscaleInitialImage);
|
const { width, height } = getOutputImageSize(upscaleInitialImage);
|
||||||
return `${t('upscaling.outputImageSize')}: ${width} ${t('upscaling.x')} ${height}`;
|
return `${t('upscaling.outputImageSize')}: ${width}×${height}`;
|
||||||
}
|
}
|
||||||
}, [upscaleInitialImage, t]);
|
}, [upscaleInitialImage, t]);
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ export const UpscaleSizeDetails = () => {
|
|||||||
return (
|
return (
|
||||||
<Flex direction="column">
|
<Flex direction="column">
|
||||||
<Text variant="subtext" fontWeight="bold">
|
<Text variant="subtext" fontWeight="bold">
|
||||||
{t('upscaling.currentImageSize')}: {upscaleInitialImage.width} {t('upscaling.x')} {upscaleInitialImage.height}
|
{t('upscaling.currentImageSize')}: {upscaleInitialImage.width}×{upscaleInitialImage.height}
|
||||||
</Text>
|
</Text>
|
||||||
<Text variant="subtext" fontWeight="bold">
|
<Text variant="subtext" fontWeight="bold">
|
||||||
{outputSizeText}
|
{outputSizeText}
|
||||||
|
Loading…
Reference in New Issue
Block a user