]> git.lyx.org Git - features.git/commitdiff
Localize endnotes header (with endnotes.sty)
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 13 Aug 2019 08:13:32 +0000 (10:13 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:43 +0000 (15:48 +0200)
lib/layouts/endnotes.module
lib/layouts/foottoend.module
lib/layouttranslations.review

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
index cfa6aa53dda12c4892dddc6823a3325b34c49f9a..11f8e20969fcbb64a68da085872e680892fc152c 100644 (file)
@@ -13,9 +13,15 @@ Format 80
 
 
 InsetLayout Foot
-       LabelString     Endnote
-       LatexName       endnote
-       Requires        endnotes
+   LabelString     Endnote
+   LatexName       endnote
+   Requires        endnotes
+   LangPreamble
+     \providecommand{\notesname}{_(Notes)}
+   EndLangPreamble
+   BabelPreamble
+     \addto\captions$$lang{\renewcommand{\notesname}{_(Notes)}}
+   EndBabelPreamble
 End
 
 # We are only interested in the list
index da2bf92371384dbb47fa2fb55c5dde8c606ca530..b353e76da695855ebdedc4994d7602dfb91264de 100644 (file)
@@ -28,3 +28,18 @@ bg ca da es fi gl he ia id ko nb nn pl ro sl sr tr zh_CN zh_TW
 "see equation[[nomencl]]"
 "page[[nomencl]]"
 bg ca da fi gl he ia id ja ko nb nn pl ro sl sr tr zh_CN zh_TW
+
+-----
+LyX 2.4.0 release
+
+"Notes[[Endnote]]" -> The header string of endnotes (with Endnotes (Basic) module)
+ar bg cs el en es eu fi fr he hu ia id it ja nb nl nn pl pt_BR pt_PT ru sk sv tr uk zh_CN zh_TW
+Note that the localized enotez package has the following translations that probably should be used:
+Catalan: Notes
+Croatian: Bilje\v{s}ke
+French: Remarques
+German: Anmerkungen (used)
+Hungarian: Megjegyz\'{e}sek
+Italian: Note
+Spanish: Notas
+Turkish: Notlar