mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-04 16:42:57 +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}
|
#\DeclareLyXModule[endnotes.sty]{Endnote}
|
||||||
#DescriptionBegin
|
#DescriptionBegin
|
||||||
#Adds an endnote command, in addition to footnotes. You will need to add
|
#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
|
#DescriptionEnd
|
||||||
|
|
||||||
Format 7
|
Format 7
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#\DeclareLyXModule[endnotes.sty]{Foot to End}
|
#\DeclareLyXModule[endnotes.sty]{Foot to End}
|
||||||
#DescriptionBegin
|
#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.
|
#in ERT where you want the endnotes to appear.
|
||||||
#DescriptionEnd
|
#DescriptionEnd
|
||||||
|
|
||||||
|
@ -96,8 +96,7 @@ def layouts_l10n(input_files, output, base):
|
|||||||
if res != None:
|
if res != None:
|
||||||
readingDescription = False
|
readingDescription = False
|
||||||
desc = " ".join(descLines)
|
desc = " ".join(descLines)
|
||||||
print >> out, '#: %s:%d\nmsgid "%s"\nmsgstr ""\n' % \
|
writeString(out, src, base, lineno + 1, desc)
|
||||||
(relativePath(src, base), lineno + 1, desc)
|
|
||||||
continue
|
continue
|
||||||
descLines.append(line[1:].strip())
|
descLines.append(line[1:].strip())
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user