X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/80a26ed1fb36c6cdc07a4dc08ed46a405065b949..cce08fb5aca7dd01706cecea845b183dc62b1717:/apt-pkg/acquire-worker.cc?ds=inline diff --git a/apt-pkg/acquire-worker.cc b/apt-pkg/acquire-worker.cc index e2b8bf9e4..063aa5ed7 100644 --- a/apt-pkg/acquire-worker.cc +++ b/apt-pkg/acquire-worker.cc @@ -12,9 +12,6 @@ ##################################################################### */ /*}}}*/ // Include Files /*{{{*/ -#ifdef __GNUG__ -#pragma implementation "apt-pkg/acquire-worker.h" -#endif #include #include #include @@ -374,9 +371,14 @@ bool pkgAcquire::Worker::MediaChange(string Message) 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 - << Media << ":" //media - << Drive //drive + << Media << ":" // media + << Drive << ":" // drive + << msg.str() // l10n message << endl; write(status_fd, status.str().c_str(), status.str().size()); }