use when calling renpy
This commit is contained in:
parent
16db10d131
commit
ea1684d4f4
|
@ -33,7 +33,7 @@ except:
|
||||||
|
|
||||||
def renpy(args):
|
def renpy(args):
|
||||||
global in_renpy
|
global in_renpy
|
||||||
command = ['renpy.sh']
|
command = ['$RENPY_DIR/renpy.sh']
|
||||||
if in_renpy:
|
if in_renpy:
|
||||||
# cf. launcher/game/project.rpy
|
# cf. launcher/game/project.rpy
|
||||||
command = [sys.executable, '-EO', sys.argv[0]]
|
command = [sys.executable, '-EO', sys.argv[0]]
|
||||||
|
|
|
@ -68,7 +68,7 @@ def tl2pot(projectpath, outfile='game.pot'):
|
||||||
occurrences[s['text']] = occurrences.get(s['text'], 0) + 1
|
occurrences[s['text']] = occurrences.get(s['text'], 0) + 1
|
||||||
|
|
||||||
out = io.open(outfile, 'w', encoding='utf-8')
|
out = io.open(outfile, 'w', encoding='utf-8')
|
||||||
out.write(ur"""msgid ""
|
out.write(r"""msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
|
Loading…
Reference in a new issue