wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src/serialization parser.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src/serialization parser.cpp
Date: Sat, 07 May 2005 10:31:06 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/05/07 14:31:06

Modified files:
        src/serialization: parser.cpp 

Log message:
        Be a bit more verbose.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/serialization/parser.cpp.diff?tr1=1.16&tr2=1.17&r1=text&r2=text

Patches:
Index: wesnoth/src/serialization/parser.cpp
diff -u wesnoth/src/serialization/parser.cpp:1.16 
wesnoth/src/serialization/parser.cpp:1.17
--- wesnoth/src/serialization/parser.cpp:1.16   Wed Apr 27 22:17:37 2005
+++ wesnoth/src/serialization/parser.cpp        Sat May  7 14:31:06 2005
@@ -1,4 +1,4 @@
-/* $Id: parser.cpp,v 1.16 2005/04/27 22:17:37 silene Exp $ */
+/* $Id: parser.cpp,v 1.17 2005/05/07 14:31:06 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Copyright (C) 2005 by Guillaume Melquiond <address@hidden>
@@ -183,8 +183,9 @@
                if(elname != elements.top().name) {
                        utils::string_map i18n_symbols;
                        i18n_symbols["tag"] = elements.top().name;
+                       i18n_symbols["tag2"] = elname;
                        error(lineno_string(i18n_symbols, 
elements.top().start_line,
-                                       N_("Found invalid closing tag for tag 
$tag at $pos")));
+                                       N_("Found invalid closing tag $tag2 for 
tag $tag (opened at $pos)")));
                }
 
                elements.pop();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]