Follow-up Comment #2, bug #25468 (project wesnoth):

I don't know if you are using boost? Something like this should do:

std:: string printme = (boost::format(_n("%1% %2% movement point","%1% %2%
movement points",movement_used)) % desc % movement_used).str();

Or:

char buffer [<sufficiently big number>];
sprintf(buffer, _n("%s %d movement point","%1% %2% movement
points",movement_used)), desc, movement_used);

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?25468>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to