Revision: 8006 Author: xqt Date: 2010-03-14 13:49:18 +0000 (Sun, 14 Mar 2010)
Log Message: ----------- pl localization for reflinks.py (patch #2969994 from masti)
Modified Paths: -------------- trunk/pywikipedia/reflinks.py
Modified: trunk/pywikipedia/reflinks.py =================================================================== --- trunk/pywikipedia/reflinks.py 2010-03-13 16:46:42 UTC (rev 8005) +++ trunk/pywikipedia/reflinks.py 2010-03-14 13:49:18 UTC (rev 8006) @@ -49,6 +49,7 @@ 'ko':u'사용자:GrassnBreadRefBot/EditThisPageToStopMe1', 'hu':'User:Damibot/EditThisPageToStopMe', 'en':u'User:DumZiBoT/EditThisPageToStopMe', + 'pl':u'Wikipedysta:MastiBot/EditThisPageToStopMe', 'zh':u'User:Sz-iwbot', }
@@ -59,6 +60,7 @@ 'es':u'Formateando las referencias que no tuvieran títulos (FAQ : [[:en:User:DumZiBoT/refLinks]] )', 'it':u'Bot: Sistemo note con collegamenti esterni senza titolo ([[Utente:Marco27Bot/refLinks.py|documentazione]])', 'en':u'Bot: Converting bare references, using ref names to avoid duplicates, see [[User:DumZiBoT/refLinks|FAQ]]', + 'pl':u'Bot: Dodanie tytułów do linków w przypisach (patrz [[Wikipedysta:MastiBot/refLinks|FAQ]])', }
deadLinkTag = {'fr':u'[%s] {{lien mort}}', @@ -67,16 +69,20 @@ 'ko':u'[%s] {{죽은 바깥 고리}}', 'es':u'{{enlace roto2|%s}}', 'it':u'{{Collegamento interrotto|%s}}', - 'en':u'[%s] {{dead link}}'} + 'en':u'[%s] {{dead link}}', + 'pl':u'{{Martwy link}}', + }
-comment = {'fr':u'Titre généré automatiquement', +comment = {'ar':u'عنوان مولد بالبوت', 'de':u'Automatisch generierter titel', + 'fr':u'Titre généré automatiquement', 'hu':u'Robot generálta cím', 'ko':u'봇이 따온 제목', + 'pl':u'Tytuł wygenerowany przez bota', 'es':u'Título generado por un bot', 'en':u'Bot generated title', 'it':u'Titolo generato automaticamente', - 'ar':u'عنوان مولد بالبوت'} + }
soft404 = re.compile(ur'\D404(\D|\Z)|error|errdoc|Not.{0,3}Found|sitedown|eventlog', re.IGNORECASE) # matches an URL at the index of a website @@ -117,7 +123,8 @@ }
autogen = { 'en': 'autogenerated', - 'it': 'autogenerato' + 'it': 'autogenerato', + 'pl': 'autonazwa', }
# Regex that match bare references