Skip to content

Commit

Permalink
Update BarkAccentSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheShuEd authored Dec 17, 2023
1 parent aa20755 commit b96b324
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Content.Server/Speech/EntitySystems/BarkAccentSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ public sealed class BarkAccentSystem : EntitySystem
[Dependency] private readonly IRobustRandom _random = default!;

private static readonly IReadOnlyList<string> Barks = new List<string>{
//Corvax-localization-start
//Corvax-Localization-Start
" Гав!", " ГАВ", " вуф-вуф"
//Corvax-localization-end
//Corvax-Localization-End
}.AsReadOnly();

private static readonly IReadOnlyDictionary<string, string> SpecialWords = new Dictionary<string, string>()
Expand All @@ -19,12 +19,12 @@ public sealed class BarkAccentSystem : EntitySystem
{ "Ah", "Arf" },
{ "oh", "oof" },
{ "Oh", "Oof" },
//Corvax-localization-start
//Corvax-Localization-Start
{ "ага", "агаф" },
{ "Ага", "Агаф" },
{ "угу", "вуф" },
{ "Угу", "Вуф" },
//Corvax-localization-end
//Corvax-Localization-End
};

public override void Initialize()
Expand All @@ -41,9 +41,9 @@ public string Accentuate(string message)

return message.Replace("!", _random.Pick(Barks))
.Replace("l", "r").Replace("L", "R")
//Corvax-localisation-start
//Corvax-Localisation-Start
.Replace("л", "р").Replace("Л", "Р");
//Corvax-localization-end
//Corvax-Localization-End
}

private void OnAccent(EntityUid uid, BarkAccentComponent component, AccentGetEvent args)
Expand Down

0 comments on commit b96b324

Please sign in to comment.