mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 22:27:21 +00:00
Added the choice between formal and informal address to the whole app (#1200)
This commit is contained in:
1 parent
382db4b8d0
commit
c9a376f742
342 files changed
+14378
-1893
No files matched your search
@@ -100,7 +100,7 @@ public partial class DirectChatLauncherSettingsDialog : MSGComponentBase
|
||||
var currentLua = await File.ReadAllTextAsync(pluginFile, Encoding.UTF8);
|
||||
if (DirectChatLauncherLuaWriter.HasCompanionLuaFiles(this.assistantPlugin) || !DirectChatLauncherLuaWriter.IsCanonicalSource(currentLua))
|
||||
{
|
||||
this.issue = T("This launcher contains its own icon or additional Lua code. Please edit it with the plugin code editor, so nothing of it gets lost.");
|
||||
this.issue = TA("This launcher contains its own icon or additional Lua code. Please edit it with the plugin code editor, so nothing of it gets lost.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -244,11 +244,11 @@ public partial class DirectChatLauncherSettingsDialog : MSGComponentBase
|
||||
}
|
||||
}
|
||||
|
||||
private string? ValidatePluginName(string value) => string.IsNullOrWhiteSpace(value) ? T("Please provide a name for this plugin.") : null;
|
||||
private string? ValidatePluginName(string value) => string.IsNullOrWhiteSpace(value) ? TA("Please provide a name for this plugin.") : null;
|
||||
|
||||
private string? ValidateTitle(string value) => string.IsNullOrWhiteSpace(value) ? T("Please provide a title for this tile.") : null;
|
||||
private string? ValidateTitle(string value) => string.IsNullOrWhiteSpace(value) ? TA("Please provide a title for this tile.") : null;
|
||||
|
||||
private string? ValidateDescription(string value) => string.IsNullOrWhiteSpace(value) ? T("Please provide a description for this tile.") : null;
|
||||
private string? ValidateDescription(string value) => string.IsNullOrWhiteSpace(value) ? TA("Please provide a description for this tile.") : null;
|
||||
|
||||
private void Cancel() => this.MudDialog.Cancel();
|
||||
|
||||
|
||||
Reference in new issue
Block a user