Make two strings translatable.
This commit is contained in:
parent
5bebcfbbc8
commit
b5f5a78054
|
@ -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());
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue