X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/b6bc5aba8de5aa15a2d43bf53fc351810074cbea..0abbaf9e11d166da461bb33bc6abeb5ddfb5fa2c:/src/infosidebarpage.cpp diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index 7d7545ccd..1bdc67750 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -19,7 +19,7 @@ #include "infosidebarpage.h" -#include +#include #include #include @@ -172,7 +172,7 @@ void InfoSidebarPage::showItemInfo() K3Icon::NoGroup, K3Icon::SizeEnormous); m_preview->setPixmap(icon); - m_nameLabel->setText(i18n("%1 items selected", selectedItems.count())); + m_nameLabel->setText(i18np("%1 item selected", "%1 items selected", selectedItems.count())); } else if (!applyBookmark(file)) { // try to get a preview pixmap from the item... KUrl::List list; @@ -274,9 +274,9 @@ void InfoSidebarPage::showMetaInfo() addInfoLine(text, i18n("Size:"), sizeText); addInfoLine(text, i18n("Modified:"), fileItem.timeString()); - // TODO: deactivate showing additional meta information, as the system - // hangs when retrieving the meta information of a zipped file - /*const KFileMetaInfo metaInfo(fileItem.url()); + // TODO: See convertMetaInfo below, find a way to display only interesting information + // in a readable way + const KFileMetaInfo metaInfo(fileItem.url()); if (metaInfo.isValid()) { const QHash& items = metaInfo.items(); QHash::const_iterator it = items.constBegin(); @@ -290,7 +290,7 @@ void InfoSidebarPage::showMetaInfo() } ++it; } - }*/ + } } if (MetaDataWidget::metaDataAvailable()) {