From: Daniel L. <dle...@us...> - 2005-07-21 22:09:22
|
Update of /cvsroot/jmol/Jmol/doc/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24769 Modified Files: xml2po.py Log Message: Sync with GNOME CVS (refers to CVS version 1.29). Index: xml2po.py =================================================================== RCS file: /cvsroot/jmol/Jmol/doc/source/xml2po.py,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- xml2po.py 20 Jul 2005 20:00:16 -0000 1.4 +++ xml2po.py 21 Jul 2005 22:08:52 -0000 1.5 @@ -647,7 +647,7 @@ elif opt in ('-t', '--translation'): mofile = arg mode = 'merge' - translationlanguage = os.path.splitext(mofile)[0] + translationlanguage = os.path.split(os.path.splitext(mofile)[0])[1] elif opt in ('-r', '--reuse'): origxml = arg elif opt in ('-u', '--update-translation'): @@ -655,7 +655,7 @@ elif opt in ('-p', '--po-file'): mofile = ".xml2po.mo" pofile = arg - translationlanguage = os.path.splitext(pofile)[0] + translationlanguage = os.path.split(os.path.splitext(pofile)[0])[1] os.system("msgfmt -o %s %s >NUL" % (mofile, pofile)) and sys.exit(7) mode = 'merge' elif opt in ('-o', '--output'): |