http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9247
Revision: 9247 Author: xqt Date: 2011-05-15 17:07:02 +0000 (Sun, 15 May 2011) Log Message: ----------- fix missing tw key 'category-changing' for translations
Modified Paths: -------------- trunk/pywikipedia/category.py
Modified: trunk/pywikipedia/category.py =================================================================== --- trunk/pywikipedia/category.py 2011-05-15 15:42:46 UTC (rev 9246) +++ trunk/pywikipedia/category.py 2011-05-15 17:07:02 UTC (rev 9247) @@ -392,7 +392,7 @@ newCat = catlib.Category(site, self.newCatTitle) # set edit summary message if not self.editSummary: - self.editSummary = i18n.twtranslate(site, msg_change) \ + self.editSummary = i18n.twtranslate(site, 'category-changing') \ % {'oldcat':self.oldCat.title(), 'newcat':newCat.title()}