Merge pull request #1686 from Dune-jr/feature-addlocalecontext

Add context to the locale for the Yes/No password field
This commit is contained in:
oy 2018-11-18 10:14:33 +01:00 committed by GitHub
commit f344450f4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -337,7 +337,7 @@ void CMenus::RenderServerInfo(CUIRect MainView)
Localize("Address"), g_Config.m_UiServerAddress, Localize("Address"), g_Config.m_UiServerAddress,
Localize("Ping"), m_pClient->m_Snap.m_pLocalInfo->m_Latency, Localize("Ping"), m_pClient->m_Snap.m_pLocalInfo->m_Latency,
Localize("Version"), CurrentServerInfo.m_aVersion, Localize("Version"), CurrentServerInfo.m_aVersion,
Localize("Password"), CurrentServerInfo.m_Flags&IServerBrowser::FLAG_PASSWORD ? Localize("Yes") : Localize("No") Localize("Password"), CurrentServerInfo.m_Flags&IServerBrowser::FLAG_PASSWORD ? Localize("Yes", "With") : Localize("No", "Without/None")
); );
TextRender()->Text(0, ServerInfo.x+x, ServerInfo.y+y, 20, aBuf, 250); TextRender()->Text(0, ServerInfo.x+x, ServerInfo.y+y, 20, aBuf, 250);