]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.cc
* remove all the remaining #pragma implementation
[apt.git] / apt-pkg / acquire-worker.cc
index e2b8bf9e4f01841bce2b41c04360a4d8b7cd01ed..063aa5ed7e346d627b194393433171917a0f4501 100644 (file)
@@ -12,9 +12,6 @@
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
-#ifdef __GNUG__
-#pragma implementation "apt-pkg/acquire-worker.h"
-#endif
 #include <apt-pkg/acquire-worker.h>
 #include <apt-pkg/acquire-item.h>
 #include <apt-pkg/configuration.h>
 #include <apt-pkg/acquire-worker.h>
 #include <apt-pkg/acquire-item.h>
 #include <apt-pkg/configuration.h>
@@ -374,9 +371,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());
    }