2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Added "Status Legend" label to the explanation text of 'stat' in
	download result and moved it to the last. BUG#1848214
	* src/RequestGroupMan.cc
pull/1/head
Tatsuhiro Tsujikawa 2007-12-15 16:29:26 +00:00
parent d1d653abf3
commit c25f4cffc0
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added "Status Legend" label to the explanation text of 'stat' in
download result and moved it to the last. BUG#1848214
* src/RequestGroupMan.cc
2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that -lexpat is always added to aria2c_LDADD.

View File

@ -223,7 +223,6 @@ void RequestGroupMan::showDownloadResults(ostream& o) const
// ===+====+=======================================================================
o << "\n"
<<_("Download Results:") << "\n"
<< " (OK):download completed.(ERR):error occurred.(INPR):download in-progress." << "\n"
<< "gid|stat|path/URI" << "\n"
<< "===+====+======================================================================" << "\n";
for(DownloadResults::const_iterator itr = _downloadResults.begin();
@ -237,6 +236,9 @@ void RequestGroupMan::showDownloadResults(ostream& o) const
string status = result->result == DownloadResult::FINISHED ? "OK" : "INPR";
o << formatDownloadResult(status, result) << "\n";
}
o << "\n"
<< _("Status Legend:") << "\n"
<< " (OK):download completed.(ERR):error occurred.(INPR):download in-progress." << "\n";
}
string RequestGroupMan::formatDownloadResult(const string& status, const DownloadResultHandle& downloadResult) const