mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-14 00:47: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
+3
-1
@@ -28,6 +28,8 @@ public sealed class ReadMailTool(SettingsManager settingsManager, MailboxRetriev
|
||||
{
|
||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(ReadMailTool).Namespace, nameof(ReadMailTool));
|
||||
|
||||
private static string TA(string fallbackEN) => I18N.I.TA(fallbackEN, typeof(ReadMailTool).Namespace, nameof(ReadMailTool));
|
||||
|
||||
private const string MAIL_ID_ARGUMENT = "mail_id";
|
||||
private const string ATTACHMENT_ARGUMENT = "attachment";
|
||||
private const string INCLUDE_HEADERS_ARGUMENT = "include_headers";
|
||||
@@ -108,7 +110,7 @@ public sealed class ReadMailTool(SettingsManager settingsManager, MailboxRetriev
|
||||
|
||||
public string GetDisplayName() => TB("Read Mail");
|
||||
|
||||
public string GetDescription() => TB("Lets the AI read the mails it found in your mailboxes, including their attachments.");
|
||||
public string GetDescription() => TA("Lets the AI read the mails it found in your mailboxes, including their attachments.");
|
||||
|
||||
public Task<ToolConfigurationState?> ValidateConfigurationAsync(ToolDefinition definition, IReadOnlyDictionary<string, string> settingsValues, CancellationToken token = default) =>
|
||||
Task.FromResult(MailToolConfiguration.GetState(settingsManager));
|
||||
|
||||
Reference in new issue
Block a user