Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChatSan hotfix #57

Merged
merged 1 commit into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Content.Server/Chat/Managers/ChatSanitizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ public sealed class ChatSanitizationManager : IChatSanitizationManager
{ "kkkkk", "chatsan-laughs" }, // mas como não tem sistema que usa regex pronto
{ "kkkk", "chatsan-laughs" }, // vai assim mesmo até segunda ordem
{ "kkk", "chatsan-laughs" }, // também odeio muito que isso não tá no locale de pt-br
{ "kk", "chatsan-laughs" }, // c'est lá vie... eh a vida...
{ "k", "chatsan-laughs" }, // ah, a ordem importa; os maiores tem que vir primeiro, se não ele vai pegar um dos menores e enviar o resto da mensagem
// conflita com "Ok", então comentados até segunda ordem
// { "kk", "chatsan-laughs" }, // c'est lá vie... eh a vida...
// { "k", "chatsan-laughs" }, // ah, a ordem importa; os maiores tem que vir primeiro, se não ele vai pegar um dos menores e enviar o resto da mensagem
{ "o7", "chatsan-salutes" },
{ ";_;7", "chatsan-tearfully-salutes"},
{ "idk", "chatsan-shrugs" },
Expand Down
10 changes: 6 additions & 4 deletions Resources/Locale/pt-BR/speech/speech-chatsan.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,13 @@ chatsan-replacement-1119 = chefe da segurança
chatsan-word-1120 = hop
chatsan-replacement-1120 = chefe dos funcionários

chatsan-word-1121 = n
chatsan-replacement-1121 = não

chatsan-word-1122 = s
chatsan-replacement-1122 = sim
# comentados até segunda ordem por que :n e :s são os radios da sec e sci
# chatsan-word-1121 = n
# chatsan-replacement-1121 = não

# chatsan-word-1122 = s
# chatsan-replacement-1122 = sim

chatsan-word-1123 = mn
chatsan-replacement-1123 = mano
4 changes: 2 additions & 2 deletions Resources/Prototypes/Accents/word_replacements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@
chatsan-word-1118: chatsan-replacement-1118
chatsan-word-1119: chatsan-replacement-1119
chatsan-word-1120: chatsan-replacement-1120
chatsan-word-1121: chatsan-replacement-1121
chatsan-word-1122: chatsan-replacement-1122
# chatsan-word-1121: chatsan-replacement-1121
# chatsan-word-1122: chatsan-replacement-1122

- type: accent
id: liar
Expand Down
Loading