]> git.lyx.org Git - lyx.git/blobdiff - src/support/Messages.h
Remove support for gcc 4.6
[lyx.git] / src / support / Messages.h
index dd24e1c5fccc29b8fba98c90d9f43d9bc26ead6f..eb14aacac59df53c166c149e43303e46e6aa72e9 100644 (file)
@@ -25,8 +25,11 @@ public:
        Messages() {}
        /// messages in the language \p l.
        Messages(std::string const & l);
-       ///
+       /// Return the tranlation of message \c msg, or the original
+       /// string if no context was found. Context is always removed.
        docstring const get(std::string const & msg) const;
+       ///
+       docstring const getIfFound(std::string const & msg) const;
        /// What is the language associated with this translation?
        std::string language() const;
        /// Is an (at least partial) translation of language with code \p c available?