]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.cc
* merged with mainline
[apt.git] / apt-pkg / acquire-worker.cc
index e2b8bf9e4f01841bce2b41c04360a4d8b7cd01ed..d06024178ef4fe17fe4adf97a7b14a7aa2423579 100644 (file)
@@ -374,9 +374,14 @@ bool pkgAcquire::Worker::MediaChange(string Message)
       string Media = LookupTag(Message,"Media");
       string Drive = LookupTag(Message,"Drive"); 
       ostringstream msg,status;
       string Media = LookupTag(Message,"Media");
       string Drive = LookupTag(Message,"Drive"); 
       ostringstream msg,status;
+      ioprintf(msg,_("Please insert the disc labeled: "
+                    "'%s' "
+                    "in the drive '%s' and press enter."),
+              Media.c_str(),Drive.c_str());
       status << "media-change: "  // message
       status << "media-change: "  // message
-            << Media  << ":"     //media
-            << Drive  //drive
+            << Media  << ":"     // media
+            << Drive  << ":"     // drive
+            << msg.str()         // l10n message
             << endl;
       write(status_fd, status.str().c_str(), status.str().size());
    }
             << endl;
       write(status_fd, status.str().c_str(), status.str().size());
    }