File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 44"""po2wxl.py: Transform a .po translation file into a wxl localization file"""
55
66__author__ = "Sébastien Blaisot (sebastien@blaisot.org)"
7- __copyright__ = "Copyright (C) 2016 Sébastien Blaisot"
7+ __copyright__ = "Copyright (C) 2016-2017 Sébastien Blaisot"
88__license__ = "GPL 3.0"
99__version__ = "0.1"
1010__status__ = "Development"
1111
1212import getopt
13- import sys
13+ import sys
1414import textwrap
1515import os .path
1616from xml .sax .saxutils import escape
@@ -32,7 +32,7 @@ def help():
3232 -h, --help: print this help message and exit
3333 -V, --version print version information and exit
3434 -f, --force don't ask before overwriting destination file
35- -l, --langid=LANGID automatically determine LCID based on language and
35+ -l, --langid=LANGID automatically determine LCID based on language and
3636 add a string with id LANGID containing the LCID
3737 -L, --LCID=LCID used with -l, use provided LCID instead of trying
3838 to guess it
@@ -141,7 +141,7 @@ def usage():
141141 print "Please provide LCID with option -L"
142142 print "Try 'po2wxl.py --help' for more information."
143143 sys .exit (1 );
144-
144+
145145
146146f = open (destfile ,'w' )
147147f .write ("<?xml version=\" 1.0\" encoding=\" utf-8\" ?>\n " )
Original file line number Diff line number Diff line change 44"""transwxl2po.py: Transform a main language wxl file and a translated wxl file into a .po translation file"""
55
66__author__ = "Sébastien Blaisot (sebastien@blaisot.org)"
7- __copyright__ = "Copyright (C) 2016 Sébastien Blaisot"
7+ __copyright__ = "Copyright (C) 2016-2017 Sébastien Blaisot"
88__license__ = "GPL 3.0"
99__version__ = "0.1"
1010__status__ = "Development"
Original file line number Diff line number Diff line change 44"""wxl2pot.py: Transform wxl localization files to pot format."""
55
66__author__ = "Sébastien Blaisot (sebastien@blaisot.org)"
7- __copyright__ = "Copyright (C) 2016 Sébastien Blaisot"
7+ __copyright__ = "Copyright (C) 2016-2017 Sébastien Blaisot"
88__license__ = "GPL 3.0"
99__version__ = "0.1"
1010__status__ = "Development"
@@ -25,7 +25,7 @@ def help():
2525 Usage: %s [OPTION]... WXL_SOURCE_FILE POT_DEST_FILE
2626 Transform the file WXL_SOURCE_FILE in wxl format into a pot file POT_DEST_FILE
2727 Example: %s -l LangId en-us.wxl en-us.pot
28-
28+
2929 Options:
3030 -h, --help: print this help message and exit
3131 -V, --version print version information and exit
You can’t perform that action at this time.
0 commit comments