about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/client/components/menus_browser.cpp16
-rw-r--r--src/game/client/components/menus_settings.cpp44
2 files changed, 30 insertions, 30 deletions
diff --git a/src/game/client/components/menus_browser.cpp b/src/game/client/components/menus_browser.cpp
index f2437107..8d9b11cf 100644
--- a/src/game/client/components/menus_browser.cpp
+++ b/src/game/client/components/menus_browser.cpp
@@ -56,12 +56,12 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
 		{COL_FLAG_LOCK,	-1,						" ",		-1, 14.0f, 0, {0}, {0}},
 		{COL_FLAG_PURE,	-1,						" ",		-1, 14.0f, 0, {0}, {0}},
 		{COL_FLAG_FAV,	-1,						" ",		-1, 14.0f, 0, {0}, {0}},
-		{COL_NAME,		IServerBrowser::SORT_NAME,		Localize("Name"),		0, 300.0f, 0, {0}, {0}},
-		{COL_GAMETYPE,	IServerBrowser::SORT_GAMETYPE,	Localize("Type"),		1, 50.0f, 0, {0}, {0}},
-		{COL_MAP,		IServerBrowser::SORT_MAP,			Localize("Map"), 		1, 100.0f, 0, {0}, {0}},
-		{COL_PLAYERS,	IServerBrowser::SORT_NUMPLAYERS,	Localize("Players"),	1, 60.0f, 0, {0}, {0}},
+		{COL_NAME,		IServerBrowser::SORT_NAME,		"Name",		0, 300.0f, 0, {0}, {0}},	// Localize - these strings are localized within CLocConstString 
+		{COL_GAMETYPE,	IServerBrowser::SORT_GAMETYPE,	"Type",		1, 50.0f, 0, {0}, {0}},
+		{COL_MAP,		IServerBrowser::SORT_MAP,			"Map", 		1, 100.0f, 0, {0}, {0}},
+		{COL_PLAYERS,	IServerBrowser::SORT_NUMPLAYERS,	"Players",	1, 60.0f, 0, {0}, {0}},
 		{-1,			-1,						" ",		1, 10.0f, 0, {0}, {0}},
-		{COL_PING,		IServerBrowser::SORT_PING,		Localize("Ping"),		1, 40.0f, FIXED, {0}, {0}},
+		{COL_PING,		IServerBrowser::SORT_PING,		"Ping",		1, 40.0f, FIXED, {0}, {0}},
 	};
 
 	int NumCols = sizeof(s_aCols)/sizeof(CColumn);
@@ -486,9 +486,9 @@ void CMenus::RenderServerbrowserServerDetail(CUIRect View)
 	{
 		CUIRect Row;
 		static CLocConstString s_aLabels[] = {
-			Localize("Version"),
-			Localize("Game type"),
-			Localize("Ping")};
+			"Version",	// Localize - these strings are localized within CLocConstString
+			"Game type",
+			"Ping"};
 
 		CUIRect LeftColumn;
 		CUIRect RightColumn;
diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp
index af1c8fcc..6d9bf5ef 100644
--- a/src/game/client/components/menus_settings.cpp
+++ b/src/game/client/components/menus_settings.cpp
@@ -286,28 +286,28 @@ typedef struct
 static CKeyInfo gs_aKeys[] =
 {
 	// we need to do localize so the scripts can pickup the string
-	{ Localize("Move left"), "+left", 0},
-	{ Localize("Move right"), "+right", 0 },
-	{ Localize("Jump"), "+jump", 0 },
-	{ Localize("Fire"), "+fire", 0 },
-	{ Localize("Hook"), "+hook", 0 },
-	{ Localize("Hammer"), "+weapon1", 0 },
-	{ Localize("Pistol"), "+weapon2", 0 },
-	{ Localize("Shotgun"), "+weapon3", 0 },
-	{ Localize("Grenade"), "+weapon4", 0 },
-	{ Localize("Rifle"), "+weapon5", 0 },
-	{ Localize("Next weapon"), "+nextweapon", 0 },
-	{ Localize("Prev. weapon"), "+prevweapon", 0 },
-	{ Localize("Vote yes"), "vote yes", 0 },
-	{ Localize("Vote no"), "vote no", 0 },
-	{ Localize("Chat"), "chat all", 0 },
-	{ Localize("Team chat"), "chat team", 0 },
-	{ Localize("Show chat"), "+show_chat", 0 },
-	{ Localize("Emoticon"), "+emote", 0 },
-	{ Localize("Console"), "toggle_local_console", 0 },
-	{ Localize("Remote console"), "toggle_remote_console", 0 },
-	{ Localize("Screenshot"), "screenshot", 0 },
-	{ Localize("Scoreboard"), "+scoreboard", 0 },
+	{ "Move left", "+left", 0},		// Localize - these strings are localized within CLocConstString
+	{ "Move right", "+right", 0 },
+	{ "Jump", "+jump", 0 },
+	{ "Fire", "+fire", 0 },
+	{ "Hook", "+hook", 0 },
+	{ "Hammer", "+weapon1", 0 },
+	{ "Pistol", "+weapon2", 0 },
+	{ "Shotgun", "+weapon3", 0 },
+	{ "Grenade", "+weapon4", 0 },
+	{ "Rifle", "+weapon5", 0 },
+	{ "Next weapon", "+nextweapon", 0 },
+	{ "Prev. weapon", "+prevweapon", 0 },
+	{ "Vote yes", "vote yes", 0 },
+	{ "Vote no", "vote no", 0 },
+	{ "Chat", "chat all", 0 },
+	{ "Team chat", "chat team", 0 },
+	{ "Show chat", "+show_chat", 0 },
+	{ "Emoticon", "+emote", 0 },
+	{ "Console", "toggle_local_console", 0 },
+	{ "Remote console", "toggle_remote_console", 0 },
+	{ "Screenshot", "screenshot", 0 },
+	{ "Scoreboard", "+scoreboard", 0 },
 };
 
 const int g_KeyCount = sizeof(gs_aKeys) / sizeof(CKeyInfo);