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

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

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


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/src game.cpp
Date: Thu, 02 Sep 2004 11:22:19 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    04/09/02 15:17:32

Modified files:
        src            : game.cpp 

Log message:
        bind to wesnoth-lib textdomain as well

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

Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.122 wesnoth/src/game.cpp:1.123
--- wesnoth/src/game.cpp:1.122  Mon Aug 30 01:23:16 2004
+++ wesnoth/src/game.cpp        Thu Sep  2 15:17:32 2004
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.122 2004/08/30 01:23:16 Sirp Exp $ */
+/* $Id: game.cpp,v 1.123 2004/09/02 15:17:32 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1121,8 +1121,11 @@
 
        const std::string& intl_dir = get_intl_dir();
        bindtextdomain (PACKAGE, intl_dir.c_str());
-       textdomain (PACKAGE);
        bind_textdomain_codeset (PACKAGE, "UTF-8");
+       bindtextdomain (PACKAGE "-lib", intl_dir.c_str());
+       bind_textdomain_codeset (PACKAGE "-lib", "UTF-8");
+
+       textdomain (PACKAGE);
 
        try {
                std::cerr << "started game: " << SDL_GetTicks() << "\n";




reply via email to

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