mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Misc: Fix encoding issue with translations using non-ascii characters in @version string.
This commit is contained in:
parent
dea0070ac4
commit
5be287b536
@ -302,7 +302,7 @@ class Misc(callbacks.Plugin):
|
||||
version = ''.join(version.rsplit(':', 1))
|
||||
# Replace the last '-' by '+':
|
||||
version = '+'.join(version.rsplit('-', 1))
|
||||
versions[branch] = version
|
||||
versions[branch] = version.encode('utf-8')
|
||||
newest = _('The newest versions available online are %s.') % \
|
||||
', '.join([_('%s (in %s)') % (y,x)
|
||||
for x,y in versions.items()])
|
||||
|
Loading…
Reference in New Issue
Block a user