浏览代码

2007-11-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

	Implemented. Now -c option works fine.
	* src/DefaultPieceStorage.cc (markPiecesDone)
	* test/DefaultPieceStorageTest.cc

	Removed.
	* src/SegmentMan.{h, cc}
	(markAllPiecesDone)
	(markPieceDone)

	Synchronized po files with 
	https://translations.launchpad.net/aria2/trunk/+pots/aria2c
	* src/fr.po
	* src/ru.po
	* src/de.po
	* src/ja.po
Tatsuhiro Tsujikawa 18 年之前
父节点
当前提交
ab8c0aafeb
共有 17 个文件被更改,包括 1215 次插入1254 次删除
  1. 18 0
      ChangeLog
  2. 176 163
      po/aria2c.pot
  3. 二进制
      po/de.gmo
  4. 184 215
      po/de.po
  5. 二进制
      po/fr.gmo
  6. 179 195
      po/fr.po
  7. 二进制
      po/ja.gmo
  8. 257 251
      po/ja.po
  9. 二进制
      po/nl.gmo
  10. 182 166
      po/nl.po
  11. 二进制
      po/ru.gmo
  12. 173 225
      po/ru.po
  13. 0 1
      src/ConsoleStatCalc.cc
  14. 16 2
      src/DefaultPieceStorage.cc
  15. 0 30
      src/SegmentMan.cc
  16. 0 4
      src/SegmentMan.h
  17. 30 2
      test/DefaultPieceStorageTest.cc

+ 18 - 0
ChangeLog

@@ -1,3 +1,21 @@
+2007-11-17  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
+
+	Implemented. Now -c option works fine.
+	* src/DefaultPieceStorage.cc (markPiecesDone)
+	* test/DefaultPieceStorageTest.cc
+
+	Removed.
+	* src/SegmentMan.{h, cc}
+	(markAllPiecesDone)
+	(markPieceDone)
+
+	Synchronized po files with 
+	https://translations.launchpad.net/aria2/trunk/+pots/aria2c
+	* src/fr.po
+	* src/ru.po
+	* src/de.po
+	* src/ja.po
+	
 2007-11-14  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 2007-11-14  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 
 
 	Added ifdef and some modifications to compile without BitTorrent,
 	Added ifdef and some modifications to compile without BitTorrent,

+ 176 - 163
po/aria2c.pot

@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://aria2.sourceforge.net/\n"
 "Report-Msgid-Bugs-To: http://aria2.sourceforge.net/\n"
-"POT-Creation-Date: 2007-10-29 21:34+0900\n"
+"POT-Creation-Date: 2007-11-14 21:24+0900\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -160,7 +160,7 @@ msgstr ""
 
 
 #: src/message.h:60
 #: src/message.h:60
 #, c-format
 #, c-format
-msgid "CUID#%d - Download has already completed: %s"
+msgid "#%d - Download has already completed: %s"
 msgstr ""
 msgstr ""
 
 
 #: src/message.h:61
 #: src/message.h:61
@@ -491,354 +491,360 @@ msgstr ""
 msgid "daemon failed."
 msgid "daemon failed."
 msgstr ""
 msgstr ""
 
 
+#: src/message.h:127
+#, c-format
+msgid "Verification finished successfully. file=%s"
+msgstr ""
+
 #: src/message.h:128
 #: src/message.h:128
+#, c-format
+msgid "Checksum error detected. file=%s"
+msgstr ""
+
+#: src/message.h:130
 msgid "Timeout."
 msgid "Timeout."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:129
+#: src/message.h:131
 msgid "Invalid chunk size."
 msgid "Invalid chunk size."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:130
+#: src/message.h:132
 #, c-format
 #, c-format
 msgid "Too large chunk. size=%d"
 msgid "Too large chunk. size=%d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:131
+#: src/message.h:133
 msgid "Invalid header."
 msgid "Invalid header."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:132
+#: src/message.h:134
 msgid "Invalid response."
 msgid "Invalid response."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:133
+#: src/message.h:135
 msgid "No header found."
 msgid "No header found."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:134
+#: src/message.h:136
 msgid "No status header."
 msgid "No status header."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:135
+#: src/message.h:137
 msgid "Proxy connection failed."
 msgid "Proxy connection failed."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:136
+#: src/message.h:138
 msgid "Connection failed."
 msgid "Connection failed."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:137
+#: src/message.h:139
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "The requested filename and the previously registered one are not same. "
 "The requested filename and the previously registered one are not same. "
 "Expected:%s Actual:%s"
 "Expected:%s Actual:%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:138
+#: src/message.h:140
 #, c-format
 #, c-format
 msgid "The response status is not successful. status=%d"
 msgid "The response status is not successful. status=%d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:139
+#: src/message.h:141
 #, c-format
 #, c-format
 msgid "Too large file size. size=%s"
 msgid "Too large file size. size=%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:140
+#: src/message.h:142
 #, c-format
 #, c-format
 msgid "Transfer encoding %s is not supported."
 msgid "Transfer encoding %s is not supported."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:141
+#: src/message.h:143
 #, c-format
 #, c-format
 msgid "SSL initialization failed: %s"
 msgid "SSL initialization failed: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:142
+#: src/message.h:144
 msgid "SSL I/O error"
 msgid "SSL I/O error"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:143
+#: src/message.h:145
 msgid "SSL protocol error"
 msgid "SSL protocol error"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:144
+#: src/message.h:146
 #, c-format
 #, c-format
 msgid "SSL unknown error %d"
 msgid "SSL unknown error %d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:145
+#: src/message.h:147
 #, c-format
 #, c-format
 msgid "SSL initialization failed: OpenSSL connect error %d"
 msgid "SSL initialization failed: OpenSSL connect error %d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:146
+#: src/message.h:148
 #, c-format
 #, c-format
 msgid "Size mismatch Expected:%s Actual:%s"
 msgid "Size mismatch Expected:%s Actual:%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:147
+#: src/message.h:149
 msgid "Authorization failed."
 msgid "Authorization failed."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:148
+#: src/message.h:150
 msgid "Got EOF from the server."
 msgid "Got EOF from the server."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:149
+#: src/message.h:151
 msgid "Got EOF from peer."
 msgid "Got EOF from peer."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:150
+#: src/message.h:152
 msgid "Malformed meta info."
 msgid "Malformed meta info."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:152
+#: src/message.h:154
 #, c-format
 #, c-format
 msgid "Failed to open the file %s, cause: %s"
 msgid "Failed to open the file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:153
+#: src/message.h:155
 #, c-format
 #, c-format
 msgid "Failed to write into the file %s, cause: %s"
 msgid "Failed to write into the file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:154
+#: src/message.h:156
 #, c-format
 #, c-format
 msgid "Failed to read from the file %s, cause: %s"
 msgid "Failed to read from the file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:155
+#: src/message.h:157
 msgid "Failed to read data from disk."
 msgid "Failed to read data from disk."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:156
+#: src/message.h:158
 #, c-format
 #, c-format
 msgid "Failed to calculate SHA1 digest of or a part of the file %s, cause: %s"
 msgid "Failed to calculate SHA1 digest of or a part of the file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:157
+#: src/message.h:159
 #, c-format
 #, c-format
 msgid "Failed to seek the file %s, cause: %s"
 msgid "Failed to seek the file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:158
+#: src/message.h:160
 #, c-format
 #, c-format
 msgid "The offset is out of range, offset=%s"
 msgid "The offset is out of range, offset=%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:159
+#: src/message.h:161
 #, c-format
 #, c-format
 msgid "%s is not a directory."
 msgid "%s is not a directory."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:160
+#: src/message.h:162
 #, c-format
 #, c-format
 msgid "Failed to make the directory %s, cause: %s"
 msgid "Failed to make the directory %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:161
+#: src/message.h:163
 #, c-format
 #, c-format
 msgid "Failed to open the segment file %s, cause: %s"
 msgid "Failed to open the segment file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:162
+#: src/message.h:164
 #, c-format
 #, c-format
 msgid "Failed to write into the segment file %s, cause: %s"
 msgid "Failed to write into the segment file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:163
+#: src/message.h:165
 #, c-format
 #, c-format
 msgid "Failed to read from the segment file %s, cause: %s"
 msgid "Failed to read from the segment file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:165
+#: src/message.h:167
 #, c-format
 #, c-format
 msgid "Failed to open a socket, cause: %s"
 msgid "Failed to open a socket, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:166
+#: src/message.h:168
 #, c-format
 #, c-format
 msgid "Failed to set a socket option, cause: %s"
 msgid "Failed to set a socket option, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:167
+#: src/message.h:169
 #, c-format
 #, c-format
 msgid "Failed to set a socket as blocking, cause: %s"
 msgid "Failed to set a socket as blocking, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:168
+#: src/message.h:170
 #, c-format
 #, c-format
 msgid "Failed to set a socket as non-blocking, cause: %s"
 msgid "Failed to set a socket as non-blocking, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:169
+#: src/message.h:171
 #, c-format
 #, c-format
 msgid "Failed to bind a socket, cause: %s"
 msgid "Failed to bind a socket, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:170
+#: src/message.h:172
 #, c-format
 #, c-format
 msgid "Failed to listen to a socket, cause: %s"
 msgid "Failed to listen to a socket, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:171
+#: src/message.h:173
 #, c-format
 #, c-format
 msgid "Failed to accept a peer connection, cause: %s"
 msgid "Failed to accept a peer connection, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:172
+#: src/message.h:174
 #, c-format
 #, c-format
 msgid "Failed to get the name of socket, cause: %s"
 msgid "Failed to get the name of socket, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:173
+#: src/message.h:175
 #, c-format
 #, c-format
 msgid "Failed to get the name of connected peer, cause: %s"
 msgid "Failed to get the name of connected peer, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:174
+#: src/message.h:176
 #, c-format
 #, c-format
 msgid "Failed to resolve the hostname %s, cause: %s"
 msgid "Failed to resolve the hostname %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:175
+#: src/message.h:177
 #, c-format
 #, c-format
 msgid "Failed to connect to the host %s, cause: %s"
 msgid "Failed to connect to the host %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:176
+#: src/message.h:178
 #, c-format
 #, c-format
 msgid "Failed to check whether the socket is writable, cause: %s"
 msgid "Failed to check whether the socket is writable, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:177
+#: src/message.h:179
 #, c-format
 #, c-format
 msgid "Failed to check whether the socket is readable, cause: %s"
 msgid "Failed to check whether the socket is readable, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:178
+#: src/message.h:180
 #, c-format
 #, c-format
 msgid "Failed to send data, cause: %s"
 msgid "Failed to send data, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:179
+#: src/message.h:181
 #, c-format
 #, c-format
 msgid "Failed to receive data, cause: %s"
 msgid "Failed to receive data, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:180
+#: src/message.h:182
 #, c-format
 #, c-format
 msgid "Failed to peek data, cause: %s"
 msgid "Failed to peek data, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:181
+#: src/message.h:183
 #, c-format
 #, c-format
 msgid "Unknown socket error %d (0x%x)"
 msgid "Unknown socket error %d (0x%x)"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:182
+#: src/message.h:184
 #, c-format
 #, c-format
 msgid "File %s exists, but %s does not exist."
 msgid "File %s exists, but %s does not exist."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:183
+#: src/message.h:185
 #, c-format
 #, c-format
 msgid "Invalid payload size for %s, size=%d. It should be %d."
 msgid "Invalid payload size for %s, size=%d. It should be %d."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:184
+#: src/message.h:186
 #, c-format
 #, c-format
 msgid "Invalid ID=%d for %s. It should be %d."
 msgid "Invalid ID=%d for %s. It should be %d."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:185
+#: src/message.h:187
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "Chunk checksum validation failed. checksumIndex=%d, offset=%s, expectedHash=%"
 "Chunk checksum validation failed. checksumIndex=%d, offset=%s, expectedHash=%"
 "s, actualHash=%s"
 "s, actualHash=%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:186
+#: src/message.h:188
 msgid "Download aborted."
 msgid "Download aborted."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:187
+#: src/message.h:189
 #, c-format
 #, c-format
 msgid "File %s is being downloaded by other command."
 msgid "File %s is being downloaded by other command."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:188
+#: src/message.h:190
 msgid "Insufficient checksums."
 msgid "Insufficient checksums."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:189
+#: src/message.h:191
 #, c-format
 #, c-format
 msgid "Tracker returned failure reason: %s"
 msgid "Tracker returned failure reason: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:190
+#: src/message.h:192
 msgid "Flooding detected."
 msgid "Flooding detected."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:191
+#: src/message.h:193
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "Drop connection because no request/piece messages were exchanged in a "
 "Drop connection because no request/piece messages were exchanged in a "
 "certain period(%d seconds)."
 "certain period(%d seconds)."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:192
+#: src/message.h:194
 msgid "The infoHash in torrent file doesn't match to one in .aria2 file."
 msgid "The infoHash in torrent file doesn't match to one in .aria2 file."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:193
+#: src/message.h:195
 #, c-format
 #, c-format
 msgid "No such file entry %s"
 msgid "No such file entry %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:194
+#: src/message.h:196
 #, c-format
 #, c-format
 msgid "Too slow Downloading speed: %d <= %d(B/s), host:%s"
 msgid "Too slow Downloading speed: %d <= %d(B/s), host:%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:195
+#: src/message.h:197
 msgid "No HttpRequestEntry found."
 msgid "No HttpRequestEntry found."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:196
+#: src/message.h:198
 #, c-format
 #, c-format
 msgid "Got %d status, but no location header provided."
 msgid "Got %d status, but no location header provided."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:197
+#: src/message.h:199
 #, c-format
 #, c-format
 msgid "Invalid range header. Request: %s-%s/%s, Response: %s-%s/%s"
 msgid "Invalid range header. Request: %s-%s/%s, Response: %s-%s/%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:198
+#: src/message.h:200
 msgid "No file matched with your preference."
 msgid "No file matched with your preference."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:199
+#: src/message.h:201
 msgid "Exception caught"
 msgid "Exception caught"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:200
+#: src/message.h:202
 #, c-format
 #, c-format
 msgid "Max payload length exceeded or invalid. length = %d"
 msgid "Max payload length exceeded or invalid. length = %d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:201
+#: src/message.h:203
 #, c-format
 #, c-format
 msgid "Invalid file length. Cannot continue download %s: local %s, remote %s"
 msgid "Invalid file length. Cannot continue download %s: local %s, remote %s"
 msgstr ""
 msgstr ""
 
 
-#: src/DownloadEngineFactory.cc:97
-msgid "Errors occurred while binding port.\n"
-msgstr ""
-
 #: src/MultiUrlRequestInfo.cc:70
 #: src/MultiUrlRequestInfo.cc:70
 msgid "aria2 will resume download if the transfer is restarted."
 msgid "aria2 will resume download if the transfer is restarted."
 msgstr ""
 msgstr ""
@@ -849,19 +855,19 @@ msgid ""
 "page for details."
 "page for details."
 msgstr ""
 msgstr ""
 
 
-#: src/RequestGroupMan.cc:213
+#: src/RequestGroupMan.cc:222
 msgid "Download Results:"
 msgid "Download Results:"
 msgstr ""
 msgstr ""
 
 
-#: src/Util.cc:649
+#: src/Util.cc:644
 msgid "Files:"
 msgid "Files:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:40
+#: src/version_usage.cc:42
 msgid " version "
 msgid " version "
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:50
+#: src/version_usage.cc:52
 msgid ""
 msgid ""
 "This program is free software; you can redistribute it and/or modify\n"
 "This program is free software; you can redistribute it and/or modify\n"
 "it under the terms of the GNU General Public License as published by\n"
 "it under the terms of the GNU General Public License as published by\n"
@@ -879,49 +885,49 @@ msgid ""
 "USA\n"
 "USA\n"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:64
+#: src/version_usage.cc:66
 msgid "Contact Info:"
 msgid "Contact Info:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:71
+#: src/version_usage.cc:73
 #, c-format
 #, c-format
 msgid "Usage: %s [options] URL ...\n"
 msgid "Usage: %s [options] URL ...\n"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:73
+#: src/version_usage.cc:75
 #, c-format
 #, c-format
 msgid "       %s [options] -T TORRENT_FILE URL ...\n"
 msgid "       %s [options] -T TORRENT_FILE URL ...\n"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:76
+#: src/version_usage.cc:78
 #, c-format
 #, c-format
 msgid "       %s [options] -M METALINK_FILE\n"
 msgid "       %s [options] -M METALINK_FILE\n"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:79
+#: src/version_usage.cc:81
 msgid "Options:"
 msgid "Options:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:80
+#: src/version_usage.cc:82
 msgid ""
 msgid ""
 " -d, --dir=DIR                The directory to store the downloaded file."
 " -d, --dir=DIR                The directory to store the downloaded file."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:81
+#: src/version_usage.cc:83
 msgid " -o, --out=FILE               The file name of the downloaded file."
 msgid " -o, --out=FILE               The file name of the downloaded file."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:82
+#: src/version_usage.cc:84
 msgid ""
 msgid ""
 " -l, --log=LOG                The file name of the log file. If '-' is\n"
 " -l, --log=LOG                The file name of the log file. If '-' is\n"
 "                              specified, log is written to stdout."
 "                              specified, log is written to stdout."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:85
+#: src/version_usage.cc:87
 msgid " -D, --daemon                 Run as daemon."
 msgid " -D, --daemon                 Run as daemon."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:87
+#: src/version_usage.cc:89
 msgid ""
 msgid ""
 " -s, --split=N                Download a file using N connections. N must "
 " -s, --split=N                Download a file using N connections. N must "
 "be\n"
 "be\n"
@@ -932,7 +938,7 @@ msgid ""
 "                              Default: 1"
 "                              Default: 1"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:92
+#: src/version_usage.cc:94
 msgid ""
 msgid ""
 " --retry-wait=SEC             Set the seconds to wait to retry after an "
 " --retry-wait=SEC             Set the seconds to wait to retry after an "
 "error\n"
 "error\n"
@@ -941,47 +947,47 @@ msgid ""
 "                              Default: 5"
 "                              Default: 5"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:95
+#: src/version_usage.cc:97
 msgid " -t, --timeout=SEC            Set timeout in seconds. Default: 60"
 msgid " -t, --timeout=SEC            Set timeout in seconds. Default: 60"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:96
+#: src/version_usage.cc:98
 msgid ""
 msgid ""
 " -m, --max-tries=N            Set number of tries. 0 means unlimited.\n"
 " -m, --max-tries=N            Set number of tries. 0 means unlimited.\n"
 "                              Default: 5"
 "                              Default: 5"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:104
+#: src/version_usage.cc:106
 msgid ""
 msgid ""
 " --http-proxy=HOST:PORT       Use HTTP proxy server. This affects all URLs."
 " --http-proxy=HOST:PORT       Use HTTP proxy server. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:105
+#: src/version_usage.cc:107
 msgid " --http-user=USER             Set HTTP user. This affects all URLs."
 msgid " --http-user=USER             Set HTTP user. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:106
+#: src/version_usage.cc:108
 msgid " --http-passwd=PASSWD         Set HTTP password. This affects all URLs."
 msgid " --http-passwd=PASSWD         Set HTTP password. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:107
