mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 07:03:32 +00:00
remove the gettext markup from the TOC string again. It might cause trouble on string comparision. This does not affect the fix for bug 1870, only the string is now untranslatable again. Will find a better solution for 1.4.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10151 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2c5b7376a9
commit
f565a76740
@ -1,3 +1,10 @@
|
||||
2005-07-08 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* toc.C: remove the gettext markup from the TOC string again.
|
||||
It might cause trouble on string comparision. This does not
|
||||
affect the fix for bug 1870, only the string is now untranslatable again.
|
||||
Will find a better solution for 1.4.
|
||||
|
||||
2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* toc.[Ch]: new method getGuiName, which is used by the frontends
|
||||
|
@ -60,7 +60,7 @@ string const getType(string const & cmdName)
|
||||
{
|
||||
// special case
|
||||
if (cmdName == "tableofcontents")
|
||||
return _("TOC");
|
||||
return "TOC";
|
||||
else
|
||||
return cmdName;
|
||||
}
|
||||
@ -101,7 +101,7 @@ TocList const getTocList(Buffer const * buf)
|
||||
const int depth = max(0, labeltype - textclass.maxcounter());
|
||||
TocItem const item(par->id(), depth,
|
||||
par->asString(buf, true));
|
||||
toclist[_("TOC")].push_back(item);
|
||||
toclist["TOC"].push_back(item);
|
||||
}
|
||||
|
||||
// For each paragraph, traverse its insets and look for
|
||||
|
Loading…
x
Reference in New Issue
Block a user