]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/endnotes.module
Disable deprecated-copy warning with clang10
[lyx.git] / lib / layouts / endnotes.module
index dd3a77c4dc54ca9128ffdec0143de562a7100fce..e24b43fe3f119ba70474f29f92f092bc94f71438 100644 (file)
@@ -27,6 +27,12 @@ InsetLayout Flex:Endnote
    MultiPar    true
    LabelString endnote
    Requires    endnotes
+   LangPreamble
+     \providecommand{\notesname}{_(Notes[[Endnotes]])}
+   EndLangPreamble
+   BabelPreamble
+     \addto\captions$$lang{\renewcommand{\notesname}{_(Notes[[Endnotes]])}}
+   EndBabelPreamble
 End
 
 # We are only interested in the list