+#: src/version_usage.cc:109
 msgid ""
 msgid ""
 " --http-proxy-user=USER       Set HTTP proxy user. This affects all URLs."
 " --http-proxy-user=USER       Set HTTP proxy user. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:108
+#: src/version_usage.cc:110
 msgid ""
 msgid ""
 " --http-proxy-passwd=PASSWD   Set HTTP proxy password. This affects all URLs."
 " --http-proxy-passwd=PASSWD   Set HTTP proxy password. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:109
+#: src/version_usage.cc:111
 msgid ""
 msgid ""
 " --http-proxy-method=METHOD   Set the method to use in proxy request.\n"
 " --http-proxy-method=METHOD   Set the method to use in proxy request.\n"
 "                              METHOD is either 'get' or 'tunnel'.\n"
 "                              METHOD is either 'get' or 'tunnel'.\n"
 "                              Default: tunnel"
 "                              Default: tunnel"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:112
+#: src/version_usage.cc:114
 msgid ""
 msgid ""
 " --http-auth-scheme=SCHEME    Set HTTP authentication scheme. Currently, "
 " --http-auth-scheme=SCHEME    Set HTTP authentication scheme. Currently, "
 "basic\n"
 "basic\n"
@@ -989,23 +995,23 @@ msgid ""
 "                              Default: basic"
 "                              Default: basic"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:115
+#: src/version_usage.cc:117
 msgid " --referer=REFERER            Set Referer. This affects all URLs."
 msgid " --referer=REFERER            Set Referer. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:116
+#: src/version_usage.cc:118
 msgid ""
 msgid ""
 " --ftp-user=USER              Set FTP user. This affects all URLs.\n"
 " --ftp-user=USER              Set FTP user. This affects all URLs.\n"
 "                              Default: anonymous"
 "                              Default: anonymous"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:118
+#: src/version_usage.cc:120
 msgid ""
 msgid ""
 " --ftp-passwd=PASSWD          Set FTP password. This affects all URLs.\n"
 " --ftp-passwd=PASSWD          Set FTP password. This affects all URLs.\n"
 "                              Default: ARIA2USER@"
 "                              Default: ARIA2USER@"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:120
+#: src/version_usage.cc:122
 msgid ""
 msgid ""
 " --ftp-type=TYPE              Set FTP transfer type. TYPE is either "
 " --ftp-type=TYPE              Set FTP transfer type. TYPE is either "
 "'binary'\n"
 "'binary'\n"
@@ -1013,11 +1019,11 @@ msgid ""
 "                              Default: binary"
 "                              Default: binary"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:123
+#: src/version_usage.cc:125
 msgid " -p, --ftp-pasv               Use passive mode in FTP."
 msgid " -p, --ftp-pasv               Use passive mode in FTP."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:124
+#: src/version_usage.cc:126
 msgid ""
 msgid ""
 " --ftp-via-http-proxy=METHOD  Use HTTP proxy in FTP. METHOD is either 'get' "
 " --ftp-via-http-proxy=METHOD  Use HTTP proxy in FTP. METHOD is either 'get' "
 "or\n"
 "or\n"
@@ -1025,7 +1031,7 @@ msgid ""
 "                              Default: tunnel"
 "                              Default: tunnel"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:127
+#: src/version_usage.cc:129
 msgid ""
 msgid ""
 " --lowest-speed-limit=SPEED   Close connection if download speed is lower "
 " --lowest-speed-limit=SPEED   Close connection if download speed is lower "
 "than\n"
 "than\n"
@@ -1038,7 +1044,7 @@ msgid ""
 "                              Default: 0"
 "                              Default: 0"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:134
+#: src/version_usage.cc:136
 msgid ""
 msgid ""
 " --max-download-limit=SPEED   Set max download speed in bytes per sec.\n"
 " --max-download-limit=SPEED   Set max download speed in bytes per sec.\n"
 "                              0 means unrestricted.\n"
 "                              0 means unrestricted.\n"
@@ -1046,7 +1052,7 @@ msgid ""
 "                              Default: 0"
 "                              Default: 0"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:138
+#: src/version_usage.cc:140
 msgid ""
 msgid ""
 " --file-allocation=METHOD     Specify file allocation method. METHOD is "
 " --file-allocation=METHOD     Specify file allocation method. METHOD is "
 "either\n"
 "either\n"
@@ -1060,7 +1066,7 @@ msgid ""
 "                              Default: prealloc"
 "                              Default: prealloc"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:144
+#: src/version_usage.cc:146
 msgid ""
 msgid ""
 " --no-file-allocation-limit=SIZE No file allocation is made for files whose\n"
 " --no-file-allocation-limit=SIZE No file allocation is made for files whose\n"
 "                              size is smaller than SIZE.\n"
 "                              size is smaller than SIZE.\n"
@@ -1069,7 +1075,7 @@ msgid ""
 "                              Default: 5M"
 "                              Default: 5M"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:149
+#: src/version_usage.cc:151
 msgid ""
 msgid ""
 " --allow-overwrite=true|false If false, aria2 doesn't download a file which\n"
 " --allow-overwrite=true|false If false, aria2 doesn't download a file which\n"
 "                              already exists but the corresponding .aria2 "
 "                              already exists but the corresponding .aria2 "
@@ -1078,7 +1084,7 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:153
+#: src/version_usage.cc:155
 msgid ""
 msgid ""
 " -Z, --force-sequential[=true|false] Fetch URIs in the command-line "
 " -Z, --force-sequential[=true|false] Fetch URIs in the command-line "
 "sequentially\n"
 "sequentially\n"
@@ -1088,7 +1094,7 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:157
+#: src/version_usage.cc:159
 msgid ""
 msgid ""
 " --auto-file-renaming[=true|false] Rename file name if the same file "
 " --auto-file-renaming[=true|false] Rename file name if the same file "
 "already\n"
 "already\n"
@@ -1100,7 +1106,7 @@ msgid ""
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:163
+#: src/version_usage.cc:165
 msgid ""
 msgid ""
 " -P, --parameterized-uri[=true|false] Enable parameterized URI support.\n"
 " -P, --parameterized-uri[=true|false] Enable parameterized URI support.\n"
 "                              You can specify set of parts:\n"
 "                              You can specify set of parts:\n"
@@ -1117,20 +1123,20 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:174
+#: src/version_usage.cc:176
 msgid ""
 msgid ""
 " --enable-http-keep-alive[=true|false] Enable HTTP/1.1 persistant "
 " --enable-http-keep-alive[=true|false] Enable HTTP/1.1 persistant "
 "connection.\n"
 "connection.\n"
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:176
+#: src/version_usage.cc:178
 msgid ""
 msgid ""
 " --enable-http-pipelining[=true|false] Enable HTTP/1.1 pipelining.\n"
 " --enable-http-pipelining[=true|false] Enable HTTP/1.1 pipelining.\n"
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:179
+#: src/version_usage.cc:181
 msgid ""
 msgid ""
 " --check-integrity=true|false  Check file integrity by validating piece "
 " --check-integrity=true|false  Check file integrity by validating piece "
 "hash.\n"
 "hash.\n"
@@ -1146,7 +1152,7 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:187
+#: src/version_usage.cc:189
 msgid ""
 msgid ""
 " --realtime-chunk-checksum=true|false  Validate chunk checksum while\n"
 " --realtime-chunk-checksum=true|false  Validate chunk checksum while\n"
 "                              downloading a file in Metalink mode. This "
 "                              downloading a file in Metalink mode. This "
@@ -1156,7 +1162,7 @@ msgid ""
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:192
+#: src/version_usage.cc:194
 msgid ""
 msgid ""
 " -c, --continue               Continue downloading a partially downloaded\n"
 " -c, --continue               Continue downloading a partially downloaded\n"
 "                              file. Use this option to resume a download\n"
 "                              file. Use this option to resume a download\n"
@@ -1166,15 +1172,15 @@ msgid ""
 "                              applicable to http(s)/ftp downloads."
 "                              applicable to http(s)/ftp downloads."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:198
+#: src/version_usage.cc:200
 msgid " -U, --user-agent=USER_AGENT  Set user agent for http(s) downloads."
 msgid " -U, --user-agent=USER_AGENT  Set user agent for http(s) downloads."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:199
+#: src/version_usage.cc:201
 msgid " -n, --no-netrc               Disables netrc support."
 msgid " -n, --no-netrc               Disables netrc support."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:200
+#: src/version_usage.cc:202
 msgid ""
 msgid ""
 " -i, --input-file=FILE        Downloads URIs found in FILE. You can specify\n"
 " -i, --input-file=FILE        Downloads URIs found in FILE. You can specify\n"
 "                              multiple URIs for a single entity: separate\n"
 "                              multiple URIs for a single entity: separate\n"
@@ -1183,7 +1189,7 @@ msgid ""
 "                              Reads input from stdin when '-' is specified."
 "                              Reads input from stdin when '-' is specified."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:204
+#: src/version_usage.cc:206
 msgid ""
 msgid ""
 " -j, --max-concurrent-downloads=N Set maximum number of concurrent "
 " -j, --max-concurrent-downloads=N Set maximum number of concurrent "
 "downloads.\n"
 "downloads.\n"
@@ -1191,20 +1197,20 @@ msgid ""
 "                              Default: 5"
 "                              Default: 5"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:207
+#: src/version_usage.cc:209
 msgid ""
 msgid ""
 " --load-cookies=FILE          Load cookies from FILE. The format of FILE is\n"
 " --load-cookies=FILE          Load cookies from FILE. The format of FILE is\n"
 "                              the same used by Netscape and Mozilla."
 "                              the same used by Netscape and Mozilla."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:210
+#: src/version_usage.cc:212
 msgid ""
 msgid ""
 " -S, --show-files             Print file listing of .torrent or .metalink "
 " -S, --show-files             Print file listing of .torrent or .metalink "
 "file\n"
 "file\n"
 "                              and exit."
 "                              and exit."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:212
+#: src/version_usage.cc:214
 msgid ""
 msgid ""
 " --select-file=INDEX...       Set file to download by specifing its index.\n"
 " --select-file=INDEX...       Set file to download by specifing its index.\n"
 "                              You can find the file index using the\n"
 "                              You can find the file index using the\n"
@@ -1218,11 +1224,11 @@ msgid ""
 "options)."
 "options)."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:222
+#: src/version_usage.cc:224
 msgid " -T, --torrent-file=TORRENT_FILE  The path to the .torrent file."
 msgid " -T, --torrent-file=TORRENT_FILE  The path to the .torrent file."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:223
+#: src/version_usage.cc:225
 msgid ""
 msgid ""
 " --follow-torrent=true|false  Set to false to prevent aria2 from\n"
 " --follow-torrent=true|false  Set to false to prevent aria2 from\n"
 "                              entering BitTorrent mode even if the filename "
 "                              entering BitTorrent mode even if the filename "
@@ -1231,20 +1237,20 @@ msgid ""
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:227
+#: src/version_usage.cc:229
 msgid ""
 msgid ""
 " --direct-file-mapping=true|false Directly read from and write to each file\n"
 " --direct-file-mapping=true|false Directly read from and write to each file\n"
 "                              mentioned in .torrent file.\n"
 "                              mentioned in .torrent file.\n"
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:230
+#: src/version_usage.cc:232
 msgid ""
 msgid ""
 " --listen-port=PORT           Set TCP port number for BitTorrent downloads.\n"
 " --listen-port=PORT           Set TCP port number for BitTorrent downloads.\n"
 "                              Default: 6881-6999"
 "                              Default: 6881-6999"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:232
+#: src/version_usage.cc:234
 msgid ""
 msgid ""
 " --max-upload-limit=SPEED     Set max upload speed in bytes per sec.\n"
 " --max-upload-limit=SPEED     Set max upload speed in bytes per sec.\n"
 "                              0 means unrestricted.\n"
 "                              0 means unrestricted.\n"
@@ -1252,13 +1258,13 @@ msgid ""
 "                              Default: 0"
 "                              Default: 0"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:236
+#: src/version_usage.cc:238
 msgid ""
 msgid ""
 " --seed-time=MINUTES          Specify seeding time in minutes. Also see the\n"
 " --seed-time=MINUTES          Specify seeding time in minutes. Also see the\n"
 "                              --seed-ratio option."
 "                              --seed-ratio option."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:238
+#: src/version_usage.cc:240
 msgid ""
 msgid ""
 " --seed-ratio=RATIO           Specify share ratio. Seed completed torrents\n"
 " --seed-ratio=RATIO           Specify share ratio. Seed completed torrents\n"
 "                              until share ratio reaches RATIO. 1.0 is\n"
 "                              until share ratio reaches RATIO. 1.0 is\n"
@@ -1268,7 +1274,7 @@ msgid ""
 "                              least one of the conditions is satisfied."
 "                              least one of the conditions is satisfied."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:243
+#: src/version_usage.cc:245
 msgid ""
 msgid ""
 " --peer-id-prefix=PEERI_ID_PREFIX Specify the prefix of peer ID. The peer ID "
 " --peer-id-prefix=PEERI_ID_PREFIX Specify the prefix of peer ID. The peer ID "
 "in\n"
 "in\n"
@@ -1281,35 +1287,38 @@ msgid ""
 "                              Default: -aria2-"
 "                              Default: -aria2-"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:252
+#: src/version_usage.cc:254
 msgid " -M, --metalink-file=METALINK_FILE The file path to the .metalink file."
 msgid " -M, --metalink-file=METALINK_FILE The file path to the .metalink file."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:253
+#: src/version_usage.cc:255
 msgid ""
 msgid ""
 " -C, --metalink-servers=NUM_SERVERS The number of servers to connect to\n"
 " -C, --metalink-servers=NUM_SERVERS The number of servers to connect to\n"
 "                              simultaneously.\n"
 "                              simultaneously.\n"
 "                              Default: 5"
 "                              Default: 5"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:256
+#: src/version_usage.cc:258
 msgid " --metalink-version=VERSION   The version of the file to download."
 msgid " --metalink-version=VERSION   The version of the file to download."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:257
+#: src/version_usage.cc:259
 msgid " --metalink-language=LANGUAGE The language of the file to download."
 msgid " --metalink-language=LANGUAGE The language of the file to download."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:258
+#: src/version_usage.cc:260
 msgid ""
 msgid ""
 " --metalink-os=OS             The operating system of the file to download."
 " --metalink-os=OS             The operating system of the file to download."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:259
-msgid " --metalink-location=LOCATION The location of the prefered server."
+#: src/version_usage.cc:261
+msgid ""
+" --metalink-location=LOCATION[,...] The location of the preferred server.\n"
+"                              A comma-deliminated list of locations is\n"
+"                              acceptable."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:260
+#: src/version_usage.cc:264
 msgid ""
 msgid ""
 " --follow-metalink=true|false Set to false to prevent aria2 from\n"
 " --follow-metalink=true|false Set to false to prevent aria2 from\n"
 "                              entering Metalink mode even if the filename "
 "                              entering Metalink mode even if the filename "
@@ -1318,86 +1327,90 @@ msgid ""
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:265
+#: src/version_usage.cc:269
 msgid " -v, --version                Print the version number and exit."
 msgid " -v, --version                Print the version number and exit."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:266
+#: src/version_usage.cc:270
 msgid " -h, --help                   Print this message and exit."
 msgid " -h, --help                   Print this message and exit."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:269
+#: src/version_usage.cc:273
 msgid ""
 msgid ""
 " You can specify multiple URLs. All URLs must point to the same file\n"
 " You can specify multiple URLs. All URLs must point to the same file\n"
 " or downloading will fail."
 " or downloading will fail."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:272
+#: src/version_usage.cc:276
 msgid "Examples:"
 msgid "Examples:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:273
+#: src/version_usage.cc:277
 msgid " Download a file using 1 connection:"
 msgid " Download a file using 1 connection:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:275
+#: src/version_usage.cc:279
 msgid " Download a file using 2 connections:"
 msgid " Download a file using 2 connections:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:277
+#: src/version_usage.cc:281
 msgid ""
 msgid ""
 " Download a file using 2 connections, each connects to a different server:"
 " Download a file using 2 connections, each connects to a different server:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:279
+#: src/version_usage.cc:283
 msgid " You can mix up different protocols:"
 msgid " You can mix up different protocols:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:281
+#: src/version_usage.cc:285
 msgid " Parameterized URI:"
 msgid " Parameterized URI:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:283
+#: src/version_usage.cc:287
 msgid " Parameterized URI. -Z option is required in this case:"
 msgid " Parameterized URI. -Z option is required in this case:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:287
+#: src/version_usage.cc:291
 msgid " Download a torrent:"
 msgid " Download a torrent:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:289
+#: src/version_usage.cc:293
 msgid " Download a torrent using a local .torrent file:"
 msgid " Download a torrent using a local .torrent file:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:291 src/version_usage.cc:304
+#: src/version_usage.cc:295 src/version_usage.cc:308
 msgid " Download only selected files:"
 msgid " Download only selected files:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:293
+#: src/version_usage.cc:297
 msgid " Print file listing of .torrent file:"
 msgid " Print file listing of .torrent file:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:298
+#: src/version_usage.cc:302
 msgid " Metalink downloading:"
 msgid " Metalink downloading:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:300
+#: src/version_usage.cc:304
 msgid " Download a file using local .metalink file:"
 msgid " Download a file using local .metalink file:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:302
+#: src/version_usage.cc:306
 msgid " Metalink downloading with preferences:"
 msgid " Metalink downloading with preferences:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:306
+#: src/version_usage.cc:310
 msgid " Download only selected files using index:"
 msgid " Download only selected files using index:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:308
+#: src/version_usage.cc:312
 msgid " Print file listing of .metalink file:"
 msgid " Print file listing of .metalink file:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:312
+#: src/version_usage.cc:316
 #, c-format
 #, c-format
 msgid "Report bugs to %s"
 msgid "Report bugs to %s"
 msgstr ""
 msgstr ""
+
+#: src/BtSetup.cc:111
+msgid "Errors occurred while binding port.\n"
+msgstr ""

二进制
po/de.gmo


文件差异内容过多而无法显示
+ 184 - 215
po/de.po


二进制
po/fr.gmo


+ 179 - 195
po/fr.po

@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: aria2 0.11.2\n"
 "Project-Id-Version: aria2 0.11.2\n"
 "Report-Msgid-Bugs-To: http://aria2.sourceforge.net/\n"
 "Report-Msgid-Bugs-To: http://aria2.sourceforge.net/\n"
-"POT-Creation-Date: 2007-10-29 21:34+0900\n"
+"POT-Creation-Date: 2007-11-14 21:24+0900\n"
 "PO-Revision-Date: 2007-09-06 21:47+0100\n"
 "PO-Revision-Date: 2007-09-06 21:47+0100\n"
 "Last-Translator: Sebastien WILLEMIJNS <seb@willemijns.com>\n"
 "Last-Translator: Sebastien WILLEMIJNS <seb@willemijns.com>\n"
 "Language-Team: Fran&ccedil;ais\n"
 "Language-Team: Fran&ccedil;ais\n"
