Revision: 4471 Author: wikipedian Date: 2007-10-19 10:45:34 +0000 (Fri, 19 Oct 2007)
Log Message: ----------- bug [ 1805528 ] wikisource_family.py: Add Polish translation
Modified Paths: -------------- trunk/pywikipedia/families/wikisource_family.py
Modified: trunk/pywikipedia/families/wikisource_family.py =================================================================== --- trunk/pywikipedia/families/wikisource_family.py 2007-10-19 10:36:51 UTC (rev 4470) +++ trunk/pywikipedia/families/wikisource_family.py 2007-10-19 10:45:34 UTC (rev 4471) @@ -9,7 +9,7 @@ def __init__(self): family.Family.__init__(self) self.name = 'wikisource' - + self.langs = { '-':'wikisource.org', 'dk':'da.wikisource.org', @@ -20,11 +20,21 @@ 'zh-cn':'zh.wikisource.org', 'zh-tw':'zh.wikisource.org' } - + for lang in self.knownlanguages: if lang not in self.langs: self.langs[lang] = lang+'.wikisource.org'
+ self.namespaces[2] = { + '_default': self.namespaces[2]['_default'], + 'pl': 'Wikiskryba', + } + + self.namespaces[3] = { + '_default': self.namespaces[2]['_default'], + 'pl': 'Dyskusja Wikiskryby', + } + self.namespaces[4] = { '_default': [u'Wikisource', self.namespaces[4]['_default']], 'ang': u'Wicifruma',