Skip to content

Commit

Permalink
all fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemchik542 committed Jan 12, 2025
1 parent 768b944 commit 4e7d098
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modular_ss220/modules/cyrillic_key_fixes/code/text.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ GLOBAL_LIST_INIT(ru_key_to_en_key, list(
"я" = "z", "ч" = "x", "с" = "c", "м" = "v", "и" = "b", "т" = "n", "ь" = "m", "б" = ",", "ю" = "."
))

/proc/convert_ru_key_to_en_key(var/_key)
var/new_key = lowertext(_key)
/proc/convert_ru_key_to_en_key(_key)
var/new_key = LOWER_TEXT(_key)
new_key = GLOB.ru_key_to_en_key[new_key]
if(!new_key)
return _key
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
#define FACTION_XEN "xen"
#define FACTION_HECU "hecu"
#define FACTION_BLACKOPS "blackops"
#define FACTION_BLACKMESA "blackmesa"
#define FACTION_BLACKMESA "blackmesa"
4 changes: 2 additions & 2 deletions modular_ss220/modules/tts/code/tts_subsystem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ SUBSYSTEM_DEF(ttsSilero)
if(traits & TTS_TRAIT_PITCH_WHISPER)
text = provider.pitch_whisper(text)

var/hash = rustg_hash_string(RUSTG_HASH_MD5, lowertext(text))
var/hash = rustg_hash_string(RUSTG_HASH_MD5, LOWER_TEXT(text))
var/filename = "sound/tts_cache/[seed.name]/[hash]"

if(fexists("[filename].ogg"))
Expand Down Expand Up @@ -580,7 +580,7 @@ SUBSYSTEM_DEF(ttsSilero)
"меде" = "м еде",
"кз" = "Кэ Зэ",
)
var/match = tts_replacement_list[lowertext(word)]
var/match = tts_replacement_list[LOWER_TEXT(word)]
if(match)
return match
return word

0 comments on commit 4e7d098

Please sign in to comment.