]> git.lyx.org Git - lyx.git/blobdiff - src/support/Messages.h
Provide option to prevent unnecessary font loading.
[lyx.git] / src / support / Messages.h
index dd24e1c5fccc29b8fba98c90d9f43d9bc26ead6f..9f33d45e6fd610662da8d73cd534fc0d40c7dc7d 100644 (file)
@@ -25,8 +25,11 @@ public:
        Messages() {}
        /// messages in the language \p l.
        Messages(std::string const & l);
-       ///
+       /// Return the translation 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?