Skip to content

Commit

Permalink
search in lowertext
Browse files Browse the repository at this point in the history
  • Loading branch information
larentoun committed Nov 13, 2024
1 parent 709a9c9 commit e427879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modular_ss220/translations/code/translate_emotes.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/proc/ru_emote_name(emote_name)
return GLOB.ru_emote_names[emote_name] || emote_name
return GLOB.ru_emote_names[lowertext(emote_name)] || emote_name

/proc/ru_emote_message(emote_message)
return GLOB.ru_emote_messages[emote_message] || emote_message
Expand All @@ -19,5 +19,5 @@

/datum/keybinding/emote/proc/update_to_ru()
// Need to finish the name list first, I'm not doing it right now
// name = capitalize(ru_emote_name(lowertext(src::name)))
// name = capitalize(ru_emote_name(src::name))
return

0 comments on commit e427879

Please sign in to comment.