Make things a little better with respect to bug #8587.

(cherry picked from commit fbe9e96b5e)
This commit is contained in:
Richard Heck 2013-03-18 19:47:17 -04:00
parent dd10053a6e
commit 4be96ee78a
2 changed files with 8 additions and 2 deletions

View File

@ -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"

View File

@ -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