]> git.lyx.org Git - lyx.git/commitdiff
make index label translatable
authorBo Peng <bpeng@lyx.org>
Sun, 16 Sep 2007 14:43:10 +0000 (14:43 +0000)
committerBo Peng <bpeng@lyx.org>
Sun, 16 Sep 2007 14:43:10 +0000 (14:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20318 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetIndex.cpp

index b2ba741c2bf37f50e6abf368c28c41ecb7e2f51c..b29978d48abee1141ca48a0f109ffbc7355e7713 100644 (file)
@@ -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 += "...";