The branch, master, has been updated. - Log -----------------------------------------------------------------
commit a14e3d9a5da4b51f557124cec5a70afbcf291d02 Author: Julien Rioux <[email protected]> Date: Mon Jan 14 17:25:28 2013 +0100 Use buffer().B_() instead of translateIfPossible. diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index 8d397d6..04d8d25 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -23,7 +23,6 @@ #include "Format.h" #include "FuncRequest.h" #include "FuncStatus.h" -#include "Language.h" #include "LaTeXFeatures.h" #include "output_xhtml.h" #include "OutputParams.h" @@ -939,10 +938,7 @@ docstring InsetBibtex::xhtml(XHTMLStream & xs, OutputParams const &) const CiteEngineType const engine_type = buffer().params().citeEngineType(); bool const numbers = (engine_type == ENGINE_TYPE_NUMERICAL); - docstring reflabel = from_ascii("References"); - Language const * l = buffer().params().language; - if (l) - reflabel = translateIfPossible(reflabel, l->code()); + docstring const reflabel = buffer().B_("References"); xs << html::StartTag("h2", "class='bibtex'") << reflabel ----------------------------------------------------------------------- Summary of changes: src/insets/InsetBibtex.cpp | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) hooks/post-receive -- The LyX Source Repository
