mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix control adapter translation string (#4888)
## What type of PR is this? (check all applicable) - [ ] Refactor - [ ] Feature - [x] Bug Fix - [ ] Optimization - [ ] Documentation Update - [ ] Community Node Submission ## Description fix(ui): fix control adapter translation string Missed this during a previous change ## Related Tickets & Documents <!-- For pull requests that relate or close an issue, please include them below. For example having the text: "closes #1234" would connect the current pull request to issue 1234. And when we merge the pull request, Github will automatically close the issue. --> Reported by @Harvester62 : https://discord.com/channels/1020123559063990373/1054129386447716433/1162018775437148160
This commit is contained in:
commit
d7edf5aaad
@ -137,9 +137,9 @@
|
|||||||
"controlnet": {
|
"controlnet": {
|
||||||
"controlAdapter_one": "Control Adapter",
|
"controlAdapter_one": "Control Adapter",
|
||||||
"controlAdapter_other": "Control Adapters",
|
"controlAdapter_other": "Control Adapters",
|
||||||
"controlnet": "$t(controlnet.controlAdapter) #{{number}} ($t(common.controlNet))",
|
"controlnet": "$t(controlnet.controlAdapter_one) #{{number}} ($t(common.controlNet))",
|
||||||
"ip_adapter": "$t(controlnet.controlAdapter) #{{number}} ($t(common.ipAdapter))",
|
"ip_adapter": "$t(controlnet.controlAdapter_one) #{{number}} ($t(common.ipAdapter))",
|
||||||
"t2i_adapter": "$t(controlnet.controlAdapter) #{{number}} ($t(common.t2iAdapter))",
|
"t2i_adapter": "$t(controlnet.controlAdapter_one) #{{number}} ($t(common.t2iAdapter))",
|
||||||
"addControlNet": "Add $t(common.controlNet)",
|
"addControlNet": "Add $t(common.controlNet)",
|
||||||
"addIPAdapter": "Add $t(common.ipAdapter)",
|
"addIPAdapter": "Add $t(common.ipAdapter)",
|
||||||
"addT2IAdapter": "Add $t(common.t2iAdapter)",
|
"addT2IAdapter": "Add $t(common.t2iAdapter)",
|
||||||
|
@ -90,9 +90,7 @@ const ControlAdaptersCollapse = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<IAICollapse
|
<IAICollapse
|
||||||
label={t('controlnet.controlAdapter', {
|
label={t('controlnet.controlAdapter_other')}
|
||||||
count: controlAdapterIds.length,
|
|
||||||
})}
|
|
||||||
activeLabel={activeLabel}
|
activeLabel={activeLabel}
|
||||||
>
|
>
|
||||||
<Flex sx={{ flexDir: 'column', gap: 2 }}>
|
<Flex sx={{ flexDir: 'column', gap: 2 }}>
|
||||||
|
Loading…
Reference in New Issue
Block a user