Merge pull request #933 from savander/master

Small localize update
This commit is contained in:
Dennis Felsing 2017-10-28 07:32:02 +02:00 committed by GitHub
commit 2e41a1d45b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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);

View file

@ -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))