Closed NotSqrt closed 3 years ago
Hello,
(Using python3.6, django 1.11, latest polib, django-rosetta==0.9.4)
There's a .encode('ascii', 'ignore') that is used when preparing the value for Last-Translator here: https://github.com/mbi/django-rosetta/blob/417094f0f19de1e392adf9ea1a7471d5914d8c3c/rosetta/views.py#L378
.encode('ascii', 'ignore')
Last-Translator
Which makes the translator appear as follows in my po files:
"Last-Translator: b'FirstName LastName <email@domain.ltd>'\n"
I guess that now that you only support python3, this string should be a str and not bytes.
str
bytes
Thanks !
Hello,
(Using python3.6, django 1.11, latest polib, django-rosetta==0.9.4)
There's a
.encode('ascii', 'ignore')
that is used when preparing the value forLast-Translator
here: https://github.com/mbi/django-rosetta/blob/417094f0f19de1e392adf9ea1a7471d5914d8c3c/rosetta/views.py#L378Which makes the translator appear as follows in my po files:
I guess that now that you only support python3, this string should be a
str
and notbytes
.Thanks !