On Mon, Mar 11, 2013 at 9:46 PM, Luke-Jr wrote: > On Monday, March 11, 2013 8:34:52 PM Rune Kjær Svendsen wrote: > > Ok. I'll fork on Github. Looking at the source, and some Qt > documentation, > > it should be doable to do string substitution for both the value and the > > unit. > > Side note: I imagine you'd be substituting a formatted string, and using > some > other function to format the string (which already exists to decide how to > display units elsewhere). > I'm not entirely sure what you mean by this. I plan on using the method described on this page http://doc.qt.digia.com/3.1/i18n.html under "Use QString::arg() for Simple Arguments" and then just putting a %1 and %2 in the translation strings and substituting for value and unit, respectively. Haven't tested it yet, but that's what I plan to do. Where do you want the constant defined? In main.h alongside MIN_TX_FEE and MIN_RELAY_TX_FEE? /Rune