]> git.lyx.org Git - features.git/commit
Translations for listings insets
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 10 Apr 2012 18:21:01 +0000 (20:21 +0200)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 10 Apr 2012 18:21:01 +0000 (20:21 +0200)
commita2e8cb758b70269da40d13d7b272d256a29a022a
treec430da4c9c54d49d293deb7d78eb76f70958f39a
parent8961be22ec3cb4fd6a001d27aab8d2e339a8aa15
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
18 files changed:
lib/doc/Customization.lyx
lib/examples/localization_test.lyx
lib/layouts/stdinsets.inc
lib/layouttranslations
lib/scripts/layout2layout.py
po/lyx_pot.py
src/LaTeXFeatures.cpp
src/Language.cpp
src/Layout.cpp
src/Layout.h
src/TextClass.cpp
src/frontends/qt4/GuiDocument.cpp
src/insets/InsetInclude.cpp
src/insets/InsetInclude.h
src/insets/InsetLayout.cpp
src/insets/InsetLayout.h
src/support/Messages.cpp
src/support/Messages.h