]> git.lyx.org Git - lyx.git/blobdiff - src/support/Messages.h
Strip gecos on Unix systems on user name only.
[lyx.git] / src / support / Messages.h
index 08500a9044fc61c15226110d27d3151b34505802..9ef8dc3ae9a0703516346eab43249bef6489dd56 100644 (file)
@@ -26,6 +26,8 @@ public:
        Messages(std::string const & l = std::string());
        ///
        docstring const get(std::string const & msg) const;
+       /// Is an (at least partial) translation of this language available?
+       bool available() const;
        ///
        static void init();
        ///
@@ -55,6 +57,9 @@ extern Messages const & getMessages(std::string const & language);
 /// Implementation is in LyX.cpp.
 extern Messages const & getGuiMessages();
 
+/// Remove the context suffix from \p trans
+extern void cleanTranslation(docstring & trans);
+
 } // namespace lyx
 
 #endif