Ren'Py Translator ToolKit  Check-in [86e4b751cf]

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

Overview
Comment:Clarify GUI a bit
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:86e4b751cfbcac670511635fdd88672dafe4af208009ddc01df8410d88367340
User & Date: Beuc 2019-05-23 12:23:04
Context
2019-05-24
07:39
Add license check-in: 2cb43a5538 user: Beuc tags: trunk
2019-05-23
12:23
Clarify GUI a bit check-in: 86e4b751cf user: Beuc tags: trunk
2019-05-22
15:42
Don't display error message on successful make dist check-in: b06fdb3425 user: Beuc tags: trunk, 1.1
Changes

Changes to game/gui.rpy.

8
9
10
11
12
13
14
15

16
17
18
19
20
21
22

style input:
    properties gui.text_properties("input", accent=True)
    adjust_spacing False

style hyperlink_text:
    properties gui.text_properties("hyperlink", accent=True)
    hover_underline True


style gui_text:
    properties gui.text_properties("interface")

style button_text is gui_text:
    properties gui.text_properties("button")
    yalign 0.5







|
>







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

style input:
    properties gui.text_properties("input", accent=True)
    adjust_spacing False

style hyperlink_text:
    properties gui.text_properties("hyperlink", accent=True)
    underline True
    hover_underline False

style gui_text:
    properties gui.text_properties("interface")

style button_text is gui_text:
    properties gui.text_properties("button")
    yalign 0.5

Changes to game/screens.rpy.

109
110
111
112
113
114
115
116
117
118
119

120
121



122
123
124
125
126
127
128
            text _("PROJECTS:") style "l_label_text" size 36 yoffset 10
            null height 20
            for p in projects_list():
                textbutton os.path.basename(p) action SetVariable('projectpath',p),SetVariable('language',None)
        null width 20
        vbox:
            null height 10
            textbutton "Generate POT template (tl2pot)" action TL2POT()
            textbutton "Convert existing Ren'Py translations to PO catalog (tl2po)" action TL2PO()
            textbutton "Update Ren'Py translations from MO catalog (mo2tl)" action MO2TL()
            null height 20

            text "Set language:":
                color "#000000"



            for l in languages_list():
                textbutton l action SetVariable('language',l)

    vbox:
        xalign 1.0
        xoffset -20
        xmaximum 800







|
|
|

>
|
<
>
>
>







109
110
111
112
113
114
115
116
117
118
119
120
121

122
123
124
125
126
127
128
129
130
131
            text _("PROJECTS:") style "l_label_text" size 36 yoffset 10
            null height 20
            for p in projects_list():
                textbutton os.path.basename(p) action SetVariable('projectpath',p),SetVariable('language',None)
        null width 20
        vbox:
            null height 10
            textbutton "tl2pot: generate POT template for your game" action TL2POT()
            textbutton "tl2po: extract existing Ren'Py translations to PO catalog" action TL2PO()
            textbutton "mo2tl: inject MO catalog into Ren'Py translations" action MO2TL()
            null height 20
            if projectpath:
                text "Set language:"

            else:
                text "< Select project"

            for l in languages_list():
                textbutton l action SetVariable('language',l)

    vbox:
        xalign 1.0
        xoffset -20
        xmaximum 800