mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Use buffer().B_() instead of translateIfPossible.
This commit is contained in:
parent
3f8de8fe92
commit
a14e3d9a5d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user