summaryrefslogtreecommitdiff
path: root/a8/fde40550ec7a3cb533e94fadae579c62428df0
blob: 1092a6fdf57d3b413c23fd8191aa82eb45e3fca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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 <runesvend@gmail.com>) 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 <bitcoin-development@lists.sourceforge.net>;
	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>
	<CAH2=CKyyjPoOTHS6bE7TBCE4UGXf+qnGv0xq-eSHg-iXMH2Rqw@mail.gmail.com>
	<201303112046.51263.luke@dashjr.org>
From: =?ISO-8859-1?Q?Rune_Kj=E6r_Svendsen?= <runesvend@gmail.com>
Date: Mon, 11 Mar 2013 22:17:25 +0100
Message-ID: <CAH2=CKy_o0wCWAfEHF0Zg4T1WGSoZ0o6LNB+uPXWdZmLv6siSg@mail.gmail.com>
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: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=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 <luke@dashjr.org> 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

<div dir=3D"ltr">On Mon, Mar 11, 2013 at 9:46 PM, Luke-Jr <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:luke@dashjr.org" target=3D"_blank">luke@dashjr.org</=
a>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div class=3D"gmail_quot=
e"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:soli=
d;padding-left:1ex">

<div class=3D"im">On Monday, March 11, 2013 8:34:52 PM Rune Kj=E6r Svendsen=
 wrote:<br>
&gt; Ok. I&#39;ll fork on Github. Looking at the source, and some Qt docume=
ntation,<br>
&gt; it should be doable to do string substitution for both the value and t=
he<br>
&gt; unit.<br>
<br>
</div>Side note: I imagine you&#39;d be substituting a formatted string, an=
d using some<br>
other function to format the string (which already exists to decide how to<=
br>
display units elsewhere).<br></blockquote><div><br></div><div style>I&#39;m=
 not entirely sure what you mean by this. I plan on using the method descri=
bed on this page <a href=3D"http://doc.qt.digia.com/3.1/i18n.html">http://d=
oc.qt.digia.com/3.1/i18n.html</a>=A0under &quot;Use QString::arg() for Simp=
le Arguments&quot; and then just putting a %1 and %2 in the translation str=
ings and substituting for value and unit, respectively. Haven&#39;t tested =
it yet, but that&#39;s what I plan to do.</div>

<div style><br></div><div style>Where do you want the constant defined? In =
main.h alongside=A0MIN_TX_FEE and=A0MIN_RELAY_TX_FEE?</div><div style><br><=
/div><div style><br></div><div style>/Rune</div></div></div></div>

--047d7b5d277449b28404d7acb48e--