From: terencehill Date: Sat, 20 May 2023 12:27:22 +0000 (+0200) Subject: Show the correct key to join a team in the team selection interface; it fixes #2836 X-Git-Tag: xonotic-v0.8.6~97 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c9f7978e8d42a1f3e2f9f3a45fd01b83c38b2612;p=xonotic%2Fxonotic-data.pk3dir.git Show the correct key to join a team in the team selection interface; it fixes #2836 --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 8d6fcee56..2f6bc474c 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -2322,9 +2322,9 @@ void Scoreboard_Draw() if (scoreboard_ui_enabled == 2) { if (scoreboard_selected_team) - str = sprintf(_("^7Press ^3%s^7 to join the selected team"), getcommandkey(_("jump"), "+jump")); + str = sprintf(_("^7Press ^3%s^7 to join the selected team"), translate_key("SPACE")); else - str = sprintf(_("^7Press ^3%s^7 to auto-select a team and join"), getcommandkey(_("jump"), "+jump")); + str = sprintf(_("^7Press ^3%s^7 to auto-select a team and join"), translate_key("SPACE")); drawcolorcodedstring(pos + '0.5 0 0' * (panel_size.x - stringwidth(str, true, sb_gameinfo_detail_fontsize)), str, sb_gameinfo_detail_fontsize, panel_fg_alpha, DRAWFLAG_NORMAL); pos.y += sb_gameinfo_detail_fontsize.y + hud_fontsize.y * 0.3;