@@ -173,9 +173,9 @@ msgstr "CUID#%d - T&eacute;l&eacute;chargement incomplet: %s"
 
 
 #: src/message.h:60
 #: src/message.h:60
 #, c-format
 #, c-format
-msgid "CUID#%d - Download has already completed: %s"
+msgid "#%d - Download has already completed: %s"
 msgstr ""
 msgstr ""
-"CUID#%d - Ce t&eacute;l&eacute;chargement est d&eacute;j&agrave; complet: %s"
+"#%d - Ce t&eacute;l&eacute;chargement est d&eacute;j&agrave; complet: %s"
 
 
 #: src/message.h:61
 #: src/message.h:61
 #, c-format
 #, c-format
@@ -523,44 +523,54 @@ msgstr "Spécifiez au moins une URL."
 msgid "daemon failed."
 msgid "daemon failed."
 msgstr "Le service a échoué."
 msgstr "Le service a échoué."
 
 
+#: src/message.h:127
+#, c-format
+msgid "Verification finished successfully. file=%s"
+msgstr ""
+
 #: src/message.h:128
 #: src/message.h:128
+#, c-format
+msgid "Checksum error detected. file=%s"
+msgstr ""
+
+#: src/message.h:130
 msgid "Timeout."
 msgid "Timeout."
 msgstr "temps d'attente d&eacute;pass&eacute; (timeout)."
 msgstr "temps d'attente d&eacute;pass&eacute; (timeout)."
 
 
-#: src/message.h:129
+#: src/message.h:131
 msgid "Invalid chunk size."
 msgid "Invalid chunk size."
 msgstr "Taille de block invalide"
 msgstr "Taille de block invalide"
 
 
-#: src/message.h:130
+#: src/message.h:132
 #, c-format
 #, c-format
 msgid "Too large chunk. size=%d"
 msgid "Too large chunk. size=%d"
 msgstr "Bloc trop grand. taille=%d"
 msgstr "Bloc trop grand. taille=%d"
 
 
-#: src/message.h:131
+#: src/message.h:133
 msgid "Invalid header."
 msgid "Invalid header."
 msgstr "En-tête invalide"
 msgstr "En-tête invalide"
 
 
-#: src/message.h:132
+#: src/message.h:134
 msgid "Invalid response."
 msgid "Invalid response."
 msgstr "Réponse invalide"
 msgstr "Réponse invalide"
 
 
-#: src/message.h:133
+#: src/message.h:135
 msgid "No header found."
 msgid "No header found."
 msgstr "Aucun en-tête trouvé"
 msgstr "Aucun en-tête trouvé"
 
 
-#: src/message.h:134
+#: src/message.h:136
 msgid "No status header."
 msgid "No status header."
 msgstr "Aucun en-tête de status."
 msgstr "Aucun en-tête de status."
 
 
-#: src/message.h:135
+#: src/message.h:137
 msgid "Proxy connection failed."
 msgid "Proxy connection failed."
 msgstr "La connexion proxy a échoué."
 msgstr "La connexion proxy a échoué."
 
 
-#: src/message.h:136
+#: src/message.h:138
 msgid "Connection failed."
 msgid "Connection failed."
 msgstr "La connexion a échoué."
 msgstr "La connexion a échoué."
 
 
-#: src/message.h:137
+#: src/message.h:139
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "The requested filename and the previously registered one are not same. "
 "The requested filename and the previously registered one are not same. "
@@ -569,228 +579,228 @@ msgstr ""
 "Le fichié demandé et celui enregistré précédemment sont différents. Taille "
 "Le fichié demandé et celui enregistré précédemment sont différents. Taille "
 "du fichier attendue: %s En réalité: %s"
 "du fichier attendue: %s En réalité: %s"
 
 
-#: src/message.h:138
+#: src/message.h:140
 #, c-format
 #, c-format
 msgid "The response status is not successful. status=%d"
 msgid "The response status is not successful. status=%d"
 msgstr "La réponse a échoué. Status=%d"
 msgstr "La réponse a échoué. Status=%d"
 
 
-#: src/message.h:139
+#: src/message.h:141
 #, c-format
 #, c-format
 msgid "Too large file size. size=%s"
 msgid "Too large file size. size=%s"
 msgstr "Fichier trop grand. Taille=%s"
 msgstr "Fichier trop grand. Taille=%s"
 
 
-#: src/message.h:140
+#: src/message.h:142
 #, c-format
 #, c-format
 msgid "Transfer encoding %s is not supported."
 msgid "Transfer encoding %s is not supported."
 msgstr "Le type de transfert %s n'est pas supporté."
 msgstr "Le type de transfert %s n'est pas supporté."
 
 
-#: src/message.h:141
+#: src/message.h:143
 #, c-format
 #, c-format
 msgid "SSL initialization failed: %s"
 msgid "SSL initialization failed: %s"
 msgstr "L'initialisation SSL a échouée: %s"
 msgstr "L'initialisation SSL a échouée: %s"
 
 
-#: src/message.h:142
+#: src/message.h:144
 msgid "SSL I/O error"
 msgid "SSL I/O error"
 msgstr "Erreur E/S SSL"
 msgstr "Erreur E/S SSL"
 
 
-#: src/message.h:143
+#: src/message.h:145
 msgid "SSL protocol error"
 msgid "SSL protocol error"
 msgstr "erreur de protocole SSL"
 msgstr "erreur de protocole SSL"
 
 
-#: src/message.h:144
+#: src/message.h:146
 #, c-format
 #, c-format
 msgid "SSL unknown error %d"
 msgid "SSL unknown error %d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:145
+#: src/message.h:147
 #, c-format
 #, c-format
 msgid "SSL initialization failed: OpenSSL connect error %d"
 msgid "SSL initialization failed: OpenSSL connect error %d"
 msgstr "L'initialisation SSL a échouée: érreur de connexion OpenSSL SSL %d"
 msgstr "L'initialisation SSL a échouée: érreur de connexion OpenSSL SSL %d"
 
 
-#: src/message.h:146
+#: src/message.h:148
 #, c-format
 #, c-format
 msgid "Size mismatch Expected:%s Actual:%s"
 msgid "Size mismatch Expected:%s Actual:%s"
 msgstr "La taille ne coïncide pas. Attendue: %s En réalité: %s"
 msgstr "La taille ne coïncide pas. Attendue: %s En réalité: %s"
 
 
-#: src/message.h:147
+#: src/message.h:149
 msgid "Authorization failed."
 msgid "Authorization failed."
 msgstr "L'autorisation a échoué."
 msgstr "L'autorisation a échoué."
 
 
-#: src/message.h:148
+#: src/message.h:150
 msgid "Got EOF from the server."
 msgid "Got EOF from the server."
 msgstr "Obtenir la fin du fichier (EOF) du serveur."
 msgstr "Obtenir la fin du fichier (EOF) du serveur."
 
 
-#: src/message.h:149
+#: src/message.h:151
 msgid "Got EOF from peer."
 msgid "Got EOF from peer."
 msgstr "Obtenir la fin du fichier (EOF) du partenaire."
 msgstr "Obtenir la fin du fichier (EOF) du partenaire."
 
 
-#: src/message.h:150
+#: src/message.h:152
 msgid "Malformed meta info."
 msgid "Malformed meta info."
 msgstr "Métainfos malformées."
 msgstr "Métainfos malformées."
 
 
-#: src/message.h:152
+#: src/message.h:154
 #, c-format
 #, c-format
 msgid "Failed to open the file %s, cause: %s"
 msgid "Failed to open the file %s, cause: %s"
 msgstr "Impossible d'ouvrir le fichier %s, cause: %s"
 msgstr "Impossible d'ouvrir le fichier %s, cause: %s"
 
 
-#: src/message.h:153
+#: src/message.h:155
 #, c-format
 #, c-format
 msgid "Failed to write into the file %s, cause: %s"
 msgid "Failed to write into the file %s, cause: %s"
 msgstr "Impossible d'écrire le fichier %s, cause: %s"
 msgstr "Impossible d'écrire le fichier %s, cause: %s"
 
 
-#: src/message.h:154
+#: src/message.h:156
 #, c-format
 #, c-format
 msgid "Failed to read from the file %s, cause: %s"
 msgid "Failed to read from the file %s, cause: %s"
 msgstr "Impossible de lire le fichier %s, cause: %s"
 msgstr "Impossible de lire le fichier %s, cause: %s"
 
 
-#: src/message.h:155
+#: src/message.h:157
 msgid "Failed to read data from disk."
 msgid "Failed to read data from disk."
 msgstr "Impossible de lire les données depuis le disque."
 msgstr "Impossible de lire les données depuis le disque."
 
 
-#: src/message.h:156
+#: src/message.h:158
 #, c-format
 #, c-format
 msgid "Failed to calculate SHA1 digest of or a part of the file %s, cause: %s"
 msgid "Failed to calculate SHA1 digest of or a part of the file %s, cause: %s"
 msgstr ""
 msgstr ""
 "Impossible de calculer la somme SHA1 du ou d'une partie du fichier %s, "
 "Impossible de calculer la somme SHA1 du ou d'une partie du fichier %s, "
 "cause: %s"
 "cause: %s"
 
 
-#: src/message.h:157
+#: src/message.h:159
 #, c-format
 #, c-format
 msgid "Failed to seek the file %s, cause: %s"
 msgid "Failed to seek the file %s, cause: %s"
 msgstr "Impossible de chercher le fichier %s, cause: %s"
 msgstr "Impossible de chercher le fichier %s, cause: %s"
 
 
-#: src/message.h:158
+#: src/message.h:160
 #, c-format
 #, c-format
 msgid "The offset is out of range, offset=%s"
 msgid "The offset is out of range, offset=%s"
 msgstr "Le décalage est trop grand, décalage=%s"
 msgstr "Le décalage est trop grand, décalage=%s"
 
 
-#: src/message.h:159
+#: src/message.h:161
 #, c-format
 #, c-format
 msgid "%s is not a directory."
 msgid "%s is not a directory."
 msgstr "%s n'est pas un dossier"
 msgstr "%s n'est pas un dossier"
 
 
-#: src/message.h:160
+#: src/message.h:162
 #, c-format
 #, c-format
 msgid "Failed to make the directory %s, cause: %s"
 msgid "Failed to make the directory %s, cause: %s"
 msgstr "Impossible de créer le dossier %s, cause: %s"
 msgstr "Impossible de créer le dossier %s, cause: %s"
 
 
-#: src/message.h:161
+#: src/message.h:163
 #, c-format
 #, c-format
 msgid "Failed to open the segment file %s, cause: %s"
 msgid "Failed to open the segment file %s, cause: %s"
 msgstr "Impossible d'ouvrir le fichier de segment %s, cause: %s"
 msgstr "Impossible d'ouvrir le fichier de segment %s, cause: %s"
 
 
-#: src/message.h:162
+#: src/message.h:164
 #, c-format
 #, c-format
 msgid "Failed to write into the segment file %s, cause: %s"
 msgid "Failed to write into the segment file %s, cause: %s"
 msgstr "Impossible d'écrire dans le fichier de segment %s, cause: %s"
 msgstr "Impossible d'écrire dans le fichier de segment %s, cause: %s"
 
 
-#: src/message.h:163
+#: src/message.h:165
 #, c-format
 #, c-format
 msgid "Failed to read from the segment file %s, cause: %s"
 msgid "Failed to read from the segment file %s, cause: %s"
 msgstr "Impossible de lire à partir du fichier de segment %s, cause: %s"
 msgstr "Impossible de lire à partir du fichier de segment %s, cause: %s"
 
 
-#: src/message.h:165
+#: src/message.h:167
 #, c-format
 #, c-format
 msgid "Failed to open a socket, cause: %s"
 msgid "Failed to open a socket, cause: %s"
 msgstr "Impossible d'ouvrir une connexion socket, cause: %s"
 msgstr "Impossible d'ouvrir une connexion socket, cause: %s"
 
 
-#: src/message.h:166
+#: src/message.h:168
 #, c-format
 #, c-format
 msgid "Failed to set a socket option, cause: %s"
 msgid "Failed to set a socket option, cause: %s"
 msgstr "Impossible de définir une option de connexion socket, cause: %s"
 msgstr "Impossible de définir une option de connexion socket, cause: %s"
 
 
-#: src/message.h:167
+#: src/message.h:169
 #, c-format
 #, c-format
 msgid "Failed to set a socket as blocking, cause: %s"
 msgid "Failed to set a socket as blocking, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:168
+#: src/message.h:170
 #, c-format
 #, c-format
 msgid "Failed to set a socket as non-blocking, cause: %s"
 msgid "Failed to set a socket as non-blocking, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:169
+#: src/message.h:171
 #, c-format
 #, c-format
 msgid "Failed to bind a socket, cause: %s"
 msgid "Failed to bind a socket, cause: %s"
 msgstr "Impossible d'unir une connexion socket, cause: %s"
 msgstr "Impossible d'unir une connexion socket, cause: %s"
 
 
-#: src/message.h:170
+#: src/message.h:172
 #, c-format
 #, c-format
 msgid "Failed to listen to a socket, cause: %s"
 msgid "Failed to listen to a socket, cause: %s"
 msgstr "Impossible d'écouter une connexion socket, cause: %s"
 msgstr "Impossible d'écouter une connexion socket, cause: %s"
 
 
-#: src/message.h:171
+#: src/message.h:173
 #, c-format
 #, c-format
 msgid "Failed to accept a peer connection, cause: %s"
 msgid "Failed to accept a peer connection, cause: %s"
 msgstr "Impossible d'accepter une connexion à un autre ordinateur, cause: %s"
 msgstr "Impossible d'accepter une connexion à un autre ordinateur, cause: %s"
 
 
-#: src/message.h:172
+#: src/message.h:174
 #, c-format
 #, c-format
 msgid "Failed to get the name of socket, cause: %s"
 msgid "Failed to get the name of socket, cause: %s"
 msgstr "Impossible de récupérer le nom de la connexion socket, cause: %s"
 msgstr "Impossible de récupérer le nom de la connexion socket, cause: %s"
 
 
-#: src/message.h:173
+#: src/message.h:175
 #, c-format
 #, c-format
 msgid "Failed to get the name of connected peer, cause: %s"
 msgid "Failed to get the name of connected peer, cause: %s"
 msgstr "Impossible d'obtenir le nom de l'autre ordinateur, cause: %s"
 msgstr "Impossible d'obtenir le nom de l'autre ordinateur, cause: %s"
 
 
-#: src/message.h:174
+#: src/message.h:176
 #, c-format
 #, c-format
 msgid "Failed to resolve the hostname %s, cause: %s"
 msgid "Failed to resolve the hostname %s, cause: %s"
 msgstr "Impossible de récupérer le nom de l'hôte %s, cause: %s"
 msgstr "Impossible de récupérer le nom de l'hôte %s, cause: %s"
 
 
-#: src/message.h:175
+#: src/message.h:177
 #, c-format
 #, c-format
 msgid "Failed to connect to the host %s, cause: %s"
 msgid "Failed to connect to the host %s, cause: %s"
 msgstr "Impossible de se connecter à l'hôte %s, cause: %s"
 msgstr "Impossible de se connecter à l'hôte %s, cause: %s"
 
 
-#: src/message.h:176
+#: src/message.h:178
 #, c-format
 #, c-format
 msgid "Failed to check whether the socket is writable, cause: %s"
 msgid "Failed to check whether the socket is writable, cause: %s"
 msgstr ""
 msgstr ""
 "Impossible de vérifier si la connexion socket est inscriptible, cause: %s"
 "Impossible de vérifier si la connexion socket est inscriptible, cause: %s"
 
 
-#: src/message.h:177
+#: src/message.h:179
 #, c-format
 #, c-format
 msgid "Failed to check whether the socket is readable, cause: %s"
 msgid "Failed to check whether the socket is readable, cause: %s"
 msgstr "Impossible de vérifier si la connexion socket est lisible, cause: %s"
 msgstr "Impossible de vérifier si la connexion socket est lisible, cause: %s"
 
 
-#: src/message.h:178
+#: src/message.h:180
 #, c-format
 #, c-format
 msgid "Failed to send data, cause: %s"
 msgid "Failed to send data, cause: %s"
 msgstr "Impossible d'envoyer les données, cause: %s"
 msgstr "Impossible d'envoyer les données, cause: %s"
 
 
-#: src/message.h:179
+#: src/message.h:181
 #, c-format
 #, c-format
 msgid "Failed to receive data, cause: %s"
 msgid "Failed to receive data, cause: %s"
 msgstr "Impossible de recevoir les données, cause: %s"
 msgstr "Impossible de recevoir les données, cause: %s"
 
 
-#: src/message.h:180
+#: src/message.h:182
 #, c-format
 #, c-format
 msgid "Failed to peek data, cause: %s"
 msgid "Failed to peek data, cause: %s"
 msgstr "Impossible de lire les données, cause: %s"
 msgstr "Impossible de lire les données, cause: %s"
 
 
-#: src/message.h:181
+#: src/message.h:183
 #, c-format
 #, c-format
 msgid "Unknown socket error %d (0x%x)"
 msgid "Unknown socket error %d (0x%x)"
 msgstr "Erreur de socket inconnue %d (0x%x)"
 msgstr "Erreur de socket inconnue %d (0x%x)"
 
 
-#: src/message.h:182
+#: src/message.h:184
 #, c-format
 #, c-format
 msgid "File %s exists, but %s does not exist."
 msgid "File %s exists, but %s does not exist."
 msgstr "Le fichier %s existe, mais %s n'existe pas"
 msgstr "Le fichier %s existe, mais %s n'existe pas"
 
 
-#: src/message.h:183
+#: src/message.h:185
 #, c-format
 #, c-format
 msgid "Invalid payload size for %s, size=%d. It should be %d."
 msgid "Invalid payload size for %s, size=%d. It should be %d."
 msgstr "Taille du fichier %s invalide, taille=%d. Il devrait faire %d."
 msgstr "Taille du fichier %s invalide, taille=%d. Il devrait faire %d."
 
 
-#: src/message.h:184
+#: src/message.h:186
 #, c-format
 #, c-format
 msgid "Invalid ID=%d for %s. It should be %d."
 msgid "Invalid ID=%d for %s. It should be %d."
 msgstr "ID invalide=%d pour %s. Ça devrait être %d."
 msgstr "ID invalide=%d pour %s. Ça devrait être %d."
 
 
-#: src/message.h:185
+#: src/message.h:187
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "Chunk checksum validation failed. checksumIndex=%d, offset=%s, expectedHash=%"
 "Chunk checksum validation failed. checksumIndex=%d, offset=%s, expectedHash=%"
@@ -799,86 +809,82 @@ msgstr ""
 "La validation du bloc a échoué. Hash=%d, décalage=%s, Hash attendu=%s, Hash ="
 "La validation du bloc a échoué. Hash=%d, décalage=%s, Hash attendu=%s, Hash ="
 "%s"
 "%s"
 
 
-#: src/message.h:186
+#: src/message.h:188
 msgid "Download aborted."
 msgid "Download aborted."
 msgstr "Téléchargement interrompu."
 msgstr "Téléchargement interrompu."
 
 
