Zrips / CMI

111 stars 98 forks source link

/cmi reload will reset its annotation to english #8835

Closed RUYSUE closed 4 days ago

RUYSUE commented 2 weeks ago

when i changed pre-translated file, save and performed /cmi reload, the whole annotation was reset to default, resulting my double checking config.yml. although this does not reset my setting, it still confused me a lot. why? i wonder if i can disable this.

before reload

image

after reload

image
mrfloris commented 2 weeks ago

Correct, these are not the locale file, and when the expected values aren't detected it probably rebuilds it, trying to 'fix' the yaml file. I suspect that's what's going on here. Translations that you can translate are in the /translations/ folder

polang233 commented 2 weeks ago

这个没办法,我以前也尝试过把注释改成中文,改一半时,重载发现都没了 所以我现在都是留一份改过的来对照,而不是直接改服务器里的config

Zrips commented 4 days ago

Comment/annotations will always be in English as its just additional information for the user. Any changes to that will be reset on each reload.