mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
lyx_pot.py cannot deal with raw newlines in ui files. So, use the
html entity "
" and then transform it to "\n". git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37026 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1054800bf5
commit
432e32cd3a
@ -224,6 +224,7 @@ def qt4_l10n(input_files, output, base):
|
||||
(string,) = pat.match(line).groups()
|
||||
string = string.replace('&', '&').replace('<', '<').replace('>', '>')
|
||||
string = string.replace('\\', '\\\\').replace('"', r'\"')
|
||||
string = string.replace('
', r'\n')
|
||||
print >> output, '#: %s:%d\nmsgid "%s"\nmsgstr ""\n' % \
|
||||
(relativePath(src, base), lineno+1, string)
|
||||
input.close()
|
||||
|
@ -242,8 +242,7 @@
|
||||
<item row="5" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="singleInstanceCB">
|
||||
<property name="toolTip">
|
||||
<string>Whether to open documents in an already running instance of LyX.
|
||||
(Set the LyXServer pipe path and restart LyX to enable this feature)</string>
|
||||
<string>Whether to open documents in an already running instance of LyX.
(Set the LyXServer pipe path and restart LyX to enable this feature)</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>S&ingle instance</string>
|
||||
|
Loading…
Reference in New Issue
Block a user