{"action":"created","issue":{"url":"https://api.github.com/repos/ecometrica/django-vinaigrette/issues/17","labels_url":"https://api.github.com/repos/ecometrica/django-vinaigrette/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/ecometrica/django-vinaigrette/issues/17/comments","events_url":"https://api.github.com/repos/ecometrica/django-vinaigrette/issues/17/events","html_url":"https://github.com/ecometrica/django-vinaigrette/pull/17","id":56837094,"number":17,"title":"collecting full property string to include in .po","user":{"login":"duduklein","id":2512289,"avatar_url":"https://avatars.githubusercontent.com/u/2512289?v=3","gravatar_id":"","url":"https://api.github.com/users/duduklein","html_url":"https://github.com/duduklein","followers_url":"https://api.github.com/users/duduklein/followers","following_url":"https://api.github.com/users/duduklein/following{/other_user}","gists_url":"https://api.github.com/users/duduklein/gists{/gist_id}","starred_url":"https://api.github.com/users/duduklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duduklein/subscriptions","organizations_url":"https://api.github.com/users/duduklein/orgs","repos_url":"https://api.github.com/users/duduklein/repos","events_url":"https://api.github.com/users/duduklein/events{/privacy}","received_events_url":"https://api.github.com/users/duduklein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T16:54:36Z","updated_at":"2015-03-28T16:40:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ecometrica/django-vinaigrette/pulls/17","html_url":"https://github.com/ecometrica/django-vinaigrette/pull/17","diff_url":"https://github.com/ecometrica/django-vinaigrette/pull/17.diff","patch_url":"https://github.com/ecometrica/django-vinaigrette/pull/17.patch"},"body":"Hi, \r\n\r\nI have a project where I don't fully use django's ORM and I need to translate fields that are composed by more than one db field. Image that I need to translate someone's full name (firstname + lastname) instead of having both translated separately.\r\n\r\nI define a propery in my model like this:\r\n```\r\n@property\r\ndef full_name(self):\r\n    return u\"%s %s\" % (self.first_name, self.last_name)\r\n```\r\n\r\nI needed the \"full_name\" to be included in the .po file, so I added a 5th parameter to the register function which included that property and the needed db fields.\r\n\r\nThe makemessages add the \"single\" fields normally and add the property fields if they exist."},"comment":{"url":"https://api.github.com/repos/ecometrica/django-vinaigrette/issues/comments/87261708","html_url":"https://github.com/ecometrica/django-vinaigrette/pull/17#issuecomment-87261708","issue_url":"https://api.github.com/repos/ecometrica/django-vinaigrette/issues/17","id":87261708,"user":{"login":"duduklein","id":2512289,"avatar_url":"https://avatars.githubusercontent.com/u/2512289?v=3","gravatar_id":"","url":"https://api.github.com/users/duduklein","html_url":"https://github.com/duduklein","followers_url":"https://api.github.com/users/duduklein/followers","following_url":"https://api.github.com/users/duduklein/following{/other_user}","gists_url":"https://api.github.com/users/duduklein/gists{/gist_id}","starred_url":"https://api.github.com/users/duduklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duduklein/subscriptions","organizations_url":"https://api.github.com/users/duduklein/orgs","repos_url":"https://api.github.com/users/duduklein/repos","events_url":"https://api.github.com/users/duduklein/events{/privacy}","received_events_url":"https://api.github.com/users/duduklein/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T16:40:23Z","updated_at":"2015-03-28T16:40:23Z","body":"Thanks for your comments and apologize for the delay in responding.\r\nI took your comments into account and changed my code.\r\n"}}