Open shahidikram0701 opened 7 years ago
@friedelwolff If this PR is ok and gets merged, then we would be able to merge PR https://github.com/translate/translate/pull/3596 in Translate Toolkit to get rid of this deprecated function.
@friedelwolff Also check PR #3272 which kinda does the same thing as this one.
The two functions are not equivalent:
>>> from translate.storage import pypo
>>> pypo.extractpoline('"abc"')
'abc'
>>> pypo.unescape('"abc"')
'"abc"'
What am I missing?
You are right, they are not the same.
Sorry for only getting to this now.
I currently have Translate Toolkit 2.4.0, and the existing code (with extractpoline) still works. Is it just deprecated, or was the removal reversed? Do we still need this?