-#: src/message.h:187
+#: src/message.h:189
 #, c-format
 #, c-format
 msgid "File %s is being downloaded by other command."
 msgid "File %s is being downloaded by other command."
 msgstr ""
 msgstr ""
 "Le fichier %s est déjà en train d'être téléchargé par une autre commande."
 "Le fichier %s est déjà en train d'être téléchargé par une autre commande."
 
 
-#: src/message.h:188
+#: src/message.h:190
 msgid "Insufficient checksums."
 msgid "Insufficient checksums."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:189
+#: src/message.h:191
 #, c-format
 #, c-format
 msgid "Tracker returned failure reason: %s"
 msgid "Tracker returned failure reason: %s"
 msgstr "Le Tracker a retourné le message d'alerte suivant: %s"
 msgstr "Le Tracker a retourné le message d'alerte suivant: %s"
 
 
-#: src/message.h:190
+#: src/message.h:192
 msgid "Flooding detected."
 msgid "Flooding detected."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:191
+#: src/message.h:193
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "Drop connection because no request/piece messages were exchanged in a "
 "Drop connection because no request/piece messages were exchanged in a "
 "certain period(%d seconds)."
 "certain period(%d seconds)."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:192
+#: src/message.h:194
 msgid "The infoHash in torrent file doesn't match to one in .aria2 file."
 msgid "The infoHash in torrent file doesn't match to one in .aria2 file."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:193
+#: src/message.h:195
 #, c-format
 #, c-format
 msgid "No such file entry %s"
 msgid "No such file entry %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:194
+#: src/message.h:196
 #, c-format
 #, c-format
 msgid "Too slow Downloading speed: %d <= %d(B/s), host:%s"
 msgid "Too slow Downloading speed: %d <= %d(B/s), host:%s"
 msgstr "La vitesse de téléchargement est trop lente: %d <= %d(B/s), hôte:%s"
 msgstr "La vitesse de téléchargement est trop lente: %d <= %d(B/s), hôte:%s"
 
 
-#: src/message.h:195
+#: src/message.h:197
 msgid "No HttpRequestEntry found."
 msgid "No HttpRequestEntry found."
 msgstr "Aucune en-tête trouvée."
 msgstr "Aucune en-tête trouvée."
 
 
-#: src/message.h:196
+#: src/message.h:198
 #, c-format
 #, c-format
 msgid "Got %d status, but no location header provided."
 msgid "Got %d status, but no location header provided."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:197
+#: src/message.h:199
 #, c-format
 #, c-format
 msgid "Invalid range header. Request: %s-%s/%s, Response: %s-%s/%s"
 msgid "Invalid range header. Request: %s-%s/%s, Response: %s-%s/%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:198
+#: src/message.h:200
 msgid "No file matched with your preference."
 msgid "No file matched with your preference."
 msgstr "Aucun fichier ne correspond à votre préférence"
 msgstr "Aucun fichier ne correspond à votre préférence"
 
 
-#: src/message.h:199
+#: src/message.h:201
 msgid "Exception caught"
 msgid "Exception caught"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:200
+#: src/message.h:202
 #, c-format
 #, c-format
 msgid "Max payload length exceeded or invalid. length = %d"
 msgid "Max payload length exceeded or invalid. length = %d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:201
+#: src/message.h:203
 #, c-format
 #, c-format
 msgid "Invalid file length. Cannot continue download %s: local %s, remote %s"
 msgid "Invalid file length. Cannot continue download %s: local %s, remote %s"
 msgstr ""
 msgstr ""
 
 
-#: src/DownloadEngineFactory.cc:97
-msgid "Errors occurred while binding port.\n"
-msgstr "La jonction du port a engendré des erreurs.\n"
-
 #: src/MultiUrlRequestInfo.cc:70
 #: src/MultiUrlRequestInfo.cc:70
 #, fuzzy
 #, fuzzy
 msgid "aria2 will resume download if the transfer is restarted."
 msgid "aria2 will resume download if the transfer is restarted."
@@ -894,20 +900,20 @@ msgid ""
 "page for details."
 "page for details."
 msgstr ""
 msgstr ""
 
 
-#: src/RequestGroupMan.cc:213
+#: src/RequestGroupMan.cc:222
 #, fuzzy
 #, fuzzy
 msgid "Download Results:"
 msgid "Download Results:"
 msgstr "Téléchargez un torrent:"
 msgstr "Téléchargez un torrent:"
 
 
-#: src/Util.cc:649
+#: src/Util.cc:644
 msgid "Files:"
 msgid "Files:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:40
+#: src/version_usage.cc:42
 msgid " version "
 msgid " version "
 msgstr " version "
 msgstr " version "
 
 
-#: src/version_usage.cc:50
+#: src/version_usage.cc:52
 msgid ""
 msgid ""
 "This program is free software; you can redistribute it and/or modify\n"
 "This program is free software; you can redistribute it and/or modify\n"
 "it under the terms of the GNU General Public License as published by\n"
 "it under the terms of the GNU General Public License as published by\n"
@@ -941,40 +947,40 @@ msgstr ""
 "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  "
 "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  "
 "USA\n"
 "USA\n"
 
 
-#: src/version_usage.cc:64
+#: src/version_usage.cc:66
 msgid "Contact Info:"
 msgid "Contact Info:"
 msgstr "Informations de Contact:"
 msgstr "Informations de Contact:"
 
 
-#: src/version_usage.cc:71
+#: src/version_usage.cc:73
 #, c-format
 #, c-format
 msgid "Usage: %s [options] URL ...\n"
 msgid "Usage: %s [options] URL ...\n"
 msgstr "Utilisation: %s [options] URL ...\n"
 msgstr "Utilisation: %s [options] URL ...\n"
 
 
-#: src/version_usage.cc:73
+#: src/version_usage.cc:75
 #, fuzzy, c-format
 #, fuzzy, c-format
 msgid "       %s [options] -T TORRENT_FILE URL ...\n"
 msgid "       %s [options] -T TORRENT_FILE URL ...\n"
-msgstr "       %s [options] -T FICHIER FICHIER_TORRENT...\n"
+msgstr "       %s [options] -M FICHIER_METALINK\n"
 
 
-#: src/version_usage.cc:76
+#: src/version_usage.cc:78
 #, c-format
 #, c-format
 msgid "       %s [options] -M METALINK_FILE\n"
 msgid "       %s [options] -M METALINK_FILE\n"
 msgstr "       %s [options] -M FICHIER_METALINK\n"
 msgstr "       %s [options] -M FICHIER_METALINK\n"
 
 
-#: src/version_usage.cc:79
+#: src/version_usage.cc:81
 msgid "Options:"
 msgid "Options:"
 msgstr "Options:"
 msgstr "Options:"
 
 
-#: src/version_usage.cc:80
+#: src/version_usage.cc:82
 msgid ""
 msgid ""
 " -d, --dir=DIR                The directory to store the downloaded file."
 " -d, --dir=DIR                The directory to store the downloaded file."
 msgstr " -d, --dir=DIR                Le dossier pour enregistrer le fichier."
 msgstr " -d, --dir=DIR                Le dossier pour enregistrer le fichier."
 
 
-#: src/version_usage.cc:81
+#: src/version_usage.cc:83
 msgid " -o, --out=FILE               The file name of the downloaded file."
 msgid " -o, --out=FILE               The file name of the downloaded file."
 msgstr ""
 msgstr ""
 " -o, --out=FILE               Le nom de fichier pour le fichier téléchargé."
 " -o, --out=FILE               Le nom de fichier pour le fichier téléchargé."
 
 
-#: src/version_usage.cc:82
+#: src/version_usage.cc:84
 msgid ""
 msgid ""
 " -l, --log=LOG                The file name of the log file. If '-' is\n"
 " -l, --log=LOG                The file name of the log file. If '-' is\n"
 "                              specified, log is written to stdout."
 "                              specified, log is written to stdout."
@@ -983,11 +989,11 @@ msgstr ""
 "Si '-' est spécifié,\n"
 "Si '-' est spécifié,\n"
 "                              le log est redirigé vers stdout."
 "                              le log est redirigé vers stdout."
 
 
-#: src/version_usage.cc:85
+#: src/version_usage.cc:87
 msgid " -D, --daemon                 Run as daemon."
 msgid " -D, --daemon                 Run as daemon."
 msgstr " -D, --daemon                 Exécuter en tant que service."
 msgstr " -D, --daemon                 Exécuter en tant que service."
 
 
-#: src/version_usage.cc:87
+#: src/version_usage.cc:89
 msgid ""
 msgid ""
 " -s, --split=N                Download a file using N connections. N must "
 " -s, --split=N                Download a file using N connections. N must "
 "be\n"
 "be\n"
@@ -1006,7 +1012,7 @@ msgstr ""
 "                              N connexions.\n"
 "                              N connexions.\n"
 "                              Défaut: 1"
 "                              Défaut: 1"
 
 
-#: src/version_usage.cc:92
+#: src/version_usage.cc:94
 msgid ""
 msgid ""
 " --retry-wait=SEC             Set the seconds to wait to retry after an "
 " --retry-wait=SEC             Set the seconds to wait to retry after an "
 "error\n"
 "error\n"
@@ -1019,13 +1025,13 @@ msgstr ""
 "et 60.\n"
 "et 60.\n"
 "                              Défaut: 5"
 "                              Défaut: 5"
 
 
-#: src/version_usage.cc:95
+#: src/version_usage.cc:97
 msgid " -t, --timeout=SEC            Set timeout in seconds. Default: 60"
 msgid " -t, --timeout=SEC            Set timeout in seconds. Default: 60"
 msgstr ""
 msgstr ""
 " -t, --timeout=SEC            Définir le délai d'expiration en secondes. "
 " -t, --timeout=SEC            Définir le délai d'expiration en secondes. "
 "Défaut: 60"
 "Défaut: 60"
 
 
-#: src/version_usage.cc:96
+#: src/version_usage.cc:98
 msgid ""
 msgid ""
 " -m, --max-tries=N            Set number of tries. 0 means unlimited.\n"
 " -m, --max-tries=N            Set number of tries. 0 means unlimited.\n"
 "                              Default: 5"
 "                              Default: 5"
@@ -1034,7 +1040,7 @@ msgstr ""
 "illimité.\n"
 "illimité.\n"
 "                              Défaut: 5"
 "                              Défaut: 5"
 
 
-#: src/version_usage.cc:104
+#: src/version_usage.cc:106
 msgid ""
 msgid ""
 " --http-proxy=HOST:PORT       Use HTTP proxy server. This affects all URLs."
 " --http-proxy=HOST:PORT       Use HTTP proxy server. This affects all URLs."
 msgstr ""
 msgstr ""
@@ -1042,33 +1048,33 @@ msgstr ""
 "tous\n"
 "tous\n"
 "                              les URLs."
 "                              les URLs."
 
 
-#: src/version_usage.cc:105
+#: src/version_usage.cc:107
 msgid " --http-user=USER             Set HTTP user. This affects all URLs."
 msgid " --http-user=USER             Set HTTP user. This affects all URLs."
 msgstr ""
 msgstr ""
 " --http-user=USER             Définir un utilisateur HTTP. Ceci affecte tous "
 " --http-user=USER             Définir un utilisateur HTTP. Ceci affecte tous "
 "les URLs."
 "les URLs."
 
 
-#: src/version_usage.cc:106
+#: src/version_usage.cc:108
 msgid " --http-passwd=PASSWD         Set HTTP password. This affects all URLs."
 msgid " --http-passwd=PASSWD         Set HTTP password. This affects all URLs."
 msgstr ""
 msgstr ""
 " --http-passwd=PASSWD         Définir un mot de passe HTTP. Ceci affecte "
 " --http-passwd=PASSWD         Définir un mot de passe HTTP. Ceci affecte "
 "tous les URLs."
 "tous les URLs."
 
 
-#: src/version_usage.cc:107
+#: src/version_usage.cc:109
 msgid ""
 msgid ""
 " --http-proxy-user=USER       Set HTTP proxy user. This affects all URLs."
 " --http-proxy-user=USER       Set HTTP proxy user. This affects all URLs."
 msgstr ""
 msgstr ""
 " --http-proxy-user=USER       Définir un utilisateur proxy HTTP. Ceci "
 " --http-proxy-user=USER       Définir un utilisateur proxy HTTP. Ceci "
 "affecte tous les URLs"
 "affecte tous les URLs"
 
 
-#: src/version_usage.cc:108
+#: src/version_usage.cc:110
 msgid ""
 msgid ""
 " --http-proxy-passwd=PASSWD   Set HTTP proxy password. This affects all URLs."
 " --http-proxy-passwd=PASSWD   Set HTTP proxy password. This affects all URLs."
 msgstr ""
 msgstr ""
 " --http-proxy-passwd=PASSWD   Définir un mot de passe HTTP. Ceci affecte "
 " --http-proxy-passwd=PASSWD   Définir un mot de passe HTTP. Ceci affecte "
 "tous les URLs."
 "tous les URLs."
 
 
-#: src/version_usage.cc:109
+#: src/version_usage.cc:111
 msgid ""
 msgid ""
 " --http-proxy-method=METHOD   Set the method to use in proxy request.\n"
 " --http-proxy-method=METHOD   Set the method to use in proxy request.\n"
 "                              METHOD is either 'get' or 'tunnel'.\n"
 "                              METHOD is either 'get' or 'tunnel'.\n"
@@ -1079,7 +1085,7 @@ msgstr ""
 "                              METHOD est soit 'get' ou 'tunnel'.\n"
 "                              METHOD est soit 'get' ou 'tunnel'.\n"
 "                              Défaut: tunnel"
 "                              Défaut: tunnel"
 
 
-#: src/version_usage.cc:112
+#: src/version_usage.cc:114
 msgid ""
 msgid ""
 " --http-auth-scheme=SCHEME    Set HTTP authentication scheme. Currently, "
 " --http-auth-scheme=SCHEME    Set HTTP authentication scheme. Currently, "
 "basic\n"
 "basic\n"
@@ -1091,13 +1097,13 @@ msgstr ""
 "                              est le seul type d'identification supporté.\n"
 "                              est le seul type d'identification supporté.\n"
 "                              Défaut: basic"
 "                              Défaut: basic"
 
 
-#: src/version_usage.cc:115
+#: src/version_usage.cc:117
 msgid " --referer=REFERER            Set Referer. This affects all URLs."
 msgid " --referer=REFERER            Set Referer. This affects all URLs."
 msgstr ""
 msgstr ""
 " --referer=REFERER            Définir le Référant. Ceci affecte tous les "
 " --referer=REFERER            Définir le Référant. Ceci affecte tous les "
 "URLs."
 "URLs."
 
 
-#: src/version_usage.cc:116
+#: src/version_usage.cc:118
 msgid ""
 msgid ""
 " --ftp-user=USER              Set FTP user. This affects all URLs.\n"
 " --ftp-user=USER              Set FTP user. This affects all URLs.\n"
 "                              Default: anonymous"
 "                              Default: anonymous"
@@ -1106,7 +1112,7 @@ msgstr ""
 "les URLs.\n"
 "les URLs.\n"
 "                              Défaut: anonymous"
 "                              Défaut: anonymous"
 
 
-#: src/version_usage.cc:118
+#: src/version_usage.cc:120
 msgid ""
 msgid ""
 " --ftp-passwd=PASSWD          Set FTP password. This affects all URLs.\n"
 " --ftp-passwd=PASSWD          Set FTP password. This affects all URLs.\n"
 "                              Default: ARIA2USER@"
 "                              Default: ARIA2USER@"
@@ -1115,7 +1121,7 @@ msgstr ""
 "les URLs.\n"
 "les URLs.\n"
 "                              Default: ARIA2USER@"
 "                              Default: ARIA2USER@"
 
 
-#: src/version_usage.cc:120
+#: src/version_usage.cc:122
 msgid ""
 msgid ""
 " --ftp-type=TYPE              Set FTP transfer type. TYPE is either "
 " --ftp-type=TYPE              Set FTP transfer type. TYPE is either "
 "'binary'\n"
 "'binary'\n"
@@ -1127,11 +1133,11 @@ msgstr ""
 "                              ou 'ascii'.\n"
 "                              ou 'ascii'.\n"
 "                              Défaut: binary"
 "                              Défaut: binary"
 
 
-#: src/version_usage.cc:123
+#: src/version_usage.cc:125
 msgid " -p, --ftp-pasv               Use passive mode in FTP."
 msgid " -p, --ftp-pasv               Use passive mode in FTP."
 msgstr " -p, --ftp-pasv               Utiliser le mode passif de FTP."
 msgstr " -p, --ftp-pasv               Utiliser le mode passif de FTP."
 
 
-#: src/version_usage.cc:124
+#: src/version_usage.cc:126
 msgid ""
 msgid ""
 " --ftp-via-http-proxy=METHOD  Use HTTP proxy in FTP. METHOD is either 'get' "
 " --ftp-via-http-proxy=METHOD  Use HTTP proxy in FTP. METHOD is either 'get' "
 "or\n"
 "or\n"
@@ -1143,7 +1149,7 @@ msgstr ""
 "                              'tunnel'.\n"
 "                              'tunnel'.\n"
 "                              Défaut: tunnel"
 "                              Défaut: tunnel"
 
 
-#: src/version_usage.cc:127
+#: src/version_usage.cc:129
 msgid ""
 msgid ""
 " --lowest-speed-limit=SPEED   Close connection if download speed is lower "
 " --lowest-speed-limit=SPEED   Close connection if download speed is lower "
 "than\n"
 "than\n"
@@ -1166,7 +1172,7 @@ msgstr ""
 "BitTorrent .\n"
 "BitTorrent .\n"
 "                              Default: 0"
 "                              Default: 0"
 
 
-#: src/version_usage.cc:134
+#: src/version_usage.cc:136
 msgid ""
 msgid ""
 " --max-download-limit=SPEED   Set max download speed in bytes per sec.\n"
 " --max-download-limit=SPEED   Set max download speed in bytes per sec.\n"
 "                              0 means unrestricted.\n"
 "                              0 means unrestricted.\n"
@@ -1180,8 +1186,7 @@ msgstr ""
 "1024K).\n"
 "1024K).\n"
 "                              Défaut: 0"
 "                              Défaut: 0"
 
 
-#: src/version_usage.cc:138
-#, fuzzy
+#: src/version_usage.cc:140
 msgid ""
 msgid ""
 " --file-allocation=METHOD     Specify file allocation method. METHOD is "
 " --file-allocation=METHOD     Specify file allocation method. METHOD is "
 "either\n"
 "either\n"
@@ -1203,9 +1208,9 @@ msgstr ""
 "fichier.\n"
 "fichier.\n"
 "                              Ceci peut prendre du temps selon la taille du "
 "                              Ceci peut prendre du temps selon la taille du "
 "fichier\n"
 "fichier\n"
-"                              Défaut: none"
+"                              Défaut: prealloc"
 
 
-#: src/version_usage.cc:144
+#: src/version_usage.cc:146
 #, fuzzy
 #, fuzzy
 msgid ""
 msgid ""
 " --no-file-allocation-limit=SIZE No file allocation is made for files whose\n"
 " --no-file-allocation-limit=SIZE No file allocation is made for files whose\n"
