Skip to content

Commit 42e1049

Browse files
Tweak few more strings re mixing and balances (#3265)
* Tweak few more strings re mixing and balances * "Fully mixed"/"mixed" -> "PrivateSend" * Apply suggestions from code review Co-Authored-By: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com>
1 parent d30eeb6 commit 42e1049

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ std::string HelpMessage(HelpMessageMode mode)
610610
strUsage += HelpMessageOpt("-privatesendmultisession", strprintf(_("Enable multiple PrivateSend mixing sessions per block, experimental (0-1, default: %u)"), DEFAULT_PRIVATESEND_MULTISESSION));
611611
strUsage += HelpMessageOpt("-privatesendsessions=<n>", strprintf(_("Use N separate masternodes in parallel to mix funds (%u-%u, default: %u)"), MIN_PRIVATESEND_SESSIONS, MAX_PRIVATESEND_SESSIONS, DEFAULT_PRIVATESEND_SESSIONS));
612612
strUsage += HelpMessageOpt("-privatesendrounds=<n>", strprintf(_("Use N separate masternodes for each denominated input to mix funds (%u-%u, default: %u)"), MIN_PRIVATESEND_ROUNDS, MAX_PRIVATESEND_ROUNDS, DEFAULT_PRIVATESEND_ROUNDS));
613-
strUsage += HelpMessageOpt("-privatesendamount=<n>", strprintf(_("Keep N DASH mixed (%u-%u, default: %u)"), MIN_PRIVATESEND_AMOUNT, MAX_PRIVATESEND_AMOUNT, DEFAULT_PRIVATESEND_AMOUNT));
613+
strUsage += HelpMessageOpt("-privatesendamount=<n>", strprintf(_("Target PrivateSend balance (%u-%u, default: %u)"), MIN_PRIVATESEND_AMOUNT, MAX_PRIVATESEND_AMOUNT, DEFAULT_PRIVATESEND_AMOUNT));
614614
strUsage += HelpMessageOpt("-privatesenddenoms=<n>", strprintf(_("Create up to N inputs of each denominated amount (%u-%u, default: %u)"), MIN_PRIVATESEND_DENOMS, MAX_PRIVATESEND_DENOMS, DEFAULT_PRIVATESEND_DENOMS));
615615
#endif // ENABLE_WALLET
616616

src/qt/forms/optionsdialog.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
<string notr="true"/>
264264
</property>
265265
<property name="text">
266-
<string>Amount of Dash to keep mixed</string>
266+
<string>Target PrivateSend balance</string>
267267
</property>
268268
</widget>
269269
</item>

src/qt/overviewpage.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ void OverviewPage::updatePrivateSendProgress()
428428

429429
QString strToolPip = ("<b>" + tr("Overall progress") + ": %1%</b><br/>" +
430430
tr("Denominated") + ": %2%<br/>" +
431-
tr("Mixed") + ": %3%<br/>" +
432-
tr("Anonymized") + ": %4%<br/>" +
431+
tr("Partially mixed") + ": %3%<br/>" +
432+
tr("Mixed") + ": %4%<br/>" +
433433
tr("Denominated inputs have %5 of %n rounds on average", "", privateSendClient.nPrivateSendRounds))
434434
.arg(progress).arg(denomPart).arg(anonNormPart).arg(anonFullPart)
435435
.arg(nAverageAnonymizedRounds);

src/qt/sendcoinsdialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ void SendCoinsDialog::send(QList<SendCoinsRecipient> recipients)
378378

379379

380380
if(ctrl.IsUsingPrivateSend()) {
381-
questionString.append(tr("using") + " <b>" + tr("mixed funds") + "</b>");
381+
questionString.append(tr("using") + " <b>" + tr("PrivateSend funds only") + "</b>");
382382
} else {
383-
questionString.append(tr("using") + " <b>" + tr("any available funds (not mixed)") + "</b>");
383+
questionString.append(tr("using") + " <b>" + tr("any available funds") + "</b>");
384384
}
385385

386386
if (displayedEntries < messageEntries) {

src/rpc/misc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ UniValue getinfo(const JSONRPCRequest& request)
6464
" \"protocolversion\": xxxxx, (numeric) the protocol version\n"
6565
" \"walletversion\": xxxxx, (numeric) the wallet version\n"
6666
" \"balance\": xxxxxxx, (numeric) the total dash balance of the wallet\n"
67-
" \"privatesend_balance\": xxxxxx, (numeric) the mixed dash balance of the wallet\n"
67+
" \"privatesend_balance\": xxxxxx, (numeric) the PrivateSend balance in " + CURRENCY_UNIT + "\n"
6868
" \"blocks\": xxxxxx, (numeric) the current number of blocks processed in the server\n"
6969
" \"timeoffset\": xxxxx, (numeric) the time offset\n"
7070
" \"connections\": xxxxx, (numeric) the number of connections\n"

src/rpc/privatesend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ UniValue getprivatesendinfo(const JSONRPCRequest& request)
9393
" \"multisession\": true|false, (bool) Whether PrivateSend Multisession option is enabled\n"
9494
" \"max_sessions\": xxx, (numeric) How many parallel mixing sessions can there be at once\n"
9595
" \"max_rounds\": xxx, (numeric) How many rounds to mix\n"
96-
" \"max_amount\": xxx, (numeric) How many " + CURRENCY_UNIT + " to keep mixed\n"
96+
" \"max_amount\": xxx, (numeric) Target PrivateSend balance in " + CURRENCY_UNIT + "\n"
9797
" \"max_denoms\": xxx, (numeric) How many inputs of each denominated amount to create\n"
9898
" \"queue_size\": xxx, (numeric) How many queues there are currently on the network\n"
9999
" \"sessions\": (array of json objects)\n"

src/wallet/rpcwallet.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ UniValue sendtoaddress(const JSONRPCRequest& request)
435435
"5. subtractfeefromamount (boolean, optional, default=false) The fee will be deducted from the amount being sent.\n"
436436
" The recipient will receive less amount of Dash than you enter in the amount field.\n"
437437
"6. \"use_is\" (bool, optional, default=false) Deprecated and ignored\n"
438-
"7. \"use_ps\" (bool, optional, default=false) Use mixed funds only\n"
438+
"7. \"use_ps\" (bool, optional, default=false) Use PrivateSend funds only\n"
439439
"8. conf_target (numeric, optional) Confirmation target (in blocks)\n"
440440
"9. \"estimate_mode\" (string, optional, default=UNSET) The fee estimate mode, must be one of:\n"
441441
" \"UNSET\"\n"
@@ -1004,7 +1004,7 @@ UniValue sendmany(const JSONRPCRequest& request)
10041004
" ,...\n"
10051005
" ]\n"
10061006
"7. \"use_is\" (bool, optional, default=false) Deprecated and ignored\n"
1007-
"8. \"use_ps\" (bool, optional, default=false) Use mixed funds only\n"
1007+
"8. \"use_ps\" (bool, optional, default=false) Use PrivateSend funds only\n"
10081008
"9. conf_target (numeric, optional) Confirmation target (in blocks)\n"
10091009
"10. \"estimate_mode\" (string, optional, default=UNSET) The fee estimate mode, must be one of:\n"
10101010
" \"UNSET\"\n"
@@ -2534,7 +2534,7 @@ UniValue getwalletinfo(const JSONRPCRequest& request)
25342534
" \"walletname\": xxxxx, (string) the wallet name\n"
25352535
" \"walletversion\": xxxxx, (numeric) the wallet version\n"
25362536
" \"balance\": xxxxxxx, (numeric) the total confirmed balance of the wallet in " + CURRENCY_UNIT + "\n"
2537-
" \"privatesend_balance\": xxxxxx, (numeric) the mixed dash balance of the wallet in " + CURRENCY_UNIT + "\n"
2537+
" \"privatesend_balance\": xxxxxx, (numeric) the PrivateSend balance in " + CURRENCY_UNIT + "\n"
25382538
" \"unconfirmed_balance\": xxx, (numeric) the total unconfirmed balance of the wallet in " + CURRENCY_UNIT + "\n"
25392539
" \"immature_balance\": xxxxxx, (numeric) the total immature balance of the wallet in " + CURRENCY_UNIT + "\n"
25402540
" \"txcount\": xxxxxxx, (numeric) the total number of transactions in the wallet\n"

0 commit comments

Comments
 (0)