Skip to content

Commit 5cc783f

Browse files
committed
qt: ensure translator comments end in full stop
This ensures that all gui translator comments end in a full stop. If a comment does not end in a full stop, a translator may think that the rest of the comment is being cut off. While here, add a colon to the word "see" for any comments touched which point to look at a link.
1 parent 5895a50 commit 5cc783f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/qt/addressbookpage.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ void AddressBookPage::on_exportButton_clicked()
282282
QString filename = GUIUtil::getSaveFileName(this,
283283
tr("Export Address List"), QString(),
284284
/*: Expanded name of the CSV file format.
285-
See https://en.wikipedia.org/wiki/Comma-separated_values */
285+
See: https://en.wikipedia.org/wiki/Comma-separated_values. */
286286
tr("Comma separated file") + QLatin1String(" (*.csv)"), nullptr);
287287

288288
if (filename.isNull())

src/qt/qrimagewidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void QRImageWidget::saveImage()
119119
QString fn = GUIUtil::getSaveFileName(
120120
this, tr("Save QR Code"), QString(),
121121
/*: Expanded name of the PNG file format.
122-
See https://en.wikipedia.org/wiki/Portable_Network_Graphics */
122+
See: https://en.wikipedia.org/wiki/Portable_Network_Graphics. */
123123
tr("PNG Image") + QLatin1String(" (*.png)"), nullptr);
124124
if (!fn.isEmpty())
125125
{

src/qt/rpcconsole.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ void RPCConsole::setClientModel(ClientModel *model, int bestblock_height, int64_
680680

681681
// create peer table context menu
682682
peersTableContextMenu = new QMenu(this);
683-
//: Context menu action to copy the address of a peer
683+
//: Context menu action to copy the address of a peer.
684684
peersTableContextMenu->addAction(tr("&Copy address"), [this] {
685685
GUIUtil::copyEntryData(ui->peerWidget, PeerTableModel::Address, Qt::DisplayRole);
686686
});
@@ -713,7 +713,7 @@ void RPCConsole::setClientModel(ClientModel *model, int bestblock_height, int64_
713713
banTableContextMenu = new QMenu(this);
714714
/*: Context menu action to copy the IP/Netmask of a banned peer.
715715
IP/Netmask is the combination of a peer's IP address and its Netmask.
716-
For IP address see: https://en.wikipedia.org/wiki/IP_address */
716+
For IP address, see: https://en.wikipedia.org/wiki/IP_address. */
717717
banTableContextMenu->addAction(tr("&Copy IP/Netmask"), [this] {
718718
GUIUtil::copyEntryData(ui->banlistWidget, BanTableModel::Address, Qt::DisplayRole);
719719
});

src/qt/sendcoinsdialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void SendCoinsDialog::setModel(WalletModel *_model)
200200
ui->optInRBF->setCheckState(Qt::Checked);
201201

202202
if (model->wallet().hasExternalSigner()) {
203-
//: "device" usually means a hardware wallet
203+
//: "device" usually means a hardware wallet.
204204
ui->sendButton->setText(tr("Sign on device"));
205205
if (gArgs.GetArg("-signer", "") != "") {
206206
ui->sendButton->setEnabled(true);

src/qt/transactionview.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ void TransactionView::exportClicked()
353353
QString filename = GUIUtil::getSaveFileName(this,
354354
tr("Export Transaction History"), QString(),
355355
/*: Expanded name of the CSV file format.
356-
See https://en.wikipedia.org/wiki/Comma-separated_values */
356+
See: https://en.wikipedia.org/wiki/Comma-separated_values. */
357357
tr("Comma separated file") + QLatin1String(" (*.csv)"), nullptr);
358358

359359
if (filename.isNull())

0 commit comments

Comments
 (0)