Merge pull request #8934 from JosJuice/zstd-recommended

DolphinQt: Mark Zstandard as recommended for RVZ
This commit is contained in:
Tilka 2020-07-05 12:09:29 +01:00 committed by GitHub
commit 0dbe8fb2ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -251,7 +251,11 @@ void ConvertDialog::OnFormatChanged()
if (format == DiscIO::BlobType::RVZ)
{
AddToCompressionComboBox(QStringLiteral("Zstandard"), DiscIO::WIARVZCompressionType::Zstd);
// i18n: %1 is the name of a compression method (e.g. Zstandard)
const QString recommended = tr("%1 (recommended)");
AddToCompressionComboBox(recommended.arg(QStringLiteral("Zstandard")),
DiscIO::WIARVZCompressionType::Zstd);
m_compression->setCurrentIndex(m_compression->count() - 1);
}