@@ -1225,7 +1230,7 @@ msgstr ""
 "BitTorrent .\n"
 "BitTorrent .\n"
 "                              Default: 0"
 "                              Default: 0"
 
 
-#: src/version_usage.cc:149
+#: src/version_usage.cc:151
 msgid ""
 msgid ""
 " --allow-overwrite=true|false If false, aria2 doesn't download a file which\n"
 " --allow-overwrite=true|false If false, aria2 doesn't download a file which\n"
 "                              already exists but the corresponding .aria2 "
 "                              already exists but the corresponding .aria2 "
@@ -1239,7 +1244,7 @@ msgstr ""
 "                              l'ordinateur\n"
 "                              l'ordinateur\n"
 "                              Défaut: false"
 "                              Défaut: false"
 
 
-#: src/version_usage.cc:153
+#: src/version_usage.cc:155
 msgid ""
 msgid ""
 " -Z, --force-sequential[=true|false] Fetch URIs in the command-line "
 " -Z, --force-sequential[=true|false] Fetch URIs in the command-line "
 "sequentially\n"
 "sequentially\n"
@@ -1249,7 +1254,7 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:157
+#: src/version_usage.cc:159
 msgid ""
 msgid ""
 " --auto-file-renaming[=true|false] Rename file name if the same file "
 " --auto-file-renaming[=true|false] Rename file name if the same file "
 "already\n"
 "already\n"
@@ -1261,7 +1266,7 @@ msgid ""
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:163
+#: src/version_usage.cc:165
 msgid ""
 msgid ""
 " -P, --parameterized-uri[=true|false] Enable parameterized URI support.\n"
 " -P, --parameterized-uri[=true|false] Enable parameterized URI support.\n"
 "                              You can specify set of parts:\n"
 "                              You can specify set of parts:\n"
@@ -1278,20 +1283,20 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:174
+#: src/version_usage.cc:176
 msgid ""
 msgid ""
 " --enable-http-keep-alive[=true|false] Enable HTTP/1.1 persistant "
 " --enable-http-keep-alive[=true|false] Enable HTTP/1.1 persistant "
 "connection.\n"
 "connection.\n"
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:176
+#: src/version_usage.cc:178
 msgid ""
 msgid ""
 " --enable-http-pipelining[=true|false] Enable HTTP/1.1 pipelining.\n"
 " --enable-http-pipelining[=true|false] Enable HTTP/1.1 pipelining.\n"
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:179
+#: src/version_usage.cc:181
 msgid ""
 msgid ""
 " --check-integrity=true|false  Check file integrity by validating piece "
 " --check-integrity=true|false  Check file integrity by validating piece "
 "hash.\n"
 "hash.\n"
@@ -1318,7 +1323,7 @@ msgstr ""
 "                              si le fichier .aria2 n'existe pas.\n"
 "                              si le fichier .aria2 n'existe pas.\n"
 "                              Défaut: false"
 "                              Défaut: false"
 
 
-#: src/version_usage.cc:187
+#: src/version_usage.cc:189
 msgid ""
 msgid ""
 " --realtime-chunk-checksum=true|false  Validate chunk checksum while\n"
 " --realtime-chunk-checksum=true|false  Validate chunk checksum while\n"
 "                              downloading a file in Metalink mode. This "
 "                              downloading a file in Metalink mode. This "
@@ -1334,7 +1339,7 @@ msgstr ""
 "                              Metalink avec vérification d'intégrité.\n"
 "                              Metalink avec vérification d'intégrité.\n"
 "                              Défaut: true"
 "                              Défaut: true"
 
 
-#: src/version_usage.cc:192
+#: src/version_usage.cc:194
 msgid ""
 msgid ""
 " -c, --continue               Continue downloading a partially downloaded\n"
 " -c, --continue               Continue downloading a partially downloaded\n"
 "                              file. Use this option to resume a download\n"
 "                              file. Use this option to resume a download\n"
@@ -1354,17 +1359,17 @@ msgstr ""
 "                              En ce moment cette option s'applique aux\n"
 "                              En ce moment cette option s'applique aux\n"
 "                              téléchargements http(s)/ftp."
 "                              téléchargements http(s)/ftp."
 
 
-#: src/version_usage.cc:198
+#: src/version_usage.cc:200
 msgid " -U, --user-agent=USER_AGENT  Set user agent for http(s) downloads."
 msgid " -U, --user-agent=USER_AGENT  Set user agent for http(s) downloads."
 msgstr ""
 msgstr ""
 " -U, --user-agent=USER_AGENT  Définit le nom du programme pour les "
 " -U, --user-agent=USER_AGENT  Définit le nom du programme pour les "
 "téléchargements http(s)."
 "téléchargements http(s)."
 
 
-#: src/version_usage.cc:199
+#: src/version_usage.cc:201
 msgid " -n, --no-netrc               Disables netrc support."
 msgid " -n, --no-netrc               Disables netrc support."
 msgstr " -n, --no-netrc               Désactiver le support netrc."
 msgstr " -n, --no-netrc               Désactiver le support netrc."
 
 
-#: src/version_usage.cc:200
+#: src/version_usage.cc:202
 msgid ""
 msgid ""
 " -i, --input-file=FILE        Downloads URIs found in FILE. You can specify\n"
 " -i, --input-file=FILE        Downloads URIs found in FILE. You can specify\n"
 "                              multiple URIs for a single entity: separate\n"
 "                              multiple URIs for a single entity: separate\n"
@@ -1379,7 +1384,7 @@ msgstr ""
 "                              URIs par des tabulations sur une seule ligne.\n"
 "                              URIs par des tabulations sur une seule ligne.\n"
 "                              Lit la sortie de stdin quand '-' est spécifié."
 "                              Lit la sortie de stdin quand '-' est spécifié."
 
 
-#: src/version_usage.cc:204
+#: src/version_usage.cc:206
 msgid ""
 msgid ""
 " -j, --max-concurrent-downloads=N Set maximum number of concurrent "
 " -j, --max-concurrent-downloads=N Set maximum number of concurrent "
 "downloads.\n"
 "downloads.\n"
@@ -1391,7 +1396,7 @@ msgstr ""
 "                              Doit être utilisé avec l'option -i.\n"
 "                              Doit être utilisé avec l'option -i.\n"
 "                              Défaut: 5"
 "                              Défaut: 5"
 
 
-#: src/version_usage.cc:207
+#: src/version_usage.cc:209
 msgid ""
 msgid ""
 " --load-cookies=FILE          Load cookies from FILE. The format of FILE is\n"
 " --load-cookies=FILE          Load cookies from FILE. The format of FILE is\n"
 "                              the same used by Netscape and Mozilla."
 "                              the same used by Netscape and Mozilla."
@@ -1400,7 +1405,7 @@ msgstr ""
 "est\n"
 "est\n"
 "                              celui utilisé par Netscape et Mozilla."
 "                              celui utilisé par Netscape et Mozilla."
 
 
-#: src/version_usage.cc:210
+#: src/version_usage.cc:212
 msgid ""
 msgid ""
 " -S, --show-files             Print file listing of .torrent or .metalink "
 " -S, --show-files             Print file listing of .torrent or .metalink "
 "file\n"
 "file\n"
@@ -1410,7 +1415,7 @@ msgstr ""
 "metalink\n"
 "metalink\n"
 "                              et quitte."
 "                              et quitte."
 
 
-#: src/version_usage.cc:212
+#: src/version_usage.cc:214
 msgid ""
 msgid ""
 " --select-file=INDEX...       Set file to download by specifing its index.\n"
 " --select-file=INDEX...       Set file to download by specifing its index.\n"
 "                              You can find the file index using the\n"
 "                              You can find the file index using the\n"
@@ -1437,12 +1442,12 @@ msgstr ""
 "varier selon\n"
 "varier selon\n"
 "                              la requête (consultez l'option --metalink-*)."
 "                              la requête (consultez l'option --metalink-*)."
 
 
-#: src/version_usage.cc:222
+#: src/version_usage.cc:224
 msgid " -T, --torrent-file=TORRENT_FILE  The path to the .torrent file."
 msgid " -T, --torrent-file=TORRENT_FILE  The path to the .torrent file."
 msgstr ""
 msgstr ""
 " -T, --torrent-file=TORRENT_FILE  Le chemin complet du fichier .torrent."
 " -T, --torrent-file=TORRENT_FILE  Le chemin complet du fichier .torrent."
 
 
-#: src/version_usage.cc:223
+#: src/version_usage.cc:225
 msgid ""
 msgid ""
 " --follow-torrent=true|false  Set to false to prevent aria2 from\n"
 " --follow-torrent=true|false  Set to false to prevent aria2 from\n"
 "                              entering BitTorrent mode even if the filename "
 "                              entering BitTorrent mode even if the filename "
@@ -1457,7 +1462,7 @@ msgstr ""
 "                              téléchargé termine pas l'extension .torrent.\n"
 "                              téléchargé termine pas l'extension .torrent.\n"
 "                              Défaut: true"
 "                              Défaut: true"
 
 
-#: src/version_usage.cc:227
+#: src/version_usage.cc:229
 msgid ""
 msgid ""
 " --direct-file-mapping=true|false Directly read from and write to each file\n"
 " --direct-file-mapping=true|false Directly read from and write to each file\n"
 "                              mentioned in .torrent file.\n"
 "                              mentioned in .torrent file.\n"
@@ -1468,7 +1473,7 @@ msgstr ""
 "                              mentioné dans le fichier .torrent.\n"
 "                              mentioné dans le fichier .torrent.\n"
 "                              Défaut: true"
 "                              Défaut: true"
 
 
-#: src/version_usage.cc:230
+#: src/version_usage.cc:232
 msgid ""
 msgid ""
 " --listen-port=PORT           Set TCP port number for BitTorrent downloads.\n"
 " --listen-port=PORT           Set TCP port number for BitTorrent downloads.\n"
 "                              Default: 6881-6999"
 "                              Default: 6881-6999"
@@ -1477,7 +1482,7 @@ msgstr ""
 "cas d'une connexion P2P.\n"
 "cas d'une connexion P2P.\n"
 "                              Default: 6881-6999"
 "                              Default: 6881-6999"
 
 
-#: src/version_usage.cc:232
+#: src/version_usage.cc:234
 msgid ""
 msgid ""
 " --max-upload-limit=SPEED     Set max upload speed in bytes per sec.\n"
 " --max-upload-limit=SPEED     Set max upload speed in bytes per sec.\n"
 "                              0 means unrestricted.\n"
 "                              0 means unrestricted.\n"
@@ -1491,7 +1496,7 @@ msgstr ""
 "1024K).\n"
 "1024K).\n"
 "                              Défaut: 0"
 "                              Défaut: 0"
 
 
-#: src/version_usage.cc:236
+#: src/version_usage.cc:238
 msgid ""
 msgid ""
 " --seed-time=MINUTES          Specify seeding time in minutes. Also see the\n"
 " --seed-time=MINUTES          Specify seeding time in minutes. Also see the\n"
 "                              --seed-ratio option."
 "                              --seed-ratio option."
@@ -1500,7 +1505,7 @@ msgstr ""
 "Consultez aussi\n"
 "Consultez aussi\n"
 "                              l'option --seed-ratio."
 "                              l'option --seed-ratio."
 
 
-#: src/version_usage.cc:238
+#: src/version_usage.cc:240
 msgid ""
 msgid ""
 " --seed-ratio=RATIO           Specify share ratio. Seed completed torrents\n"
 " --seed-ratio=RATIO           Specify share ratio. Seed completed torrents\n"
 "                              until share ratio reaches RATIO. 1.0 is\n"
 "                              until share ratio reaches RATIO. 1.0 is\n"
@@ -1519,7 +1524,7 @@ msgstr ""
 "conditions\n"
 "conditions\n"
 "                              est satisfaite."
 "                              est satisfaite."
 
 
-#: src/version_usage.cc:243
+#: src/version_usage.cc:245
 msgid ""
 msgid ""
 " --peer-id-prefix=PEERI_ID_PREFIX Specify the prefix of peer ID. The peer ID "
 " --peer-id-prefix=PEERI_ID_PREFIX Specify the prefix of peer ID. The peer ID "
 "in\n"
 "in\n"
@@ -1532,12 +1537,12 @@ msgid ""
 "                              Default: -aria2-"
 "                              Default: -aria2-"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:252
+#: src/version_usage.cc:254
 msgid " -M, --metalink-file=METALINK_FILE The file path to the .metalink file."
 msgid " -M, --metalink-file=METALINK_FILE The file path to the .metalink file."
 msgstr ""
 msgstr ""
 " -M, --metalink-file=METALINK_FILE Le chemin vers le fichier .metalink."
 " -M, --metalink-file=METALINK_FILE Le chemin vers le fichier .metalink."
 
 
-#: src/version_usage.cc:253
+#: src/version_usage.cc:255
 msgid ""
 msgid ""
 " -C, --metalink-servers=NUM_SERVERS The number of servers to connect to\n"
 " -C, --metalink-servers=NUM_SERVERS The number of servers to connect to\n"
 "                              simultaneously.\n"
 "                              simultaneously.\n"
@@ -1548,26 +1553,29 @@ msgstr ""
 "                              simultanément.\n"
 "                              simultanément.\n"
 "                              Défaut: 5"
 "                              Défaut: 5"
 
 
-#: src/version_usage.cc:256
+#: src/version_usage.cc:258
 msgid " --metalink-version=VERSION   The version of the file to download."
 msgid " --metalink-version=VERSION   The version of the file to download."
 msgstr " --metalink-version=VERSION   La version du fichier à télécharger."
 msgstr " --metalink-version=VERSION   La version du fichier à télécharger."
 
 
-#: src/version_usage.cc:257
+#: src/version_usage.cc:259
 msgid " --metalink-language=LANGUAGE The language of the file to download."
 msgid " --metalink-language=LANGUAGE The language of the file to download."
 msgstr " --metalink-language=LANGUAGE La langua du fichier à télécharger."
 msgstr " --metalink-language=LANGUAGE La langua du fichier à télécharger."
 
 
-#: src/version_usage.cc:258
+#: src/version_usage.cc:260
 msgid ""
 msgid ""
 " --metalink-os=OS             The operating system of the file to download."
 " --metalink-os=OS             The operating system of the file to download."
 msgstr ""
 msgstr ""
 " --metalink-os=OS             Le système d'exploitation auquel est destiné "
 " --metalink-os=OS             Le système d'exploitation auquel est destiné "
 "le fichier."
 "le fichier."
 
 
-#: src/version_usage.cc:259
-msgid " --metalink-location=LOCATION The location of the prefered server."
-msgstr " --metalink-location=LOCATION La localisation du serveur préféré."
+#: src/version_usage.cc:261
+msgid ""
+" --metalink-location=LOCATION[,...] The location of the preferred server.\n"
+"                              A comma-deliminated list of locations is\n"
+"                              acceptable."
+msgstr ""
 
 
-#: src/version_usage.cc:260
+#: src/version_usage.cc:264
 msgid ""
 msgid ""
 " --follow-metalink=true|false Set to false to prevent aria2 from\n"
 " --follow-metalink=true|false Set to false to prevent aria2 from\n"
 "                              entering Metalink mode even if the filename "
 "                              entering Metalink mode even if the filename "
@@ -1583,15 +1591,15 @@ msgstr ""
 "metalink.\n"
 "metalink.\n"
 "                              Défaut: true"
 "                              Défaut: true"
 
 
-#: src/version_usage.cc:265
+#: src/version_usage.cc:269
 msgid " -v, --version                Print the version number and exit."
 msgid " -v, --version                Print the version number and exit."
 msgstr " -v, --version                Imprime le numéro de version et quitte."
 msgstr " -v, --version                Imprime le numéro de version et quitte."
 
 
-#: src/version_usage.cc:266
+#: src/version_usage.cc:270
 msgid " -h, --help                   Print this message and exit."
 msgid " -h, --help                   Print this message and exit."
 msgstr " -h, --help                   Imprime ce message et quitte."
 msgstr " -h, --help                   Imprime ce message et quitte."
 
 
-#: src/version_usage.cc:269
+#: src/version_usage.cc:273
 msgid ""
 msgid ""
 " You can specify multiple URLs. All URLs must point to the same file\n"
 " You can specify multiple URLs. All URLs must point to the same file\n"
 " or downloading will fail."
 " or downloading will fail."
@@ -1600,102 +1608,78 @@ msgstr ""
 "même fichier\n"
 "même fichier\n"
 " sinon le téléchargement échoue."
 " sinon le téléchargement échoue."
 
 
-#: src/version_usage.cc:272
+#: src/version_usage.cc:276
 msgid "Examples:"
 msgid "Examples:"
 msgstr " Exemples:"
 msgstr " Exemples:"
 
 
-#: src/version_usage.cc:273
+#: src/version_usage.cc:277
 msgid " Download a file using 1 connection:"
 msgid " Download a file using 1 connection:"
 msgstr "Téléchargez un fichier avec 1 connexion:"
 msgstr "Téléchargez un fichier avec 1 connexion:"
 
 
-#: src/version_usage.cc:275
+#: src/version_usage.cc:279
 msgid " Download a file using 2 connections:"
 msgid " Download a file using 2 connections:"
 msgstr "Téléchargez un fichier avec 2 connexions:"
 msgstr "Téléchargez un fichier avec 2 connexions:"
 
 
-#: src/version_usage.cc:277
+#: src/version_usage.cc:281
 msgid ""
 msgid ""
 " Download a file using 2 connections, each connects to a different server:"
 " Download a file using 2 connections, each connects to a different server:"
 msgstr ""
 msgstr ""
 "Téléchargez un fichier avec 2 connexions, chacune se connectant à un serveur "
 "Téléchargez un fichier avec 2 connexions, chacune se connectant à un serveur "
 "différent:"
 "différent:"
 
 
-#: src/version_usage.cc:279
+#: src/version_usage.cc:283
 msgid " You can mix up different protocols:"
 msgid " You can mix up different protocols:"
 msgstr "Vous pouvez mélanger différents protocoles:"
 msgstr "Vous pouvez mélanger différents protocoles:"
 
 
-#: src/version_usage.cc:281
+#: src/version_usage.cc:285
 msgid " Parameterized URI:"
 msgid " Parameterized URI:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:283
+#: src/version_usage.cc:287
 msgid " Parameterized URI. -Z option is required in this case:"
 msgid " Parameterized URI. -Z option is required in this case:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:287
+#: src/version_usage.cc:291
 msgid " Download a torrent:"
 msgid " Download a torrent:"
 msgstr "Téléchargez un torrent:"
 msgstr "Téléchargez un torrent:"
 
 
-#: src/version_usage.cc:289
+#: src/version_usage.cc:293
 msgid " Download a torrent using a local .torrent file:"
 msgid " Download a torrent using a local .torrent file:"
 msgstr "Téléchargez un torrent en utilisant un fichier local .torrent:"
 msgstr "Téléchargez un torrent en utilisant un fichier local .torrent:"
 
 
-#: src/version_usage.cc:291 src/version_usage.cc:304
+#: src/version_usage.cc:295 src/version_usage.cc:308
 msgid " Download only selected files:"
 msgid " Download only selected files:"
 msgstr "Télécharger seulement les fichiers séléctionnés:"
 msgstr "Télécharger seulement les fichiers séléctionnés:"
 
 
