mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
Kepp all keys in lib/layouttranslations to ease translation work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38163 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f6f32ca0ee
commit
cc06353ebc
File diff suppressed because it is too large
Load Diff
@ -325,11 +325,11 @@ def layouts_l10n(input_files, output, base, layouttranslations):
|
||||
key = key.replace('\\', '\\\\').replace('"', '\\"')
|
||||
print >> out, '\t"%s" "%s"' % \
|
||||
(key.encode('utf-8'), val.encode('utf-8'))
|
||||
# to print untranslated entries, uncomment the following lines
|
||||
#else:
|
||||
# key = key.replace('\\', '\\\\').replace('"', '\\"')
|
||||
# print >> out, '\t"%s" "%s"' % \
|
||||
# (key.encode('utf-8'), key.encode('utf-8'))
|
||||
# also print untranslated entries to help translators
|
||||
elif not lang in oldlanguages:
|
||||
key = key.replace('\\', '\\\\').replace('"', '\\"')
|
||||
print >> out, '\t"%s" "%s"' % \
|
||||
(key.encode('utf-8'), key.encode('utf-8'))
|
||||
print >> out, 'End'
|
||||
|
||||
out.close()
|
||||
|
Loading…
Reference in New Issue
Block a user