mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
i18n: Don't strip spaces at the end of translated strings. Closes GH-750.
This commit is contained in:
parent
00c1c62346
commit
aad0f0c88c
@ -135,7 +135,6 @@ def normalize(string, removeNewline=False):
|
|||||||
string = string.replace('\\"', '"')
|
string = string.replace('\\"', '"')
|
||||||
string = string.replace("\'", "'")
|
string = string.replace("\'", "'")
|
||||||
string = utils.str.normalizeWhitespace(string, removeNewline)
|
string = utils.str.normalizeWhitespace(string, removeNewline)
|
||||||
string = string.strip(' ')
|
|
||||||
string = string.strip('\n')
|
string = string.strip('\n')
|
||||||
string = string.strip('\t')
|
string = string.strip('\t')
|
||||||
return string
|
return string
|
||||||
|
Loading…
Reference in New Issue
Block a user