mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* fix translation of module descriptions that have a backslash (bug 4799).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24517 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b802c68fe1
commit
ff0e3cd8b2
@ -1,7 +1,7 @@
|
||||
#\DeclareLyXModule[endnotes.sty]{Endnote}
|
||||
#DescriptionBegin
|
||||
#Adds an endnote command, in addition to footnotes. You will need to add
|
||||
#\\theendnotes in ERT where you want the endnotes to appear.
|
||||
#\theendnotes in ERT where you want the endnotes to appear.
|
||||
#DescriptionEnd
|
||||
|
||||
Format 7
|
||||
|
@ -1,6 +1,6 @@
|
||||
#\DeclareLyXModule[endnotes.sty]{Foot to End}
|
||||
#DescriptionBegin
|
||||
#Sets all footnotes as endnotes. You will need to add \\theendnotes
|
||||
#Sets all footnotes as endnotes. You will need to add \theendnotes
|
||||
#in ERT where you want the endnotes to appear.
|
||||
#DescriptionEnd
|
||||
|
||||
|
@ -96,8 +96,7 @@ def layouts_l10n(input_files, output, base):
|
||||
if res != None:
|
||||
readingDescription = False
|
||||
desc = " ".join(descLines)
|
||||
print >> out, '#: %s:%d\nmsgid "%s"\nmsgstr ""\n' % \
|
||||
(relativePath(src, base), lineno + 1, desc)
|
||||
writeString(out, src, base, lineno + 1, desc)
|
||||
continue
|
||||
descLines.append(line[1:].strip())
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user