Unverified Commit c5c0f617 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: add "Default" to translatable strings

GitLab: #599
Change-Id: I3b9de24ffda7275540aaed8655433f8568da1fa7
parent 2cee4097
......@@ -245,7 +245,8 @@ UtilsAdapter::getStringUTF8(QString string)
QString
UtilsAdapter::getRecordQualityString(int value)
{
return value ? QString::number(static_cast<float>(value) / 100, 'f', 1) + " Mbps" : "Default";
auto valueStr = QString::number(static_cast<float>(value) / 100, 'f', 1);
return value ? tr("%1 Mbps").arg(valueStr) : tr("Default");
}
QString
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment