mirror of https://github.com/aria2/aria2
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.ccpull/1/head
parent
d1d653abf3
commit
c25f4cffc0
|
@ -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>
|
2007-12-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Fixed the bug that -lexpat is always added to aria2c_LDADD.
|
Fixed the bug that -lexpat is always added to aria2c_LDADD.
|
||||||
|
|
|
@ -223,7 +223,6 @@ void RequestGroupMan::showDownloadResults(ostream& o) const
|
||||||
// ===+====+=======================================================================
|
// ===+====+=======================================================================
|
||||||
o << "\n"
|
o << "\n"
|
||||||
<<_("Download Results:") << "\n"
|
<<_("Download Results:") << "\n"
|
||||||
<< " (OK):download completed.(ERR):error occurred.(INPR):download in-progress." << "\n"
|
|
||||||
<< "gid|stat|path/URI" << "\n"
|
<< "gid|stat|path/URI" << "\n"
|
||||||
<< "===+====+======================================================================" << "\n";
|
<< "===+====+======================================================================" << "\n";
|
||||||
for(DownloadResults::const_iterator itr = _downloadResults.begin();
|
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";
|
string status = result->result == DownloadResult::FINISHED ? "OK" : "INPR";
|
||||||
o << formatDownloadResult(status, result) << "\n";
|
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
|
string RequestGroupMan::formatDownloadResult(const string& status, const DownloadResultHandle& downloadResult) const
|
||||||
|
|
Loading…
Reference in New Issue