mail[Wesnoth-commits] r43638 - /trunk/utils/pofix.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Majora700 on June 22, 2010 - 02:30:
Author: espreon
Date: Tue Jun 22 02:30:52 2010
New Revision: 43638

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43638&view=rev
Log:
Added commented code that points out screwed up pairs.

Modified:
    trunk/utils/pofix.py

Modified: trunk/utils/pofix.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/pofix.py?rev=43638&r1=43637&r2=43638&view=diff
==============================================================================
--- trunk/utils/pofix.py (original)
+++ trunk/utils/pofix.py Tue Jun 22 02:30:52 2010
@@ -817,6 +817,10 @@
             after = before
             decommented = re.sub("#.*", "", before)
             for (domain, fixes) in stringfixes.items():
+               # In case of screwed-up pairs that are hard to find, 
uncomment the following:
+               #for fix in fixes:
+                #    if len(fix) != 2:
+                #        print fix
                 for (old, new) in fixes:
                     if old is new:
                         #complain loudly




Related Messages


Powered by MHonArc, Updated Tue Jun 22 03:00:15 2010