Added the BeyondFacts Lab as a prototype (#1175)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-08 19:49:46 +01:00
1 parent db8dae1cf6
commit b6c3fbb5db
90 files changed
+5936 -209

No files matched your search

@@ -0,0 +1,21 @@
namespace AIStudio.Assistants.BeyondFactsLab;
public static class BflAddressFormExtensions
{
private static string TB(string fallbackEN) => Tools.PluginSystem.I18N.I.T(fallbackEN, typeof(BflAddressFormExtensions).Namespace, nameof(BflAddressFormExtensions));
/// <param name="addressForm">The form of address.</param>
extension(BflAddressForm addressForm)
{
/// <summary>
/// Gets the name of the form of address, as the settings show it.
/// </summary>
public string Name => addressForm switch
{
BflAddressForm.FORMAL => TB("Formal address (Sie in German)"),
BflAddressForm.INFORMAL => TB("Informal address (du in German)"),
_ => TB("Formal address (Sie in German)"),
};
}
}