Browse Source

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

Tatsuhiro Tsujikawa 18 years ago
parent
commit
c25f4cffc0
2 changed files with 9 additions and 1 deletions
  1. 6 0
      ChangeLog
  2. 3 1
      src/RequestGroupMan.cc

+ 6 - 0
ChangeLog

@@ -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.

+ 3 - 1
src/RequestGroupMan.cc

@@ -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