From 9da149f84b1d85189847fc0a79ff4753e597ac91 Mon Sep 17 00:00:00 2001 From: def Date: Thu, 17 Sep 2020 21:18:33 +0200 Subject: [PATCH] Localize control settings --- src/game/client/components/menus_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index 0d9015bed..a9fad720d 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -740,7 +740,7 @@ void CMenus::UiDoGetButtons(int Start, int Stop, CUIRect View, CUIRect ScopeView if(Button.y >= ScopeView.y && Button.y + Button.h <= ScopeView.y + ScopeView.h) { char aBuf[64]; - str_format(aBuf, sizeof(aBuf), "%s:", (const char *)Key.m_Name); + str_format(aBuf, sizeof(aBuf), "%s:", Localize((const char *)Key.m_Name)); UI()->DoLabelScaled(&Label, aBuf, 13.0f, -1); int OldId = Key.m_KeyId, OldModifier = Key.m_Modifier, NewModifier;