-#: src/version_usage.cc:293
+#: src/version_usage.cc:297
 msgid " Print file listing of .torrent file:"
 msgid " Print file listing of .torrent file:"
 msgstr "Imprimer la liste des fichiers .torrent:"
 msgstr "Imprimer la liste des fichiers .torrent:"
 
 
-#: src/version_usage.cc:298
+#: src/version_usage.cc:302
 msgid " Metalink downloading:"
 msgid " Metalink downloading:"
 msgstr "Téléchargement Metalink:"
 msgstr "Téléchargement Metalink:"
 
 
-#: src/version_usage.cc:300
+#: src/version_usage.cc:304
 msgid " Download a file using local .metalink file:"
 msgid " Download a file using local .metalink file:"
 msgstr "Télécharger un fichier en utilisant un fichier local .metalink:"
 msgstr "Télécharger un fichier en utilisant un fichier local .metalink:"
 
 
-#: src/version_usage.cc:302
+#: src/version_usage.cc:306
 msgid " Metalink downloading with preferences:"
 msgid " Metalink downloading with preferences:"
 msgstr "Téléchargement Metalink avec comme préférences:"
 msgstr "Téléchargement Metalink avec comme préférences:"
 
 
-#: src/version_usage.cc:306
+#: src/version_usage.cc:310
 msgid " Download only selected files using index:"
 msgid " Download only selected files using index:"
 msgstr "Télécharger seulement les fichiers sélectionnés en utilisant l'index:"
 msgstr "Télécharger seulement les fichiers sélectionnés en utilisant l'index:"
 
 
-#: src/version_usage.cc:308
+#: src/version_usage.cc:312
 msgid " Print file listing of .metalink file:"
 msgid " Print file listing of .metalink file:"
 msgstr "Imprimer la liste de fichiers du fichier .metalink:"
 msgstr "Imprimer la liste de fichiers du fichier .metalink:"
 
 
-#: src/version_usage.cc:312
+#: src/version_usage.cc:316
 #, c-format
 #, c-format
 msgid "Report bugs to %s"
 msgid "Report bugs to %s"
 msgstr "Faire part des bugs à %s"
 msgstr "Faire part des bugs à %s"
 
 
-#~ msgid ""
-#~ " Specify files in multi-file torrent to download. Use in conjunction with "
-#~ "the\n"
-#~ " -T option. This argument is ignored if you specify the --select-file "
-#~ "option."
-#~ msgstr ""
-#~ " Spécifiez les fichiers du torrent multi-fichiers à télécharger. Utilisez "
-#~ "avec l'option\n"
-#~ " -T. Ces arguments sont ignorés si vous spécifiez l'option --select-file."
-
-#~ msgid ""
-#~ "\n"
-#~ "stopping application...\n"
-#~ msgstr ""
-#~ "\n"
-#~ "arrêt de l'application en cours...\n"
-
-#~ msgid "done\n"
-#~ msgstr "Terminé\n"
-
-#~ msgid ""
-#~ " --http-proxy=HOST:PORT       Use HTTP proxy server. This affects to all\n"
-#~ "                              URLs."
-#~ msgstr ""
-#~ " --http-proxy=HOST:PORT       Utiliser un serveur proxy HTTP. Ceci "
-#~ "affecte tous les\n"
-#~ "                              URLs."
+#: src/BtSetup.cc:111
+msgid "Errors occurred while binding port.\n"
+msgstr "La jonction du port a engendré des erreurs.\n"

二进制
po/ja.gmo


文件差异内容过多而无法显示
+ 257 - 251
po/ja.po


二进制
po/nl.gmo


+ 182 - 166
po/nl.po

@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: aria2\n"
 "Project-Id-Version: aria2\n"
 "Report-Msgid-Bugs-To: http://aria2.sourceforge.net/\n"
 "Report-Msgid-Bugs-To: http://aria2.sourceforge.net/\n"
-"POT-Creation-Date: 2007-10-29 21:34+0900\n"
+"POT-Creation-Date: 2007-11-14 21:24+0900\n"
 "PO-Revision-Date: 2007-09-23 15:15+0000\n"
 "PO-Revision-Date: 2007-09-23 15:15+0000\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: Dutch <nl@li.org>\n"
 "Language-Team: Dutch <nl@li.org>\n"
@@ -171,8 +171,8 @@ msgid "CUID#%d - Download not complete: %s"
 msgstr "CUID#%d - Download afgerond: %s"
 msgstr "CUID#%d - Download afgerond: %s"
 
 
 #: src/message.h:60
 #: src/message.h:60
-#, c-format
-msgid "CUID#%d - Download has already completed: %s"
+#, fuzzy, c-format
+msgid "#%d - Download has already completed: %s"
 msgstr "CUID#%d - Download is al afgerond: %s"
 msgstr "CUID#%d - Download is al afgerond: %s"
 
 
 #: src/message.h:61
 #: src/message.h:61
@@ -517,356 +517,362 @@ msgstr "Specificeer minimaal één URL."
 msgid "daemon failed."
 msgid "daemon failed."
 msgstr ""
 msgstr ""
 
 
+#: src/message.h:127
+#, c-format
+msgid "Verification finished successfully. file=%s"
+msgstr ""
+
 #: src/message.h:128
 #: src/message.h:128
+#, c-format
+msgid "Checksum error detected. file=%s"
+msgstr ""
+
+#: src/message.h:130
 msgid "Timeout."
 msgid "Timeout."
 msgstr "Time-out."
 msgstr "Time-out."
 
 
-#: src/message.h:129
+#: src/message.h:131
 msgid "Invalid chunk size."
 msgid "Invalid chunk size."
 msgstr "Ongeldige chunk grootte."
 msgstr "Ongeldige chunk grootte."
 
 
-#: src/message.h:130
+#: src/message.h:132
 #, c-format
 #, c-format
 msgid "Too large chunk. size=%d"
 msgid "Too large chunk. size=%d"
 msgstr "Te groot stuk. grootte=%d"
 msgstr "Te groot stuk. grootte=%d"
 
 
-#: src/message.h:131
+#: src/message.h:133
 msgid "Invalid header."
 msgid "Invalid header."
 msgstr "Ongeldige header."
 msgstr "Ongeldige header."
 
 
-#: src/message.h:132
+#: src/message.h:134
 msgid "Invalid response."
 msgid "Invalid response."
 msgstr "Ongeldige respons."
 msgstr "Ongeldige respons."
 
 
-#: src/message.h:133
+#: src/message.h:135
 msgid "No header found."
 msgid "No header found."
 msgstr "Geen header gevonden"
 msgstr "Geen header gevonden"
 
 
-#: src/message.h:134
+#: src/message.h:136
 msgid "No status header."
 msgid "No status header."
 msgstr "Geen status header"
 msgstr "Geen status header"
 
 
-#: src/message.h:135
+#: src/message.h:137
 msgid "Proxy connection failed."
 msgid "Proxy connection failed."
 msgstr "Proxy connectie mislukt."
 msgstr "Proxy connectie mislukt."
 
 
-#: src/message.h:136
+#: src/message.h:138
 msgid "Connection failed."
 msgid "Connection failed."
 msgstr "Verbinding mislukt"
 msgstr "Verbinding mislukt"
 
 
-#: src/message.h:137
+#: src/message.h:139
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "The requested filename and the previously registered one are not same. "
 "The requested filename and the previously registered one are not same. "
 "Expected:%s Actual:%s"
 "Expected:%s Actual:%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:138
+#: src/message.h:140
 #, c-format
 #, c-format
 msgid "The response status is not successful. status=%d"
 msgid "The response status is not successful. status=%d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:139
+#: src/message.h:141
 #, c-format
 #, c-format
 msgid "Too large file size. size=%s"
 msgid "Too large file size. size=%s"
 msgstr "Te groot bestand. grootte=%s"
 msgstr "Te groot bestand. grootte=%s"
 
 
-#: src/message.h:140
+#: src/message.h:142
 #, c-format
 #, c-format
 msgid "Transfer encoding %s is not supported."
 msgid "Transfer encoding %s is not supported."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:141
+#: src/message.h:143
 #, c-format
 #, c-format
 msgid "SSL initialization failed: %s"
 msgid "SSL initialization failed: %s"
 msgstr "SSL initialisatie mislukt: %s"
 msgstr "SSL initialisatie mislukt: %s"
 
 
-#: src/message.h:142
+#: src/message.h:144
 msgid "SSL I/O error"
 msgid "SSL I/O error"
 msgstr "SSL I/O fout"
 msgstr "SSL I/O fout"
 
 
-#: src/message.h:143
+#: src/message.h:145
 msgid "SSL protocol error"
 msgid "SSL protocol error"
 msgstr "SSL protocol fout"
 msgstr "SSL protocol fout"
 
 
-#: src/message.h:144
+#: src/message.h:146
 #, c-format
 #, c-format
 msgid "SSL unknown error %d"
 msgid "SSL unknown error %d"
 msgstr "Onbekende SSL fout %d"
 msgstr "Onbekende SSL fout %d"
 
 
-#: src/message.h:145
+#: src/message.h:147
 #, c-format
 #, c-format
 msgid "SSL initialization failed: OpenSSL connect error %d"
 msgid "SSL initialization failed: OpenSSL connect error %d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:146
+#: src/message.h:148
 #, c-format
 #, c-format
 msgid "Size mismatch Expected:%s Actual:%s"
 msgid "Size mismatch Expected:%s Actual:%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:147
+#: src/message.h:149
 msgid "Authorization failed."
 msgid "Authorization failed."
 msgstr "Autorisatie mislukt."
 msgstr "Autorisatie mislukt."
 
 
-#: src/message.h:148
+#: src/message.h:150
 msgid "Got EOF from the server."
 msgid "Got EOF from the server."
 msgstr "Ontving EOF van de server."
 msgstr "Ontving EOF van de server."
 
 
-#: src/message.h:149
+#: src/message.h:151
 msgid "Got EOF from peer."
 msgid "Got EOF from peer."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:150
+#: src/message.h:152
 msgid "Malformed meta info."
 msgid "Malformed meta info."
 msgstr "Verkeerd geformuleerde meta informatie."
 msgstr "Verkeerd geformuleerde meta informatie."
 
 
-#: src/message.h:152
+#: src/message.h:154
 #, c-format
 #, c-format
 msgid "Failed to open the file %s, cause: %s"
 msgid "Failed to open the file %s, cause: %s"
 msgstr "Kon bestand %s niet openen, oorzaak: %s"
 msgstr "Kon bestand %s niet openen, oorzaak: %s"
 
 
-#: src/message.h:153
+#: src/message.h:155
 #, c-format
 #, c-format
 msgid "Failed to write into the file %s, cause: %s"
 msgid "Failed to write into the file %s, cause: %s"
 msgstr "Kon in bestand %s niet schrijven, oorzaak: %s"
 msgstr "Kon in bestand %s niet schrijven, oorzaak: %s"
 
 
-#: src/message.h:154
+#: src/message.h:156
 #, c-format
 #, c-format
 msgid "Failed to read from the file %s, cause: %s"
 msgid "Failed to read from the file %s, cause: %s"
 msgstr "Kon niet lezen uit bestand %s, reden: %s"
 msgstr "Kon niet lezen uit bestand %s, reden: %s"
 
 
-#: src/message.h:155
+#: src/message.h:157
 msgid "Failed to read data from disk."
 msgid "Failed to read data from disk."
 msgstr "Kon geen data van de hardeschijf lezen."
 msgstr "Kon geen data van de hardeschijf lezen."
 
 
-#: src/message.h:156
+#: src/message.h:158
 #, c-format
 #, c-format
 msgid "Failed to calculate SHA1 digest of or a part of the file %s, cause: %s"
 msgid "Failed to calculate SHA1 digest of or a part of the file %s, cause: %s"
 msgstr ""
 msgstr ""
 "Kon geen SHA1 checksum berekenen van het bestand %s of een deel hiervan, "
 "Kon geen SHA1 checksum berekenen van het bestand %s of een deel hiervan, "
 "reden: %s"
 "reden: %s"
 
 
-#: src/message.h:157
+#: src/message.h:159
 #, c-format
 #, c-format
 msgid "Failed to seek the file %s, cause: %s"
 msgid "Failed to seek the file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:158
+#: src/message.h:160
 #, c-format
 #, c-format
 msgid "The offset is out of range, offset=%s"
 msgid "The offset is out of range, offset=%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:159
+#: src/message.h:161
 #, c-format
 #, c-format
 msgid "%s is not a directory."
 msgid "%s is not a directory."
 msgstr "%s is geen map."
 msgstr "%s is geen map."
 
 
-#: src/message.h:160
+#: src/message.h:162
 #, c-format
 #, c-format
 msgid "Failed to make the directory %s, cause: %s"
 msgid "Failed to make the directory %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:161
+#: src/message.h:163
 #, c-format
 #, c-format
 msgid "Failed to open the segment file %s, cause: %s"
 msgid "Failed to open the segment file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:162
+#: src/message.h:164
 #, c-format
 #, c-format
 msgid "Failed to write into the segment file %s, cause: %s"
 msgid "Failed to write into the segment file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:163
+#: src/message.h:165
 #, c-format
 #, c-format
 msgid "Failed to read from the segment file %s, cause: %s"
 msgid "Failed to read from the segment file %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:165
+#: src/message.h:167
 #, c-format
 #, c-format
 msgid "Failed to open a socket, cause: %s"
 msgid "Failed to open a socket, cause: %s"
 msgstr "Kon socket niet openen, oorzaak: %s"
 msgstr "Kon socket niet openen, oorzaak: %s"
 
 
-#: src/message.h:166
+#: src/message.h:168
 #, c-format
 #, c-format
 msgid "Failed to set a socket option, cause: %s"
 msgid "Failed to set a socket option, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:167
+#: src/message.h:169
 #, c-format
 #, c-format
 msgid "Failed to set a socket as blocking, cause: %s"
 msgid "Failed to set a socket as blocking, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:168
+#: src/message.h:170
 #, c-format
 #, c-format
 msgid "Failed to set a socket as non-blocking, cause: %s"
 msgid "Failed to set a socket as non-blocking, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:169
+#: src/message.h:171
 #, c-format
 #, c-format
 msgid "Failed to bind a socket, cause: %s"
 msgid "Failed to bind a socket, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:170
+#: src/message.h:172
 #, c-format
 #, c-format
 msgid "Failed to listen to a socket, cause: %s"
 msgid "Failed to listen to a socket, cause: %s"
 msgstr "Kon niet luisteren op socket, oorzaak: %s"
 msgstr "Kon niet luisteren op socket, oorzaak: %s"
 
 
-#: src/message.h:171
+#: src/message.h:173
 #, c-format
 #, c-format
 msgid "Failed to accept a peer connection, cause: %s"
 msgid "Failed to accept a peer connection, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:172
+#: src/message.h:174
 #, c-format
 #, c-format
 msgid "Failed to get the name of socket, cause: %s"
 msgid "Failed to get the name of socket, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:173
+#: src/message.h:175
 #, c-format
 #, c-format
 msgid "Failed to get the name of connected peer, cause: %s"
 msgid "Failed to get the name of connected peer, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:174
+#: src/message.h:176
 #, c-format
 #, c-format
 msgid "Failed to resolve the hostname %s, cause: %s"
 msgid "Failed to resolve the hostname %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:175
+#: src/message.h:177
 #, c-format
 #, c-format
 msgid "Failed to connect to the host %s, cause: %s"
 msgid "Failed to connect to the host %s, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:176
+#: src/message.h:178
 #, c-format
 #, c-format
 msgid "Failed to check whether the socket is writable, cause: %s"
 msgid "Failed to check whether the socket is writable, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:177
+#: src/message.h:179
 #, c-format
 #, c-format
 msgid "Failed to check whether the socket is readable, cause: %s"
 msgid "Failed to check whether the socket is readable, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:178
+#: src/message.h:180
 #, c-format
 #, c-format
 msgid "Failed to send data, cause: %s"
 msgid "Failed to send data, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:179
+#: src/message.h:181
 #, c-format
 #, c-format
 msgid "Failed to receive data, cause: %s"
 msgid "Failed to receive data, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:180
+#: src/message.h:182
 #, c-format
 #, c-format
 msgid "Failed to peek data, cause: %s"
 msgid "Failed to peek data, cause: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:181
+#: src/message.h:183
 #, c-format
 #, c-format
 msgid "Unknown socket error %d (0x%x)"
 msgid "Unknown socket error %d (0x%x)"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:182
+#: src/message.h:184
 #, c-format
 #, c-format
 msgid "File %s exists, but %s does not exist."
 msgid "File %s exists, but %s does not exist."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:183
+#: src/message.h:185
 #, c-format
 #, c-format
 msgid "Invalid payload size for %s, size=%d. It should be %d."
 msgid "Invalid payload size for %s, size=%d. It should be %d."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:184
+#: src/message.h:186
 #, c-format
 #, c-format
 msgid "Invalid ID=%d for %s. It should be %d."
 msgid "Invalid ID=%d for %s. It should be %d."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:185
+#: src/message.h:187
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "Chunk checksum validation failed. checksumIndex=%d, offset=%s, expectedHash=%"
 "Chunk checksum validation failed. checksumIndex=%d, offset=%s, expectedHash=%"
 "s, actualHash=%s"
 "s, actualHash=%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:186
+#: src/message.h:188
 msgid "Download aborted."
 msgid "Download aborted."
 msgstr "Download afgebroken."
 msgstr "Download afgebroken."
 
 
-#: src/message.h:187
+#: src/message.h:189
 #, c-format
 #, c-format
 msgid "File %s is being downloaded by other command."
 msgid "File %s is being downloaded by other command."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:188
+#: src/message.h:190
 msgid "Insufficient checksums."
 msgid "Insufficient checksums."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:189
+#: src/message.h:191
 #, c-format
 #, c-format
 msgid "Tracker returned failure reason: %s"
 msgid "Tracker returned failure reason: %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:190
+#: src/message.h:192
 msgid "Flooding detected."
 msgid "Flooding detected."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:191
+#: src/message.h:193
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "Drop connection because no request/piece messages were exchanged in a "
 "Drop connection because no request/piece messages were exchanged in a "
 "certain period(%d seconds)."
 "certain period(%d seconds)."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:192
+#: src/message.h:194
 msgid "The infoHash in torrent file doesn't match to one in .aria2 file."
 msgid "The infoHash in torrent file doesn't match to one in .aria2 file."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:193
+#: src/message.h:195
 #, c-format
 #, c-format
 msgid "No such file entry %s"
 msgid "No such file entry %s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:194
+#: src/message.h:196
 #, c-format
 #, c-format
 msgid "Too slow Downloading speed: %d <= %d(B/s), host:%s"
 msgid "Too slow Downloading speed: %d <= %d(B/s), host:%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:195
+#: src/message.h:197
 msgid "No HttpRequestEntry found."
 msgid "No HttpRequestEntry found."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:196
+#: src/message.h:198
 #, c-format
 #, c-format
 msgid "Got %d status, but no location header provided."
 msgid "Got %d status, but no location header provided."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:197
