Commit Graph

5 Commits

Author SHA1 Message Date
Georg Baum
8c45279696 Let lyx2lyx create a proper TOC inset
Now that \lstlistoflistings is supported by InsetTOC, we should use that
instead of ERT. I could have updated the file format and directly used an
InsetTOC instead, but I was too lazy.
2012-04-18 20:44:33 +02:00
Georg Baum
a2e8cb758b Translations for listings insets
The listings inset and include inset of type listings use two english terms
that are not localized yet: "Listing" for the caption and "Listings" for the
list of listings (not supported natively by LyX yet). The existing layout
translation mechanism has been extended to translate these terms as well:

1) Support [[stuff]] context in lib/layouttranslations
2) Support BabelPreamble and LangPreamble in InsetLayout
3) Use a InsetLayout for InsetInclude of type listings
4) Define BabelPreamble and LangPreamble in the layouts for InsetInclude
   and InsetListings
2012-04-10 20:21:01 +02:00
Pavel Sanda
904557f455 * kill babelized strings from localization_test.lyx and let only stuff translated by LyX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38298 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-07 00:00:56 +00:00
Pavel Sanda
d4bfd3e22e Forgot correct language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38172 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-31 00:39:38 +00:00
Pavel Sanda
a56413be62 Add example file on which can be easily tested most of our translation machinery.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38170 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-31 00:30:53 +00:00