scripted-diff: Replace three dots with ellipsis in the UI strings
-BEGIN VERIFY SCRIPT- sed -i -E -e 's/\.\.\."\)(\.|,|\)| )/…"\)\1/' -- $(git ls-files -- 'src' ':(exclude)src/qt/bitcoinstrings.cpp') sed -i -e 's/\.\.\.\\"/…\\"/' src/qt/sendcoinsdialog.cpp sed -i -e 's|\.\.\.</string>|…</string>|' src/qt/forms/*.ui sed -i -e 's|\.\.\.)</string>|…)</string>|' src/qt/forms/sendcoinsdialog.ui -END VERIFY SCRIPT-
This commit is contained in:
19 files changed
+58
-58
No files matched your search
+1
-1
@@ -633,7 +633,7 @@ int GuiMain(int argc, char* argv[])
|
||||
if (app.baseInitialize()) {
|
||||
app.requestInitialize();
|
||||
#if defined(Q_OS_WIN)
|
||||
WinShutdownMonitor::registerShutdownBlockReason(QObject::tr("%1 didn't yet exit safely...").arg(PACKAGE_NAME), (HWND)app.getMainWinId());
|
||||
WinShutdownMonitor::registerShutdownBlockReason(QObject::tr("%1 didn't yet exit safely…").arg(PACKAGE_NAME), (HWND)app.getMainWinId());
|
||||
#endif
|
||||
app.exec();
|
||||
app.requestShutdown();
|
||||
|
||||
+19
-19
@@ -308,27 +308,27 @@ void BitcoinGUI::createActions()
|
||||
aboutQtAction = new QAction(tr("About &Qt"), this);
|
||||
aboutQtAction->setStatusTip(tr("Show information about Qt"));
|
||||
aboutQtAction->setMenuRole(QAction::AboutQtRole);
|
||||
optionsAction = new QAction(tr("&Options..."), this);
|
||||
optionsAction = new QAction(tr("&Options…"), this);
|
||||
optionsAction->setStatusTip(tr("Modify configuration options for %1").arg(PACKAGE_NAME));
|
||||
optionsAction->setMenuRole(QAction::PreferencesRole);
|
||||
optionsAction->setEnabled(false);
|
||||
toggleHideAction = new QAction(tr("&Show / Hide"), this);
|
||||
toggleHideAction->setStatusTip(tr("Show or hide the main Window"));
|
||||
|
||||
encryptWalletAction = new QAction(tr("&Encrypt Wallet..."), this);
|
||||
encryptWalletAction = new QAction(tr("&Encrypt Wallet…"), this);
|
||||
encryptWalletAction->setStatusTip(tr("Encrypt the private keys that belong to your wallet"));
|
||||
encryptWalletAction->setCheckable(true);
|
||||
backupWalletAction = new QAction(tr("&Backup Wallet..."), this);
|
||||
backupWalletAction = new QAction(tr("&Backup Wallet…"), this);
|
||||
backupWalletAction->setStatusTip(tr("Backup wallet to another location"));
|
||||
changePassphraseAction = new QAction(tr("&Change Passphrase..."), this);
|
||||
changePassphraseAction = new QAction(tr("&Change Passphrase…"), this);
|
||||
changePassphraseAction->setStatusTip(tr("Change the passphrase used for wallet encryption"));
|
||||
signMessageAction = new QAction(tr("Sign &message..."), this);
|
||||
signMessageAction = new QAction(tr("Sign &message…"), this);
|
||||
signMessageAction->setStatusTip(tr("Sign messages with your Bitcoin addresses to prove you own them"));
|
||||
verifyMessageAction = new QAction(tr("&Verify message..."), this);
|
||||
verifyMessageAction = new QAction(tr("&Verify message…"), this);
|
||||
verifyMessageAction->setStatusTip(tr("Verify messages to ensure they were signed with specified Bitcoin addresses"));
|
||||
m_load_psbt_action = new QAction(tr("&Load PSBT from file..."), this);
|
||||
m_load_psbt_action = new QAction(tr("&Load PSBT from file…"), this);
|
||||
m_load_psbt_action->setStatusTip(tr("Load Partially Signed Bitcoin Transaction"));
|
||||
m_load_psbt_clipboard_action = new QAction(tr("Load PSBT from clipboard..."), this);
|
||||
m_load_psbt_clipboard_action = new QAction(tr("Load PSBT from clipboard…"), this);
|
||||
m_load_psbt_clipboard_action->setStatusTip(tr("Load Partially Signed Bitcoin Transaction from clipboard"));
|
||||
|
||||
openRPCConsoleAction = new QAction(tr("Node window"), this);
|
||||
@@ -342,7 +342,7 @@ void BitcoinGUI::createActions()
|
||||
usedReceivingAddressesAction = new QAction(tr("&Receiving addresses"), this);
|
||||
usedReceivingAddressesAction->setStatusTip(tr("Show the list of used receiving addresses and labels"));
|
||||
|
||||
openAction = new QAction(tr("Open &URI..."), this);
|
||||
openAction = new QAction(tr("Open &URI…"), this);
|
||||
openAction->setStatusTip(tr("Open a bitcoin: URI"));
|
||||
|
||||
m_open_wallet_action = new QAction(tr("Open Wallet"), this);
|
||||
@@ -350,14 +350,14 @@ void BitcoinGUI::createActions()
|
||||
m_open_wallet_action->setStatusTip(tr("Open a wallet"));
|
||||
m_open_wallet_menu = new QMenu(this);
|
||||
|
||||
m_close_wallet_action = new QAction(tr("Close Wallet..."), this);
|
||||
m_close_wallet_action = new QAction(tr("Close Wallet…"), this);
|
||||
m_close_wallet_action->setStatusTip(tr("Close wallet"));
|
||||
|
||||
m_create_wallet_action = new QAction(tr("Create Wallet..."), this);
|
||||
m_create_wallet_action = new QAction(tr("Create Wallet…"), this);
|
||||
m_create_wallet_action->setEnabled(false);
|
||||
m_create_wallet_action->setStatusTip(tr("Create a new wallet"));
|
||||
|
||||
m_close_all_wallets_action = new QAction(tr("Close All Wallets..."), this);
|
||||
m_close_all_wallets_action = new QAction(tr("Close All Wallets…"), this);
|
||||
m_close_all_wallets_action->setStatusTip(tr("Close all wallets"));
|
||||
|
||||
showHelpMessageAction = new QAction(tr("&Command-line options"), this);
|
||||
@@ -944,7 +944,7 @@ void BitcoinGUI::updateHeadersSyncProgressLabel()
|
||||
int headersTipHeight = clientModel->getHeaderTipHeight();
|
||||
int estHeadersLeft = (GetTime() - headersTipTime) / Params().GetConsensus().nPowTargetSpacing;
|
||||
if (estHeadersLeft > HEADER_HEIGHT_DELTA_SYNC)
|
||||
progressBarLabel->setText(tr("Syncing Headers (%1%)...").arg(QString::number(100.0 / (headersTipHeight+estHeadersLeft)*headersTipHeight, 'f', 1)));
|
||||
progressBarLabel->setText(tr("Syncing Headers (%1%)…").arg(QString::number(100.0 / (headersTipHeight+estHeadersLeft)*headersTipHeight, 'f', 1)));
|
||||
}
|
||||
|
||||
void BitcoinGUI::openOptionsDialogWithTab(OptionsDialog::Tab tab)
|
||||
@@ -990,24 +990,24 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate, double nVer
|
||||
updateHeadersSyncProgressLabel();
|
||||
return;
|
||||
}
|
||||
progressBarLabel->setText(tr("Synchronizing with network..."));
|
||||
progressBarLabel->setText(tr("Synchronizing with network…"));
|
||||
updateHeadersSyncProgressLabel();
|
||||
break;
|
||||
case BlockSource::DISK:
|
||||
if (header) {
|
||||
progressBarLabel->setText(tr("Indexing blocks on disk..."));
|
||||
progressBarLabel->setText(tr("Indexing blocks on disk…"));
|
||||
} else {
|
||||
progressBarLabel->setText(tr("Processing blocks on disk..."));
|
||||
progressBarLabel->setText(tr("Processing blocks on disk…"));
|
||||
}
|
||||
break;
|
||||
case BlockSource::REINDEX:
|
||||
progressBarLabel->setText(tr("Reindexing blocks on disk..."));
|
||||
progressBarLabel->setText(tr("Reindexing blocks on disk…"));
|
||||
break;
|
||||
case BlockSource::NONE:
|
||||
if (header) {
|
||||
return;
|
||||
}
|
||||
progressBarLabel->setText(tr("Connecting to peers..."));
|
||||
progressBarLabel->setText(tr("Connecting to peers…"));
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1044,7 +1044,7 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate, double nVer
|
||||
progressBar->setValue(nVerificationProgress * 1000000000.0 + 0.5);
|
||||
progressBar->setVisible(true);
|
||||
|
||||
tooltip = tr("Catching up...") + QString("<br>") + tooltip;
|
||||
tooltip = tr("Catching up…") + QString("<br>") + tooltip;
|
||||
if(count != prevBlocks)
|
||||
{
|
||||
labelBlocksIcon->setPixmap(platformStyle->SingleColorIcon(QString(
|
||||
|
||||
@@ -219,7 +219,7 @@ QLabel { color: rgb(40,40,40); }</string>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="numberOfBlocksLeft">
|
||||
<property name="text">
|
||||
<string>Unknown...</string>
|
||||
<string>Unknown…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -245,7 +245,7 @@ QLabel { color: rgb(40,40,40); }</string>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Unknown...</string>
|
||||
<string>Unknown…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -289,7 +289,7 @@ QLabel { color: rgb(40,40,40); }</string>
|
||||
<item row="4" column="1">
|
||||
<widget class="QLabel" name="progressIncreasePerH">
|
||||
<property name="text">
|
||||
<string>calculating...</string>
|
||||
<string>calculating…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -309,7 +309,7 @@ QLabel { color: rgb(40,40,40); }</string>
|
||||
<item row="5" column="1">
|
||||
<widget class="QLabel" name="expectedTimeLeft">
|
||||
<property name="text">
|
||||
<string>calculating...</string>
|
||||
<string>calculating…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="saveButton">
|
||||
<property name="text">
|
||||
<string>Save...</string>
|
||||
<string>Save…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Request payment to ...</string>
|
||||
<string>Request payment to …</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout" columnstretch="0,1">
|
||||
<property name="sizeConstraint">
|
||||
@@ -65,7 +65,7 @@
|
||||
<item row="2" column="1" alignment="Qt::AlignTop">
|
||||
<widget class="QLabel" name="uri_content">
|
||||
<property name="text">
|
||||
<string notr="true">bitcoin:BC1...</string>
|
||||
<string notr="true">bitcoin:BC1…</string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::RichText</enum>
|
||||
@@ -97,7 +97,7 @@
|
||||
<item row="3" column="1" alignment="Qt::AlignTop">
|
||||
<widget class="QLabel" name="address_content">
|
||||
<property name="text">
|
||||
<string notr="true">bc1...</string>
|
||||
<string notr="true">bc1…</string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::PlainText</enum>
|
||||
@@ -257,7 +257,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="btnSaveAs">
|
||||
<property name="text">
|
||||
<string>&Save Image...</string>
|
||||
<string>&Save Image…</string>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inputs...</string>
|
||||
<string>Inputs…</string>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
@@ -738,7 +738,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="buttonChooseFee">
|
||||
<property name="text">
|
||||
<string>Choose...</string>
|
||||
<string>Choose…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -991,7 +991,7 @@ Note: Since the fee is calculated on a per-byte basis, a fee of "100 satoshis p
|
||||
<item>
|
||||
<widget class="QLabel" name="labelSmartFee2">
|
||||
<property name="text">
|
||||
<string>(Smart fee not initialized yet. This usually takes a few blocks...)</string>
|
||||
<string>(Smart fee not initialized yet. This usually takes a few blocks…)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -149,13 +149,13 @@ void ModalOverlay::tipUpdate(int count, const QDateTime& blockDate, double nVeri
|
||||
ui->numberOfBlocksLeft->setText(QString::number(bestHeaderHeight - count));
|
||||
} else {
|
||||
UpdateHeaderSyncLabel();
|
||||
ui->expectedTimeLeft->setText(tr("Unknown..."));
|
||||
ui->expectedTimeLeft->setText(tr("Unknown…"));
|
||||
}
|
||||
}
|
||||
|
||||
void ModalOverlay::UpdateHeaderSyncLabel() {
|
||||
int est_headers_left = bestHeaderDate.secsTo(QDateTime::currentDateTime()) / Params().GetConsensus().nPowTargetSpacing;
|
||||
ui->numberOfBlocksLeft->setText(tr("Unknown. Syncing Headers (%1, %2%)...").arg(bestHeaderHeight).arg(QString::number(100.0 / (bestHeaderHeight + est_headers_left) * bestHeaderHeight, 'f', 1)));
|
||||
ui->numberOfBlocksLeft->setText(tr("Unknown. Syncing Headers (%1, %2%)…").arg(bestHeaderHeight).arg(QString::number(100.0 / (bestHeaderHeight + est_headers_left) * bestHeaderHeight, 'f', 1)));
|
||||
}
|
||||
|
||||
void ModalOverlay::toggleVisibility()
|
||||
|
||||
@@ -27,7 +27,7 @@ QRImageWidget::QRImageWidget(QWidget *parent):
|
||||
QLabel(parent), contextMenu(nullptr)
|
||||
{
|
||||
contextMenu = new QMenu(this);
|
||||
contextMenu->addAction(tr("Save Image..."), this, &QRImageWidget::saveImage);
|
||||
contextMenu->addAction(tr("Save Image…"), this, &QRImageWidget::saveImage);
|
||||
contextMenu->addAction(tr("Copy Image"), this, &QRImageWidget::copyImage);
|
||||
}
|
||||
|
||||
|
||||
@@ -368,7 +368,7 @@ bool SendCoinsDialog::PrepareSendText(QString& question_string, QString& informa
|
||||
|
||||
if (formatted.size() > 1) {
|
||||
question_string = question_string.arg("");
|
||||
informative_text = tr("To review recipient list click \"Show Details...\"");
|
||||
informative_text = tr("To review recipient list click \"Show Details…\"");
|
||||
detailed_text = formatted.join("\n\n");
|
||||
} else {
|
||||
question_string = question_string.arg("<br /><br />" + formatted.at(0));
|
||||
|
||||
@@ -73,7 +73,7 @@ TransactionView::TransactionView(const PlatformStyle *platformStyle, QWidget *pa
|
||||
dateWidget->addItem(tr("This month"), ThisMonth);
|
||||
dateWidget->addItem(tr("Last month"), LastMonth);
|
||||
dateWidget->addItem(tr("This year"), ThisYear);
|
||||
dateWidget->addItem(tr("Range..."), Range);
|
||||
dateWidget->addItem(tr("Range…"), Range);
|
||||
hlayout->addWidget(dateWidget);
|
||||
|
||||
typeWidget = new QComboBox(this);
|
||||
|
||||
@@ -142,7 +142,7 @@ ShutdownWindow::ShutdownWindow(QWidget *parent, Qt::WindowFlags f):
|
||||
{
|
||||
QVBoxLayout *layout = new QVBoxLayout();
|
||||
layout->addWidget(new QLabel(
|
||||
tr("%1 is shutting down...").arg(PACKAGE_NAME) + "<br /><br />" +
|
||||
tr("%1 is shutting down…").arg(PACKAGE_NAME) + "<br /><br />" +
|
||||
tr("Do not shut down the computer until this window disappears.")));
|
||||
setLayout(layout);
|
||||
|
||||
|
||||
@@ -247,7 +247,7 @@ void CreateWalletActivity::askPassphrase()
|
||||
|
||||
void CreateWalletActivity::createWallet()
|
||||
{
|
||||
showProgressDialog(tr("Creating Wallet <b>%1</b>...").arg(m_create_wallet_dialog->walletName().toHtmlEscaped()));
|
||||
showProgressDialog(tr("Creating Wallet <b>%1</b>…").arg(m_create_wallet_dialog->walletName().toHtmlEscaped()));
|
||||
|
||||
std::string name = m_create_wallet_dialog->walletName().toStdString();
|
||||
uint64_t flags = 0;
|
||||
@@ -330,7 +330,7 @@ void OpenWalletActivity::open(const std::string& path)
|
||||
{
|
||||
QString name = path.empty() ? QString("["+tr("default wallet")+"]") : QString::fromStdString(path);
|
||||
|
||||
showProgressDialog(tr("Opening Wallet <b>%1</b>...").arg(name.toHtmlEscaped()));
|
||||
showProgressDialog(tr("Opening Wallet <b>%1</b>…").arg(name.toHtmlEscaped()));
|
||||
|
||||
QTimer::singleShot(0, worker(), [this, path] {
|
||||
std::unique_ptr<interfaces::Wallet> wallet = node().walletClient().loadWallet(path, m_error_message, m_warning_message);
|
||||
|
||||
Reference in new issue
Block a user