This is an automated email from the git hooks/post-receive script. smcv pushed a commit to branch debian/master in repository openjk.
commit 47403da163017f45a535ae1a0641846fe5ab8f9a Author: Ensiform <ensif...@gmail.com> Date: Mon Sep 26 14:55:24 2016 -0500 MP: Retain localization of no servers with player name found. --- codemp/ui/ui_main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/codemp/ui/ui_main.c b/codemp/ui/ui_main.c index 1f17346..40fa5de 100644 --- a/codemp/ui/ui_main.c +++ b/codemp/ui/ui_main.c @@ -7827,14 +7827,17 @@ static void UI_BuildFindPlayerList(qboolean force) { uiInfo.nextFindPlayerRefresh = uiInfo.uiDC.realTime + 25; } else { + trap->SE_GetStringTextString("MENUS_SERVERS_FOUNDWITH", holdSPString, sizeof(holdSPString)); // add a line that shows the number of servers found if (!uiInfo.numFoundPlayerServers) { - trap->Cvar_Set( "ui_playerServersFound", "no servers found" ); + trap->Cvar_Set( "ui_playerServersFound", va( holdSPString, + 0, + "s", + uiInfo.findPlayerName) ); } else { - trap->SE_GetStringTextString("MENUS_SERVERS_FOUNDWITH", holdSPString, sizeof(holdSPString)); trap->Cvar_Set( "ui_playerServersFound", va( holdSPString, uiInfo.numFoundPlayerServers-1, uiInfo.numFoundPlayerServers == 2 ? "":"s", -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openjk.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits