Add Japanese translations for login UI (#10166)

* Add Japanese translations for login UI

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
Kazuhito Yokoi 2024-12-11 09:01:14 +09:00 committed by GitHub
parent 5f03649668
commit 8ac5b13c96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,6 @@
---
"@gradio/core": patch
"gradio": patch
---
feat:Add Japanese translations for login UI

View File

@ -51,7 +51,7 @@
<Block>
<Textbox
{root}
label="username"
label={$_("login.username")}
lines={1}
show_label={true}
max_lines={1}
@ -63,7 +63,7 @@
<Block>
<Textbox
{root}
label="password"
label={$_("login.password")}
lines={1}
show_label={true}
max_lines={1}

View File

@ -97,6 +97,8 @@
"login": {
"enable_cookies": "If you are visiting a HuggingFace Space in Incognito mode, you must enable third party cookies.",
"incorrect_credentials": "Incorrect Credentials",
"username": "username",
"password": "password",
"login": "Login"
},
"number": {

View File

@ -8,6 +8,12 @@
"errors": {
"use_via_api": "API経由で使おう"
},
"login": {
"incorrect_credentials": "認証情報が正しくありません",
"username": "ユーザ名",
"password": "パスワード",
"login": "ログイン"
},
"upload_text": {
"click_to_upload": "クリックしてアップロード",
"drop_audio": "ここに音声をドロップ",