filemanager/src/inc/fmdrivemodel.cpp
changeset 30 6e96d2143d46
parent 29 b3155376f2b4
child 35 060d0b1ab845
--- a/filemanager/src/inc/fmdrivemodel.cpp	Wed Jun 23 18:03:11 2010 +0300
+++ b/filemanager/src/inc/fmdrivemodel.cpp	Tue Jul 06 14:06:28 2010 +0300
@@ -22,6 +22,8 @@
 #include <QDir>
 #include <QFileInfo>
 
+#include <hbglobal.h>
+
 FmDriveModel::FmDriveModel( QObject *parent, Options options,
         FmDriveListProvider *driveListProvider ) :
     QAbstractListModel( parent ), mOptions( options ), mDriveListProvider( driveListProvider )
@@ -108,10 +110,10 @@
             return QVariant();
 
         switch (section) {
-            case 0: return tr("Name");
-            case 1: return tr("Size");
-            case 2: return tr("Type");
-            case 3: return tr("Date Modified");
+            case 0: return hbTrId("Name");
+            case 1: return hbTrId("Size");
+            case 2: return hbTrId("Type");
+            case 3: return hbTrId("Date Modified");
             default: return QVariant();
         }
     }