}
else
{
- centerprint_Add(0, CCR(_("^BGGeneric message")), 10, 0);
+ centerprint_Add(0, strcat(CCR("^BG"), _("Generic message")), 10, 0);
hud_configure_cp_generation_time = time + 10 - random()*3;
}
}
drawcolorcodedstring(pos, centerprint_title_left, fontsize, panel_fg_alpha, DRAWFLAG_NORMAL);
pos.x = duel_title_pos.x + max_rl_width + padding * 3;
- drawcolorcodedstring(pos, CCR(_("^BGvs")), fontsize, panel_fg_alpha, DRAWFLAG_NORMAL);
+ drawcolorcodedstring(pos, strcat(CCR("^BG"), _("vs")), fontsize, panel_fg_alpha, DRAWFLAG_NORMAL);
pos.x = duel_title_pos.x + width - padding - max_rl_width;
if (left_width >= right_width)
if ( hud_panel_radar_mouse )
{
- string message = CCR(_("^BGClick to select teleport destination"));
+ string message = _("Click to select teleport destination");
if ( STAT(HEALTH) <= 0 )
{
- message = CCR(_("^BGClick to select spawn location"));
+ message = _("Click to select spawn location");
}
-
+
+ message = strcat(CCR("^BG"), message);
drawcolorcodedstring(pos + '0.5 0 0' * (mySize_x - stringwidth(message, true, hud_fontsize)) - '0 1 0' * hud_fontsize_y * 2,
message, hud_fontsize, hud_panel_radar_foreground_alpha, DRAWFLAG_NORMAL);
float weapon_height = hud_fontsize.y * 2.3 / aspect;
float height = weapon_height + hud_fontsize.y;
- drawcolorcodedstring(pos + eX * panel_bg_padding, sprintf(CCR(_("^BGAccuracy stats (average %d%%)")), average_accuracy), hud_fontsize, panel_fg_alpha * scoreboard_acc_fade_alpha, DRAWFLAG_NORMAL);
+ drawcolorcodedstring(pos + eX * panel_bg_padding, strcat(CCR("^BG"), sprintf(_("Accuracy stats (average %d%%)"), average_accuracy)), hud_fontsize, panel_fg_alpha * scoreboard_acc_fade_alpha, DRAWFLAG_NORMAL);
pos.y += 1.25 * hud_fontsize.y;
if(panel.current_panel_bg != "0")
pos.y += panel_bg_border;
float item_height = hud_fontsize.y * 2.3;
float height = item_height + hud_fontsize.y;
- drawcolorcodedstring(pos + eX * panel_bg_padding, CCR(_("^BGItem stats")), hud_fontsize, panel_fg_alpha * scoreboard_itemstats_fade_alpha, DRAWFLAG_NORMAL);
+ drawcolorcodedstring(pos + eX * panel_bg_padding, strcat(CCR("^BG"), _("Item stats")), hud_fontsize, panel_fg_alpha * scoreboard_itemstats_fade_alpha, DRAWFLAG_NORMAL);
pos.y += 1.25 * hud_fontsize.y;
if(panel.current_panel_bg != "0")
pos.y += panel_bg_border;
return pos;
// draw table header
- drawcolorcodedstring(pos + eX * panel_bg_padding, CCR(_("^BGMap stats:")), hud_fontsize, panel_fg_alpha, DRAWFLAG_NORMAL);
+ drawcolorcodedstring(pos + eX * panel_bg_padding, strcat(CCR("^BG"), _("Map stats:")), hud_fontsize, panel_fg_alpha, DRAWFLAG_NORMAL);
pos.y += 1.25 * hud_fontsize.y;
if(panel.current_panel_bg != "0")
pos.y += panel_bg_border;
}
mySize = newSize;
- s = CCR(_("^BGA vote has been called for:"));
+ s = strcat(CCR("^BG"), _("A vote has been called for:"));
if(uid2name_dialog)
- s = CCR(_("^BGAllow servers to store and display your name?"));
+ s = strcat(CCR("^BG"), _("Allow servers to store and display your name?"));
drawcolorcodedstring_aspect(pos, s, vec2(mySize.x, (2/8) * mySize.y), panel_fg_alpha, DRAWFLAG_NORMAL);
s = textShortenToWidth(ColorTranslateRGB(vote_called_vote), mySize.x, '1 1 0' * mySize.y * (1/8), stringwidth_colors);
if(autocvar__hud_configure)