+#: src/message.h:199
 #, c-format
 #, c-format
 msgid "Invalid range header. Request: %s-%s/%s, Response: %s-%s/%s"
 msgid "Invalid range header. Request: %s-%s/%s, Response: %s-%s/%s"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:198
+#: src/message.h:200
 msgid "No file matched with your preference."
 msgid "No file matched with your preference."
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:199
+#: src/message.h:201
 msgid "Exception caught"
 msgid "Exception caught"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:200
+#: src/message.h:202
 #, c-format
 #, c-format
 msgid "Max payload length exceeded or invalid. length = %d"
 msgid "Max payload length exceeded or invalid. length = %d"
 msgstr ""
 msgstr ""
 
 
-#: src/message.h:201
+#: src/message.h:203
 #, c-format
 #, c-format
 msgid "Invalid file length. Cannot continue download %s: local %s, remote %s"
 msgid "Invalid file length. Cannot continue download %s: local %s, remote %s"
 msgstr ""
 msgstr ""
 
 
-#: src/DownloadEngineFactory.cc:97
-msgid "Errors occurred while binding port.\n"
-msgstr ""
-
 #: src/MultiUrlRequestInfo.cc:70
 #: src/MultiUrlRequestInfo.cc:70
 #, fuzzy
 #, fuzzy
 msgid "aria2 will resume download if the transfer is restarted."
 msgid "aria2 will resume download if the transfer is restarted."
@@ -881,20 +887,20 @@ msgid ""
 "page for details."
 "page for details."
 msgstr ""
 msgstr ""
 
 
-#: src/RequestGroupMan.cc:213
+#: src/RequestGroupMan.cc:222
 #, fuzzy
 #, fuzzy
 msgid "Download Results:"
 msgid "Download Results:"
 msgstr " Download een torrent:"
 msgstr " Download een torrent:"
 
 
-#: src/Util.cc:649
+#: src/Util.cc:644
 msgid "Files:"
 msgid "Files:"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:40
+#: src/version_usage.cc:42
 msgid " version "
 msgid " version "
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:50
+#: src/version_usage.cc:52
 msgid ""
 msgid ""
 "This program is free software; you can redistribute it and/or modify\n"
 "This program is free software; you can redistribute it and/or modify\n"
 "it under the terms of the GNU General Public License as published by\n"
 "it under the terms of the GNU General Public License as published by\n"
@@ -926,49 +932,49 @@ msgstr ""
 "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 "
 "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 "
 "USA\n"
 "USA\n"
 
 
-#: src/version_usage.cc:64
+#: src/version_usage.cc:66
 msgid "Contact Info:"
 msgid "Contact Info:"
 msgstr "Contact informatie:"
 msgstr "Contact informatie:"
 
 
-#: src/version_usage.cc:71
+#: src/version_usage.cc:73
 #, c-format
 #, c-format
 msgid "Usage: %s [options] URL ...\n"
 msgid "Usage: %s [options] URL ...\n"
 msgstr "Gebruik: %s [opties] URL ...\n"
 msgstr "Gebruik: %s [opties] URL ...\n"
 
 
-#: src/version_usage.cc:73
+#: src/version_usage.cc:75
 #, fuzzy, c-format
 #, fuzzy, c-format
 msgid "       %s [options] -T TORRENT_FILE URL ...\n"
 msgid "       %s [options] -T TORRENT_FILE URL ...\n"
 msgstr "       %s [opties] -T TORRENT_BESTAND BESTAND ...\n"
 msgstr "       %s [opties] -T TORRENT_BESTAND BESTAND ...\n"
 
 
-#: src/version_usage.cc:76
+#: src/version_usage.cc:78
 #, c-format
 #, c-format
 msgid "       %s [options] -M METALINK_FILE\n"
 msgid "       %s [options] -M METALINK_FILE\n"
 msgstr "       %s [opties] -M METALINK_BESTAND\n"
 msgstr "       %s [opties] -M METALINK_BESTAND\n"
 
 
-#: src/version_usage.cc:79
+#: src/version_usage.cc:81
 msgid "Options:"
 msgid "Options:"
 msgstr "Opties:"
 msgstr "Opties:"
 
 
-#: src/version_usage.cc:80
+#: src/version_usage.cc:82
 msgid ""
 msgid ""
 " -d, --dir=DIR                The directory to store the downloaded file."
 " -d, --dir=DIR                The directory to store the downloaded file."
 msgstr " -d, --dir=MAP De map om de gedownloade bestanden in op te slaan."
 msgstr " -d, --dir=MAP De map om de gedownloade bestanden in op te slaan."
 
 
-#: src/version_usage.cc:81
+#: src/version_usage.cc:83
 msgid " -o, --out=FILE               The file name of the downloaded file."
 msgid " -o, --out=FILE               The file name of the downloaded file."
 msgstr " -o, --out=FILE De bestandsnaam van het gedownloade bestand."
 msgstr " -o, --out=FILE De bestandsnaam van het gedownloade bestand."
 
 
-#: src/version_usage.cc:82
+#: src/version_usage.cc:84
 msgid ""
 msgid ""
 " -l, --log=LOG                The file name of the log file. If '-' is\n"
 " -l, --log=LOG                The file name of the log file. If '-' is\n"
 "                              specified, log is written to stdout."
 "                              specified, log is written to stdout."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:85
+#: src/version_usage.cc:87
 msgid " -D, --daemon                 Run as daemon."
 msgid " -D, --daemon                 Run as daemon."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:87
+#: src/version_usage.cc:89
 msgid ""
 msgid ""
 " -s, --split=N                Download a file using N connections. N must "
 " -s, --split=N                Download a file using N connections. N must "
 "be\n"
 "be\n"
@@ -979,7 +985,7 @@ msgid ""
 "                              Default: 1"
 "                              Default: 1"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:92
+#: src/version_usage.cc:94
 msgid ""
 msgid ""
 " --retry-wait=SEC             Set the seconds to wait to retry after an "
 " --retry-wait=SEC             Set the seconds to wait to retry after an "
 "error\n"
 "error\n"
@@ -988,47 +994,47 @@ msgid ""
 "                              Default: 5"
 "                              Default: 5"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:95
+#: src/version_usage.cc:97
 msgid " -t, --timeout=SEC            Set timeout in seconds. Default: 60"
 msgid " -t, --timeout=SEC            Set timeout in seconds. Default: 60"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:96
+#: src/version_usage.cc:98
 msgid ""
 msgid ""
 " -m, --max-tries=N            Set number of tries. 0 means unlimited.\n"
 " -m, --max-tries=N            Set number of tries. 0 means unlimited.\n"
 "                              Default: 5"
 "                              Default: 5"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:104
+#: src/version_usage.cc:106
 msgid ""
 msgid ""
 " --http-proxy=HOST:PORT       Use HTTP proxy server. This affects all URLs."
 " --http-proxy=HOST:PORT       Use HTTP proxy server. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:105
+#: src/version_usage.cc:107
 msgid " --http-user=USER             Set HTTP user. This affects all URLs."
 msgid " --http-user=USER             Set HTTP user. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:106
+#: src/version_usage.cc:108
 msgid " --http-passwd=PASSWD         Set HTTP password. This affects all URLs."
 msgid " --http-passwd=PASSWD         Set HTTP password. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:107
+#: src/version_usage.cc:109
 msgid ""
 msgid ""
 " --http-proxy-user=USER       Set HTTP proxy user. This affects all URLs."
 " --http-proxy-user=USER       Set HTTP proxy user. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:108
+#: src/version_usage.cc:110
 msgid ""
 msgid ""
 " --http-proxy-passwd=PASSWD   Set HTTP proxy password. This affects all URLs."
 " --http-proxy-passwd=PASSWD   Set HTTP proxy password. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:109
+#: src/version_usage.cc:111
 msgid ""
 msgid ""
 " --http-proxy-method=METHOD   Set the method to use in proxy request.\n"
 " --http-proxy-method=METHOD   Set the method to use in proxy request.\n"
 "                              METHOD is either 'get' or 'tunnel'.\n"
 "                              METHOD is either 'get' or 'tunnel'.\n"
 "                              Default: tunnel"
 "                              Default: tunnel"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:112
+#: src/version_usage.cc:114
 msgid ""
 msgid ""
 " --http-auth-scheme=SCHEME    Set HTTP authentication scheme. Currently, "
 " --http-auth-scheme=SCHEME    Set HTTP authentication scheme. Currently, "
 "basic\n"
 "basic\n"
@@ -1036,23 +1042,23 @@ msgid ""
 "                              Default: basic"
 "                              Default: basic"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:115
+#: src/version_usage.cc:117
 msgid " --referer=REFERER            Set Referer. This affects all URLs."
 msgid " --referer=REFERER            Set Referer. This affects all URLs."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:116
+#: src/version_usage.cc:118
 msgid ""
 msgid ""
 " --ftp-user=USER              Set FTP user. This affects all URLs.\n"
 " --ftp-user=USER              Set FTP user. This affects all URLs.\n"
 "                              Default: anonymous"
 "                              Default: anonymous"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:118
+#: src/version_usage.cc:120
 msgid ""
 msgid ""
 " --ftp-passwd=PASSWD          Set FTP password. This affects all URLs.\n"
 " --ftp-passwd=PASSWD          Set FTP password. This affects all URLs.\n"
 "                              Default: ARIA2USER@"
 "                              Default: ARIA2USER@"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:120
+#: src/version_usage.cc:122
 msgid ""
 msgid ""
 " --ftp-type=TYPE              Set FTP transfer type. TYPE is either "
 " --ftp-type=TYPE              Set FTP transfer type. TYPE is either "
 "'binary'\n"
 "'binary'\n"
@@ -1060,11 +1066,11 @@ msgid ""
 "                              Default: binary"
 "                              Default: binary"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:123
+#: src/version_usage.cc:125
 msgid " -p, --ftp-pasv               Use passive mode in FTP."
 msgid " -p, --ftp-pasv               Use passive mode in FTP."
 msgstr " -p, --ftp-pasv Gebruik passive mode bij FTP."
 msgstr " -p, --ftp-pasv Gebruik passive mode bij FTP."
 
 
-#: src/version_usage.cc:124
+#: src/version_usage.cc:126
 msgid ""
 msgid ""
 " --ftp-via-http-proxy=METHOD  Use HTTP proxy in FTP. METHOD is either 'get' "
 " --ftp-via-http-proxy=METHOD  Use HTTP proxy in FTP. METHOD is either 'get' "
 "or\n"
 "or\n"
@@ -1072,7 +1078,7 @@ msgid ""
 "                              Default: tunnel"
 "                              Default: tunnel"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:127
+#: src/version_usage.cc:129
 msgid ""
 msgid ""
 " --lowest-speed-limit=SPEED   Close connection if download speed is lower "
 " --lowest-speed-limit=SPEED   Close connection if download speed is lower "
 "than\n"
 "than\n"
@@ -1085,7 +1091,7 @@ msgid ""
 "                              Default: 0"
 "                              Default: 0"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:134
+#: src/version_usage.cc:136
 msgid ""
 msgid ""
 " --max-download-limit=SPEED   Set max download speed in bytes per sec.\n"
 " --max-download-limit=SPEED   Set max download speed in bytes per sec.\n"
 "                              0 means unrestricted.\n"
 "                              0 means unrestricted.\n"
@@ -1093,7 +1099,7 @@ msgid ""
 "                              Default: 0"
 "                              Default: 0"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:138
+#: src/version_usage.cc:140
 msgid ""
 msgid ""
 " --file-allocation=METHOD     Specify file allocation method. METHOD is "
 " --file-allocation=METHOD     Specify file allocation method. METHOD is "
 "either\n"
 "either\n"
@@ -1107,7 +1113,7 @@ msgid ""
 "                              Default: prealloc"
 "                              Default: prealloc"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:144
+#: src/version_usage.cc:146
 msgid ""
 msgid ""
 " --no-file-allocation-limit=SIZE No file allocation is made for files whose\n"
 " --no-file-allocation-limit=SIZE No file allocation is made for files whose\n"
 "                              size is smaller than SIZE.\n"
 "                              size is smaller than SIZE.\n"
@@ -1116,7 +1122,7 @@ msgid ""
 "                              Default: 5M"
 "                              Default: 5M"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:149
+#: src/version_usage.cc:151
 msgid ""
 msgid ""
 " --allow-overwrite=true|false If false, aria2 doesn't download a file which\n"
 " --allow-overwrite=true|false If false, aria2 doesn't download a file which\n"
 "                              already exists but the corresponding .aria2 "
 "                              already exists but the corresponding .aria2 "
@@ -1125,7 +1131,7 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:153
+#: src/version_usage.cc:155
 msgid ""
 msgid ""
 " -Z, --force-sequential[=true|false] Fetch URIs in the command-line "
 " -Z, --force-sequential[=true|false] Fetch URIs in the command-line "
 "sequentially\n"
 "sequentially\n"
@@ -1135,7 +1141,7 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:157
+#: src/version_usage.cc:159
 msgid ""
 msgid ""
 " --auto-file-renaming[=true|false] Rename file name if the same file "
 " --auto-file-renaming[=true|false] Rename file name if the same file "
 "already\n"
 "already\n"
@@ -1147,7 +1153,7 @@ msgid ""
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:163
+#: src/version_usage.cc:165
 msgid ""
 msgid ""
 " -P, --parameterized-uri[=true|false] Enable parameterized URI support.\n"
 " -P, --parameterized-uri[=true|false] Enable parameterized URI support.\n"
 "                              You can specify set of parts:\n"
 "                              You can specify set of parts:\n"
@@ -1164,20 +1170,20 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:174
+#: src/version_usage.cc:176
 msgid ""
 msgid ""
 " --enable-http-keep-alive[=true|false] Enable HTTP/1.1 persistant "
 " --enable-http-keep-alive[=true|false] Enable HTTP/1.1 persistant "
 "connection.\n"
 "connection.\n"
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:176
+#: src/version_usage.cc:178
 msgid ""
 msgid ""
 " --enable-http-pipelining[=true|false] Enable HTTP/1.1 pipelining.\n"
 " --enable-http-pipelining[=true|false] Enable HTTP/1.1 pipelining.\n"
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:179
+#: src/version_usage.cc:181
 msgid ""
 msgid ""
 " --check-integrity=true|false  Check file integrity by validating piece "
 " --check-integrity=true|false  Check file integrity by validating piece "
 "hash.\n"
 "hash.\n"
@@ -1193,7 +1199,7 @@ msgid ""
 "                              Default: false"
 "                              Default: false"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:187
+#: src/version_usage.cc:189
 msgid ""
 msgid ""
 " --realtime-chunk-checksum=true|false  Validate chunk checksum while\n"
 " --realtime-chunk-checksum=true|false  Validate chunk checksum while\n"
 "                              downloading a file in Metalink mode. This "
 "                              downloading a file in Metalink mode. This "
@@ -1203,7 +1209,7 @@ msgid ""
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:192
+#: src/version_usage.cc:194
 msgid ""
 msgid ""
 " -c, --continue               Continue downloading a partially downloaded\n"
 " -c, --continue               Continue downloading a partially downloaded\n"
 "                              file. Use this option to resume a download\n"
 "                              file. Use this option to resume a download\n"
@@ -1213,15 +1219,15 @@ msgid ""
 "                              applicable to http(s)/ftp downloads."
 "                              applicable to http(s)/ftp downloads."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:198
+#: src/version_usage.cc:200
 msgid " -U, --user-agent=USER_AGENT  Set user agent for http(s) downloads."
 msgid " -U, --user-agent=USER_AGENT  Set user agent for http(s) downloads."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:199
+#: src/version_usage.cc:201
 msgid " -n, --no-netrc               Disables netrc support."
 msgid " -n, --no-netrc               Disables netrc support."
 msgstr " -n, --no-netrc Schakel netrc ondersteuning uit."
 msgstr " -n, --no-netrc Schakel netrc ondersteuning uit."
 
 
-#: src/version_usage.cc:200
+#: src/version_usage.cc:202
 msgid ""
 msgid ""
 " -i, --input-file=FILE        Downloads URIs found in FILE. You can specify\n"
 " -i, --input-file=FILE        Downloads URIs found in FILE. You can specify\n"
 "                              multiple URIs for a single entity: separate\n"
 "                              multiple URIs for a single entity: separate\n"
@@ -1230,7 +1236,7 @@ msgid ""
 "                              Reads input from stdin when '-' is specified."
 "                              Reads input from stdin when '-' is specified."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:204
+#: src/version_usage.cc:206
 msgid ""
 msgid ""
 " -j, --max-concurrent-downloads=N Set maximum number of concurrent "
 " -j, --max-concurrent-downloads=N Set maximum number of concurrent "
 "downloads.\n"
 "downloads.\n"
@@ -1238,20 +1244,20 @@ msgid ""
 "                              Default: 5"
 "                              Default: 5"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:207
+#: src/version_usage.cc:209
 msgid ""
 msgid ""
 " --load-cookies=FILE          Load cookies from FILE. The format of FILE is\n"
 " --load-cookies=FILE          Load cookies from FILE. The format of FILE is\n"
 "                              the same used by Netscape and Mozilla."
 "                              the same used by Netscape and Mozilla."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:210
+#: src/version_usage.cc:212
 msgid ""
 msgid ""
 " -S, --show-files             Print file listing of .torrent or .metalink "
 " -S, --show-files             Print file listing of .torrent or .metalink "
 "file\n"
 "file\n"
 "                              and exit."
 "                              and exit."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:212
+#: src/version_usage.cc:214
 msgid ""
 msgid ""
 " --select-file=INDEX...       Set file to download by specifing its index.\n"
 " --select-file=INDEX...       Set file to download by specifing its index.\n"
 "                              You can find the file index using the\n"
 "                              You can find the file index using the\n"
@@ -1265,11 +1271,11 @@ msgid ""
 "options)."
 "options)."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:222
+#: src/version_usage.cc:224
 msgid " -T, --torrent-file=TORRENT_FILE  The path to the .torrent file."
 msgid " -T, --torrent-file=TORRENT_FILE  The path to the .torrent file."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:223
+#: src/version_usage.cc:225
 msgid ""
 msgid ""
 " --follow-torrent=true|false  Set to false to prevent aria2 from\n"
 " --follow-torrent=true|false  Set to false to prevent aria2 from\n"
 "                              entering BitTorrent mode even if the filename "
 "                              entering BitTorrent mode even if the filename "
@@ -1278,20 +1284,20 @@ msgid ""
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:227
+#: src/version_usage.cc:229
 msgid ""
 msgid ""
 " --direct-file-mapping=true|false Directly read from and write to each file\n"
 " --direct-file-mapping=true|false Directly read from and write to each file\n"
 "                              mentioned in .torrent file.\n"
 "                              mentioned in .torrent file.\n"
 "                              Default: true"
 "                              Default: true"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:230
+#: src/version_usage.cc:232
 msgid ""
 msgid ""
 " --listen-port=PORT           Set TCP port number for BitTorrent downloads.\n"
 " --listen-port=PORT           Set TCP port number for BitTorrent downloads.\n"
 "                              Default: 6881-6999"
 "                              Default: 6881-6999"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:232
