X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fgettext.h;h=7500088c9e761e974bba3b90b711e2205260eb49;hb=51c380440b0b2d5f04158e67047727ba1f985dc4;hp=bbec30a24ae6c073ff289d7f84a0809677d68a73;hpb=9d0ea8aeff32833a90b3fe64df0c5518a9e241be;p=lyx.git diff --git a/src/support/gettext.h b/src/support/gettext.h index bbec30a24a..7500088c9e 100644 --- a/src/support/gettext.h +++ b/src/support/gettext.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author Jean-Marc Lasgouttes * * Full author contact details are available in file CREDITS. @@ -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();