mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-05-03 09:39:47 +00:00
Fixed localization assistant file loading issue in the release app (#434)
This commit is contained in:
parent
3c41fe2771
commit
08b8f42c25
app/MindWork AI Studio
@ -182,7 +182,7 @@ public partial class AssistantI18N : AssistantBaseCore<SettingsDialogI18N>
|
||||
var filePath = Path.Join(Environment.CurrentDirectory, "Assistants", "I18N");
|
||||
var resourceFileProvider = new PhysicalFileProvider(filePath);
|
||||
#else
|
||||
var resourceFileProvider = new ManifestEmbeddedFileProvider(Assembly.GetAssembly(type: typeof(Program))!, "Assistants.I18N");
|
||||
var resourceFileProvider = new ManifestEmbeddedFileProvider(Assembly.GetAssembly(type: typeof(Program))!, "Assistants/I18N");
|
||||
#endif
|
||||
|
||||
var file = resourceFileProvider.GetFileInfo("allTexts.lua");
|
||||
|
@ -1,3 +1,4 @@
|
||||
# v0.9.42, build 217 (2025-05-xx xx:xx UTC)
|
||||
- Fixed an issue where empty lines in source code were being ignored by the Markdown renderer. Thanks My Nihongo for fixing this bug in the `MudBlazor.Markdown` repository.
|
||||
- Fixed the localization assistant not being able to load the localization file when used in the release app.
|
||||
- Upgraded .NET dependencies.
|
Loading…
Reference in New Issue
Block a user