From aad0f0c88c0ff1f7a89b36263357ad7726840f36 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 19 Jun 2014 10:28:08 +0000 Subject: [PATCH] i18n: Don't strip spaces at the end of translated strings. Closes GH-750. --- src/i18n.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/i18n.py b/src/i18n.py index b96361e06..9d832272b 100644 --- a/src/i18n.py +++ b/src/i18n.py @@ -135,7 +135,6 @@ def normalize(string, removeNewline=False): string = string.replace('\\"', '"') string = string.replace("\'", "'") string = utils.str.normalizeWhitespace(string, removeNewline) - string = string.strip(' ') string = string.strip('\n') string = string.strip('\t') return string