mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
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:
parent
ead66c0679
commit
6b887d8b0f
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user