Skip to content

Commit

Permalink
Replace "pending" with "receivable"/"ready to receive" in QT wallet (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
shryder committed Sep 4, 2021
1 parent 957ebe1 commit c82fd15
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nano/qt/qt.cpp
Expand Up @@ -115,7 +115,7 @@ void nano_qt::self_pane::set_balance_text (std::pair<nano::uint128_t, nano::uint
auto final_text (std::string ("Balance: ") + wallet.format_balance (balance_a.first));
if (!balance_a.second.is_zero ())
{
final_text += "\nPending: " + wallet.format_balance (balance_a.second);
final_text += "\nReady to receive: " + wallet.format_balance (balance_a.second);
}
wallet.self.balance_label->setText (QString (final_text.c_str ()));
}
Expand Down Expand Up @@ -272,7 +272,7 @@ void nano_qt::accounts::refresh_wallet_balance ()
auto final_text (std::string ("Balance: ") + wallet.format_balance (balance));
if (!pending.is_zero ())
{
final_text += "\nPending: " + wallet.format_balance (pending);
final_text += "\nReady to receive: " + wallet.format_balance (pending);
}
wallet_balance_label->setText (QString (final_text.c_str ()));
this->wallet.node.workers.add_timed_task (std::chrono::steady_clock::now () + std::chrono::seconds (60), [this] () {
Expand Down Expand Up @@ -778,7 +778,7 @@ nano_qt::account_viewer::account_viewer (nano_qt::wallet & wallet_a) :
auto final_text (std::string ("Balance (NANO): ") + wallet.format_balance (balance.first));
if (!balance.second.is_zero ())
{
final_text += "\nPending: " + wallet.format_balance (balance.second);
final_text += "\nReady to receive: " + wallet.format_balance (balance.second);
}
balance_label->setText (QString (final_text.c_str ()));
}
Expand Down Expand Up @@ -1919,7 +1919,7 @@ nano_qt::advanced_actions::advanced_actions (nano_qt::wallet & wallet_a) :
});

bootstrap->setToolTip ("Multi-connection bootstrap to random peers");
search_for_receivables->setToolTip ("Search for pending blocks");
search_for_receivables->setToolTip ("Search for ready to receive blocks");
create_block->setToolTip ("Create block in JSON format");
enter_block->setToolTip ("Enter block in JSON format");
}
Expand Down Expand Up @@ -2364,7 +2364,7 @@ void nano_qt::block_creation::create_receive ()
else
{
show_label_error (*status);
status->setText ("Source block is not pending to receive");
status->setText ("Source block is not ready to be received");
}
}
else
Expand Down Expand Up @@ -2529,7 +2529,7 @@ void nano_qt::block_creation::create_open ()
else
{
show_label_error (*status);
status->setText ("Source block is not pending to receive");
status->setText ("Source block is not ready to be received");
}
}
else
Expand Down

0 comments on commit c82fd15

Please sign in to comment.