[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 39a82c3a4b6bc0bf59a7611776d3f9b82a84d6a0
Author: Colin Childs <colin@xxxxxxxxxxxxxx>
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
 ----------

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits