Browse Source

[trac555] Ensure text of messages starts with lowercase character

Stephen Morris 14 years ago
parent
commit
1a32f61caf
3 changed files with 8 additions and 8 deletions
  1. 4 4
      src/lib/log/messagedef.cc
  2. 1 1
      src/lib/log/messagedef.h
  3. 3 3
      src/lib/log/messagedef.mes

+ 4 - 4
src/lib/log/messagedef.cc

@@ -1,4 +1,4 @@
-// File created from messagedef.mes on Fri May 27 12:15:25 2011
+// File created from messagedef.mes on Fri May 27 14:49:45 2011
 
 #include <cstddef>
 #include <log/message_types.h>
@@ -34,9 +34,9 @@ extern const isc::log::MessageID MSG_WRITERR = "MSG_WRITERR";
 namespace {
 
 const char* values[] = {
-    "MSG_BADDESTINATION", "Unrecognized log destination: %1",
-    "MSG_BADSEVERITY", "Unrecognized log severity: %1",
-    "MSG_BADSTREAM", "Bad log console output stream: %1",
+    "MSG_BADDESTINATION", "unrecognized log destination: %1",
+    "MSG_BADSEVERITY", "unrecognized log severity: %1",
+    "MSG_BADSTREAM", "bad log console output stream: %1",
     "MSG_DUPLNS", "line %1: duplicate $NAMESPACE directive found",
     "MSG_DUPMSGID", "duplicate message ID (%1) in compiled code",
     "MSG_IDNOTFND", "could not replace message text for '%1': no such message",

+ 1 - 1
src/lib/log/messagedef.h

@@ -1,4 +1,4 @@
-// File created from messagedef.mes on Fri May 27 12:15:25 2011
+// File created from messagedef.mes on Fri May 27 14:49:45 2011
 
 #ifndef __MESSAGEDEF_H
 #define __MESSAGEDEF_H

+ 3 - 3
src/lib/log/messagedef.mes

@@ -118,14 +118,14 @@ the named output file.
 A line starting with a dollar symbol was found, but the first word on the line
 (shown in the message) was not a recognised message compiler directive.
 
-% BADSEVERITY   Unrecognized log severity: %1
+% BADSEVERITY   unrecognized log severity: %1
 A logger severity value was given that was not recognized. The severity
 should be one of "DEBUG", "INFO", "WARN", "ERROR", or "FATAL".
 
-% BADDESTINATION Unrecognized log destination: %1
+% BADDESTINATION unrecognized log destination: %1
 A logger destination value was given that was not recognized. The
 destination should be one of "console", "file", or "syslog".
 
-% BADSTREAM Bad log console output stream: %1
+% BADSTREAM     bad log console output stream: %1
 A log console output stream was given that was not recognized. The
 output stream should be one of "stdout", or "stderr"