feat(ui): update mm-related translations

This commit is contained in:
psychedelicious 2024-05-03 07:04:14 +10:00 committed by Kent Keirsey
parent 0f7fdabe9b
commit 94a73d5377
3 changed files with 12 additions and 5 deletions

View File

@ -93,6 +93,7 @@
"folder": "Folder",
"format": "format",
"githubLabel": "Github",
"goTo": "Go to",
"hotkeysLabel": "Hotkeys",
"imageFailedToLoad": "Unable to Load Image",
"img2img": "Image To Image",
@ -140,7 +141,8 @@
"blue": "Blue",
"alpha": "Alpha",
"selected": "Selected",
"viewer": "Viewer"
"viewer": "Viewer",
"tab": "Tab"
},
"controlnet": {
"controlAdapter_one": "Control Adapter",
@ -1561,10 +1563,15 @@
"ui": {
"tabs": {
"generation": "Generation",
"generationTab": "$t(ui.tabs.generation) $t(common.tab)",
"canvas": "Canvas",
"canvasTab": "$t(ui.tabs.canvas) $t(common.tab)",
"workflows": "Workflows",
"workflowsTab": "$t(ui.tabs.workflows) $t(common.tab)",
"models": "Models",
"queue": "Queue"
"modelsTab": "$t(ui.tabs.models) $t(common.tab)",
"queue": "Queue",
"queueTab": "$t(ui.tabs.queue) $t(common.tab)"
}
}
}

View File

@ -47,7 +47,7 @@ const ToastDescription = () => {
<Text fontSize="md">
{t('modelManager.noModelsInstalledDesc1')}{' '}
<Button onClick={onClick} variant="link" color="base.50" flexGrow={0}>
{t('modelManager.modelManager')}.
{t('ui.tabs.modelsTab')}.
</Button>
</Text>
);

View File

@ -23,8 +23,8 @@ export const NavigateToModelManagerButton = memo((props: Omit<IconButtonProps, '
return (
<IconButton
icon={<PiGearSixBold />}
tooltip={t('modelManager.modelManager')}
aria-label={t('modelManager.modelManager')}
tooltip={`${t('common.goTo')} ${t('ui.tabs.modelsTab')}`}
aria-label={`${t('common.goTo')} ${t('ui.tabs.modelsTab')}`}
onClick={handleClick}
size="sm"
variant="ghost"