mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-14 05:47:22 +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
@@ -3,12 +3,14 @@ namespace AIStudio.Assistants.Agenda;
|
||||
public static class NumberParticipantsExtensions
|
||||
{
|
||||
private static string TB(string fallbackEN) => Tools.PluginSystem.I18N.I.T(fallbackEN, typeof(NumberParticipantsExtensions).Namespace, nameof(NumberParticipantsExtensions));
|
||||
|
||||
private static string TA(string fallbackEN) => Tools.PluginSystem.I18N.I.TA(fallbackEN, typeof(NumberParticipantsExtensions).Namespace, nameof(NumberParticipantsExtensions));
|
||||
|
||||
extension(NumberParticipants numberParticipants)
|
||||
{
|
||||
public string Name => numberParticipants switch
|
||||
{
|
||||
NumberParticipants.NOT_SPECIFIED => TB("Please select how many participants are expected"),
|
||||
NumberParticipants.NOT_SPECIFIED => TA("Please select how many participants are expected"),
|
||||
|
||||
NumberParticipants.PEER_TO_PEER => TB("2 (peer to peer)"),
|
||||
|
||||
|
||||
Reference in new issue
Block a user