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

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

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


From: David White
Subject: [Wesnoth-cvs-commits] wesnoth/src language.cpp
Date: Sat, 02 Oct 2004 16:03:23 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <address@hidden>    04/10/02 19:56:49

Modified files:
        src            : language.cpp 

Log message:
        added internationalization parameter for OSX

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

Patches:
Index: wesnoth/src/language.cpp
diff -u wesnoth/src/language.cpp:1.50 wesnoth/src/language.cpp:1.51
--- wesnoth/src/language.cpp:1.50       Sun Sep 19 20:22:02 2004
+++ wesnoth/src/language.cpp    Sat Oct  2 19:56:49 2004
@@ -1,4 +1,4 @@
-/* $Id: language.cpp,v 1.50 2004/09/19 20:22:02 ziberpunk Exp $ */
+/* $Id: language.cpp,v 1.51 2004/10/02 19:56:49 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -117,6 +117,8 @@
 #ifdef __APPLE__
        if(setenv ("LANGUAGE", locale, 1) == -1)
                std::cerr << "setenv LANGUAGE failed: " << strerror(errno);
+       if(setenv ("LC_ALL", locale, 1) == -1)
+               std::cerr << "setenv LC_ALL failed: " << strerror(errno);
 #endif 
 
        char* res = setlocale (category, locale);




reply via email to

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