]> git.lyx.org Git - lyx.git/blobdiff - src/support/gettext.h
Constify some catches and others
[lyx.git] / src / support / gettext.h
index 746b68281390982de2abb2c15dadc7c59a174611..7500088c9e761e974bba3b90b711e2205260eb49 100644 (file)
@@ -62,11 +62,17 @@ docstring const _(std::string const &);
 #  define N_(str) (str)              // for detecting static strings
 
 /**
- * Translate \p name if it is possible.
+ * Translate \p name to the GUI language if it is possible.
  * This should be used to translate strings that come from configuration
  * files like .ui files. These strings could already be in the native
  * language if they come from a file in the personal directory. */
 docstring const translateIfPossible(docstring const & name);
+/**
+ * Translate \p name to \p language if it is possible.
+ * This should be used to translate strings that come from configuration
+ * files like .ui files. These strings could already be in the native
+ * language if they come from a file in the personal directory. */
+docstring const translateIfPossible(docstring const & name, std::string const & language);
 
 ///
 void locale_init();