mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 21:07: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
@@ -135,7 +135,7 @@ public partial class ProfileDialog : MSGComponentBase
|
||||
private string? ValidateNeedToKnow(string text)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(this.DataNeedToKnow) && string.IsNullOrWhiteSpace(this.DataActions))
|
||||
return T("Please enter what the LLM should know about you and/or what actions it should take.");
|
||||
return TA("Please enter what the LLM should know about you and/or what actions it should take.");
|
||||
|
||||
return null;
|
||||
}
|
||||
@@ -143,7 +143,7 @@ public partial class ProfileDialog : MSGComponentBase
|
||||
private string? ValidateActions(string text)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(this.DataNeedToKnow) && string.IsNullOrWhiteSpace(this.DataActions))
|
||||
return T("Please enter what the LLM should know about you and/or what actions it should take.");
|
||||
return TA("Please enter what the LLM should know about you and/or what actions it should take.");
|
||||
|
||||
return null;
|
||||
}
|
||||
@@ -151,7 +151,7 @@ public partial class ProfileDialog : MSGComponentBase
|
||||
private string? ValidateName(string name)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(name))
|
||||
return T("Please enter a profile name.");
|
||||
return TA("Please enter a profile name.");
|
||||
|
||||
if (name.Length > 40)
|
||||
return T("The profile name must not exceed 40 characters.");
|
||||
|
||||
Reference in new issue
Block a user