[Pywikipedia-l] SVN: [4815] trunk/pywikipedia

rotem at svn.wikimedia.org rotem at svn.wikimedia.org
Sat Jan 5 16:57:01 UTC 2008


Revision: 4815
Author:   rotem
Date:     2008-01-05 16:57:01 +0000 (Sat, 05 Jan 2008)

Log Message:
-----------
Adding Hebrew translation, fix.

Modified Paths:
--------------
    trunk/pywikipedia/add_text.py
    trunk/pywikipedia/standardize_interwiki.py

Modified: trunk/pywikipedia/add_text.py
===================================================================
--- trunk/pywikipedia/add_text.py	2008-01-05 16:44:54 UTC (rev 4814)
+++ trunk/pywikipedia/add_text.py	2008-01-05 16:57:01 UTC (rev 4815)
@@ -62,6 +62,7 @@
 
 msg = {
     'en': u'Bot: Adding %s',
+    'he': u'בוט: מוסיף %s',
     'it': u'Bot: Aggiungo %s',
     'pt': u'Bot: Adicionando %s',
     }

Modified: trunk/pywikipedia/standardize_interwiki.py
===================================================================
--- trunk/pywikipedia/standardize_interwiki.py	2008-01-05 16:44:54 UTC (rev 4814)
+++ trunk/pywikipedia/standardize_interwiki.py	2008-01-05 16:57:01 UTC (rev 4815)
@@ -46,9 +46,9 @@
 for arg in wikipedia.handleArgs():
     if arg.startswith('-start'):
         if len(arg) == 6:
-            start = str(wikipedia.input(u'From what page do you want to start?'))
+            start = unicode(wikipedia.input(u'From what page do you want to start?'))
         else:
-            start = str(arg[7:])
+            start = unicode(arg[7:])
 
 # What follows is the main part of the code.
 try:





More information about the Pywikipedia-l mailing list