projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
536fd10
)
NSIS: Escape line endings for NSIS correctly.
author
Klaas Freitag
<freitag@owncloud.com>
Mon, 11 Jan 2016 14:36:24 +0000
(15:36 +0100)
committer
Klaas Freitag
<freitag@owncloud.com>
Mon, 11 Jan 2016 14:36:24 +0000
(15:36 +0100)
This is supposed to fix #3519
admin/win/nsi/l10n/bin/build_locale_nsi.py
patch
|
blob
|
history
diff --git
a/admin/win/nsi/l10n/bin/build_locale_nsi.py
b/admin/win/nsi/l10n/bin/build_locale_nsi.py
index cb52df43312535c42b9dd69d30697b327fa52ec4..d71e3e6738fabdec2ed588da5394c6399fd05826 100755
(executable)
--- a/
admin/win/nsi/l10n/bin/build_locale_nsi.py
+++ b/
admin/win/nsi/l10n/bin/build_locale_nsi.py
@@
-104,10
+104,12
@@
localeToName = {
def escapeNSIS(st):
return st.replace('\\', r'$\\')\
.replace('\t', r'$\t')\
- .replace('\r', r'\r')\
- .replace('\n', r'\n')\
+ .replace('\r', r'
$
\r')\
+ .replace('\n', r'
$
\n')\
.replace('\"', r'$\"')\
- .replace('$$\\', '$\\')
+ .replace('$$\\', '$\\')\
+ .replace('$\\n', r'$\n')
+
translationCache = {}