mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-05 01:10:22 +08:00
optimize(i18n): too long translation
This commit is contained in:
2
gui.py
2
gui.py
@@ -373,7 +373,7 @@ if __name__ == "__main__":
|
|||||||
[
|
[
|
||||||
sg.Text(
|
sg.Text(
|
||||||
i18n(
|
i18n(
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)"
|
"Feature searching ratio"
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
sg.Slider(
|
sg.Slider(
|
||||||
|
|||||||
@@ -17,8 +17,7 @@ class I18nAuto:
|
|||||||
language = locale.getdefaultlocale(
|
language = locale.getdefaultlocale(
|
||||||
envvars=("LANG", "LC_ALL", "LC_CTYPE", "LANGUAGE")
|
envvars=("LANG", "LC_ALL", "LC_CTYPE", "LANGUAGE")
|
||||||
)[0]
|
)[0]
|
||||||
if not os.path.exists(f"./i18n/locale/{language}.json"):
|
language = "en_US"
|
||||||
language = "en_US"
|
|
||||||
self.language = language
|
self.language = language
|
||||||
self.language_map = load_language_list(language)
|
self.language_map = load_language_list(language)
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "Save only the latest '.ckpt' file to save disk space",
|
"Save only the latest '.ckpt' file to save disk space": "Save only the latest '.ckpt' file to save disk space",
|
||||||
"Saved model name (without extension)": "Saved model name (without extension)",
|
"Saved model name (without extension)": "Saved model name (without extension)",
|
||||||
"Sealing date": "Sealing date",
|
"Sealing date": "Sealing date",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "Search feature ratio (controls accent strength, too high has artifacting)",
|
"Feature searching ratio": "Feature searching ratio",
|
||||||
"Select Speaker/Singer ID": "Select Speaker/Singer ID",
|
"Select Speaker/Singer ID": "Select Speaker/Singer ID",
|
||||||
"Select the .index file": "Select the .index file",
|
"Select the .index file": "Select the .index file",
|
||||||
"Select the .pth file": "Select the .pth file",
|
"Select the .pth file": "Select the .pth file",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "Guardar solo el archivo ckpt más reciente para ahorrar espacio en disco",
|
"Save only the latest '.ckpt' file to save disk space": "Guardar solo el archivo ckpt más reciente para ahorrar espacio en disco",
|
||||||
"Saved model name (without extension)": "Nombre del modelo guardado sin extensión.",
|
"Saved model name (without extension)": "Nombre del modelo guardado sin extensión.",
|
||||||
"Sealing date": "fecha de sellado",
|
"Sealing date": "fecha de sellado",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "Proporción de función de búsqueda",
|
"Feature searching ratio": "Proporción de función de búsqueda",
|
||||||
"Select Speaker/Singer ID": "Seleccione una identificación de altavoz",
|
"Select Speaker/Singer ID": "Seleccione una identificación de altavoz",
|
||||||
"Select the .index file": "Seleccione el archivo .index",
|
"Select the .index file": "Seleccione el archivo .index",
|
||||||
"Select the .pth file": "Seleccione el archivo .pth",
|
"Select the .pth file": "Seleccione el archivo .pth",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "Enregistrer uniquement le dernier fichier '.ckpt' pour économiser de l'espace disque :",
|
"Save only the latest '.ckpt' file to save disk space": "Enregistrer uniquement le dernier fichier '.ckpt' pour économiser de l'espace disque :",
|
||||||
"Saved model name (without extension)": "Nom du modèle enregistré (sans extension) :",
|
"Saved model name (without extension)": "Nom du modèle enregistré (sans extension) :",
|
||||||
"Sealing date": "Date de scellement",
|
"Sealing date": "Date de scellement",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "Rapport de recherche de caractéristiques (contrôle l'intensité de l'accent, un rapport trop élevé provoque des artefacts) :",
|
"Feature searching ratio": "Rapport de recherche de caractéristiques (contrôle l'intensité de l'accent, un rapport trop élevé provoque des artefacts) :",
|
||||||
"Select Speaker/Singer ID": "Sélectionner l'ID de l'orateur ou du chanteur :",
|
"Select Speaker/Singer ID": "Sélectionner l'ID de l'orateur ou du chanteur :",
|
||||||
"Select the .index file": "Sélectionner le fichier .index",
|
"Select the .index file": "Sélectionner le fichier .index",
|
||||||
"Select the .pth file": "Sélectionner le fichier .pth",
|
"Select the .pth file": "Sélectionner le fichier .pth",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "Salva solo l'ultimo file '.ckpt' per risparmiare spazio su disco:",
|
"Save only the latest '.ckpt' file to save disk space": "Salva solo l'ultimo file '.ckpt' per risparmiare spazio su disco:",
|
||||||
"Saved model name (without extension)": "Nome del modello salvato (senza estensione):",
|
"Saved model name (without extension)": "Nome del modello salvato (senza estensione):",
|
||||||
"Sealing date": "封装时间",
|
"Sealing date": "封装时间",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "Rapporto funzionalità di ricerca (controlla la forza dell'accento, troppo alto ha artefatti):",
|
"Feature searching ratio": "Rapporto funzionalità di ricerca (controlla la forza dell'accento, troppo alto ha artefatti):",
|
||||||
"Select Speaker/Singer ID": "Seleziona ID locutore/cantante:",
|
"Select Speaker/Singer ID": "Seleziona ID locutore/cantante:",
|
||||||
"Select the .index file": "Seleziona il file .index",
|
"Select the .index file": "Seleziona il file .index",
|
||||||
"Select the .pth file": "Seleziona il file .pth",
|
"Select the .pth file": "Seleziona il file .pth",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "ハードディスク容量を節約するため、最新のckptファイルのみを保存しますか?",
|
"Save only the latest '.ckpt' file to save disk space": "ハードディスク容量を節約するため、最新のckptファイルのみを保存しますか?",
|
||||||
"Saved model name (without extension)": "拡張子のない保存するモデル名",
|
"Saved model name (without extension)": "拡張子のない保存するモデル名",
|
||||||
"Sealing date": "締め日付",
|
"Sealing date": "締め日付",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "検索特徴率",
|
"Feature searching ratio": "検索特徴率",
|
||||||
"Select Speaker/Singer ID": "話者IDを選択してください",
|
"Select Speaker/Singer ID": "話者IDを選択してください",
|
||||||
"Select the .index file": ".indexファイルを選択",
|
"Select the .index file": ".indexファイルを選択",
|
||||||
"Select the .pth file": ".pthファイルを選択",
|
"Select the .pth file": ".pthファイルを選択",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "디스크 공간을 절약하기 위해 최신 ckpt 파일만 저장할지 여부",
|
"Save only the latest '.ckpt' file to save disk space": "디스크 공간을 절약하기 위해 최신 ckpt 파일만 저장할지 여부",
|
||||||
"Saved model name (without extension)": "저장된 모델명은 접미사 없음",
|
"Saved model name (without extension)": "저장된 모델명은 접미사 없음",
|
||||||
"Sealing date": "Sealing date",
|
"Sealing date": "Sealing date",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "검색 특징 비율",
|
"Feature searching ratio": "검색 특징 비율",
|
||||||
"Select Speaker/Singer ID": "화자 ID 선택",
|
"Select Speaker/Singer ID": "화자 ID 선택",
|
||||||
"Select the .index file": ".index 파일 선택",
|
"Select the .index file": ".index 파일 선택",
|
||||||
"Select the .pth file": ".pth 파일 선택",
|
"Select the .pth file": ".pth 파일 선택",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "Só deve salvar apenas o arquivo ckpt mais recente para economizar espaço em disco:",
|
"Save only the latest '.ckpt' file to save disk space": "Só deve salvar apenas o arquivo ckpt mais recente para economizar espaço em disco:",
|
||||||
"Saved model name (without extension)": "Nome do modelo salvo (sem extensão):",
|
"Saved model name (without extension)": "Nome do modelo salvo (sem extensão):",
|
||||||
"Sealing date": "封装时间",
|
"Sealing date": "封装时间",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "Taxa de recurso de recuperação:",
|
"Feature searching ratio": "Taxa de recurso de recuperação:",
|
||||||
"Select Speaker/Singer ID": "Selecione Palestrantes/Cantores ID:",
|
"Select Speaker/Singer ID": "Selecione Palestrantes/Cantores ID:",
|
||||||
"Select the .index file": "Selecione o Index",
|
"Select the .index file": "Selecione o Index",
|
||||||
"Select the .pth file": "Selecione o Arquivo",
|
"Select the .pth file": "Selecione o Arquivo",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "Сохранять только последний файл '.ckpt', чтобы сохранить место на диске:",
|
"Save only the latest '.ckpt' file to save disk space": "Сохранять только последний файл '.ckpt', чтобы сохранить место на диске:",
|
||||||
"Saved model name (without extension)": "Имя файла модели для сохранения (без расширения):",
|
"Saved model name (without extension)": "Имя файла модели для сохранения (без расширения):",
|
||||||
"Sealing date": "Sealing date",
|
"Sealing date": "Sealing date",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "Соотношение поиска черт:",
|
"Feature searching ratio": "Соотношение поиска черт:",
|
||||||
"Select Speaker/Singer ID": "Номер говорящего:",
|
"Select Speaker/Singer ID": "Номер говорящего:",
|
||||||
"Select the .index file": "Выбрать файл .index",
|
"Select the .index file": "Выбрать файл .index",
|
||||||
"Select the .pth file": "Выбрать файл .pth",
|
"Select the .pth file": "Выбрать файл .pth",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "Sadece en son '.ckpt' dosyasını kaydet:",
|
"Save only the latest '.ckpt' file to save disk space": "Sadece en son '.ckpt' dosyasını kaydet:",
|
||||||
"Saved model name (without extension)": "Kaydedilecek model adı (uzantı olmadan):",
|
"Saved model name (without extension)": "Kaydedilecek model adı (uzantı olmadan):",
|
||||||
"Sealing date": "Sealing date",
|
"Sealing date": "Sealing date",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "Arama özelliği oranı (vurgu gücünü kontrol eder, çok yüksek olması sanal etkilere neden olur)",
|
"Feature searching ratio": "Arama özelliği oranı (vurgu gücünü kontrol eder, çok yüksek olması sanal etkilere neden olur)",
|
||||||
"Select Speaker/Singer ID": "Konuşmacı/Şarkıcı No seçin:",
|
"Select Speaker/Singer ID": "Konuşmacı/Şarkıcı No seçin:",
|
||||||
"Select the .index file": ".index dosyası seç",
|
"Select the .index file": ".index dosyası seç",
|
||||||
"Select the .pth file": ".pth dosyası seç",
|
"Select the .pth file": ".pth dosyası seç",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "是否仅保存最新的ckpt文件以节省硬盘空间",
|
"Save only the latest '.ckpt' file to save disk space": "是否仅保存最新的ckpt文件以节省硬盘空间",
|
||||||
"Saved model name (without extension)": "保存的模型名不带后缀",
|
"Saved model name (without extension)": "保存的模型名不带后缀",
|
||||||
"Sealing date": "封装时间",
|
"Sealing date": "封装时间",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "检索特征占比",
|
"Feature searching ratio": "检索特征占比",
|
||||||
"Select Speaker/Singer ID": "请选择说话人id",
|
"Select Speaker/Singer ID": "请选择说话人id",
|
||||||
"Select the .index file": "选择.index文件",
|
"Select the .index file": "选择.index文件",
|
||||||
"Select the .pth file": "选择.pth文件",
|
"Select the .pth file": "选择.pth文件",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "是否僅保存最新的ckpt檔案以節省硬碟空間",
|
"Save only the latest '.ckpt' file to save disk space": "是否僅保存最新的ckpt檔案以節省硬碟空間",
|
||||||
"Saved model name (without extension)": "儲存的模型名不帶副檔名",
|
"Saved model name (without extension)": "儲存的模型名不帶副檔名",
|
||||||
"Sealing date": "封装时间",
|
"Sealing date": "封装时间",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "檢索特徵佔比",
|
"Feature searching ratio": "檢索特徵佔比",
|
||||||
"Select Speaker/Singer ID": "請選擇說話人ID",
|
"Select Speaker/Singer ID": "請選擇說話人ID",
|
||||||
"Select the .index file": "選擇 .index 檔案",
|
"Select the .index file": "選擇 .index 檔案",
|
||||||
"Select the .pth file": "選擇 .pth 檔案",
|
"Select the .pth file": "選擇 .pth 檔案",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "是否僅保存最新的ckpt檔案以節省硬碟空間",
|
"Save only the latest '.ckpt' file to save disk space": "是否僅保存最新的ckpt檔案以節省硬碟空間",
|
||||||
"Saved model name (without extension)": "儲存的模型名不帶副檔名",
|
"Saved model name (without extension)": "儲存的模型名不帶副檔名",
|
||||||
"Sealing date": "封装时间",
|
"Sealing date": "封装时间",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "檢索特徵佔比",
|
"Feature searching ratio": "檢索特徵佔比",
|
||||||
"Select Speaker/Singer ID": "請選擇說話人ID",
|
"Select Speaker/Singer ID": "請選擇說話人ID",
|
||||||
"Select the .index file": "選擇 .index 檔案",
|
"Select the .index file": "選擇 .index 檔案",
|
||||||
"Select the .pth file": "選擇 .pth 檔案",
|
"Select the .pth file": "選擇 .pth 檔案",
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"Save only the latest '.ckpt' file to save disk space": "是否僅保存最新的ckpt檔案以節省硬碟空間",
|
"Save only the latest '.ckpt' file to save disk space": "是否僅保存最新的ckpt檔案以節省硬碟空間",
|
||||||
"Saved model name (without extension)": "儲存的模型名不帶副檔名",
|
"Saved model name (without extension)": "儲存的模型名不帶副檔名",
|
||||||
"Sealing date": "封装时间",
|
"Sealing date": "封装时间",
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)": "檢索特徵佔比",
|
"Feature searching ratio": "檢索特徵佔比",
|
||||||
"Select Speaker/Singer ID": "請選擇說話人ID",
|
"Select Speaker/Singer ID": "請選擇說話人ID",
|
||||||
"Select the .index file": "選擇 .index 檔案",
|
"Select the .index file": "選擇 .index 檔案",
|
||||||
"Select the .pth file": "選擇 .pth 檔案",
|
"Select the .pth file": "選擇 .pth 檔案",
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ with app:
|
|||||||
minimum=0,
|
minimum=0,
|
||||||
maximum=1,
|
maximum=1,
|
||||||
label=i18n(
|
label=i18n(
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)"
|
"Feature searching ratio"
|
||||||
),
|
),
|
||||||
value=0.88,
|
value=0.88,
|
||||||
interactive=True,
|
interactive=True,
|
||||||
|
|||||||
4
web.py
4
web.py
@@ -911,7 +911,7 @@ with gr.Blocks(title="RVC WebUI") as app:
|
|||||||
minimum=0,
|
minimum=0,
|
||||||
maximum=1,
|
maximum=1,
|
||||||
label=i18n(
|
label=i18n(
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)"
|
"Feature searching ratio"
|
||||||
),
|
),
|
||||||
value=0.75,
|
value=0.75,
|
||||||
interactive=True,
|
interactive=True,
|
||||||
@@ -1068,7 +1068,7 @@ with gr.Blocks(title="RVC WebUI") as app:
|
|||||||
minimum=0,
|
minimum=0,
|
||||||
maximum=1,
|
maximum=1,
|
||||||
label=i18n(
|
label=i18n(
|
||||||
"Search feature ratio (controls accent strength, too high has artifacting)"
|
"Feature searching ratio"
|
||||||
),
|
),
|
||||||
value=1,
|
value=1,
|
||||||
interactive=True,
|
interactive=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user