string str = project.Variables["text"].Value;
return str.Replace("А", "{А|A}").Replace("а", "{а|a}").Replace("В", "{В|B}").Replace("С", "{С|C}").Replace("с", "{с|c}").Replace("Е", "{Е|E}").Replace("е", "{е|e}").Replace("О", "{О|O}").Replace("о", "{о|o}").Replace("Р", "{Р|P}").Replace("р"...