X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgettext.h;h=0624d8be83ef5379ad9824fda22f73f3c9c3f24b;hb=2b378ca3fdbd701b0d5e350e1c6b22155c07a2dc;hp=724d6e4ea0fb9b2d371c4cbef176e22317b2d0e0;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/gettext.h b/src/gettext.h index 724d6e4ea0..0624d8be83 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -15,8 +15,6 @@ #include "support/docstring.h" -#include - namespace lyx { @@ -63,6 +61,13 @@ docstring const _(std::string const &); # define N_(str) (str) // for detecting static strings +/** + * Translate \p name 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); + /// void locale_init();