From efc0435157bb3be78f6bd2c9ff44bfe934bded10 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Mon, 24 Aug 2009 23:29:37 +0000 Subject: [PATCH] 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 --- src/insets/InsetCollapsable.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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_; } -- 2.39.5