mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 07:17:59 +00:00
Added more text content to the I18N system (#485)
This commit is contained in:
1 parent
1e19c05c57
commit
e3c272b0c4
5 files changed
+104
-11
No files matched your search
@@ -2,22 +2,24 @@ 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));
|
||||
|
||||
public static string Name(this NumberParticipants numberParticipants) => numberParticipants switch
|
||||
{
|
||||
NumberParticipants.NOT_SPECIFIED => "Please select how many participants are expected",
|
||||
NumberParticipants.NOT_SPECIFIED => TB("Please select how many participants are expected"),
|
||||
|
||||
NumberParticipants.PEER_TO_PEER => "2 (peer to peer)",
|
||||
NumberParticipants.PEER_TO_PEER => TB("2 (peer to peer)"),
|
||||
|
||||
NumberParticipants.SMALL_GROUP => "3 - 5 (small group)",
|
||||
NumberParticipants.LARGE_GROUP => "6 - 12 (large group)",
|
||||
NumberParticipants.MULTIPLE_SMALL_GROUPS => "13 - 20 (multiple small groups)",
|
||||
NumberParticipants.MULTIPLE_LARGE_GROUPS => "21 - 30 (multiple large groups)",
|
||||
NumberParticipants.SMALL_GROUP => TB("3 - 5 (small group)"),
|
||||
NumberParticipants.LARGE_GROUP => TB("6 - 12 (large group)"),
|
||||
NumberParticipants.MULTIPLE_SMALL_GROUPS => TB("13 - 20 (multiple small groups)"),
|
||||
NumberParticipants.MULTIPLE_LARGE_GROUPS => TB("21 - 30 (multiple large groups)"),
|
||||
|
||||
NumberParticipants.SYMPOSIUM => "31 - 100 (symposium)",
|
||||
NumberParticipants.CONFERENCE => "101 - 200 (conference)",
|
||||
NumberParticipants.CONGRESS => "201 - 1,000 (congress)",
|
||||
NumberParticipants.SYMPOSIUM => TB("31 - 100 (symposium)"),
|
||||
NumberParticipants.CONFERENCE => TB("101 - 200 (conference)"),
|
||||
NumberParticipants.CONGRESS => TB("201 - 1,000 (congress)"),
|
||||
|
||||
NumberParticipants.LARGE_EVENT => "1,000+ (large event)",
|
||||
NumberParticipants.LARGE_EVENT => TB("1,000+ (large event)"),
|
||||
|
||||
_ => "Unknown"
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user