Make two strings translatable.

This commit is contained in:
Andrius Štikonas 2016-09-18 11:56:37 +01:00
parent 5bebcfbbc8
commit b5f5a78054
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ QList<const Partition *> ListPhysicalVolumes::checkedItems()
}
ListPhysicalVolumeWidgetItem::ListPhysicalVolumeWidgetItem(const Partition& p, bool checked)
: QListWidgetItem(p.deviceNode() + QStringLiteral(" | ") + Capacity::formatByteSize(p.capacity()))
: QListWidgetItem(xi18nc("@item:inlistbox ", "%1 | %2", p.deviceNode(), Capacity::formatByteSize(p.capacity())))
, m_Partition(&p)
{
setToolTip(p.deviceNode());

View File

@ -214,7 +214,7 @@ static QTreeWidgetItem* createTreeWidgetItem(const Partition& p)
item->setText(i++, p.deviceNode());
if (p.roles().has(PartitionRole::Luks) && p.fileSystem().name() != p.fileSystem().nameForType(FileSystem::Luks))
item->setText(i, p.fileSystem().name() + QStringLiteral(" [") + p.fileSystem().nameForType(FileSystem::Luks) + QStringLiteral("]")); // FIXME after string freeze
item->setText(i, xi18nc("@item:intable", "%1 [%2]", p.fileSystem().name(), p.fileSystem().nameForType(FileSystem::Luks)));
else
item->setText(i, p.fileSystem().name());
item->setIcon(i, createFileSystemColor(p.fileSystem().type(), 14));