Mercurial > hg > octave-nkf
diff libinterp/interpfcn/defaults.in.h @ 15971:e27d9b9b71f4
gui: install translation files into $(datadir)/octave/$(version)/locale
* build-aux/common.mk: define octlocaledir
* configure.ac: default for octlocaledir is '$(datadir)/octave/$(version)/locale
* libgui/Makefile.am: octlocale_DATA is the list of translation files
* libinterp/interpfcn/defaults.cc: define Voct_locale_dir
* libinterp/interpfcn/defaults.cc(set_default_oct_locale_dir): new function;
* libinterp/interpfcn/defaults.cc(install_defaults):
call set_default_oct_locale_dir ()
* libinterp/interpfcn/defaults.in.h: define OCTAVE_OCTLOCALEDIR,
declare Voct_locale_dir
* run-octave.in: set OCTAVE_LOCALE_DIR to $top_srcdir/libgui/languages
* libgui/languages/generic.*: renamed into en_US.*
* libgui/languages/translators: updated comment related to generic file
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 19 Jan 2013 16:21:46 +0100 |
parents | bf0857c789f4 |
children | 5b2126a8c84f |
line wrap: on
line diff
--- a/libinterp/interpfcn/defaults.in.h +++ b/libinterp/interpfcn/defaults.in.h @@ -156,6 +156,10 @@ #define OCTAVE_OCTETCDIR %OCTAVE_OCTETCDIR% #endif +#ifndef OCTAVE_OCTLOCALEDIR +#define OCTAVE_OCTLOCALEDIR %OCTAVE_OCTLOCALEDIR% +#endif + #ifndef OCTAVE_OCTINCLUDEDIR #define OCTAVE_OCTINCLUDEDIR %OCTAVE_OCTINCLUDEDIR% #endif @@ -195,6 +199,7 @@ extern OCTINTERP_API std::string Vlocal_fcn_file_dir; extern OCTINTERP_API std::string Voct_etc_dir; +extern OCTINTERP_API std::string Voct_locale_dir; extern OCTINTERP_API std::string Voct_file_dir; extern OCTINTERP_API std::string Vfcn_file_dir;