From 1445ea7f0dd8403d5a1d2faecf5a4685b5e60ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 16 Oct 2012 08:51:05 +0000 Subject: [PATCH] 6086 6096: add comments about usage svn: r20560 --- po/update_po.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/po/update_po.py b/po/update_po.py index 32f6c3a97..917999242 100644 --- a/po/update_po.py +++ b/po/update_po.py @@ -20,6 +20,32 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +""" +update_po.py for Gramps translations. + +Examples: + python update_po.py -t + + Tests if 'gettext' and 'python' are well configured. + + python update_po.py -h + + Calls help and command line interface. + + python update_po.py -p + + Generates a new template/catalog (gramps.pot). + + python update_po.py -m de.po + + Merges 'de.po' file with 'gramps.pot'. + + python update_po.py -k de.po + + Checks 'de.po' file, tests to compile and generates a textual resume. +""" + from __future__ import print_function import os