[tor-commits] [user-manual/alpha] Use itstool instead of xml2po

colin at torproject.org colin at torproject.org
Thu Jun 21 19:48:39 UTC 2018


commit 39a82c3a4b6bc0bf59a7611776d3f9b82a84d6a0
Author: Colin Childs <colin at torproject.org>
Date:   Thu Jun 21 14:47:54 2018 -0500

    Use itstool instead of xml2po
---
 README | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 8d14304..6143f11 100644
--- a/README
+++ b/README
@@ -23,7 +23,11 @@ Build:
 
 Generating the .POT file for localization
 -----------------------------------------
-xml2po -o tor-browser-user-manual.pot -m mallard ./C/*.page
+Generate .pot file from .page files:
+(From the C/ directory) itstool -o ../tor-browser-manual.pot *.page
+
+Remove the itstool spam from .pot file:
+(From the base directory) sed -i '/itstool/d' tor-browser-manual.pot
 
 Ressources
 ----------



More information about the tor-commits mailing list