From: terencehill Date: Sun, 27 Feb 2011 14:00:21 +0000 (+0100) Subject: Make translatable new strings X-Git-Tag: xonotic-v0.5.0~310 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2551d9046e84ed9d6760f09cb575b87ce62df19b;p=xonotic%2Fxonotic-data.pk3dir.git Make translatable new strings --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index f6ee18048..177a7cb98 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -2649,7 +2649,7 @@ void HUD_Score(void) } else { - s = strcat("Player", ftos(i+1)); + s = sprintf(_("Player %d"), ftos(i+1)); score -= 3; } @@ -2976,7 +2976,7 @@ void HUD_VoteWindow(void) { vote_yescount = 0; vote_nocount = 0; - print("^1You have to answer before entering hud configure mode\n"); + print(_("^1You must answer before entering hud configure mode\n")); cvar_set("_hud_configure", "0"); } vote_called_vote = strzone(_("^2Name ^7instead of \"^1Unregistered player\" ^7in stats")); @@ -4590,7 +4590,7 @@ void HUD_Main (void) } } if (warning) - print("Automatically fixed wrong/missing panel numbers in _hud_panelorder\n"); + print(_("Automatically fixed wrong/missing panel numbers in _hud_panelorder\n")); cvar_set("_hud_panelorder", s); if(hud_panelorder_prev)