Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ss220club/Paradise-Remake
Browse files Browse the repository at this point in the history
…into refactor-lobby-screen-image-delivery
  • Loading branch information
Gaxeer committed Jan 28, 2024
2 parents bb79414 + 703b830 commit 28ed692
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Binary file modified modular_ss220/food/icons/drinks.dmi
Binary file not shown.
4 changes: 2 additions & 2 deletions modular_ss220/text_to_speech/code/tts_seed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
ert_member.change_voice(src.mob)

/mob/living/silicon/verb/synth_change_voice()
set name = "Change Voice"
set name = "Смена голоса"
set desc = "Express yourself!"
set category = "Subsystems"
set category = "Подсистемы"
change_voice()

/atom/proc/get_converted_tts_seed_gender()
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui-panel/chat/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class ChatRenderer {
const highlightWholeMessage = setting.highlightWholeMessage;
const matchWord = setting.matchWord;
const matchCase = setting.matchCase;
const allowedRegex = /^[a-z0-9_\-$/^[\s\]\\]+$/gi;
const allowedRegex = /^[a-zа-яё0-9_\-$/^[\s\]\\]+$/gi; // SS220 EDIT - CYRILLIC SUPPORT
const regexEscapeCharacters = /[!#$%^&*)(+=.<>{}[\]:;'"|~`_\-\\/]/g;
const lines = String(text)
.split(/[,|]/)
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui-panel/chat/replaceInTextNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const replaceInTextNode = (regex, words, createNode) => (node) => {
for (let word of words) {
// Capture if the word is at the beginning, end, middle,
// or by itself in a message
wordRegexStr += `^${word}\\W|\\W${word}\\W|\\W${word}$|^${word}$`;
wordRegexStr += `^${word}\\S\\w|\\S\\w${word}\\S\\w|\\S\\w${word}$|^${word}\\S\\w$`; // SS220 EDIT - CYRILLIC SUPPORT
// Make sure the last character for the expression is NOT '|'
if (++i !== words.length) {
wordRegexStr += '|';
Expand Down
Loading

0 comments on commit 28ed692

Please sign in to comment.