[gimp-help/wip/wormnest/python3-migration: 27/37] tools: update readme for using the tools.
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help/wip/wormnest/python3-migration: 27/37] tools: update readme for using the tools.
- Date: Wed, 2 Jun 2021 21:06:51 +0000 (UTC)
commit 5e009b69d3bf7fb920c6397586eb996139892f74
Author: Jacob Boerema <jgboerema gmail com>
Date: Mon Mar 29 17:41:12 2021 -0400
tools: update readme for using the tools.
tools/README | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/tools/README b/tools/README
index 89e4088b6..353235eb0 100644
--- a/tools/README
+++ b/tools/README
@@ -12,15 +12,12 @@ validate_references.py - validates the references to image files in the
xml_helper.py
=============
-Requirements:
- - elementtree from http://effbot.org/downloads/
-
Usage:
- rip_lang.py --rip|--merge|--format [--no-format] [--no-clone-content]
+ xml_helper.py --rip|--merge|--format [--no-format] [--no-clone-content]
[--no-create-tags]
--lang=xx,yy,zz file1, file2 ...filen
- This script Will create versions of these XML files at %s directory
+ This script will create versions of these XML files at %s directory
containing only the tags that include the selected languages (and
creating empty tags if there is a tag for one language and not for
the others).
@@ -111,23 +108,20 @@ General Notes:
Workflow example :
- cd gimp-help-2
- ./tools/rip_lang.py --rip --langs=en,pt_BR src/gimp.xml
- cd %s/src
+ cd gimp-help
+ ./tools/xml_helper.py --rip --langs=en,pt_BR src/gimp.xml
+ cd working_translation/src
<editor_of_choice> gimp.xml
<translate>
<save><exit>
cd ../..
- ./tools/rip_lang.py --merge --langs=pt_BR src/gimp.xml
+ ./tools/xml_helper.py --merge --langs=pt_BR src/gimp.xml
validate_references.py
======================
-Requirements:
- - pyxml from http://pyxml.sourceforge.net
-
-Call the script from the gimp-help-2 root:
+Call the script from the gimp-help root:
python tools/validate_references.py
@@ -146,7 +140,7 @@ statistics.
Requirements:
- GIMP sources
-Call the script from the gimp-help-2 root:
+Call the script from the gimp-help root:
python tools/show_translation_progress.py -g ../gimp
@@ -170,7 +164,7 @@ Requirements:
- msgfmt (package "gettext" or "gettext-runtime")
Usage:
- Call the script from the gimp-help-2 root:
+ Call the script from the gimp-help root:
tools/get_po_status.pl [options] po-directory
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]