]> git.lyx.org Git - features.git/blobdiff - src/support/Messages.h
more latin1..utf8 schanges. all of src/* should be utf8 now
[features.git] / src / support / Messages.h
index cb6af76e924ec3da72cf46d072407057b778ce7b..be94ec83c1609b222acdbebff06dc4bacd5afa4e 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -28,7 +28,14 @@ public:
        docstring const get(std::string const & msg) const;
        ///
        static void init();
+       ///
+       static std::string const & defaultLanguage() { return main_lang_; }
+
 private:
+       ///
+       static void setDefaultLanguage();
+       ///
+       static std::string main_lang_;
        ///
        std::string lang_;
        /// Did we warn about unavailable locale already?