http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8994
Revision: 8994 Author: xqt Date: 2011-02-20 17:03:15 +0000 (Sun, 20 Feb 2011) Log Message: ----------- be translation for noreferences.py (patch bug #3182191 submitted by lankier. thanks)
Modified Paths: -------------- trunk/pywikipedia/noreferences.py
Modified: trunk/pywikipedia/noreferences.py =================================================================== --- trunk/pywikipedia/noreferences.py 2011-02-20 16:51:29 UTC (rev 8993) +++ trunk/pywikipedia/noreferences.py 2011-02-20 17:03:15 UTC (rev 8994) @@ -47,6 +47,7 @@ # Summary messages in different languages msg = { 'ar': u'روبوت: إضافة وسم <references /> مفقود', + 'be': u'Robot: дабаўлены адсутнічаючы тэг <references />', 'cs': u'Robot doplnil chybějící <references />', 'de': u'Bot: Trage fehlendes <references /> nach', 'en': u'Robot: Adding missing <references /> tag', @@ -313,6 +314,7 @@ referencesTemplates = { 'wikipedia': { 'ar': [u'Reflist', u'ثبت المراجع', u'قائمة المراجع'], + 'be': [u'Зноскі', u'Примечания', u'Reflist', u'Спіс заўваг', u'Заўвагі'], 'en': [u'Reflist', u'Refs', u'FootnotesSmall', u'Reference', u'Ref-list', u'Reference list', u'References-small', u'Reflink', u'Footnotes', u'FootnotesSmall'], @@ -345,6 +347,7 @@ # Define this only if required by your wiki. referencesSubstitute = { 'wikipedia': { + 'be': u'{{зноскі}}', 'fi': u'{{viitteet}}', 'hu': u'{{Források}}', 'pl': u'{{Przypisy}}', @@ -357,7 +360,7 @@ # like pl.wiki where {{Przypisy}} generates # == Przypisy == # <references /> -noTitleRequired = [u'pl'] +noTitleRequired = [u'pl', u'be']
class XmlDumpNoReferencesPageGenerator: """