diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2011-09-30 09:36:56 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2011-09-30 09:36:56 +0400 |
commit | ad8df4843e53621be6a856c9dc0f0db1a84cdaaf (patch) | |
tree | 74e9a23000c6f603e6e8d6e8a85a7ec9c90c0902 /po | |
parent | e6a9b68c798457430698afbfc7dfcdd8b71ca596 (diff) |
po : adding note for windows translators/devs + remove backup function in update_po.py
(no more tons of *.po~ in the folder)
Diffstat (limited to 'po')
-rw-r--r-- | po/README.txt | 11 | ||||
-rwxr-xr-x | po/update_po.py | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/po/README.txt b/po/README.txt index 120181d3f35..8756531f442 100644 --- a/po/README.txt +++ b/po/README.txt @@ -59,3 +59,14 @@ using GNUMakefile: 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" + diff --git a/po/update_po.py b/po/update_po.py index 978de6ab1e5..3dcaa9d8f1b 100755 --- a/po/update_po.py +++ b/po/update_po.py @@ -38,6 +38,7 @@ def process_po(po): # 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), |