diff --git a/src/i18n.py b/src/i18n.py index ba57edfdf..dbd282f06 100644 --- a/src/i18n.py +++ b/src/i18n.py @@ -213,7 +213,8 @@ class _PluginInternationalization: def _unescape(self, string, removeNewline=False): import supybot.utils as utils - string = str.replace(string, '\\n', '\n') # gettext escapes the \n + string = str.replace(string, '\\n\\n', '\n\n') + string = str.replace(string, '\\n', ' ') string = str.replace(string, '\\"', '"') string = str.replace(string, "\'", "'") string = utils.str.normalizeWhitespace(string, removeNewline) diff --git a/src/version.py b/src/version.py index 68bd34ac8..68e6e0da2 100644 --- a/src/version.py +++ b/src/version.py @@ -1,3 +1,3 @@ """stick the various versioning attributes in here, so we only have to change them once.""" -version = '0.83.4.1+limnoria (2012-04-15T12:02:44+0000)' +version = '0.83.4.1+limnoria (2012-04-17T09:45:25+0000)'