﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13936	django-admin makemessages generates PO files with an incorrect path to source code files	Cristian Ciupitu	nobody	"'''Steps to reproduce:'''

1. Run `django-admin makemessages -l ro -e html,txt,rml` above the `locale` directory to generate the PO files.

2. Open a PO file with Poedit, e.g. `locale/ro/LC_MESSAGES/django.po`.

3. Try to see where the message is being referenced/used.

'''Actual result:'''

Poedit will not be able to find the source code.

'''Expected result:'''

Poedit should be able to find the source code.

'''Additional info:'''

The paths from the catalog look like this:

{{{
#: admin.py:12 admin.py:23
}}}

so Poedit tries to open `locale/ro/LC_MESSAGES/admin.py` which of course does not exist. I propose using a relative path, e.g {{{../../../admin.py}}}.

I'm using Django-1.2.1-5.fc13.noarch and I asked about this on both [http://stackoverflow.com/questions/3238822/how-to-translate-a-django-application-using-poedit/ StackOverflow] and the [http://permalink.gmane.org/gmane.editors.poedit.user/975 Poedit users mailing list]."	Bug	closed	Core (Management commands)	1.2	Normal	needsinfo		vslavik@…	Accepted	1	0	0	1	0	0
