carlxaeron / django-rosetta

Automatically exported from code.google.com/p/django-rosetta
MIT License
0 stars 0 forks source link

Searching for po files should normalize paths with os.path.abspath #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Searching for po files should normalize paths with os.path.abspath

Because of relative paths like root/settings/../app/ == root/settings/app
(e.g. can be managed with settings.LOCALE_PATHS) - then you get 2 entries
in rosetta.pick

This is the case on rosetta r57 (trunk).

I supply the patch which fix it.

Original issue reported on code.google.com by trebor74hr@gmail.com on 30 Oct 2008 at 11:15

Attachments:

GoogleCodeExporter commented 8 years ago
Well spotted. Fixed in r58, thank you.

Original comment by mbonetti on 30 Oct 2008 at 12:21

GoogleCodeExporter commented 8 years ago

Original comment by mbonetti on 30 Oct 2008 at 12:22