+#: src/version_usage.cc:234
 msgid ""
 msgid ""
 " --max-upload-limit=SPEED     Set max upload speed in bytes per sec.\n"
 " --max-upload-limit=SPEED     Set max upload speed in bytes per sec.\n"
 "                              0 means unrestricted.\n"
 "                              0 means unrestricted.\n"
@@ -1299,13 +1305,13 @@ msgid ""
 "                              Default: 0"
 "                              Default: 0"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:236
+#: src/version_usage.cc:238
 msgid ""
 msgid ""
 " --seed-time=MINUTES          Specify seeding time in minutes. Also see the\n"
 " --seed-time=MINUTES          Specify seeding time in minutes. Also see the\n"
 "                              --seed-ratio option."
 "                              --seed-ratio option."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:238
+#: src/version_usage.cc:240
 msgid ""
 msgid ""
 " --seed-ratio=RATIO           Specify share ratio. Seed completed torrents\n"
 " --seed-ratio=RATIO           Specify share ratio. Seed completed torrents\n"
 "                              until share ratio reaches RATIO. 1.0 is\n"
 "                              until share ratio reaches RATIO. 1.0 is\n"
@@ -1315,7 +1321,7 @@ msgid ""
 "                              least one of the conditions is satisfied."
 "                              least one of the conditions is satisfied."
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:243
+#: src/version_usage.cc:245
 msgid ""
 msgid ""
 " --peer-id-prefix=PEERI_ID_PREFIX Specify the prefix of peer ID. The peer ID "
 " --peer-id-prefix=PEERI_ID_PREFIX Specify the prefix of peer ID. The peer ID "
 "in\n"
 "in\n"
@@ -1328,12 +1334,12 @@ msgid ""
 "                              Default: -aria2-"
 "                              Default: -aria2-"
 msgstr ""
 msgstr ""
 
 
-#: src/version_usage.cc:252
+#: src/version_usage.cc:254
 msgid " -M, --metalink-file=METALINK_FILE The file path to the .metalink file."
 msgid " -M, --metalink-file=METALINK_FILE The file path to the .metalink file."
 msgstr ""
 msgstr ""
 " -M, --metalink-file=METALINK_BESTAND Het pad naar het .metalink bestand."
 " -M, --metalink-file=METALINK_BESTAND Het pad naar het .metalink bestand."
 
 
-#: src/version_usage.cc:253
+#: src/version_usage.cc:255
 msgid ""
 msgid ""
 " -C, --metalink-servers=NUM_SERVERS The number of servers to connect to\n"
 " -C, --metalink-servers=NUM_SERVERS The number of servers to connect to\n"
 "                              simultaneously.\n"
 "                              simultaneously.\n"
@@ -1343,25 +1349,27 @@ msgstr ""
 "                              connectie mee te maken.\n"
 "                              connectie mee te maken.\n"
 "                              Standaard: 5"
 "                              Standaard: 5"
 
 
-#: src/version_usage.cc:256
+#: src/version_usage.cc:258
 msgid " --metalink-version=VERSION   The version of the file to download."
 msgid " --metalink-version=VERSION   The version of the file to download."
 msgstr " --metalink-version=VERSIE De versie van het te downloaden betand."
 msgstr " --metalink-version=VERSIE De versie van het te downloaden betand."
 
 
-#: src/version_usage.cc:257
+#: src/version_usage.cc:259
 msgid " --metalink-language=LANGUAGE The language of the file to download."
 msgid " --metalink-language=LANGUAGE The language of the file to download."
 msgstr " --metalink-language=TAAL De taal van het te downloaden bestand."
 msgstr " --metalink-language=TAAL De taal van het te downloaden bestand."
 
 
-#: src/version_usage.cc:258
+#: src/version_usage.cc:260
 msgid ""
 msgid ""
 " --metalink-os=OS             The operating system of the file to download."
 " --metalink-os=OS             The operating system of the file to download."
 msgstr " --metalink-os=OS Het besturingssysteem van het te downloaden bestand."
 msgstr " --metalink-os=OS Het besturingssysteem van het te downloaden bestand."
 
 
-#: src/version_usage.cc:259
-#, fuzzy
-msgid " --metalink-location=LOCATION The location of the prefered server."
-msgstr " --metalink-location=LOCATIE De locatie van de server met voorkeur."
+#: src/version_usage.cc:261
+msgid ""
+" --metalink-location=LOCATION[,...] The location of the preferred server.\n"
+"                              A comma-deliminated list of locations is\n"
+"                              acceptable."
+msgstr ""
 
 
-#: src/version_usage.cc:260
+#: src/version_usage.cc:264
 msgid ""
 msgid ""
 " --follow-metalink=true|false Set to false to prevent aria2 from\n"
 " --follow-metalink=true|false Set to false to prevent aria2 from\n"
 "                              entering Metalink mode even if the filename "
 "                              entering Metalink mode even if the filename "
@@ -1375,15 +1383,15 @@ msgstr ""
 "eindigt.\n"
 "eindigt.\n"
 "                              Standaard: true"
 "                              Standaard: true"
 
 
-#: src/version_usage.cc:265
+#: src/version_usage.cc:269
 msgid " -v, --version                Print the version number and exit."
 msgid " -v, --version                Print the version number and exit."
 msgstr " -v, --version Toon het versie nummer en sluit."
 msgstr " -v, --version Toon het versie nummer en sluit."
 
 
-#: src/version_usage.cc:266
+#: src/version_usage.cc:270
 msgid " -h, --help                   Print this message and exit."
 msgid " -h, --help                   Print this message and exit."
 msgstr " -h, --help Toon deze text en sluit."
 msgstr " -h, --help Toon deze text en sluit."
 
 
-#: src/version_usage.cc:269
+#: src/version_usage.cc:273
 msgid ""
 msgid ""
 " You can specify multiple URLs. All URLs must point to the same file\n"
 " You can specify multiple URLs. All URLs must point to the same file\n"
 " or downloading will fail."
 " or downloading will fail."
@@ -1392,77 +1400,85 @@ msgstr ""
 "verwijzen\n"
 "verwijzen\n"
 " anders zal het downloaden mislukken."
 " anders zal het downloaden mislukken."
 
 
-#: src/version_usage.cc:272
+#: src/version_usage.cc:276
 msgid "Examples:"
 msgid "Examples:"
 msgstr "Voorbeelden:"
 msgstr "Voorbeelden:"
 
 
-#: src/version_usage.cc:273
+#: src/version_usage.cc:277
 msgid " Download a file using 1 connection:"
 msgid " Download a file using 1 connection:"
 msgstr " Download een bestand m.b.v. 1 connectie:"
 msgstr " Download een bestand m.b.v. 1 connectie:"
 
 
-#: src/version_usage.cc:275
+#: src/version_usage.cc:279
 msgid " Download a file using 2 connections:"
 msgid " Download a file using 2 connections:"
 msgstr " Download een bestand m.b.v. 2 connecties:"
 msgstr " Download een bestand m.b.v. 2 connecties:"
 
 
-#: src/version_usage.cc:277
+#: src/version_usage.cc:281
 msgid ""
 msgid ""
 " Download a file using 2 connections, each connects to a different server:"
 " Download a file using 2 connections, each connects to a different server:"
 msgstr ""
 msgstr ""
 " Download een bestand m.b.v. 2 connecties, elk met een verschillende server:"
 " Download een bestand m.b.v. 2 connecties, elk met een verschillende server:"
 
 
-#: src/version_usage.cc:279
+#: src/version_usage.cc:283
 msgid " You can mix up different protocols:"
 msgid " You can mix up different protocols:"
 msgstr " U kunt verschillende protocollen door elkaar gebruiken:"
 msgstr " U kunt verschillende protocollen door elkaar gebruiken:"
 
 
-#: src/version_usage.cc:281
+#: src/version_usage.cc:285
 msgid " Parameterized URI:"
 msgid " Parameterized URI:"
 msgstr " Geparametriseerde URI:"
 msgstr " Geparametriseerde URI:"
 
 
-#: src/version_usage.cc:283
+#: src/version_usage.cc:287
 msgid " Parameterized URI. -Z option is required in this case:"
 msgid " Parameterized URI. -Z option is required in this case:"
 msgstr " Geparametriseerde URI. -Z is verplicht in dit geval:"
 msgstr " Geparametriseerde URI. -Z is verplicht in dit geval:"
 
 
-#: src/version_usage.cc:287
+#: src/version_usage.cc:291
 msgid " Download a torrent:"
 msgid " Download a torrent:"
 msgstr " Download een torrent:"
 msgstr " Download een torrent:"
 
 
-#: src/version_usage.cc:289
+#: src/version_usage.cc:293
 msgid " Download a torrent using a local .torrent file:"
 msgid " Download a torrent using a local .torrent file:"
 msgstr " Download een torrent m.b.v. een lokaal .torrent bestand:"
 msgstr " Download een torrent m.b.v. een lokaal .torrent bestand:"
 
 
-#: src/version_usage.cc:291 src/version_usage.cc:304
+#: src/version_usage.cc:295 src/version_usage.cc:308
 msgid " Download only selected files:"
 msgid " Download only selected files:"
 msgstr " Download allen geselecteerde bestanden:"
 msgstr " Download allen geselecteerde bestanden:"
 
 
-#: src/version_usage.cc:293
+#: src/version_usage.cc:297
 msgid " Print file listing of .torrent file:"
 msgid " Print file listing of .torrent file:"
 msgstr " Toon bestandslijst van .torrent bestand:"
 msgstr " Toon bestandslijst van .torrent bestand:"
 
 
-#: src/version_usage.cc:298
+#: src/version_usage.cc:302
 msgid " Metalink downloading:"
 msgid " Metalink downloading:"
 msgstr " Metalink downloaden:"
 msgstr " Metalink downloaden:"
 
 
-#: src/version_usage.cc:300
+#: src/version_usage.cc:304
 msgid " Download a file using local .metalink file:"
 msgid " Download a file using local .metalink file:"
 msgstr " Download een file met een lokaal .metalink bestand:"
 msgstr " Download een file met een lokaal .metalink bestand:"
 
 
-#: src/version_usage.cc:302
+#: src/version_usage.cc:306
 msgid " Metalink downloading with preferences:"
 msgid " Metalink downloading with preferences:"
 msgstr " Metalink downloaden met voorkeuren:"
 msgstr " Metalink downloaden met voorkeuren:"
 
 
-#: src/version_usage.cc:306
+#: src/version_usage.cc:310
 msgid " Download only selected files using index:"
 msgid " Download only selected files using index:"
 msgstr " Download alleen geselecteerde bestanden m.b.v. index:"
 msgstr " Download alleen geselecteerde bestanden m.b.v. index:"
 
 
-#: src/version_usage.cc:308
+#: src/version_usage.cc:312
 msgid " Print file listing of .metalink file:"
 msgid " Print file listing of .metalink file:"
 msgstr " Toon bestandslijst van .metalink bestand:"
 msgstr " Toon bestandslijst van .metalink bestand:"
 
 
-#: src/version_usage.cc:312
+#: src/version_usage.cc:316
 #, c-format
 #, c-format
 msgid "Report bugs to %s"
 msgid "Report bugs to %s"
 msgstr "Rapporteer bugs aan %s"
 msgstr "Rapporteer bugs aan %s"
 
 
+#: src/BtSetup.cc:111
+msgid "Errors occurred while binding port.\n"
+msgstr ""
+
+#, fuzzy
+#~ msgid " --metalink-location=LOCATION The location of the prefered server."
+#~ msgstr " --metalink-location=LOCATIE De locatie van de server met voorkeur."
+
 #~ msgid ""
 #~ msgid ""
 #~ "\n"
 #~ "\n"
 #~ "stopping application...\n"
 #~ "stopping application...\n"

二进制
po/ru.gmo


文件差异内容过多而无法显示
+ 173 - 225
po/ru.po


+ 0 - 1
src/ConsoleStatCalc.cc

@@ -60,7 +60,6 @@ ConsoleStatCalc::calculateStat(const RequestGroupManHandle& requestGroupMan,
   if(requestGroupMan->countRequestGroup() > 0) {
   if(requestGroupMan->countRequestGroup() > 0) {
     RequestGroupHandle firstRequestGroup = requestGroupMan->getRequestGroup(0);
     RequestGroupHandle firstRequestGroup = requestGroupMan->getRequestGroup(0);
     TransferStat stat = firstRequestGroup->calculateStat();
     TransferStat stat = firstRequestGroup->calculateStat();
-    //int32_t dlSpeed = firstRequestGroup->calculateDownloadSpeed();
     int32_t eta = 0;
     int32_t eta = 0;
     if(firstRequestGroup->getTotalLength() > 0 && stat.getDownloadSpeed() > 0) {
     if(firstRequestGroup->getTotalLength() > 0 && stat.getDownloadSpeed() > 0) {
       eta = (firstRequestGroup->getTotalLength()-firstRequestGroup->getCompletedLength())/stat.getDownloadSpeed();
       eta = (firstRequestGroup->getTotalLength()-firstRequestGroup->getCompletedLength())/stat.getDownloadSpeed();

+ 16 - 2
src/DefaultPieceStorage.cc

@@ -545,8 +545,22 @@ void DefaultPieceStorage::markAllPiecesDone()
 
 
 void DefaultPieceStorage::markPiecesDone(int64_t length)
 void DefaultPieceStorage::markPiecesDone(int64_t length)
 {
 {
-  // TODO implement this
-  abort();
+  if(length == bitfieldMan->getTotalLength()) {
+    bitfieldMan->setAllBit();
+  } else {
+    int32_t numPiece = length/bitfieldMan->getBlockLength();
+    if(numPiece > 0) {
+      bitfieldMan->setBitRange(0, numPiece-1);
+    }
+    int32_t r = (length%bitfieldMan->getBlockLength())/Piece::BLOCK_LENGTH;
+    if(r > 0) {
+      PieceHandle p = new Piece(numPiece, bitfieldMan->getBlockLength(numPiece));
+      for(int32_t i = 0; i < r; ++i) {
+	p->completeBlock(i);
+      }
+      addUsedPiece(p);
+    }
+  }
 }
 }
 
 
 void DefaultPieceStorage::markPieceMissing(int32_t index)
 void DefaultPieceStorage::markPieceMissing(int32_t index)

+ 0 - 30
src/SegmentMan.cc

@@ -259,36 +259,6 @@ int32_t SegmentMan::calculateDownloadSpeed() const {
   return speed;
   return speed;
 }
 }
 
 
-void SegmentMan::markAllPiecesDone()
-{
-  _pieceStorage->markAllPiecesDone();
-}
-
-void SegmentMan::markPieceDone(int64_t length)
-{
-  // TODO implement this function later
-  /*
-  if(bitfield) {
-    if(length == bitfield->getTotalLength()) {
-      bitfield->setAllBit();
-    } else {
-      bitfield->clearAllBit();
-      int32_t numSegment = length/bitfield->getBlockLength();
-      int32_t remainingLength = length%bitfield->getBlockLength();
-      bitfield->setBitRange(0, numSegment-1);
-      if(remainingLength > 0) {
-	SegmentHandle segment = new Segment();
-	segment->index = numSegment;
-	segment->length = bitfield->getBlockLength(numSegment);
-	segment->segmentLength = bitfield->getBlockLength();
-	segment->writtenLength = remainingLength;
-	usedSegmentEntries.push_back(new SegmentEntry(0, segment));
-      }
-    }
-  }
-  */
-}
-
 SegmentEntryHandle SegmentMan::getSegmentEntryByIndex(int32_t index)
 SegmentEntryHandle SegmentMan::getSegmentEntryByIndex(int32_t index)
 {
 {
   for(SegmentEntries::const_iterator itr = usedSegmentEntries.begin();
   for(SegmentEntries::const_iterator itr = usedSegmentEntries.begin();

+ 0 - 4
src/SegmentMan.h

@@ -184,10 +184,6 @@ public:
    */
    */
   int32_t calculateDownloadSpeed() const;
   int32_t calculateDownloadSpeed() const;
 
 
-  void markAllPiecesDone();
-
-  void markPieceDone(int64_t length);
-
   int32_t countFreePieceFrom(int32_t index) const;
   int32_t countFreePieceFrom(int32_t index) const;
 };
 };
 
 

+ 30 - 2
test/DefaultPieceStorageTest.cc

@@ -25,6 +25,7 @@ class DefaultPieceStorageTest:public CppUnit::TestFixture {
   CPPUNIT_TEST(testGetPieceCompletedPiece);
   CPPUNIT_TEST(testGetPieceCompletedPiece);
   CPPUNIT_TEST(testGetMissingPiece_fileEntry);
   CPPUNIT_TEST(testGetMissingPiece_fileEntry);
   CPPUNIT_TEST(testCancelPiece);
   CPPUNIT_TEST(testCancelPiece);
+  CPPUNIT_TEST(testMarkPiecesDone);
   CPPUNIT_TEST_SUITE_END();
   CPPUNIT_TEST_SUITE_END();
 private:
 private:
   BtContextHandle btContext;
   BtContextHandle btContext;
@@ -62,6 +63,7 @@ public:
   void testGetPieceCompletedPiece();
   void testGetPieceCompletedPiece();
   void testGetMissingPiece_fileEntry();
   void testGetMissingPiece_fileEntry();
   void testCancelPiece();
   void testCancelPiece();
+  void testMarkPiecesDone();
 };
 };
 
 
 
 
@@ -264,6 +266,32 @@ void DefaultPieceStorageTest::testCancelPiece()
   // See the sub piece is also hibernated...
   // See the sub piece is also hibernated...
   PieceHandle p2 = ps->getMissingPiece(file1);
   PieceHandle p2 = ps->getMissingPiece(file1);
 
 
-  CPPUNIT_ASSERT(!p2->getSubPiece(0).isNull());
-  
+  CPPUNIT_ASSERT(!p2->getSubPiece(0).isNull());  
+}
+
+void DefaultPieceStorageTest::testMarkPiecesDone()
+{
+  int32_t pieceLength = 256*1024;
+  int64_t totalLength = 4*1024*1024;
+  MockBtContextHandle dctx = new MockBtContext();
+  dctx->setPieceLength(pieceLength);
+  dctx->setTotalLength(totalLength);
+
+  DefaultPieceStorage ps(dctx, option);
+
+  ps.markPiecesDone(pieceLength*10+16*1024*2+1);
+
+  for(int32_t i = 0; i < 10; ++i) {
+    CPPUNIT_ASSERT(ps.hasPiece(i));
+  }
+  for(int32_t i = 10; i < (totalLength+pieceLength-1)/pieceLength; ++i) {
+    CPPUNIT_ASSERT(!ps.hasPiece(i));
+  }
+  CPPUNIT_ASSERT_EQUAL((int64_t)pieceLength*10+16*1024*2, ps.getCompletedLength());
+
+  ps.markPiecesDone(totalLength);
+
+  for(int32_t i = 0; i < (totalLength+pieceLength-1)/pieceLength; ++i) {
+    CPPUNIT_ASSERT(ps.hasPiece(i));
+  }
 }
 }

部分文件因为文件数量过多而无法显示