From 4fb496b7c33b4f80923983d87ba691e8ad64020d Mon Sep 17 00:00:00 2001 From: Krosus777 <38509947+Krosus777@users.noreply.github.com> Date: Tue, 20 Jun 2023 09:16:47 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BE=D1=82=D0=BA?= =?UTF-8?q?=D1=80=D1=8B=D1=82=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Server/Chat/Managers/ChatSanitizationManager.cs | 8 ++++++++ Resources/Locale/en-US/chat/sanitizer-replacements.ftl | 2 ++ Resources/Locale/ru-RU/chat/sanitizer-replacements.ftl | 2 ++ 3 files changed, 12 insertions(+) diff --git a/Content.Server/Chat/Managers/ChatSanitizationManager.cs b/Content.Server/Chat/Managers/ChatSanitizationManager.cs index 386b2ba2c4d..f0142753713 100644 --- a/Content.Server/Chat/Managers/ChatSanitizationManager.cs +++ b/Content.Server/Chat/Managers/ChatSanitizationManager.cs @@ -24,6 +24,14 @@ public sealed class ChatSanitizationManager : IChatSanitizationManager { "яхз", "chatsan-shrugs" }, { ":О", "chatsan-surprised" }, // cyrillic о { ":р", "chatsan-stick-out-tongue" }, // cyrillic р + { "кек", "chatsan-laughs" }, + { "T_T", "chatsan-cries" }, + { "Т_Т", "chatsan-cries" }, // cyrillic T + { "=_(", "chatsan-cries" }, + { "!с", "chatsan-laughs" }, + { "!в", "chatsan-sighs" }, + { "!х", "chatsan-claps" }, + { "!щ", "chatsan-snaps" }, // Corvax-Localization-End // I could've done this with regex, but felt it wasn't the right idea. { ":)", "chatsan-smiles" }, diff --git a/Resources/Locale/en-US/chat/sanitizer-replacements.ftl b/Resources/Locale/en-US/chat/sanitizer-replacements.ftl index 23e3a491a5e..e5c998b04aa 100644 --- a/Resources/Locale/en-US/chat/sanitizer-replacements.ftl +++ b/Resources/Locale/en-US/chat/sanitizer-replacements.ftl @@ -19,3 +19,5 @@ chatsan-waves = waves chatsan-salutes = salutes chatsan-tearfully-salutes = tearfully salutes chatsan-shrugs = shrugs +chatsan-claps = claps +chatsan-snaps = snaps diff --git a/Resources/Locale/ru-RU/chat/sanitizer-replacements.ftl b/Resources/Locale/ru-RU/chat/sanitizer-replacements.ftl index 5a5a6315a74..b5625fe9533 100644 --- a/Resources/Locale/ru-RU/chat/sanitizer-replacements.ftl +++ b/Resources/Locale/ru-RU/chat/sanitizer-replacements.ftl @@ -20,3 +20,5 @@ chatsan-waves = машет chatsan-salutes = отдаёт честь chatsan-tearfully-salutes = отдаёт честь со слезами на глазах chatsan-shrugs = пожимает плечами +chatsan-claps = хлопает +chatsan-snaps = щёлкает