From: Matthew G. <mat...@us...> - 2007-10-24 02:09:59
|
Update of /cvsroot/jsbsimcommander/src In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15837/src Modified Files: Commander.cpp Makefile.am MyApp.cpp Added Files: config.h.in Log Message: I18N support. Index: Commander.cpp =================================================================== RCS file: /cvsroot/jsbsimcommander/src/Commander.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Commander.cpp 25 Sep 2007 14:15:32 -0000 1.7 --- Commander.cpp 24 Oct 2007 02:09:47 -0000 1.8 *************** *** 75,79 **** m_locale.Init(wxLANGUAGE_DEFAULT); // Initialize the catalogs we'll be using ! m_locale.AddCatalog(wxT("JSBSimCommander")); Delimited = wxFileName::GetPathSeparator(); --- 75,79 ---- m_locale.Init(wxLANGUAGE_DEFAULT); // Initialize the catalogs we'll be using ! m_locale.AddCatalog(wxT("jsbsimcommander")); Delimited = wxFileName::GetPathSeparator(); Index: Makefile.am =================================================================== RCS file: /cvsroot/jsbsimcommander/src/Makefile.am,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Makefile.am 24 Jan 2007 00:18:51 -0000 1.7 --- Makefile.am 24 Oct 2007 02:09:47 -0000 1.8 *************** *** 11,14 **** --- 11,18 ---- -I$(top_srcdir)/src/gui ${WX_CXXFLAGS} + noinst_LIBRARIES = libJSBSim.a + + libJSBSim_a_SOURCES = FGJSBBase.cpp + bin_PROGRAMS = Commander JSBSimCommander *************** *** 69,76 **** $(COMMANDER_RES) - noinst_LIBRARIES = libJSBSim.a - - libJSBSim_a_SOURCES = FGJSBBase.cpp - noinst_HEADERS = initprops.h FGJSBBase.h MyApp.h --- 73,76 ---- --- NEW FILE: config.h.in --- /* src/config.h.in. Generated from configure.in by autoheader. */ /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYCURRENT /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the <float.h> header file. */ #undef HAVE_FLOAT_H /* Define to 1 if you have the `floor' function. */ #undef HAVE_FLOOR /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define if you have the iconv() function. */ #undef HAVE_ICONV /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #undef HAVE_MALLOC /* Define to 1 if you have the `memmove' function. */ #undef HAVE_MEMMOVE /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the `pow' function. */ #undef HAVE_POW /* Define to 1 if you have the `sqrt' function. */ #undef HAVE_SQRT /* Define to 1 if stdbool.h conforms to C99. */ #undef HAVE_STDBOOL_H /* Define to 1 if you have the <stddef.h> header file. */ #undef HAVE_STDDEF_H /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP /* Define to 1 if you have the <strings.h> header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strtol' function. */ #undef HAVE_STRTOL /* Define to 1 if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL /* Name of gettext locale directory */ #undef LOCALEDIR /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if your <sys/time.h> declares `struct tm'. */ #undef TM_IN_SYS_TIME /* Version number of package */ #undef VERSION /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc /* Define to `unsigned int' if <sys/types.h> does not define. */ #undef size_t Index: MyApp.cpp =================================================================== RCS file: /cvsroot/jsbsimcommander/src/MyApp.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MyApp.cpp 25 Sep 2007 14:13:28 -0000 1.5 --- MyApp.cpp 24 Oct 2007 02:09:47 -0000 1.6 *************** *** 65,69 **** m_locale.Init(wxLANGUAGE_DEFAULT); // Initialize the catalogs we'll be using ! m_locale.AddCatalog(wxT("JSBSimCommander")); Delimited = wxFileName::GetPathSeparator(); --- 65,69 ---- m_locale.Init(wxLANGUAGE_DEFAULT); // Initialize the catalogs we'll be using ! m_locale.AddCatalog(wxT("jsbsimcommander")); Delimited = wxFileName::GetPathSeparator(); |