summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-09-11 12:59:43 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-09-11 12:59:43 +0000
commit81de583a63ac7a24d7e2b8fe8fffcf97a8f295ad (patch)
treea69a1653aa86d16515737e8f16ac4af0bcc7c832
parent97ffdf3eb2baac3fafca86cc442ba5aedd3ae35b (diff)
2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated message when a path is not a file. Updated common message for wrong option. * src/OptionHandlerException.cc * src/message.h
-rw-r--r--ChangeLog7
-rw-r--r--src/OptionHandlerException.cc2
-rw-r--r--src/message.h2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c8a17c6..7c04404c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
+
+ Updated message when a path is not a file. Updated common message
+ for wrong option.
+ * src/OptionHandlerException.cc
+ * src/message.h
+
2009-09-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use File::isFile() instead of File::exists(). Updated message when
diff --git a/src/OptionHandlerException.cc b/src/OptionHandlerException.cc
index eb252e00..f1914f70 100644
--- a/src/OptionHandlerException.cc
+++ b/src/OptionHandlerException.cc
@@ -38,7 +38,7 @@
namespace aria2 {
const std::string OptionHandlerException::MESSAGE
-("Exception occurred while processing option %s:");
+("We encountered a problem while processing the option '--%s'.");
OptionHandlerException::OptionHandlerException(const char* file, int line,
const std::string& optName):
diff --git a/src/message.h b/src/message.h
index 763b1418..da337959 100644
--- a/src/message.h
+++ b/src/message.h
@@ -174,7 +174,7 @@
#define MSG_GID_NOT_PROVIDED "GID is not provided."
#define MSG_CANNOT_PARSE_XML_RPC_REQUEST "Failed to parse xml-rpc request."
#define MSG_GOOD_BYE_SEEDER "Client is in seed state: Good Bye Seeder;)"
-#define MSG_NOT_FILE "'%s' is not a file."
+#define MSG_NOT_FILE "Is '%s' a regular file?"
#define EX_TIME_OUT _("Timeout.")
#define EX_INVALID_CHUNK_SIZE _("Invalid chunk size.")