Follow-up Comment #3, bug #25224 (project wesnoth): 1. It makes most sense to me to use the WML variable substitution syntax (as vgettext does), not the % syntax noted by gfgtdf.
2. You might want to think of this as having two parts - first, a "wesnoth.format" or similar function that handles the formatting; second, a way to encode the format parameters into the t_string so that the format doesn't occur until the translation is resolved. The second part would probably be a feature of the same format function though, I guess; as gfgtdf said, if the format string is a t_string, it could output a t_string instead of performing the format immediately. Then t_string would perform the format once the translation is resolved. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?25224> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list Wesnoth-bugs@gna.org https://mail.gna.org/listinfo/wesnoth-bugs