Added the informal address to the BeyondFacts Lab (#1176)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-08 21:10:51 +01:00
1 parent b6c3fbb5db
commit e77645f44c
48 files changed
+1254 -160

No files matched your search

+6 -1
View File
@@ -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>>();