mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
Fix i18n usage
This commit is contained in:
parent
29b1dec92b
commit
85a91c1bb7
|
@ -174,9 +174,9 @@ QString DocumentPrivate::namePaperSize(double inchesWidth, double inchesHeight)
|
|||
const QString paperName = QPageSize::name(paperSize);
|
||||
|
||||
if (orientation == QPrinter::Portrait) {
|
||||
return i18nc("paper type and orientation (eg: Portrait A4)", "Portrait %0").arg(paperName);
|
||||
return i18nc("paper type and orientation (eg: Portrait A4)", "Portrait %1", paperName);
|
||||
} else {
|
||||
return i18nc("paper type and orientation (eg: Portrait A4)", "Landscape %0").arg(paperName);
|
||||
return i18nc("paper type and orientation (eg: Portrait A4)", "Landscape %1", paperName);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue