mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-12 02:47:21 +00:00
Added the BeyondFacts Lab as a prototype (#1175)
This commit is contained in:
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)"),
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user