mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 23: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
@@ -109,6 +109,8 @@ public record ChatTemplate(
|
||||
public string? WorkspaceName { get; set; }
|
||||
|
||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(ChatTemplate).Namespace, nameof(ChatTemplate));
|
||||
|
||||
private static string TA(string fallbackEN) => I18N.I.TA(fallbackEN, typeof(ChatTemplate).Namespace, nameof(ChatTemplate));
|
||||
|
||||
private static readonly ILogger<ChatTemplate> LOGGER = Program.LOGGER_FACTORY.CreateLogger<ChatTemplate>();
|
||||
|
||||
@@ -601,7 +603,7 @@ public record ChatTemplate(
|
||||
|
||||
if (string.IsNullOrWhiteSpace(pluginDirectory) || !File.Exists(Path.Combine(pluginDirectory, "plugin.lua")))
|
||||
{
|
||||
issue = TB("Please select a valid configuration plugin folder. The folder must contain a plugin.lua file.");
|
||||
issue = TA("Please select a valid configuration plugin folder. The folder must contain a plugin.lua file.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user