- Minor edit
[qtrapids] / src / gui / DownloadView.cpp
index d7424b0..5d616d8 100644 (file)
@@ -129,7 +129,8 @@ void DownloadView::removeItem(QTorrentHandle handle)
 
 
 void DownloadView::on_itemClicked(QTreeWidgetItem * item, int column)
-{/*
+{
+       /*
        qDebug() << "DownloadView::on_itemClicked(()" << item << "," << column;
        qDebug() << "current item" << currentItem();
        
@@ -144,21 +145,21 @@ QString DownloadView::GetStatusString(QTorrentHandle::State const& status) const
 {
        switch (status) {
                case QTorrentHandle::QUEUED_FOR_CHECKING :
-                       return "Queued";
+                       return tr("Queued");
                case QTorrentHandle::CHECKING_FILES :
-                       return "Checking";
+                       return tr("Checking");
                case QTorrentHandle::DOWNLOADING_METADATA :
-                       return "DL meta";
+                       return tr("DL meta");
                case QTorrentHandle::DOWNLOADING :
-                       return "Downloading";
+                       return tr("Downloading");
                case QTorrentHandle::FINISHED :
-                       return "Finished";
+                       return tr("Finished");
                case QTorrentHandle::SEEDING :
-                       return "Seeding"; 
+                       return tr("Seeding"); 
                case QTorrentHandle::ALLOCATING :
-                       return "Allocating";
+                       return tr("Allocating");
                default:
-                       return "N/A";
+                       return tr("N/A");
        }
 }
 
@@ -181,5 +182,4 @@ QColor DownloadView::GetStatusColor(QTorrentHandle::State const& status) const
                default:
                        return QColor();
        }
-               
 }
\ No newline at end of file