mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
make index label translatable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20318 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2876db148e
commit
6258199fe8
@ -36,7 +36,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 += "...";
|
||||
|
Loading…
Reference in New Issue
Block a user