Revision: 4004 Author: wikipedian Date: 2007-08-07 23:14:38 +0000 (Tue, 07 Aug 2007)
Log Message: ----------- added parameter names to inputChoice() call
Modified Paths: -------------- branches/pywikipedia/i18n/selflink.py
Modified: branches/pywikipedia/i18n/selflink.py =================================================================== --- branches/pywikipedia/i18n/selflink.py 2007-08-07 23:10:35 UTC (rev 4003) +++ branches/pywikipedia/i18n/selflink.py 2007-08-07 23:14:38 UTC (rev 4004) @@ -109,22 +109,22 @@ colors = [None for c in text[max(0, match.start() - context) : match.start()]] + [12 for c in text[match.start() : match.end()]] + [None for c in text[match.end() : match.end() + context]] wikipedia.output(text[max(0, match.start() - context) : match.end() + context], colors = colors) choice = wikipedia.inputChoice( - _(u'\nWhat shall be done with this selflink?'), - [ + question = _(u'\nWhat shall be done with this selflink?'), + answers = [ _('unlink'), _('make bold'), _('skip'), _('edit'), _('more context') ], - [ + hotkeys = [ _('u [unlink hotkey]'), _('b [make bold hotkey]'), _('s [skip hotkey]'), _('e [edit hotkey]'), _('m [more context hotkey]') ], - _('u [unlink hotkey]') + default = _('u [unlink hotkey]') ) wikipedia.output(u'')
pywikipedia-l@lists.wikimedia.org