From: Juergen Spitzmueller Date: Tue, 13 Aug 2019 08:13:32 +0000 (+0200) Subject: Localize endnotes header (with endnotes.sty) X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4da582698c53c1baaf6ca7bd1665cb51d1cdf722;p=features.git Localize endnotes header (with endnotes.sty) --- diff --git a/lib/layouts/endnotes.module b/lib/layouts/endnotes.module index dd3a77c4dc..e24b43fe3f 100644 --- a/lib/layouts/endnotes.module +++ b/lib/layouts/endnotes.module @@ -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 diff --git a/lib/layouts/foottoend.module b/lib/layouts/foottoend.module index cfa6aa53dd..11f8e20969 100644 --- a/lib/layouts/foottoend.module +++ b/lib/layouts/foottoend.module @@ -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 diff --git a/lib/layouttranslations.review b/lib/layouttranslations.review index da2bf92371..b353e76da6 100644 --- a/lib/layouttranslations.review +++ b/lib/layouttranslations.review @@ -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