diff --git a/README.cn.md b/README.cn.md index 8179740..5bca49f 100644 --- a/README.cn.md +++ b/README.cn.md @@ -37,6 +37,9 @@ Stable Diffusion Webui 扩展Civitai助手,用于更轻松的管理和使用Ci # 使用方法 +## 不要使用双语对照插件 +本插件无法在那个双语对照插件下工作,请换用普通中文化插件。 + ## 更新你的SD webui 本扩展需要取到 Extra Network的卡片列表id。**这个是2023-02-06,才添加到SD webui里面的。** diff --git a/README.md b/README.md index 08390cd..96516c7 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,9 @@ Everytime you install or update this extension, you need to shutdown SD Webui an Done. # How to Use +## Do not use bilingual localization +This extension can not work with bilingual localization extension. Disable it before using this extension. + ## Update Your SD Webui This extension need to get extra network's cards id. Which is added since **2023-02-06**. **If your SD webui is an earlier version, you need to update it!** diff --git a/javascript/civitai_helper.js b/javascript/civitai_helper.js index 792e37f..e9ce537 100644 --- a/javascript/civitai_helper.js +++ b/javascript/civitai_helper.js @@ -341,10 +341,10 @@ onUiLoaded(() => { let model_type_list = ["textual_inversion", "hypernetworks", "checkpoints", "lora"]; //get translated label list let model_type_label_list = [ - getTranslation("Textual Inversion")??"Textual Inversion", - getTranslation("Hypernetworks")??"Hypernetworks", - getTranslation("Checkpoints")??"Checkpoints", - getTranslation("Lora")??"Lora", + (getTranslation("Textual Inversion")??"Textual Inversion").trim(), + (getTranslation("Hypernetworks")??"Hypernetworks").trim(), + (getTranslation("Checkpoints")??"Checkpoints").trim(), + (getTranslation("Lora")??"Lora").trim(), ]; let cardid_suffix = "cards"; diff --git a/scripts/ch_lib/util.py b/scripts/ch_lib/util.py index 0a268a2..f3b1130 100644 --- a/scripts/ch_lib/util.py +++ b/scripts/ch_lib/util.py @@ -6,7 +6,7 @@ import requests import shutil -version = "1.6.1" +version = "1.6.1.1" def_headers = {'User-Agent': 'Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148'}