Revision: 5210 Author: nicdumz Date: 2008-04-12 10:59:26 +0000 (Sat, 12 Apr 2008)
Log Message: ----------- * Altering english message * Adding French message * removed that silly continue which was not preventing the script from taking into account the changes made within inline TextEditor()
Modified Paths: -------------- trunk/pywikipedia/spamremove.py
Modified: trunk/pywikipedia/spamremove.py =================================================================== --- trunk/pywikipedia/spamremove.py 2008-04-12 10:56:40 UTC (rev 5209) +++ trunk/pywikipedia/spamremove.py 2008-04-12 10:59:26 UTC (rev 5210) @@ -33,7 +33,7 @@ namespaces = [] msg = { 'de': u'Entferne in Spam-Blacklist eingetragenen Weblink auf %s', - 'en': u'Removing links to spammed site %s', + 'en': u'Removing links to spamming site %s', 'he': u'מסיר קישורים לאתר ספאם %s', 'it': u'Rimuovo link contenuto nella Spam-Blacklist %s', 'ja': u'ロボットによる: 迷惑リンク削除 %s', @@ -41,6 +41,7 @@ 'pt': u'Removendo links de spam do site %s', 'ta': u'எரிதமாக இணைக்கப்பட்ட %s இணையத்தளம் நீக்கப்பட்டது', 'zh': u'機器人: 移除廣告黑名單連結 %s', + 'fr': u'Suppression du lien blacklisté %s' } spamSite = '' for arg in wikipedia.handleArgs(): @@ -95,7 +96,6 @@ elif answer == "e": editor = editarticle.TextEditor() newtext = editor.edit(text, highlight = spamSite, jumpIndex = text.find(spamSite)) - continue else: newtext = "\n".join(newpage) if newtext != text: