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

@@ -118,7 +118,9 @@ void QRImageWidget::saveImage()
return;
QString fn = GUIUtil::getSaveFileName(
this, tr("Save QR Code"), QString(),
tr("PNG Image", "Name of PNG file format") + QLatin1String(" (*.png)"), nullptr);
/*: Expanded name of the PNG file format.
See https://en.wikipedia.org/wiki/Portable_Network_Graphics */
tr("PNG Image") + QLatin1String(" (*.png)"), nullptr);
if (!fn.isEmpty())
{
exportImage().save(fn);