Ren'Py Translator ToolKit  Check-in [7fe90bf200]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Always recompile translations as I always have a doubt
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:7fe90bf200c6abef57a9c7ec9dbfdbe7b0585eb766d9a6b7a41647d4e9061d1c
User & Date: Beuc 2019-06-30 19:03:20
Context
2019-06-30
19:04
GUI: add progress and error report check-in: c9760c952b user: Beuc tags: trunk, 1.2
19:03
Always recompile translations as I always have a doubt check-in: 7fe90bf200 user: Beuc tags: trunk
2019-06-02
15:46
Doc fixes check-in: 2a6f2fe54d user: Beuc tags: trunk
Changes

Changes to mo2tl.py.

120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
    for s in originals:
        if s['id']:
            o_blocks_index[s['id']] = s['text']
        else:
            o_basestr_index[s['text']] = s['translation']

    print("Calling Ren'Py translate to refresh " + renpy_target_language)
    rttk.run.renpy([projectpath, 'translate', renpy_target_language])

    # Setup gettext directory structure
    localedir = tempfile.mkdtemp()
    if not os.environ.has_key('LANG'):
        os.environ['LANG'] = 'en_US.UTF-8'
    msgdir = os.path.join(localedir,
                          os.environ['LANG'],







|







120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
    for s in originals:
        if s['id']:
            o_blocks_index[s['id']] = s['text']
        else:
            o_basestr_index[s['text']] = s['translation']

    print("Calling Ren'Py translate to refresh " + renpy_target_language)
    rttk.run.renpy([projectpath, 'translate', renpy_target_language, '--compile'])

    # Setup gettext directory structure
    localedir = tempfile.mkdtemp()
    if not os.environ.has_key('LANG'):
        os.environ['LANG'] = 'en_US.UTF-8'
    msgdir = os.path.join(localedir,
                          os.environ['LANG'],