mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-10 20:07:21 +00:00
Added the informal address to the BeyondFacts Lab (#1176)
This commit is contained in:
1 parent
b6c3fbb5db
commit
e77645f44c
48 files changed
+1254
-160
No files matched your search
@@ -350,7 +350,12 @@ internal sealed class Program
|
||||
// Store the service provider (DI). We need it later for some classes,
|
||||
// which are not part of the request pipeline:
|
||||
SERVICE_PROVIDER = app.Services;
|
||||
|
||||
|
||||
// The texts of TA() address the person as the BeyondFacts Lab is set to, since only the lab has such texts
|
||||
// so far. Once the app gets a setting of its own for the form of address, that setting takes over here:
|
||||
var settingsForTexts = app.Services.GetRequiredService<SettingsManager>();
|
||||
I18N.UseAddressFormOf(() => settingsForTexts.ConfigurationData.BeyondFactsLab.AddressForm);
|
||||
|
||||
// Initialize the encryption service:
|
||||
programLogger.LogInformation("Initializing the encryption service.");
|
||||
var encryptionLogger = app.Services.GetRequiredService<ILogger<Encryption>>();
|
||||
|
||||
Reference in new issue
Block a user