[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40708] trunk/blender/po: po : adding note for windows translators/ devs + remove backup function in update_po.py

Dalai Felinto dfelinto at gmail.com
Fri Sep 30 07:36:57 CEST 2011


Revision: 40708
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40708
Author:   dfelinto
Date:     2011-09-30 05:36:56 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
po : adding note for windows translators/devs + remove backup function in update_po.py
(no more tons of *.po~ in the folder)

Modified Paths:
--------------
    trunk/blender/po/README.txt
    trunk/blender/po/update_po.py

Modified: trunk/blender/po/README.txt
===================================================================
--- trunk/blender/po/README.txt	2011-09-30 05:27:44 UTC (rev 40707)
+++ trunk/blender/po/README.txt	2011-09-30 05:36:56 UTC (rev 40708)
@@ -59,3 +59,14 @@
 make -f GNUMakefile translations
 
 NOTE: Blender has to be compiled using GNUMakefile first.
+
+
+3. Note for Windows users
+-------------------------
+You can find compiled builds of gettext in the lib folder under "binaries\gettext\" for both windows and win64.
+In order to run the scripts you will need to replace the location of the GETTEXT_..._EXeCUTABLE.
+
+For example in update_pot.py:
+-GETTEXT_XGETTEXT_EXECUTABLE = "xgettext"
++GETTEXT_XGETTEXT_EXECUTABLE = "C:\\Blender\\lib\\\windows\\\binaries\\\gettext\\xgettext.exe"
+

Modified: trunk/blender/po/update_po.py
===================================================================
--- trunk/blender/po/update_po.py	2011-09-30 05:27:44 UTC (rev 40707)
+++ trunk/blender/po/update_po.py	2011-09-30 05:36:56 UTC (rev 40708)
@@ -38,6 +38,7 @@
     # update po file
     cmd = (GETTEXT_MSGMERGE_EXECUTABLE,
            "--update",
+           "--backup=none",
            "--lang=%s" % lang,
            os.path.join(CURRENT_DIR, "%s.po" % lang),
            os.path.join(CURRENT_DIR, "%s.pot" % DOMAIN),




More information about the Bf-blender-cvs mailing list