mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
folderview: Don't use i18np for floats.
Fixes thumbnail previews on photos from having an I18N_ARGUMENT_MISSING output.
This commit is contained in:
parent
e9b231bd42
commit
15ff58a8c3
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ QString ToolTipWidget::metaInfo() const
|
|||
// Add the megapixel count for photos
|
||||
if (type == "http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#Photo") {
|
||||
const qreal pixels = qreal(width * height) / 1e6;
|
||||
size += QString(" (") + ki18np("1 MPixel", "%1 MPixels").subs(pixels, 0, 'f', 1).toString() + QString(")");
|
||||
size += QString(" (") + ki18n("%1 MPixels").subs(pixels, 0, 'f', 1).toString() + QString(")");
|
||||
}
|
||||
text += QString("<tr><td>") + i18n("Size:") + QString(" </td><td>") + size + QString("</td></tr>");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue