mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 02:18:00 +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"
|
||||
};
|
||||
|
||||
@@ -238,6 +238,36 @@ UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::ASSISTANTAGENDA::T92038124"] = "A
|
||||
-- Do participants need to arrive and depart?
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::ASSISTANTAGENDA::T945792620"] = "Do participants need to arrive and depart?"
|
||||
|
||||
-- 13 - 20 (multiple small groups)
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T1248612832"] = "13 - 20 (multiple small groups)"
|
||||
|
||||
-- 101 - 200 (conference)
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T1576140451"] = "101 - 200 (conference)"
|
||||
|
||||
-- Please select how many participants are expected
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T1761209658"] = "Please select how many participants are expected"
|
||||
|
||||
-- 31 - 100 (symposium)
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T1884554098"] = "31 - 100 (symposium)"
|
||||
|
||||
-- 21 - 30 (multiple large groups)
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T2544279674"] = "21 - 30 (multiple large groups)"
|
||||
|
||||
-- 6 - 12 (large group)
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T3462231762"] = "6 - 12 (large group)"
|
||||
|
||||
-- 201 - 1,000 (congress)
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T3871655179"] = "201 - 1,000 (congress)"
|
||||
|
||||
-- 2 (peer to peer)
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T4200229473"] = "2 (peer to peer)"
|
||||
|
||||
-- 3 - 5 (small group)
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T568372961"] = "3 - 5 (small group)"
|
||||
|
||||
-- 1,000+ (large event)
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::AGENDA::NUMBERPARTICIPANTSEXTENSIONS::T812476179"] = "1,000+ (large event)"
|
||||
|
||||
-- Stop generation
|
||||
UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::ASSISTANTBASE::T1317408357"] = "Stop generation"
|
||||
|
||||
|
||||
Reference in new issue
Block a user