From: Vincent van Ravesteijn Date: Mon, 24 Aug 2009 23:29:37 +0000 (+0000) Subject: Fix bug #6175: Footnotes in title not translated. X-Git-Tag: 2.0.0~5592 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=efc0435157bb3be78f6bd2c9ff44bfe934bded10;p=lyx.git Fix bug #6175: Footnotes in title not translated. see the bug for details. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31224 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index 6358e06e52..7727729d00 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -575,7 +575,8 @@ void InsetCollapsable::setLabel(docstring const & l) docstring const InsetCollapsable::buttonLabel(BufferView const &) const { - return labelstring_.empty() ? getLayout().labelstring() : labelstring_; + return labelstring_.empty() ? + translateIfPossible(getLayout().labelstring()) : labelstring_; }