diff --git a/src/game/client/components/menus_demo.cpp b/src/game/client/components/menus_demo.cpp index 665c1ed03..7c5f5d4e1 100644 --- a/src/game/client/components/menus_demo.cpp +++ b/src/game/client/components/menus_demo.cpp @@ -892,8 +892,8 @@ void CMenus::RenderDemoList(CUIRect MainView) static CColumn s_aCols[] = { {COL_ICON, -1, " ", -1, 14.0f, 0, {0}, {0}}, - {COL_DEMONAME, SORT_DEMONAME, "Demo", 0, 0.0f, 0, {0}, {0}}, - {COL_DATE, SORT_DATE, "Date", 1, 300.0f, 0, {0}, {0}}, + {COL_DEMONAME, SORT_DEMONAME, Localize("Demo"), 0, 0.0f, 0, {0}, {0}}, + {COL_DATE, SORT_DATE, Localize("Date"), 1, 300.0f, 0, {0}, {0}}, }; RenderTools()->DrawUIRect(&Headers, vec4(0.0f,0,0,0.15f), 0, 0); diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index fe0d7a46e..28d1c7f1f 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -1687,10 +1687,10 @@ void CMenus::RenderSettingsHUD(CUIRect MainView) char aBuf[64]; Right.HSplitTop(20.0f, &Label, &Right); Label.VSplitRight(50.0f, &Label, &Button); - float twh = TextRender()->TextWidth(0, 16.0f, "Friend message", -1) ; + float twh = TextRender()->TextWidth(0, 16.0f, Localize("Friend message"), -1) ; Label.VSplitLeft(twh + 5.0f, &Label, &Enable); Enable.VSplitLeft(20.0f, &Enable, 0); - UI()->DoLabelScaled(&Label, "Friend message", 16.0f, -1); + UI()->DoLabelScaled(&Label, Localize("Friend message"), 16.0f, -1); { static int s_DefaultButton = 0; if (DoButton_Menu(&s_DefaultButton, Localize("Reset"), 0, &Button))