qt: Replace disambiguation strings with translator comments

Translator comments is the right way to pass context to translators.
This commit is contained in:
Hennadii Stepanov
2021-05-15 16:02:43 +03:00
parent c857148636
commit 8b77133651
7 changed files with 21 additions and 9 deletions

View File

@@ -336,7 +336,9 @@ void TransactionView::exportClicked()
// CSV is currently the only supported format
QString filename = GUIUtil::getSaveFileName(this,
tr("Export Transaction History"), 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;