From 4be96ee78af85fe6ae7e9b54dc3c400eb843b67b Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 18 Mar 2013 19:47:17 -0400 Subject: [PATCH] Make things a little better with respect to bug #8587. (cherry picked from commit fbe9e96b5eac2d2c3748272d63731437e820e782) --- src/insets/InsetRef.cpp | 6 ++++-- status.20x | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index d38e9645db..6571ba7f99 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -217,8 +217,10 @@ docstring InsetRef::xhtml(XHTMLStream & xs, OutputParams const &) const // normally, would be "ref on page #", but we have no pages display_string = value; else if (cmd == "pageref" || cmd == "vpageref") - // normally would be "on page #", but we have no pages - display_string = _("elsewhere"); + // normally would be "on page #", but we have no pages. + // FIXME this is wrong, as it should be the current language, + // but it is better than _(), which is what we had before. + display_string = buffer().B_("elsewhere"); else if (cmd == "eqref") display_string = '(' + value + ')'; else if (cmd == "formatted" diff --git a/status.20x b/status.20x index ca3e680126..b23a76f41b 100644 --- a/status.20x +++ b/status.20x @@ -116,6 +116,10 @@ What's new - Reset counters properly when outputting included XHTML files (bug 8598). +- Translate "elsewhere" to the Buffer language when outputting XHTML. + This is not quite right, but it is better than translating it to the + UI language (partial fix for #8587). + * USER INTERFACE -- 2.39.5