diff --git a/po2wxl.py b/po2wxl.py index 59c9ed2..5cbb328 100755 --- a/po2wxl.py +++ b/po2wxl.py @@ -4,13 +4,13 @@ """po2wxl.py: Transform a .po translation file into a wxl localization file""" __author__ = "Sébastien Blaisot (sebastien@blaisot.org)" -__copyright__ = "Copyright (C) 2016 Sébastien Blaisot" +__copyright__ = "Copyright (C) 2016-2017 Sébastien Blaisot" __license__ = "GPL 3.0" __version__ = "0.1" __status__ = "Development" import getopt -import sys +import sys import textwrap import os.path from xml.sax.saxutils import escape @@ -32,7 +32,7 @@ def help(): -h, --help: print this help message and exit -V, --version print version information and exit -f, --force don't ask before overwriting destination file - -l, --langid=LANGID automatically determine LCID based on language and + -l, --langid=LANGID automatically determine LCID based on language and add a string with id LANGID containing the LCID -L, --LCID=LCID used with -l, use provided LCID instead of trying to guess it @@ -141,7 +141,7 @@ def usage(): print "Please provide LCID with option -L" print "Try 'po2wxl.py --help' for more information." sys.exit(1); - + f = open(destfile,'w') f.write("\n") diff --git a/transwxl2po.py b/transwxl2po.py index 647c7b3..d5f36a1 100755 --- a/transwxl2po.py +++ b/transwxl2po.py @@ -4,7 +4,7 @@ """transwxl2po.py: Transform a main language wxl file and a translated wxl file into a .po translation file""" __author__ = "Sébastien Blaisot (sebastien@blaisot.org)" -__copyright__ = "Copyright (C) 2016 Sébastien Blaisot" +__copyright__ = "Copyright (C) 2016-2017 Sébastien Blaisot" __license__ = "GPL 3.0" __version__ = "0.1" __status__ = "Development" diff --git a/wxl2pot.py b/wxl2pot.py index 23e9c48..34e7a2b 100755 --- a/wxl2pot.py +++ b/wxl2pot.py @@ -4,7 +4,7 @@ """wxl2pot.py: Transform wxl localization files to pot format.""" __author__ = "Sébastien Blaisot (sebastien@blaisot.org)" -__copyright__ = "Copyright (C) 2016 Sébastien Blaisot" +__copyright__ = "Copyright (C) 2016-2017 Sébastien Blaisot" __license__ = "GPL 3.0" __version__ = "0.1" __status__ = "Development" @@ -25,7 +25,7 @@ def help(): Usage: %s [OPTION]... WXL_SOURCE_FILE POT_DEST_FILE Transform the file WXL_SOURCE_FILE in wxl format into a pot file POT_DEST_FILE Example: %s -l LangId en-us.wxl en-us.pot - + Options: -h, --help: print this help message and exit -V, --version print version information and exit