From: <al...@us...> - 2010-04-22 14:38:57
|
Revision: 14367 http://translate.svn.sourceforge.net/translate/?rev=14367&view=rev Author: alaaosh Date: 2010-04-22 14:38:51 +0000 (Thu, 22 Apr 2010) Log Message: ----------- make addalttrans take similar arguments to xliff's Modified Paths: -------------- src/trunk/Pootle/local_apps/pootle_store/models.py Modified: src/trunk/Pootle/local_apps/pootle_store/models.py =================================================================== --- src/trunk/Pootle/local_apps/pootle_store/models.py 2010-04-22 14:37:09 UTC (rev 14366) +++ src/trunk/Pootle/local_apps/pootle_store/models.py 2010-04-22 14:38:51 UTC (rev 14367) @@ -345,8 +345,8 @@ newunit.update(unit) return newunit - def addalttrans(self, txt): - self.add_suggestion(txt) + def addalttrans(self, txt, origin=None): + self.add_suggestion(txt, user=origin) def getalttrans(self): return self.get_suggestions() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |