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
@@ -356,10 +356,9 @@ internal sealed class Program
|
||||
// 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:
|
||||
// The texts of TA() address the person as the app settings say:
|
||||
var settingsForTexts = app.Services.GetRequiredService<SettingsManager>();
|
||||
I18N.UseAddressFormOf(() => settingsForTexts.ConfigurationData.BeyondFactsLab.AddressForm);
|
||||
I18N.UseAddressFormOf(() => settingsForTexts.ConfigurationData.App.AddressForm);
|
||||
|
||||
// Initialize the encryption service:
|
||||
programLogger.LogInformation("Initializing the encryption service.");
|
||||
|
||||
Reference in new issue
Block a user