Closed Nigel2392 closed 4 months ago
@Nigel2392 this is like a side effect of none of the localize developers using Windows. Happy to review a PR if you're up for submitting one
@Nigel2392 this is like a side effect of none of the localize developers using Windows. Happy to review a PR if you're up for submitting one
I don't really understand github and their pull request system, sorry... I've monkeypatched it in my own project, so it won't bother me when developing. Respectfully - I'm only here to bring it to attention. I'm planning to put some time into git's pull system in the future; I'll get back to it then.
Understood. And thank you again for raising these issues. It is most helpful to get reports from as many real-world users as possible.
PO files cannot properly be opened on windows. This is because the file gets locked.
You might receive permission errors like so:
Where
NOT_THE_RIGHT_USERPROFILE_FOLDER
would beNIGELV~1
when it should beNigelvanGoodAd
.This is due to an issue in opening the tempfile in
view/edit_translation.upload_pofile
. The temporary file should be opened withdelete=False
, and then properly unlinked.The fixed code should be: