http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9960
Revision: 9960
Author: siebrand
Date: 2012-03-02 18:07:40 +0000 (Fri, 02 Mar 2012)
Log Message:
-----------
Follow-up r9940: Use i18n.twntranslate() instead of message().
Modified Paths:
--------------
trunk/pywikipedia/archivebot.py
Modified: trunk/pywikipedia/archivebot.py
===================================================================
--- trunk/pywikipedia/archivebot.py 2012-03-02 17:19:02 UTC (rev 9959)
+++ trunk/pywikipedia/archivebot.py 2012-03-02 18:07:40 UTC (rev 9960)
@@ -361,8 +361,8 @@
Execute by running the .run() method."""
algo = 'none'
- pageSummary = message('archivebot-page-summary')
- archiveSummary = message('archivebot-archive-summary')
+ pageSummary = i18n.twntranslate('archivebot-page-summary')
+ archiveSummary = i18n.twntranslate('archivebot-archive-summary')
def __init__(self, Page, tpl, salt, force=False):
self.attributes = {