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:
Hannah 2023-08-21 14:54:42 +01:00 committed by GitHub
parent f49028cfe3
commit 502f1015bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -0,0 +1,6 @@
---
"@gradio/app": patch
"gradio": patch
---
fix:Ensure `Blocks` translation copy renders correctly

View File

@ -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>