|
|
|
|
@ -1258,7 +1258,7 @@ void DrawInfoBox(const CelOutputBuffer &out)
|
|
|
|
|
} else if (pcurs >= CURSOR_FIRSTITEM) { |
|
|
|
|
if (plr[myplr].HoldItem._itype == ITYPE_GOLD) { |
|
|
|
|
int nGold = plr[myplr].HoldItem._ivalue; |
|
|
|
|
sprintf(infostr, ngettext("%i gold piece", "%i gold pieces", nGold) |
|
|
|
|
sprintf(infostr, ngettext("%i gold piece", "%i gold pieces", nGold), nGold); |
|
|
|
|
} else if (!plr[myplr].HoldItem._iStatFlag) { |
|
|
|
|
ClearPanel(); |
|
|
|
|
AddPanelString(_("Requirements not met"), true); |
|
|
|
|
@ -1903,7 +1903,7 @@ void DrawGoldSplit(const CelOutputBuffer &out, int amount)
|
|
|
|
|
CelDrawTo(out, 351, 178, *pGBoxBuff, 1); |
|
|
|
|
sprintf(tempstr, _("You have %u gold"), initialDropGoldValue); |
|
|
|
|
ADD_PlrStringXY(out, 366, 87, 600, tempstr, COL_GOLD); |
|
|
|
|
sprintf(tempstr, ngettext("piece. How many do", "pieces. How many do", initialDropGoldValue)); |
|
|
|
|
sprintf(tempstr, ngettext("piece. How many do", "pieces. How many do", initialDropGoldValue), initialDropGoldValue); |
|
|
|
|
ADD_PlrStringXY(out, 366, 103, 600, tempstr, COL_GOLD); |
|
|
|
|
ADD_PlrStringXY(out, 366, 121, 600, _("you want to remove?"), COL_GOLD); |
|
|
|
|
if (amount > 0) { |
|
|
|
|
|