mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
small preparation for the layout translation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37985 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
edd51121d8
commit
013b2c5be0
@ -137,10 +137,7 @@ def layouts_l10n(input_files, output, base):
|
||||
res = NameRE.search(line)
|
||||
if res != None:
|
||||
string = res.group(1)
|
||||
string = string.replace('\\', '\\\\').replace('"', '')
|
||||
if string != "":
|
||||
print >> out, '#: %s:%d\nmsgid "%s"\nmsgstr ""\n' % \
|
||||
(relativePath(src, base), lineno + 1, string)
|
||||
writeString(out, src, base, lineno + 1, string)
|
||||
continue
|
||||
res = Style.search(line)
|
||||
if res != None:
|
||||
|
Loading…
Reference in New Issue
Block a user