Skip to content

Commit

Permalink
Release version 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sblaisot committed Jul 20, 2017
1 parent 7755492 commit df77b97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions po2wxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"""po2wxl.py: Transform a .po translation file into a wxl localization file"""

__author__ = "Sébastien Blaisot ([email protected])"
__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
Expand All @@ -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
Expand Down Expand Up @@ -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("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n")
Expand Down
2 changes: 1 addition & 1 deletion transwxl2po.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ([email protected])"
__copyright__ = "Copyright (C) 2016 Sébastien Blaisot"
__copyright__ = "Copyright (C) 2016-2017 Sébastien Blaisot"
__license__ = "GPL 3.0"
__version__ = "0.1"
__status__ = "Development"
Expand Down
4 changes: 2 additions & 2 deletions wxl2pot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""wxl2pot.py: Transform wxl localization files to pot format."""

__author__ = "Sébastien Blaisot ([email protected])"
__copyright__ = "Copyright (C) 2016 Sébastien Blaisot"
__copyright__ = "Copyright (C) 2016-2017 Sébastien Blaisot"
__license__ = "GPL 3.0"
__version__ = "0.1"
__status__ = "Development"
Expand All @@ -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
Expand Down

0 comments on commit df77b97

Please sign in to comment.