summaryrefslogtreecommitdiff
path: root/xml2cmp
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2010-10-14 22:26:49 -0700
committerMichael Meeks <michael.meeks@novell.com>2010-10-15 18:27:11 +0100
commitf7a83e76bc83d0c1558f26dff894f3558592001e (patch)
tree10870e891f1610160adefec16d9aeaa154f26694 /xml2cmp
parent4d30744f9130b04668c06bacea469571c1be3bae (diff)
Better English messages and comments in ure/xml2cmp
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
Diffstat (limited to 'xml2cmp')
-rw-r--r--xml2cmp/source/support/sistr.hxx4
-rw-r--r--xml2cmp/source/xcd/main.cxx4
-rw-r--r--xml2cmp/source/xcd/parse.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/xml2cmp/source/support/sistr.hxx b/xml2cmp/source/support/sistr.hxx
index e2fff0d67238..a7f747ead017 100644
--- a/xml2cmp/source/support/sistr.hxx
+++ b/xml2cmp/source/support/sistr.hxx
@@ -51,8 +51,8 @@ class Simstr
// diverse utility functions
const char * str() const { return sz; }
- char * s(); // ATTENTION !!! // Only to be used, when a function needs a 'char*' but
- // nevertheless THAT WILL BE NOT CHANGED!
+ char * s(); // CAUTION!!! // Only use when a function needs a 'char*' but
+ // still will NOT MODIFY THE STRING!
// Typecasts to 'const char*' are performed automatically.
int l() const; // Length of string without '\0' at end.
Simstr operator+(
diff --git a/xml2cmp/source/xcd/main.cxx b/xml2cmp/source/xcd/main.cxx
index 0a0cd26851d4..5e92bbe558dc 100644
--- a/xml2cmp/source/xcd/main.cxx
+++ b/xml2cmp/source/xcd/main.cxx
@@ -134,10 +134,10 @@ Do_IndexCommandLine(const CommandLine & i_rCommandLine)
i_rCommandLine.IdlRootPath(),
i_rCommandLine.IndexedTags() );
- std::cout << "Gather xml-files ..." << std::endl;
+ std::cout << "Gathering xml-files ..." << std::endl;
GatherFileNames( aFiles, i_rCommandLine.XmlSrcDirectory() );
- std::cout << "Create output ..." << std::endl;
+ std::cout << "Creating output ..." << std::endl;
aIndex.GatherData(aFiles);
aIndex.WriteOutput( i_rCommandLine.IndexOutputFile() );
diff --git a/xml2cmp/source/xcd/parse.cxx b/xml2cmp/source/xcd/parse.cxx
index 25bf083339f2..454abb46d1ce 100644
--- a/xml2cmp/source/xcd/parse.cxx
+++ b/xml2cmp/source/xcd/parse.cxx
@@ -216,7 +216,7 @@ X2CParser::Parse_SglAttr( Simstr & o_sAttrValue,
Pass_White();
if (*text == '>')
- SyntaxError("no attribute found, where one was expected");
+ SyntaxError("no attribute found where one was expected");
Simstr sAttrName;
Get_Attribute(o_sAttrValue, sAttrName);
if (sAttrName != i_sAttrName)