Skip to content

Commit df77b97

Browse files
committed
Release version 0.1
1 parent 7755492 commit df77b97

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

po2wxl.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
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

1212
import getopt
13-
import sys
13+
import sys
1414
import textwrap
1515
import os.path
1616
from 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

146146
f = open(destfile,'w')
147147
f.write("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n")

transwxl2po.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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"

wxl2pot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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

0 commit comments

Comments
 (0)