http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9506
Revision: 9506 Author: xqt Date: 2011-09-04 16:59:41 +0000 (Sun, 04 Sep 2011) Log Message: ----------- using dictionary for string formatting
Modified Paths: -------------- branches/rewrite/scripts/i18n/thirdparty.py
Modified: branches/rewrite/scripts/i18n/thirdparty.py =================================================================== --- branches/rewrite/scripts/i18n/thirdparty.py 2011-09-04 15:57:12 UTC (rev 9505) +++ branches/rewrite/scripts/i18n/thirdparty.py 2011-09-04 16:59:41 UTC (rev 9506) @@ -2,39 +2,38 @@ msg = { 'en': { 'thirdparty-drtrigonbot-sum_disc-summary-head': u'robot ', - 'thirdparty-drtrigonbot-sum_disc-summary-add': u'Discussion summary added: %i entries', - 'thirdparty-drtrigonbot-sum_disc-summary-mod': u'Discussion summary updated: %i entries in %s', - 'thirdparty-drtrigonbot-sum_disc-summary-clean': u'Discussion summary added with clean up: %i entries', + 'thirdparty-drtrigonbot-sum_disc-summary-add': u'Discussion summary added: %(num)i entries', + 'thirdparty-drtrigonbot-sum_disc-summary-mod': u'Discussion summary updated: %(num)i entries in %(page)s', + 'thirdparty-drtrigonbot-sum_disc-summary-clean': u'Discussion summary added with clean up: %(num)i entries', 'thirdparty-drtrigonbot-sum_disc-notify-changed': u'Discussion changed', 'thirdparty-drtrigonbot-sum_disc-notify-new': u'New Discussion', 'thirdparty-drtrigonbot-sum_disc-notify-closed': u'Discussion closed', 'thirdparty-drtrigonbot-sum_disc-notify-maintmsg': u'BOT MESSAGE', 'thirdparty-drtrigonbot-sum_disc-notify-notify': u'Notification', - 'thirdparty-drtrigonbot-sum_disc-parse': u':* %s: %s - [%s last edit] ({{PAGESIZE:%s}} bytes) by %s (%s)', - 'thirdparty-drtrigonbot-sum_disc-parse-closed': u':* %s: %s all discussions have finished (surveillance stopped) - last edit by %s (%s)', - 'thirdparty-drtrigonbot-sum_disc-parse-notify': u':* %s: <span class="plainlinks">[%s %s]</span> - last edit by [[User:%s]] (%s)', - 'thirdparty-drtrigonbot-sum_disc-parse-warning': u':* Bot warning message: %s "''%s''"', + 'thirdparty-drtrigonbot-sum_disc-parse': u':* %(notify)s: %(page_sections)s - [%(history_link)s last edit] ({{PAGESIZE:%(page)s}} bytes) by %(user)s (%(time)s)', + 'thirdparty-drtrigonbot-sum_disc-parse-closed': u':* %(notify)s: %(page)s all discussions have finished (surveillance stopped) - last edit by %(user)s (%(time)s)', + 'thirdparty-drtrigonbot-sum_disc-parse-notify': u':* %(notify)s: <span class="plainlinks">[%(page_link)s %(page)s]</span> - last edit by [[User:%(user)s]] (%(time)s)', + 'thirdparty-drtrigonbot-sum_disc-parse-warning': u':* Bot warning message: %(page)s "''%(warning)s''"', 'thirdparty-drtrigonbot-sum_disc-parse-start': u'; %d. %B %Y', - 'thirdparty-drtrigonbot-sum_disc-parse-end': u'<noinclude>\n\nSummary generated from and at: %s</noinclude>', + 'thirdparty-drtrigonbot-sum_disc-parse-end': u'<noinclude>\n\nSummary generated from and at: %(sign)s</noinclude>', 'thirdparty-drtrigonbot-sum_disc-parse-nonhuman': u'(no human editor found)', }, 'de': { 'thirdparty-drtrigonbot-sum_disc-summary-head': u'Bot: ', - 'thirdparty-drtrigonbot-sum_disc-summary-add': u'Diskussions-Zusammenfassung hinzugefügt (%i Einträge)', - 'thirdparty-drtrigonbot-sum_disc-summary-mod': u'Diskussions-Zusammenfassung aktualisiert (%i Einträge in %s)', - 'thirdparty-drtrigonbot-sum_disc-summary-clean': u'Diskussions-Zusammenfassung hinzugefügt und bereinigt (%i Einträge)', + 'thirdparty-drtrigonbot-sum_disc-summary-add': u'Diskussions-Zusammenfassung hinzugefügt (%(num)i Einträge)', + 'thirdparty-drtrigonbot-sum_disc-summary-mod': u'Diskussions-Zusammenfassung aktualisiert (%(num)i Einträge in %(page)s)', + 'thirdparty-drtrigonbot-sum_disc-summary-clean': u'Diskussions-Zusammenfassung hinzugefügt und bereinigt (%(num)i Einträge)', 'thirdparty-drtrigonbot-sum_disc-notify-changed': u'Diskussion verändert', 'thirdparty-drtrigonbot-sum_disc-notify-new': u'Neue Diskussion', 'thirdparty-drtrigonbot-sum_disc-notify-closed': u'Diskussion abgeschlossen', 'thirdparty-drtrigonbot-sum_disc-notify-maintmsg': u'BOT MESSAGE', 'thirdparty-drtrigonbot-sum_disc-notify-notify': u'Benachrichtigung', - 'thirdparty-drtrigonbot-sum_disc-parse': u':* %s: %s - [%s letzte Bearbeitung] ({{PAGESIZE:%s}} Bytes) von %s (%s)', - 'thirdparty-drtrigonbot-sum_disc-parse-closed': u':* %s: %s alle Diskussionen wurden beendet (Überwachung gestoppt) - letzte Bearbeitung von %s (%s)', - 'thirdparty-drtrigonbot-sum_disc-parse-notify': u':* %s: <span class="plainlinks">[%s %s]</span> - letzte Bearbeitung von [[User:%s]] (%s)', - 'thirdparty-drtrigonbot-sum_disc-parse-warning': u':* Bot Warn-Nachricht: %s "''%s''"', + 'thirdparty-drtrigonbot-sum_disc-parse': u':* %(notify)s: %(page_sections)s - [%(history_link)s letzte Bearbeitung] ({{PAGESIZE:%(page)s}} Bytes) von %(user)s (%(time)s)', + 'thirdparty-drtrigonbot-sum_disc-parse-closed': u':* %(notify)s: %(page)s alle Diskussionen wurden beendet (Überwachung gestoppt) - letzte Bearbeitung von %(user)s (%(time)s)', + 'thirdparty-drtrigonbot-sum_disc-parse-notify': u':* %(notify)s: <span class="plainlinks">[%(page_link)s %(page)s]</span> - letzte Bearbeitung von [[User:%(user)s]] (%(time)s)', + 'thirdparty-drtrigonbot-sum_disc-parse-warning': u':* Bot Warn-Nachricht: %(page)s "''%(warning)s''"', 'thirdparty-drtrigonbot-sum_disc-parse-start': u'; %d. %B %Y', - 'thirdparty-drtrigonbot-sum_disc-parse-end': u'<noinclude>\n\nZusammenfassung erstellt von und um: %s</noinclude>', + 'thirdparty-drtrigonbot-sum_disc-parse-end': u'<noinclude>\n\nZusammenfassung erstellt von und um: %(sign)s</noinclude>', 'thirdparty-drtrigonbot-sum_disc-parse-nonhuman': u'(keinen menschlichen Bearbeiter gefunden)', }, } -