]> git.lyx.org Git - lyx.git/commit
Read the right .gmo files when running in place
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 14 May 2013 14:35:34 +0000 (16:35 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 30 May 2013 20:10:01 +0000 (22:10 +0200)
commit149b574b07f20bdd13c34d8d56a0bc4b91eea5a2
tree7fac00395a85457a2d9a4f555eed8414aab620e6
parenta3c864102aaeef6ed58f00b92e6b53ca1d6f9b1e
Read the right .gmo files when running in place

With gettext, we have been forced to install .mo files at the right place in order to read them. Now that we have our code, the situation changes.

* Add new method Package::messages_file(code), when returns the right path, depending on whether we are running in place.
* In Messages class use that intead of the existing one.
README.localization
src/support/Messages.cpp
src/support/Package.cpp
src/support/Package.h