make index label translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20317 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-09-16 14:42:56 +00:00
parent 171fb900e4
commit 648f1b1a97

View File

@ -41,7 +41,7 @@ docstring const InsetIndex::getScreenLabel(Buffer const &) const
{
size_t const maxLabelChars = 25;
docstring label = "Idx:" + getParam("name");
docstring label = _("Idx: ") + getParam("name");
if (label.size() > maxLabelChars) {
label.erase(maxLabelChars - 3);
label += "...";