[Pywikipedia-l] SVN: [5737] trunk/pywikipedia/generate_user_files.py
leogregianin at svn.wikimedia.org
leogregianin at svn.wikimedia.org
Sat Jul 19 03:46:22 UTC 2008
Revision: 5737
Author: leogregianin
Date: 2008-07-19 03:46:22 +0000 (Sat, 19 Jul 2008)
Log Message:
-----------
+docum
Modified Paths:
--------------
trunk/pywikipedia/generate_user_files.py
Modified: trunk/pywikipedia/generate_user_files.py
===================================================================
--- trunk/pywikipedia/generate_user_files.py 2008-07-19 03:17:26 UTC (rev 5736)
+++ trunk/pywikipedia/generate_user_files.py 2008-07-19 03:46:22 UTC (rev 5737)
@@ -100,14 +100,20 @@
#
# This is only an example. Don't use it.
#
+# Do you need change your 'replacements'.
+#
+# To call this function, run:
+# replace.py -page:John -fix:example
fixes['example'] = {
'regex': True,
'msg': {
- '_default':u'no summary specified',
+ '_default': u'no summary specified',
+ 'pt' : u'nenhum comentário especificado',
},
'replacements': [
(ur'\bword\b', u'two words'),
+ (ur'una', u'uma'),
]
}
More information about the Pywikipedia-l
mailing list