|
From: <ma...@us...> - 2003-11-30 18:56:49
|
Update of /cvsroot/sharedaemon/ui-wx/src
In directory sc8-pr-cvs1:/tmp/cvs-serv7171
Modified Files:
wxInterface.cpp
Log Message:
Spanish added to SupportedLangs()
Index: wxInterface.cpp
===================================================================
RCS file: /cvsroot/sharedaemon/ui-wx/src/wxInterface.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- wxInterface.cpp 27 Nov 2003 08:23:12 -0000 1.7
+++ wxInterface.cpp 30 Nov 2003 18:56:45 -0000 1.8
@@ -165,6 +165,7 @@
supportedlangs.Add(wxT("Default"));
supportedlangs.Add(wxT("German"));
supportedlangs.Add(wxT("Estonian"));
+ supportedlangs.Add(wxT("Spanish"));
m_config->SetPath(wxT("/General/Lang"));
@@ -263,6 +264,8 @@
return wxLANGUAGE_GERMAN;
} else if (lang == wxT("Estonian")) {
return wxLANGUAGE_ESTONIAN;
+ } else if (lang == wxT("Spanish")) {
+ return wxLANGUAGE_SPANISH;
} else {
return wxLANGUAGE_DEFAULT;
}
|