Fix order of params

This commit is contained in:
Michal Čihař 2012-02-28 14:04:21 +01:00
parent 62d3c582d0
commit b9e959f18d

View File

@ -228,9 +228,10 @@ class Translation(models.Model):
''' '''
repo = self.subproject.get_repo() repo = self.subproject.get_repo()
repo.git.commit( repo.git.commit(
self.filename,
author = '%s <%s>' % (request.user.get_full_name(), request.user.email), author = '%s <%s>' % (request.user.get_full_name(), request.user.email),
m = 'Translated using Weblate', m = 'Translated using Weblate'
self.filename) )
def update_unit(self, request, unit): def update_unit(self, request, unit):
''' '''