X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/77d3d3724676103b29bf80bbe9c8a0f5b1fee57c..d511752c9de4d9adc30a15ddf9bf89efc1924a7b:/src/infosidebarpage.cpp
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp
index d1f88524d..045e5d47a 100644
--- a/src/infosidebarpage.cpp
+++ b/src/infosidebarpage.cpp
@@ -178,7 +178,7 @@ void InfoSidebarPage::showItemInfo()
K3Icon::NoGroup,
K3Icon::SizeEnormous);
m_preview->setPixmap(icon);
- m_nameLabel->setText(i18np("%1 item selected", "%1 items selected", selectedItems.count()));
+ m_nameLabel->setText(i18ncp("@info", "%1 item selected", "%1 items selected", selectedItems.count()));
} else if (!applyBookmark(file)) {
// try to get a preview pixmap from the item...
KUrl::List list;
@@ -272,13 +272,13 @@ void InfoSidebarPage::showMetaInfo()
fileItem.refresh();
if (fileItem.isDir()) {
- addInfoLine(text, i18n("Type:"), i18n("Folder"));
+ addInfoLine(text, i18nc("@label", "Type:"), i18nc("@label", "Folder"));
} else {
- addInfoLine(text, i18n("Type:"), fileItem.mimeComment());
+ addInfoLine(text, i18nc("@label", "Type:"), fileItem.mimeComment());
QString sizeText(KIO::convertSize(fileItem.size()));
- addInfoLine(text, i18n("Size:"), sizeText);
- addInfoLine(text, i18n("Modified:"), fileItem.timeString());
+ addInfoLine(text, i18nc("@label", "Size:"), sizeText);
+ addInfoLine(text, i18nc("@label", "Modified:"), fileItem.timeString());
// TODO: See convertMetaInfo below, find a way to display only interesting information
// in a readable way
@@ -313,7 +313,7 @@ void InfoSidebarPage::showMetaInfo()
// item->size() does not return the size of the content : not very instinctive for users
totalSize += item->size();
}
- addInfoLine(text, i18n("Total size:"), KIO::convertSize(totalSize));
+ addInfoLine(text, i18nc("@label", "Total size:"), KIO::convertSize(totalSize));
}
m_infoLabel->setText(text);
}
@@ -322,7 +322,7 @@ void InfoSidebarPage::addInfoLine(QString& text,
const QString& labelText,
const QString& infoText)
{
- if (!infoText.isEmpty()) {
+ if (!text.isEmpty()) {
text += "
";
}
text += QString("%1 %2").arg(labelText).arg(infoText);