Skip to content

Commit

Permalink
Переоткрытие
Browse files Browse the repository at this point in the history
  • Loading branch information
Krosus777 committed Jun 20, 2023
1 parent 0306801 commit 4fb496b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Content.Server/Chat/Managers/ChatSanitizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/chat/sanitizer-replacements.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ chatsan-waves = waves
chatsan-salutes = salutes
chatsan-tearfully-salutes = tearfully salutes
chatsan-shrugs = shrugs
chatsan-claps = claps
chatsan-snaps = snaps
2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/chat/sanitizer-replacements.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ chatsan-waves = машет
chatsan-salutes = отдаёт честь
chatsan-tearfully-salutes = отдаёт честь со слезами на глазах
chatsan-shrugs = пожимает плечами
chatsan-claps = хлопает
chatsan-snaps = щёлкает

0 comments on commit 4fb496b

Please sign in to comment.