]> git.lyx.org Git - lyx.git/commitdiff
Fix bug #6175: Footnotes in title not translated.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 24 Aug 2009 23:29:37 +0000 (23:29 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 24 Aug 2009 23:29:37 +0000 (23:29 +0000)
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

index 6358e06e52d4453e4c4e288b87d066f9c85f26e4..7727729d0016b3d5c0f07965a74110b8b8e679ce 100644 (file)
@@ -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_;
 }