[Bf-translations-svn] SVN commit: /data/svn/bf-translations [409] trunk/po/tools: Small update to update_mo.py, do not "compile" mo's for _raw po' s of processed languages (arabic/persian).

bf-translations at blender.org bf-translations at blender.org
Mon Feb 27 09:51:28 CET 2012


Revision: 409
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-translations&revision=409
Author:   mont29
Date:     2012-02-27 08:51:25 +0000 (Mon, 27 Feb 2012)
Log Message:
-----------
Small update to update_mo.py, do not "compile" mo's for _raw po's of processed languages (arabic/persian).

Modified Paths:
--------------
    trunk/po/tools/update_mo.py

Property Changed:
----------------
    trunk/po/tools/


Property changes on: trunk/po/tools
___________________________________________________________________
Added: svn:ignore
   + settings.py
__pycache__


Modified: trunk/po/tools/update_mo.py
===================================================================
--- trunk/po/tools/update_mo.py	2012-02-27 08:44:49 UTC (rev 408)
+++ trunk/po/tools/update_mo.py	2012-02-27 08:51:25 UTC (rev 409)
@@ -78,7 +78,7 @@
                     ret = t
     else:
         for po in os.listdir(TRUNK_PO_DIR):
-            if po.endswith(".po"):
+            if po.endswith(".po") and not po.endswith("_raw.po"):
                 lang = os.path.basename(po)[:-3]
                 po = os.path.join(TRUNK_PO_DIR, po)
                 t = process_po(po, lang)



More information about the Bf-translations-svn mailing list