X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fcampaign.qc;h=900e085d8c6b1c655d5d9fa35b57752d12ab7e98;hb=99c3e6da047827e29ecd320cc39215ae3a951637;hp=b9e9f54dbd73b94360e951a2e092bc9ea98a3db7;hpb=d9788c3532f2ad83c197c1107e613420c521c406;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/campaign.qc b/qcsrc/menu/xonotic/campaign.qc index b9e9f54db..900e085d8 100644 --- a/qcsrc/menu/xonotic/campaign.qc +++ b/qcsrc/menu/xonotic/campaign.qc @@ -239,9 +239,9 @@ void XonoticCampaignList_drawListBoxItem(entity me, int i, vector absSize, bool s = campaign_shortdesc[i]; // fteqcc sucks else s = "???"; - // NOTE the following string is equal to the one used in the campaign level notification - // (CAMPAIGN_MESSAGE) to avoid adding another duplicate string to translate - s = draw_TextShortenToWidth(strcat(sprintf(_("Level %s: "), itos(i+1)), s), me.columnNameSize, 0, me.realFontSize); + // NOTE the following string should be equal to the one used in the Welcome dialog + // to avoid adding a slightly different string to translate + s = draw_TextShortenToWidth(strcat(sprintf(_("Level %d:"), i+1), " ", s), me.columnNameSize, 0, me.realFontSize); draw_Text(me.realUpperMargin1 * eY + (me.columnNameOrigin + 0.00 * (me.columnNameSize - draw_TextWidth(s, 0, me.realFontSize))) * eX, s, me.realFontSize, theColor, theAlpha, 0); if(i <= me.campaignIndex)