ui/commandhandlers/commoncommandhandlers/src/glxcommandhandleraddtocontainer.cpp
changeset 54 0f0f3f26f787
parent 50 a0f57508af73
child 62 36d93b4dc635
--- a/ui/commandhandlers/commoncommandhandlers/src/glxcommandhandleraddtocontainer.cpp	Fri Jul 23 20:41:04 2010 +0530
+++ b/ui/commandhandlers/commoncommandhandlers/src/glxcommandhandleraddtocontainer.cpp	Fri Aug 06 20:44:25 2010 +0530
@@ -130,7 +130,7 @@
     mAlbumName.clear();
     if(aCommandId == EGlxCmdAddToFav)
         {
-		   mAlbumName = GLX_SUBTITLE_MYFAV_GRIDVIEW;
+		   mAlbumName = GLX_ALBUM_FAV;
            CMPXCollectionPath* targetCollection = CMPXCollectionPath::NewL();
            CleanupStack::PushL(targetCollection);
            // The target collection has to be appeneded with the albums plugin id
@@ -241,8 +241,7 @@
 
     while (error == KErrAlreadyExists)
         {
-        HbMessageBox::warning("Name Already Exist!!!", new HbLabel(
-                "New Album"));
+        HbMessageBox::warning(GLX_NAME_ALREADY_EXIST);
         error = KErrNone;
         error = commandHandlerNewMedia->ExecuteLD(newMediaId,newTitle);
         }
@@ -266,12 +265,12 @@
 QString GlxCommandHandlerAddToContainer::CompletionTextL() const
     {
     if(!mAlbumName.isNull()){
-        return QString("Added to %1").arg(mAlbumName);
+        return (hbTrId(GLX_IMAGES_ADDED).arg(mAlbumName)); 
         }
 	return 	QString();
     }
 
 QString GlxCommandHandlerAddToContainer::ProgressTextL() const
     {
-    return QString("Adding Images...");
+    return GLX_ADDING_IMAGES;
     }