aboutsummaryrefslogtreecommitdiff
path: root/src/qt/addressbookpage.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-05-15 16:02:43 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-05-16 01:06:22 +0300
commit8b7713365134022475e7e5d24d3ca73149bd10e1 (patch)
tree9db21518f590b023e1811e37532052ae8cd74464 /src/qt/addressbookpage.cpp
parentc8571486364d6e9ca8c86bd1c81e230ca64f8904 (diff)
downloadbitcoin-8b7713365134022475e7e5d24d3ca73149bd10e1.tar.xz
qt: Replace disambiguation strings with translator comments
Translator comments is the right way to pass context to translators.
Diffstat (limited to 'src/qt/addressbookpage.cpp')
-rw-r--r--src/qt/addressbookpage.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp
index a816a0764c..7024fc7654 100644
--- a/src/qt/addressbookpage.cpp
+++ b/src/qt/addressbookpage.cpp
@@ -281,7 +281,9 @@ void AddressBookPage::on_exportButton_clicked()
// CSV is currently the only supported format
QString filename = GUIUtil::getSaveFileName(this,
tr("Export Address List"), QString(),
- tr("Comma separated file", "Name of CSV file format") + QLatin1String(" (*.csv)"), nullptr);
+ /*: Expanded name of the CSV file format.
+ See https://en.wikipedia.org/wiki/Comma-separated_values */
+ tr("Comma separated file") + QLatin1String(" (*.csv)"), nullptr);
if (filename.isNull())
return;
@@ -295,8 +297,9 @@ void AddressBookPage::on_exportButton_clicked()
if(!writer.write()) {
QMessageBox::critical(this, tr("Exporting Failed"),
- //: %1 is a name of the file (e.g., "addrbook.csv") that the bitcoin addresses were exported to.
- tr("There was an error trying to save the address list to %1. Please try again.", "An error message.").arg(filename));
+ /*: An error message. %1 is a stand-in argument for the name
+ of the file we attempted to save to. */
+ tr("There was an error trying to save the address list to %1. Please try again.").arg(filename));
}
}