Skip to content

Commit 9d3f58b

Browse files
authoredMar 24, 2023
Translate "or" for i18n (#3599)
* Translate or for i18n * CHANGELOG
1 parent 6e6121a commit 9d3f58b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- Fixed bug where text for altair plots was not legible in dark mode by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3555](https://github.com/gradio-app/gradio/pull/3555)
1212
- Fixes `Chatbot` and `Image` components so that files passed during processing are added to a directory where they can be served from, by [@abidlabs](https://github.com/abidlabs) in [PR 3523](https://github.com/gradio-app/gradio/pull/3523)
13+
- Fixed bug where "or" was not being localized in file upload text by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3599](https://github.com/gradio-app/gradio/pull/3599)
1314

1415
## Documentation Changes:
1516

‎ui/packages/app/src/components/UploadText.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<div class="wrap">
1616
{$_(defs[type])}
17-
<span class="or">- or -</span>
17+
<span class="or">- {$_("or")} -</span>
1818
{$_("interface.click_to_upload")}
1919
</div>
2020

0 commit comments

Comments
 (0)