It would be better to get the paragraph language here. How to do that?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35386
a592a061-630c-0410-9148-
cb99ea01b6c8
#include "Format.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "Format.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "LaTeXFeatures.h"
#include "output_xhtml.h"
#include "OutputParams.h"
#include "LaTeXFeatures.h"
#include "output_xhtml.h"
#include "OutputParams.h"
bool const numbers =
(engine == ENGINE_BASIC || engine == ENGINE_NATBIB_NUMERICAL);
bool const numbers =
(engine == ENGINE_BASIC || engine == ENGINE_NATBIB_NUMERICAL);
+ docstring reflabel = from_ascii("References");
+ Language const * l = buffer().params().language;
+ if (l)
+ reflabel = translateIfPossible(reflabel, l->code());
+
xs << html::StartTag("h2", "class='bibtex'")
xs << html::StartTag("h2", "class='bibtex'")
<< html::EndTag("h2")
<< html::StartTag("div", "class='bibtex'");
<< html::EndTag("h2")
<< html::StartTag("div", "class='bibtex'");