use new docstring += operator

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15275 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-10-08 09:56:41 +00:00
parent ead66c0679
commit 6b887d8b0f
2 changed files with 3 additions and 3 deletions

View File

@ -150,7 +150,7 @@ void InsetBox::setButtonLabel()
docstring label;
// FIXME UNICODE
label += _("Box");
label += lyx::from_utf8(" (");
label += " (";
if (btype == Frameless) {
if (params_.use_parbox)
label += _("Parbox");
@ -159,7 +159,7 @@ void InsetBox::setButtonLabel()
} else
// FXIME unicode
label += lyx::from_utf8(boxtranslator_loc().find(btype));
label += lyx::from_utf8(")");
label += ")";
setLabel(label);

View File

@ -264,7 +264,7 @@ docstring const InsetCollapsable::getNewLabel(docstring const & l) const
++i;
}
if (paragraphs().size() > 1 || (i > 0 && j < p_siz)) {
label += lyx::from_utf8("...");
label += "...";
}
return label.empty() ? l : label;
}