]> git.lyx.org Git - lyx.git/blobdiff - src/support/Messages.h
Fix layout bug. Pasting text into a cell tried to set Standard layout, because
[lyx.git] / src / support / Messages.h
index cb6af76e924ec3da72cf46d072407057b778ce7b..12a5b40e800d1146f82bda3a3ce406d42e8f6182 100644 (file)
@@ -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?