mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-03-01 12:11:26 +00:00
fixed translation of categories
This commit is contained in:
parent
26d736b6b4
commit
b9cf84e88c
@ -1220,6 +1220,7 @@ Use this structure:
|
|||||||
yaml.dump(json_cfg, f)
|
yaml.dump(json_cfg, f)
|
||||||
with open(language_path,"r",encoding="utf-8", errors="ignore") as f:
|
with open(language_path,"r",encoding="utf-8", errors="ignore") as f:
|
||||||
new_config = yaml.safe_load(f)
|
new_config = yaml.safe_load(f)
|
||||||
|
config["category"] = self.category
|
||||||
self.set_config(new_config)
|
self.set_config(new_config)
|
||||||
self.HideBlockingMessage()
|
self.HideBlockingMessage()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user