Ren'Py Translator ToolKit  Check-in [1221b529f8]

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

Overview
Comment:Doc fix
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:1221b529f8558f279f989f2f172057481f3768c4aa7ec0aabd81384c1ef1169a
User & Date: Beuc 2020-07-10 14:41:02
Context
2020-07-10
14:43
Fix start-up error when using fresh Ren'Py and/or unconfigured projects list check-in: c3d128a2fe user: Beuc tags: trunk
14:41
Doc fix check-in: 1221b529f8 user: Beuc tags: trunk
14:40
Select both .po and .mo also in non-Windows platforms check-in: 8baeb91844 user: Beuc tags: trunk
Changes

Changes to rttk/msgfmt.py.

1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# renpy-ttk: note: copied from python-2.7/Tools/i18n/msgfmt.py
# renpy-ttk: note: + ctxt support from 637a33b99685fd5d1032670fbe29c7c8a8f0ff63
# Written by Martin v. Löwis <loewis@informatik.hu-berlin.de>

"""Generate binary message catalog from textual translation description.

This program converts a textual Uniforum-style message catalog (.po file) into
a binary GNU catalog (.mo file).  This is essentially the same function as the
GNU msgfmt program, however, it is a simpler implementation.  Currently it


|
|







1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# renpy-ttk: copied from python-2.7/Tools/i18n/msgfmt.py
# renpy-ttk: + ctxt support from 637a33b99685fd5d1032670fbe29c7c8a8f0ff63
# Written by Martin v. Löwis <loewis@informatik.hu-berlin.de>

"""Generate binary message catalog from textual translation description.

This program converts a textual Uniforum-style message catalog (.po file) into
a binary GNU catalog (.mo file).  This is essentially the same function as the
GNU msgfmt program, however, it is a simpler implementation.  Currently it