]> git.lyx.org Git - features.git/commit
Implement native reading of mo files.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 8 May 2013 16:50:38 +0000 (18:50 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 30 May 2013 20:10:01 +0000 (22:10 +0200)
commit19024f725533b3dcdeddc318119e1379eb2c6837
treefc800e646be17e4da906f6ee403c9bc205abc08c
parent39a65bfb9444b9aad0503472e8545dd34554346f
Implement native reading of mo files.

Get the default language by a mix of QLocale and LyXRC::gui_language

Known limitations:
   * encoding is supposed to be UTF-8 (the charset parameter is checked);
   * context is not handled (implemented differently in LyX);
   * plural forms not implemented (not used for now in LyX);.
   * tThe byte endianness of the machine on which the .mo file have been
     built is expected to be the same as the one of the machine where this
     code is run.
src/LyX.cpp
src/frontends/Application.h
src/frontends/qt4/GuiApplication.cpp
src/support/Messages.cpp
src/support/Messages.h
src/support/gettext.cpp
src/support/gettext.h