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
This commit is contained in:
Vincent van Ravesteijn 2009-08-24 23:29:37 +00:00
parent a6ff55e539
commit efc0435157

View 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_;
}