mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 17:39:58 +00:00
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:
parent
171fb900e4
commit
648f1b1a97
@ -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 += "...";
|
||||
|
Loading…
Reference in New Issue
Block a user