mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
Ensure Blocks
translation copy renders correctly (#5276)
* fix copy render in blocks * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
f49028cfe3
commit
502f1015bf
6
.changeset/young-plums-swim.md
Normal file
6
.changeset/young-plums-swim.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/app": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
fix:Ensure `Blocks` translation copy renders correctly
|
@ -11,7 +11,6 @@
|
||||
ComponentMeta,
|
||||
Dependency,
|
||||
LayoutNode,
|
||||
Documentation,
|
||||
} from "./components/types";
|
||||
import { setupi18n } from "./i18n";
|
||||
import Render from "./Render.svelte";
|
||||
@ -644,10 +643,8 @@
|
||||
}}
|
||||
class="show-api"
|
||||
>
|
||||
$_('errors.use_via_api') <img
|
||||
src={api_logo}
|
||||
alt={$_("common.logo")}
|
||||
/>
|
||||
{$_("errors.use_via_api")}
|
||||
<img src={api_logo} alt={$_("common.logo")} />
|
||||
</button>
|
||||
<div>·</div>
|
||||
{/if}
|
||||
@ -657,7 +654,7 @@
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
$_('common.built_with_gradio')
|
||||
{$_("common.built_with_gradio")}
|
||||
<img src={logo} alt={$_("common.logo")} />
|
||||
</a>
|
||||
</footer>
|
||||
|
Loading…
x
Reference in New Issue
Block a user