Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UFA6U-0005Jm-Ui for bitcoin-development@lists.sourceforge.net; Mon, 11 Mar 2013 21:17:54 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.45 as permitted sender) client-ip=74.125.82.45; envelope-from=runesvend@gmail.com; helo=mail-wg0-f45.google.com; Received: from mail-wg0-f45.google.com ([74.125.82.45]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1UFA6S-0006yC-1I for bitcoin-development@lists.sourceforge.net; Mon, 11 Mar 2013 21:17:54 +0000 Received: by mail-wg0-f45.google.com with SMTP id dq12so5539090wgb.12 for ; Mon, 11 Mar 2013 14:17:45 -0700 (PDT) X-Received: by 10.194.21.233 with SMTP id y9mr22261581wje.47.1363036665916; Mon, 11 Mar 2013 14:17:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.44.132 with HTTP; Mon, 11 Mar 2013 14:17:25 -0700 (PDT) In-Reply-To: <201303112046.51263.luke@dashjr.org> References: <1363030071-26731-1-git-send-email-runesvend@gmail.com> <201303111935.55767.luke@dashjr.org> <201303112046.51263.luke@dashjr.org> From: =?ISO-8859-1?Q?Rune_Kj=E6r_Svendsen?= Date: Mon, 11 Mar 2013 22:17:25 +0100 Message-ID: To: bitcoin-development@lists.sourceforge.net Content-Type: multipart/alternative; boundary=047d7b5d277449b28404d7acb48e X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (runesvend[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1UFA6S-0006yC-1I Subject: Re: [Bitcoin-development] [PATCH] Change recommended fee to 0.001 BTC X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 21:17:55 -0000 --047d7b5d277449b28404d7acb48e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Mar 11, 2013 at 9:46 PM, Luke-Jr wrote: > On Monday, March 11, 2013 8:34:52 PM Rune Kj=E6r 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 th= e > > 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 t= o > 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 --047d7b5d277449b28404d7acb48e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Mar 11, 2013 at 9:46 PM, Luke-Jr <luke@dashjr.org> wrote:
--047d7b5d277449b28404d7acb48e--