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

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

[Wesnoth-cvs-commits] wesnoth/src dialogs.cpp


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/src dialogs.cpp
Date: Fri, 03 Sep 2004 05:25:27 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    04/09/03 09:20:31

Modified files:
        src            : dialogs.cpp 

Log message:
        use macro to make it easier to eventually switch textdomain

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/dialogs.cpp.diff?tr1=1.52&tr2=1.53&r1=text&r2=text

Patches:
Index: wesnoth/src/dialogs.cpp
diff -u wesnoth/src/dialogs.cpp:1.52 wesnoth/src/dialogs.cpp:1.53
--- wesnoth/src/dialogs.cpp:1.52        Thu Sep  2 15:41:09 2004
+++ wesnoth/src/dialogs.cpp     Fri Sep  3 09:20:31 2004
@@ -1,4 +1,4 @@
-/* $Id: dialogs.cpp,v 1.52 2004/09/02 15:41:09 ydirson Exp $ */
+/* $Id: dialogs.cpp,v 1.53 2004/09/03 09:20:31 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -441,7 +441,7 @@
 
                        std::vector<gui::check_item> options;
                        options.push_back(gui::check_item(_("Don't ask me 
again!"),false));
-                       const int res = 
gui::show_dialog(disp,NULL,gettext(caption),gettext(message),
+                       const int res = 
gui::show_dialog(disp,NULL,_(caption),_(message),
                                                         
gui::YES_NO,NULL,NULL,"",NULL,NULL,&options);
 
                        generate_summaries = res == 0;




reply via email to

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