mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-05-03 09:39:47 +00:00
Enhance Lua code generation by including comment using the base language
This commit is contained in:
parent
5a974fb45c
commit
d13e42c689
@ -345,6 +345,7 @@ public partial class AssistantI18N : AssistantBaseCore<SettingsDialogI18N>
|
||||
private void Phase2CreateLuaCode()
|
||||
{
|
||||
this.finalLuaCode.Clear();
|
||||
LuaTable.Create(ref this.finalLuaCode, "UI_TEXT_CONTENT", this.localizedContent, this.cancellationTokenSource!.Token);
|
||||
var commentContent = this.addedContent.Concat(PluginFactory.BaseLanguage.Content).ToDictionary();
|
||||
LuaTable.Create(ref this.finalLuaCode, "UI_TEXT_CONTENT", this.localizedContent, commentContent, this.cancellationTokenSource!.Token);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user