Besoin aide pour choix WT / Need help to choose WT

Nemerof

Newbie
Apr 11, 2023
56
49
Bonjour / Hello,
Je suis un traducteur français et j'aurais besoin de votre aide à cause du code ci-dessous pour que les choix apparaissent traduit car actuellement ils n'apparaissent pas traduit

I'm a French translator and I need your help with the code below so that the choices appear translated, because at the moment they don't appear translated.
Python:
screen choice(items):
    if v_choice_type == "main":
        window:
            area (400, 100, 1200, 700)
            has viewport:
                if len(items) >= 6:
                    scrollbars "vertical"
                    mousewheel True
                    draggable True

                style_prefix "choice"

            vbox:
                spacing 20
                for i in items:
                    textbutton ("%s {color=#33ff33}(%s){/color}" % (i.caption, i.kwargs["wt"]) if persistent.v_walkthrough_enabled and i.kwargs.get('wt') else i.caption) action i.action
    else:
        style_prefix "choice"

        vbox:
            for i in items:
                textbutton ("%s {color=#33ff33}(%s){/color}" % (i.caption, i.kwargs["wt"]) if persistent.v_walkthrough_enabled and i.kwargs.get('wt') else i.caption) action i.action
Les lignes de choix sont bien traduites. / Lines of choice are well translated