Why Nostr? What is Njump?
2023-06-07 11:36:20
in reply to

Rune Kjær Svendsen [ARCHIVE] on Nostr: 📅 Original date posted:2013-03-11 📝 Original message:On Mon, Mar 11, 2013 at ...

📅 Original date posted:2013-03-11
📝 Original message:On Mon, Mar 11, 2013 at 9:46 PM, Luke-Jr <luke at dashjr.org> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20130311/3304d5ed/attachment.html>;
Author Public Key
npub1ssutaataqhl7xxp4lw6jutuhfuq5x48cf0xsxpgsxdkxkf9rl9wqnk53fg